trick/trick_sims/SIM_msd/S_define
jmpenn ee2f824550
Disable unneeded SimObjects from default_trick_sys.sm in Trick exampl… (#1719)
* Disable unneeded SimObjects from default_trick_sys.sm in Trick example sims.

* Take out unit test disable. Add some S_defines I forgot.
2024-05-23 10:12:27 -05:00

42 lines
1.1 KiB
Plaintext

/************************TRICK HEADER*************************
PURPOSE:
(This S_define works with the RUN_numeric input file)
LIBRARY DEPENDENCIES:
(
(msd/src/msd.cpp)
(msd/src/msd_default_data.cpp)
(msd/src/msd_deriv.cpp)
(msd/src/msd_init.cpp)
(msd/src/msd_integ.cpp)
(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"
##include "msd/include/msd.hh"
class MSDSimObject : public Trick::SimObject {
public:
MSD msd ;
MSDSimObject() {
("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 ;