1 #ifndef SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_ 2 #define SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_ 74 class TextDataEventReporterRep;
76 TextDataEventReporterRep*
rep;
77 const TextDataEventReporterRep&
getRep()
const {assert(rep);
return *rep;}
78 TextDataEventReporterRep&
updRep()
const {assert(rep);
return *rep;}
83 #endif // SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_ TextDataEventReporterRep * rep
Definition: TextDataEventReporter.h:74
This template class defines a standard interface for objects that calculate a function based on a Sys...
Definition: TextDataEventReporter.h:48
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
that it contains events that have triggered but have not been processed Thus it is not a legitimate point along the system’s trajectory and should never be returned to the caller For discussion we label this “improper” state EMBED Equation DSMT4 The event handler will correct the state creating a modified state with time still at thigh but not triggering any events We label the modified state EMBED Equation DSMT4 Once the system’s handler the state EMBED Equation DSMT4 can be output as part of the trajectory and used as the initial condition for the next continuous interval Thus the time stepper generates the sequence of legitimate trajectory points just prior to event immediately followed by EMBED Equation DSMT4 which is the time at which the but after the event handler has modified the state to deal with those events Consecutive intervals I and I will consist of trajectory points EMBED Equation DSMT4 with round brackets indicating that EMBED Equation DSMT4 is not part of the trajectory Event handlers Event handlers are solvers which are able to take a state in an resolve the set up appropriate event triggers for the next and report back to the time stepper the degree to which the system continuity has been so that the integrator can be reinitialized appropriately An event handler can also indicate that the simulation should be in which case the time stepper will return the final state to its caller and disallow further time stepping Other event types Not all events have to be localized There are several special case clock user interrupt control is returned to the time stepper The time stepper can then declare that a scheduled event has call the system’s event and reinitialize the integrator if continuity has been violated Time advanced events occur whenever the integrator has advanced time that at the end of every successful internal integration step These are generally restricted to discrete variable updates which do not affect the continuous system
Definition: SimmathUserGuide.doc:227
virtual ~UserFunction()
Definition: TextDataEventReporter.h:50
Every Simbody header and source file should include this header before any other Simbody header...
SimTK_Real Real
This is the default compiled-in floating point type for SimTK, either float or double.
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:593
This object is intended to contain all state information for a SimTK::System, except topological info...
Definition: State.h:276
PeriodicEventReporter is a subclass of ScheduledEventReporter which generates a series of uniformly s...
Definition: EventReporter.h:138
Includes internal headers providing declarations for the basic SimTK Core classes, including Simmatrix.
#define OVERRIDE_11
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:267
This is an EventReporter which prints out numeric data at regular intervals in tabular form...
Definition: TextDataEventReporter.h:41
TextDataEventReporterRep & updRep() const
Definition: TextDataEventReporter.h:78
#define SimTK_SIMBODY_EXPORT
Definition: Simbody/include/simbody/internal/common.h:72
This is the base class that serves as the parent of all SimTK System objects; most commonly Simbody's...
Definition: System.h:97
const TextDataEventReporterRep & getRep() const
Definition: TextDataEventReporter.h:77