Simbody  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SimTK::CPodesSystem Class Reference

This abstract class defines the system to be integrated with SimTK CPodes. More...

Public Member Functions

virtual ~CPodesSystem ()
 
virtual int explicitODE (Real t, const Vector &y, Vector &fout) const
 
virtual int implicitODE (Real t, const Vector &y, const Vector &yp, Vector &fout) const
 
virtual int constraint (Real t, const Vector &y, Vector &cout) const
 
virtual int project (Real t, const Vector &ycur, Vector &corr, Real epsProj, Vector &err) const
 
virtual int quadrature (Real t, const Vector &y, Vector &qout) const
 
virtual int root (Real t, const Vector &y, const Vector &yp, Vector &gout) const
 
virtual int weight (const Vector &y, Vector &weights) const
 
virtual void errorHandler (int error_code, const char *module, const char *function, char *msg) const
 

Detailed Description

This abstract class defines the system to be integrated with SimTK CPodes.

Note that this defines a client-side virtual function table which must be used only on the client side. Library-side access to these virtual functions is done only through a set of equivalent static functions (provided in this same header files) whose addresses can be reliably "tossed over the fence" to the library side without compromising binary compatibility.

Constructor & Destructor Documentation

virtual SimTK::CPodesSystem::~CPodesSystem ( )
inlinevirtual

Member Function Documentation

virtual int SimTK::CPodesSystem::explicitODE ( Real  t,
const Vector y,
Vector fout 
) const
virtual
virtual int SimTK::CPodesSystem::implicitODE ( Real  t,
const Vector y,
const Vector yp,
Vector fout 
) const
virtual
virtual int SimTK::CPodesSystem::constraint ( Real  t,
const Vector y,
Vector cout 
) const
virtual
virtual int SimTK::CPodesSystem::project ( Real  t,
const Vector ycur,
Vector corr,
Real  epsProj,
Vector err 
) const
virtual
virtual int SimTK::CPodesSystem::quadrature ( Real  t,
const Vector y,
Vector qout 
) const
virtual
virtual int SimTK::CPodesSystem::root ( Real  t,
const Vector y,
const Vector yp,
Vector gout 
) const
virtual
virtual int SimTK::CPodesSystem::weight ( const Vector y,
Vector weights 
) const
virtual
virtual void SimTK::CPodesSystem::errorHandler ( int  error_code,
const char *  module,
const char *  function,
char *  msg 
) const
virtual

The documentation for this class was generated from the following file: