In file /home/blah/darwin2k/src/dyno/mechanism/dynoSolver.h:

class dynoSolver

The dynoSolver performs numerical integration of differential equations.

Inheritance:


Public Fields

[more]double nextTimerUpdate
the next time dynamicSystem::checkTimers will be called
[more]double currentTime
the current simulation time
[more]int ignoreViolations
indicates whether violations are currently being ignored
[more]double maxDt
the upper bound on time stepsizes used by the solver
[more]double minDt
the lower bound on time stepsizes used by the solver
[more]double tol
the acceptable level of error for adaptive stepsizing
[more]double lastDt
the size of the last time step
[more]int numDynamicSteps
number of times dynamicSystem::computeAccelerationFromTorque was called
[more]int numTotalSteps
total number of steps

Public Methods

[more]virtual int readParams(paramParser* parser)
reads parameter from the parser's current context.
[more]virtual int reset(void)
resets the simulation time and related variables
[more]virtual int order(void) const = 0
returns the order of the integration method (ie.
[more]virtual double adaptiveStep(double dt, int* error = 0)
takes a step of size dt using adaptive stepsizing.


Inherited from synObject:

Public Fields

ostatic int staticClassID
oint objectID
oint verboseLevel

Public Methods

ovirtual const char* className(void) const
ovirtual synObject* copy(void) const
ovirtual int isOfType(int typeNum, int derivedOk)
ostatic int setStaticClassID(void)
ovirtual int classID(void) const


Documentation

The dynoSolver performs numerical integration of differential equations. Users will normally have little or no direct use for dynoSolvers, as they are allocated automatically by dynamicSystems. Most interaction with a dynoSolver is done through the parsing of a p-file section when a dynamicSystem's readParams() method is called.
odouble nextTimerUpdate
the next time dynamicSystem::checkTimers will be called

odouble currentTime
the current simulation time

oint ignoreViolations
indicates whether violations are currently being ignored

odouble maxDt
the upper bound on time stepsizes used by the solver

odouble minDt
the lower bound on time stepsizes used by the solver

odouble tol
the acceptable level of error for adaptive stepsizing

odouble lastDt
the size of the last time step

oint numDynamicSteps
number of times dynamicSystem::computeAccelerationFromTorque was called

oint numTotalSteps
total number of steps

ovirtual int readParams(paramParser* parser)
reads parameter from the parser's current context. The parameters read by the dynoSolver class are:

ovirtual int reset(void)
resets the simulation time and related variables

ovirtual int order(void) const = 0
returns the order of the integration method (ie. 4 for runge-kutta 4)

ovirtual double adaptiveStep(double dt, int* error = 0)
takes a step of size dt using adaptive stepsizing. If error is non-NULL, its contents will be set to 1 if any error occurs.


Direct child classes:
rungeKutta4
Friends:
dynamicSystem

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.