trick/trick_sims/SIM_msd/S_define

42 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

/************************TRICK HEADER*************************
PURPOSE:
(This S_define works with the RUN_numeric input file)
LIBRARY DEPENDENCIES:
(
(msd/src/msd.cpp)
2018-12-21 19:48:38 +00:00
(msd/src/msd_default_data.cpp)
(msd/src/msd_deriv.cpp)
2018-12-21 19:48:38 +00:00
(msd/src/msd_init.cpp)
(msd/src/msd_integ.cpp)
2018-12-21 19:48:38 +00:00
(msd/src/msd_shutdown.cpp)
)
*************************************************************/
#define TRICK_NO_MONTE_CARLO
#define TRICK_NO_MASTERSLAVE
#define TRICK_NO_INSTRUMENTATION
#define TRICK_NO_REALTIMEINJECTOR
#define TRICK_NO_ZEROCONF
#include "sim_objects/default_trick_sys.sm"
// #include "sim_objects/WebServer.sm"
2018-12-21 19:48:38 +00:00
##include "msd/include/msd.hh"
class MSDSimObject : public Trick::SimObject {
public:
2018-12-21 19:48:38 +00:00
MSD msd ;
MSDSimObject() {
2018-12-21 19:48:38 +00:00
("default_data") MSD::default_data( msd ) ;
("initialization") msd.init() ;
("derivative") msd.state_deriv() ;
("integration") trick_ret= msd.state_integ() ;
("shutdown") msd.shutdown() ;
}
} ;
MSDSimObject dyn ;
IntegLoop dyn_integloop (0.01) dyn ;