mirror of
https://github.com/nasa/trick.git
synced 2025-01-21 12:05:13 +00:00
33 lines
872 B
Plaintext
33 lines
872 B
Plaintext
|
/************************TRICK HEADER*************************
|
||
|
PURPOSE:
|
||
|
(This S_define works with the RUN_numeric input file)
|
||
|
LIBRARY DEPENDENCIES:
|
||
|
(
|
||
|
(msd/src/msd_init.cpp)
|
||
|
(msd/src/msd_numeric.cpp)
|
||
|
(msd/src/msd_shutdown.cpp)
|
||
|
(msd/src/msd.cpp)
|
||
|
(msd/src/msd_deriv.cpp)
|
||
|
(msd/src/msd_integ.cpp)
|
||
|
)
|
||
|
*************************************************************/
|
||
|
|
||
|
#include "sim_objects/default_trick_sys.sm"
|
||
|
##include "msd/include/msd_numeric.hh"
|
||
|
|
||
|
|
||
|
class MSDSimObject : public Trick::SimObject {
|
||
|
|
||
|
public:
|
||
|
MSD msd;
|
||
|
|
||
|
MSDSimObject() {
|
||
|
("default_data") msd_default_data( msd ) ;
|
||
|
("initialization") msd_init( msd ) ;
|
||
|
("derivative") msd.state_deriv();
|
||
|
("integration") trick_ret= msd.state_integ();
|
||
|
}
|
||
|
} ;
|
||
|
|
||
|
MSDSimObject dyn ;
|
||
|
IntegLoop dyn_integloop (0.01) dyn ;
|