The Context is a container for all of the data necessary to uniquely determine the computations perfo...
Definition: context.h:38
A superclass template for systems that receive input, maintain state, and produce numerical output us...
Definition: system_interface.h:46
virtual T EvalKineticEnergy(const Context< T > &context) const
Return the kinetic energy currently present in the motion provided in the given Context.
Definition: system_interface.h:80
virtual T EvalPotentialEnergy(const Context< T > &context) const
Return the potential energy currently stored in the configuration provided in the given Context...
Definition: system_interface.h:74