Simbody  3.4 (development)
SimTK::Measure_< T >::Differentiate::Implementation Class Reference

#include <MeasureImplementation.h>

+ Inheritance diagram for SimTK::Measure_< T >::Differentiate::Implementation:

List of all members.

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
ImplementationcloneVirtual () 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

template<class T>
class SimTK::Measure_< T >::Differentiate::Implementation


Constructor & Destructor Documentation

template<class T>
SimTK::Measure_< T >::Differentiate::Implementation::Implementation ( ) [inline]

This default constructor is for use by concrete measure implementation classes.

Reimplemented from SimTK::AbstractMeasure::Implementation.

template<class T>
SimTK::Measure_< T >::Differentiate::Implementation::Implementation ( const Measure_< T > &  operand) [inline]

Member Function Documentation

template<class T>
void SimTK::Measure_< T >::Differentiate::Implementation::setForceUseApproximation ( bool  mustApproximate) [inline]
template<class T>
void SimTK::Measure_< T >::Differentiate::Implementation::setOperandMeasure ( const Measure_< T > &  operand) [inline]
template<class T>
bool SimTK::Measure_< T >::Differentiate::Implementation::getForceUseApproximation ( ) const [inline]
template<class T>
bool SimTK::Measure_< T >::Differentiate::Implementation::isUsingApproximation ( ) const [inline]
template<class T>
const Measure_<T>& SimTK::Measure_< T >::Differentiate::Implementation::getOperandMeasure ( ) const [inline]
template<class T>
Implementation* SimTK::Measure_< T >::Differentiate::Implementation::cloneVirtual ( ) const [inline, override, virtual]
template<class T>
int SimTK::Measure_< T >::Differentiate::Implementation::getNumTimeDerivativesVirtual ( ) const [inline, override, virtual]
template<class T>
Stage SimTK::Measure_< T >::Differentiate::Implementation::getDependsOnStageVirtual ( int  order) const [inline, override, virtual]
template<class T>
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.

template<class T>
void SimTK::Measure_< T >::Differentiate::Implementation::initializeVirtual ( State s) const [inline, override, virtual]
template<class T>
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.

template<class T>
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.

template<class T>
void SimTK::Measure_< T >::Differentiate::Implementation::ensureDerivativeIsRealized ( const State s) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines