|
Simbody
3.4 (development)
|
#include <MeasureImplementation.h>
Inheritance diagram for SimTK::Measure_< T >::Differentiate::Implementation:Public Member Functions | |
| Implementation () | |
| This default constructor is for use by concrete measure implementation classes. | |
| Implementation (const Measure_< T > &operand) | |
| void | setForceUseApproximation (bool mustApproximate) |
| void | setOperandMeasure (const Measure_< T > &operand) |
| bool | getForceUseApproximation () const |
| bool | isUsingApproximation () const |
| const Measure_< T > & | getOperandMeasure () const |
| Implementation * | cloneVirtual () const override |
| int | getNumTimeDerivativesVirtual () const override |
| Stage | getDependsOnStageVirtual (int order) const override |
| const T & | getUncachedValueVirtual (const State &s, int derivOrder) const override |
| This is only called when derivOrder >= the number of cache entries we have, but still <= the number of derivatives the Measure says it can deliver. | |
| void | initializeVirtual (State &s) const override |
| void | realizeMeasureTopologyVirtual (State &s) const override |
| Concrete measures can override this to allocate Topology-stage resources. | |
| void | realizeMeasureAccelerationVirtual (const State &s) const override |
| In case no one has updated the value of this measure yet, we have to make sure it gets updated before the integration moves ahead. | |
| void | ensureDerivativeIsRealized (const State &s) const |
| SimTK::Measure_< T >::Differentiate::Implementation::Implementation | ( | ) | [inline] |
This default constructor is for use by concrete measure implementation classes.
Reimplemented from SimTK::AbstractMeasure::Implementation.
| SimTK::Measure_< T >::Differentiate::Implementation::Implementation | ( | const Measure_< T > & | operand | ) | [inline] |
| void SimTK::Measure_< T >::Differentiate::Implementation::setForceUseApproximation | ( | bool | mustApproximate | ) | [inline] |
| void SimTK::Measure_< T >::Differentiate::Implementation::setOperandMeasure | ( | const Measure_< T > & | operand | ) | [inline] |
| bool SimTK::Measure_< T >::Differentiate::Implementation::getForceUseApproximation | ( | ) | const [inline] |
| bool SimTK::Measure_< T >::Differentiate::Implementation::isUsingApproximation | ( | ) | const [inline] |
| const Measure_<T>& SimTK::Measure_< T >::Differentiate::Implementation::getOperandMeasure | ( | ) | const [inline] |
| Implementation* SimTK::Measure_< T >::Differentiate::Implementation::cloneVirtual | ( | ) | const [inline, override, virtual] |
Implements SimTK::AbstractMeasure::Implementation.
| int SimTK::Measure_< T >::Differentiate::Implementation::getNumTimeDerivativesVirtual | ( | ) | const [inline, override, virtual] |
Reimplemented from SimTK::AbstractMeasure::Implementation.
| Stage SimTK::Measure_< T >::Differentiate::Implementation::getDependsOnStageVirtual | ( | int | order | ) | const [inline, override, virtual] |
Implements SimTK::AbstractMeasure::Implementation.
| const T& SimTK::Measure_< T >::Differentiate::Implementation::getUncachedValueVirtual | ( | const State & | , |
| int | derivOrder | ||
| ) | const [inline, override, virtual] |
This is only called when derivOrder >= the number of cache entries we have, but still <= the number of derivatives the Measure says it can deliver.
You don't need to override this if that condition can't occur. This is commonly used for functions whose derivatives above a certain order are zero.
Reimplemented from SimTK::Measure_< T >::Implementation.
| void SimTK::Measure_< T >::Differentiate::Implementation::initializeVirtual | ( | State & | s | ) | const [inline, override, virtual] |
Reimplemented from SimTK::AbstractMeasure::Implementation.
| void SimTK::Measure_< T >::Differentiate::Implementation::realizeMeasureTopologyVirtual | ( | State & | ) | const [inline, override, virtual] |
Concrete measures can override this to allocate Topology-stage resources.
Reimplemented from SimTK::Measure_< T >::Implementation.
| void SimTK::Measure_< T >::Differentiate::Implementation::realizeMeasureAccelerationVirtual | ( | const State & | s | ) | const [inline, override, virtual] |
In case no one has updated the value of this measure yet, we have to make sure it gets updated before the integration moves ahead.
Reimplemented from SimTK::AbstractMeasure::Implementation.
| void SimTK::Measure_< T >::Differentiate::Implementation::ensureDerivativeIsRealized | ( | const State & | s | ) | const [inline] |