diff --git a/trick_sims/SIM_demo_inputfile/RUN_freeze/input.py b/test/SIM_demo_inputfile/RUN_freeze/input.py similarity index 100% rename from trick_sims/SIM_demo_inputfile/RUN_freeze/input.py rename to test/SIM_demo_inputfile/RUN_freeze/input.py diff --git a/trick_sims/SIM_demo_inputfile/RUN_test/Title b/test/SIM_demo_inputfile/RUN_test/Title similarity index 100% rename from trick_sims/SIM_demo_inputfile/RUN_test/Title rename to test/SIM_demo_inputfile/RUN_test/Title diff --git a/trick_sims/SIM_demo_inputfile/RUN_test/input.py b/test/SIM_demo_inputfile/RUN_test/input.py similarity index 100% rename from trick_sims/SIM_demo_inputfile/RUN_test/input.py rename to test/SIM_demo_inputfile/RUN_test/input.py diff --git a/trick_sims/SIM_demo_inputfile/RUN_test/unit_test.py b/test/SIM_demo_inputfile/RUN_test/unit_test.py similarity index 100% rename from trick_sims/SIM_demo_inputfile/RUN_test/unit_test.py rename to test/SIM_demo_inputfile/RUN_test/unit_test.py diff --git a/trick_sims/SIM_demo_inputfile/S_define b/test/SIM_demo_inputfile/S_define similarity index 100% rename from trick_sims/SIM_demo_inputfile/S_define rename to test/SIM_demo_inputfile/S_define diff --git a/test/SIM_demo_inputfile/S_overrides.mk b/test/SIM_demo_inputfile/S_overrides.mk new file mode 100644 index 00000000..f04c1a87 --- /dev/null +++ b/test/SIM_demo_inputfile/S_overrides.mk @@ -0,0 +1,4 @@ + +TRICK_CFLAGS += -I./models $(PYTHON_INCLUDES) +TRICK_CXXFLAGS += -I./models $(PYTHON_INCLUDES) + diff --git a/trick_sims/SIM_demo_inputfile/Title b/test/SIM_demo_inputfile/Title similarity index 100% rename from trick_sims/SIM_demo_inputfile/Title rename to test/SIM_demo_inputfile/Title diff --git a/trick_models/InputProcessSimObject/include/InputProcessSimObject.hh b/test/SIM_demo_inputfile/models/InputProcessSimObject/include/InputProcessSimObject.hh similarity index 100% rename from trick_models/InputProcessSimObject/include/InputProcessSimObject.hh rename to test/SIM_demo_inputfile/models/InputProcessSimObject/include/InputProcessSimObject.hh diff --git a/trick_models/InputProcessSimObject/src/InputProcessSimObject.cpp b/test/SIM_demo_inputfile/models/InputProcessSimObject/src/InputProcessSimObject.cpp similarity index 100% rename from trick_models/InputProcessSimObject/src/InputProcessSimObject.cpp rename to test/SIM_demo_inputfile/models/InputProcessSimObject/src/InputProcessSimObject.cpp diff --git a/trick_sims/SIM_demo_sdefine/RUN_test/Title b/test/SIM_demo_sdefine/RUN_test/Title similarity index 100% rename from trick_sims/SIM_demo_sdefine/RUN_test/Title rename to test/SIM_demo_sdefine/RUN_test/Title diff --git a/trick_sims/SIM_demo_sdefine/RUN_test/input.py b/test/SIM_demo_sdefine/RUN_test/input.py similarity index 100% rename from trick_sims/SIM_demo_sdefine/RUN_test/input.py rename to test/SIM_demo_sdefine/RUN_test/input.py diff --git a/trick_sims/SIM_demo_sdefine/RUN_test/unit_test.py b/test/SIM_demo_sdefine/RUN_test/unit_test.py similarity index 100% rename from trick_sims/SIM_demo_sdefine/RUN_test/unit_test.py rename to test/SIM_demo_sdefine/RUN_test/unit_test.py diff --git a/trick_sims/SIM_demo_sdefine/S_define b/test/SIM_demo_sdefine/S_define similarity index 100% rename from trick_sims/SIM_demo_sdefine/S_define rename to test/SIM_demo_sdefine/S_define diff --git a/trick_sims/SIM_demo_sdefine/S_overrides.mk b/test/SIM_demo_sdefine/S_overrides.mk similarity index 100% rename from trick_sims/SIM_demo_sdefine/S_overrides.mk rename to test/SIM_demo_sdefine/S_overrides.mk diff --git a/trick_sims/SIM_demo_sdefine/Title b/test/SIM_demo_sdefine/Title similarity index 100% rename from trick_sims/SIM_demo_sdefine/Title rename to test/SIM_demo_sdefine/Title diff --git a/trick_sims/SIM_stls/RUN_test/input.py b/test/SIM_stls/RUN_test/input.py similarity index 100% rename from trick_sims/SIM_stls/RUN_test/input.py rename to test/SIM_stls/RUN_test/input.py diff --git a/trick_sims/SIM_stls/RUN_test/unit_test.py b/test/SIM_stls/RUN_test/unit_test.py similarity index 100% rename from trick_sims/SIM_stls/RUN_test/unit_test.py rename to test/SIM_stls/RUN_test/unit_test.py diff --git a/trick_sims/SIM_stls/S_define b/test/SIM_stls/S_define similarity index 100% rename from trick_sims/SIM_stls/S_define rename to test/SIM_stls/S_define diff --git a/test/SIM_stls/S_overrides.mk b/test/SIM_stls/S_overrides.mk new file mode 100644 index 00000000..a2eff6d4 --- /dev/null +++ b/test/SIM_stls/S_overrides.mk @@ -0,0 +1,4 @@ + +TRICK_CFLAGS += -I../models +TRICK_CXXFLAGS += -I../models + diff --git a/trick_sims/SIM_stls/Title b/test/SIM_stls/Title similarity index 100% rename from trick_sims/SIM_stls/Title rename to test/SIM_stls/Title diff --git a/trick_sims/SIM_stls2/RUN_test/input.py b/test/SIM_stls2/RUN_test/input.py similarity index 100% rename from trick_sims/SIM_stls2/RUN_test/input.py rename to test/SIM_stls2/RUN_test/input.py diff --git a/trick_sims/SIM_stls2/RUN_test/unit_test.py b/test/SIM_stls2/RUN_test/unit_test.py similarity index 100% rename from trick_sims/SIM_stls2/RUN_test/unit_test.py rename to test/SIM_stls2/RUN_test/unit_test.py diff --git a/trick_sims/SIM_stls2/S_define b/test/SIM_stls2/S_define similarity index 100% rename from trick_sims/SIM_stls2/S_define rename to test/SIM_stls2/S_define diff --git a/test/SIM_stls2/S_overrides.mk b/test/SIM_stls2/S_overrides.mk new file mode 100644 index 00000000..a2eff6d4 --- /dev/null +++ b/test/SIM_stls2/S_overrides.mk @@ -0,0 +1,4 @@ + +TRICK_CFLAGS += -I../models +TRICK_CXXFLAGS += -I../models + diff --git a/trick_sims/SIM_stls2/stl_checkpoints.sm b/test/SIM_stls2/stl_checkpoints.sm similarity index 100% rename from trick_sims/SIM_stls2/stl_checkpoints.sm rename to test/SIM_stls2/stl_checkpoints.sm diff --git a/trick_sims/SIM_stls3/RUN_test/input.py b/test/SIM_stls3/RUN_test/input.py similarity index 100% rename from trick_sims/SIM_stls3/RUN_test/input.py rename to test/SIM_stls3/RUN_test/input.py diff --git a/trick_sims/SIM_stls3/RUN_test/realtime.py b/test/SIM_stls3/RUN_test/realtime.py similarity index 100% rename from trick_sims/SIM_stls3/RUN_test/realtime.py rename to test/SIM_stls3/RUN_test/realtime.py diff --git a/trick_sims/SIM_stls3/S_define b/test/SIM_stls3/S_define similarity index 100% rename from trick_sims/SIM_stls3/S_define rename to test/SIM_stls3/S_define diff --git a/trick_sims/SIM_stls3/S_overrides.mk b/test/SIM_stls3/S_overrides.mk similarity index 100% rename from trick_sims/SIM_stls3/S_overrides.mk rename to test/SIM_stls3/S_overrides.mk diff --git a/trick_sims/SIM_test_inherit/RUN_test/input.py b/test/SIM_test_inherit/RUN_test/input.py similarity index 70% rename from trick_sims/SIM_test_inherit/RUN_test/input.py rename to test/SIM_test_inherit/RUN_test/input.py index 4443d998..8e4ff5b8 100644 --- a/trick_sims/SIM_test_inherit/RUN_test/input.py +++ b/test/SIM_test_inherit/RUN_test/input.py @@ -1,6 +1,6 @@ def main(): - trick.stop(300.0) + trick.stop(30.0) if __name__ == "__main__": main() diff --git a/test/SIM_test_inherit/S_define b/test/SIM_test_inherit/S_define new file mode 100644 index 00000000..f4b3bf58 --- /dev/null +++ b/test/SIM_test_inherit/S_define @@ -0,0 +1,43 @@ +/************************TRICK HEADER************************* +PURPOSE: + (blah blah blah) +LIBRARY DEPENDENCIES: + ( + ) +*************************************************************/ + +#include "sim_objects/default_trick_sys.sm" + +class BaseSimObject : public Trick::SimObject { + + public: + void print_me() { + message_publish( MSG_NORMAL , "In base sim_object\n" ) ; + } + + /** Constructor to add the jobs */ + BaseSimObject() { + (10.0, "scheduled") print_me() ; + } +} ; + +class DerivedBallSimObject : public BaseSimObject { + public: + void print_me() { + message_publish( MSG_NORMAL , "In derived sim_object\n" ) ; + } + DerivedBallSimObject() { + (10.0, "scheduled") print_me() ; + } +} + +// Instantiations +DerivedBallSimObject ball ; + +// Connect objects +void create_connections() { + // Set the default termination time + trick_sys.sched.set_terminate_time(10.0) ; + trick_sys.sched.set_freeze_frame(0.10) ; +} + diff --git a/test/SIM_test_inherit/S_overrides.mk b/test/SIM_test_inherit/S_overrides.mk new file mode 100644 index 00000000..2b935f08 --- /dev/null +++ b/test/SIM_test_inherit/S_overrides.mk @@ -0,0 +1,3 @@ + +TRICK_CFLAGS += +TRICK_CXXFLAGS += diff --git a/trick_sims/SIM_test_io/RUN_test/unit_test.py b/test/SIM_test_io/RUN_test/unit_test.py similarity index 100% rename from trick_sims/SIM_test_io/RUN_test/unit_test.py rename to test/SIM_test_io/RUN_test/unit_test.py diff --git a/trick_sims/SIM_test_io/S_define b/test/SIM_test_io/S_define similarity index 98% rename from trick_sims/SIM_test_io/S_define rename to test/SIM_test_io/S_define index 73d690d8..147c52a7 100644 --- a/trick_sims/SIM_test_io/S_define +++ b/test/SIM_test_io/S_define @@ -5,9 +5,6 @@ PURPOSE: #include "sim_objects/default_trick_sys.sm" -/** - This class is the base ball class - */ class testIOSimObject : public Trick::SimObject { public: diff --git a/trick_sims/SIM_test_io/S_overrides.mk b/test/SIM_test_io/S_overrides.mk similarity index 100% rename from trick_sims/SIM_test_io/S_overrides.mk rename to test/SIM_test_io/S_overrides.mk diff --git a/trick_sims/SIM_test_ip2/RUN_test/input.py b/test/SIM_test_ip2/RUN_test/input.py similarity index 99% rename from trick_sims/SIM_test_ip2/RUN_test/input.py rename to test/SIM_test_ip2/RUN_test/input.py index 1179f73c..1ec924d3 100644 --- a/trick_sims/SIM_test_ip2/RUN_test/input.py +++ b/test/SIM_test_ip2/RUN_test/input.py @@ -63,8 +63,8 @@ ip2.c_test.cpp3[2][3] = 40 ip2.uc_test.uc = 123 ip2.uc_test.uca = [ 0 , 5 , 6 , 7 ] -ip2.uc_test.ucaa[0][0] = [ 0 , 50 , 60 , 70 ] -ip2.uc_test.ucaa[1][0] = [ 0 , 20 , 30 , 40 ] +ip2.uc_test.ucaa[0] = [ 0 , 50 , 60 , 70 ] +ip2.uc_test.ucaa[1] = [ 0 , 20 , 30 , 40 ] ip2.uc_test.ucp = id(ip2.uc_test.uc) ip2.uc_test.ucp[0] = 65 diff --git a/trick_sims/SIM_test_ip2/S_define b/test/SIM_test_ip2/S_define similarity index 94% rename from trick_sims/SIM_test_ip2/S_define rename to test/SIM_test_ip2/S_define index 359ec8eb..f2960341 100644 --- a/trick_sims/SIM_test_ip2/S_define +++ b/test/SIM_test_ip2/S_define @@ -3,15 +3,15 @@ PURPOSE: (This comment lists out the other object files that are not included from c++ headers) LIBRARY DEPENDENCIES: ( - (test/ip2/src/ip.c) - (test/ip2/src/ip_test_init.c) + (ip2/src/ip.c) + (ip2/src/ip_test_init.c) ) *************************************************************/ #include "sim_objects/default_trick_sys.sm" -##include "test/ip2/include/ip.h" +##include "ip2/include/ip.h" %{ diff --git a/test/SIM_test_ip2/S_overrides.mk b/test/SIM_test_ip2/S_overrides.mk new file mode 100644 index 00000000..27536a3b --- /dev/null +++ b/test/SIM_test_ip2/S_overrides.mk @@ -0,0 +1,4 @@ + +TRICK_CFLAGS += -I./models +TRICK_CXXFLAGS += -I./models + diff --git a/trick_models/test/ip2/include/ip.h b/test/SIM_test_ip2/models/ip2/include/ip.h similarity index 100% rename from trick_models/test/ip2/include/ip.h rename to test/SIM_test_ip2/models/ip2/include/ip.h diff --git a/trick_models/test/ip2/src/ip.c b/test/SIM_test_ip2/models/ip2/src/ip.c similarity index 100% rename from trick_models/test/ip2/src/ip.c rename to test/SIM_test_ip2/models/ip2/src/ip.c diff --git a/trick_models/test/ip2/src/ip_test_init.c b/test/SIM_test_ip2/models/ip2/src/ip_test_init.c similarity index 100% rename from trick_models/test/ip2/src/ip_test_init.c rename to test/SIM_test_ip2/models/ip2/src/ip_test_init.c diff --git a/trick_sims/SIM_test_sched/Modified_data/data_record.dr b/test/SIM_test_sched/Modified_data/data_record.dr similarity index 100% rename from trick_sims/SIM_test_sched/Modified_data/data_record.dr rename to test/SIM_test_sched/Modified_data/data_record.dr diff --git a/trick_sims/SIM_test_sched/RUN_test/Title b/test/SIM_test_sched/RUN_test/Title similarity index 100% rename from trick_sims/SIM_test_sched/RUN_test/Title rename to test/SIM_test_sched/RUN_test/Title diff --git a/trick_sims/SIM_test_sched/RUN_test/input.py b/test/SIM_test_sched/RUN_test/input.py similarity index 100% rename from trick_sims/SIM_test_sched/RUN_test/input.py rename to test/SIM_test_sched/RUN_test/input.py diff --git a/trick_sims/SIM_test_sched/RUN_test/unit_test.py b/test/SIM_test_sched/RUN_test/unit_test.py similarity index 100% rename from trick_sims/SIM_test_sched/RUN_test/unit_test.py rename to test/SIM_test_sched/RUN_test/unit_test.py diff --git a/trick_sims/SIM_test_sched/S_define b/test/SIM_test_sched/S_define similarity index 97% rename from trick_sims/SIM_test_sched/S_define rename to test/SIM_test_sched/S_define index 16f77d87..360b33a7 100644 --- a/trick_sims/SIM_test_sched/S_define +++ b/test/SIM_test_sched/S_define @@ -6,8 +6,8 @@ PURPOSE: #include "sim_objects/default_trick_sys.sm" -##include "test/sched/include/sched.h" -##include "test/sched/include/sched_proto.h" +##include "sched/include/sched.h" +##include "sched/include/sched_proto.h" //============================================================================= // SIM_OBJECT: parent diff --git a/test/SIM_test_sched/S_overrides.mk b/test/SIM_test_sched/S_overrides.mk new file mode 100644 index 00000000..27536a3b --- /dev/null +++ b/test/SIM_test_sched/S_overrides.mk @@ -0,0 +1,4 @@ + +TRICK_CFLAGS += -I./models +TRICK_CXXFLAGS += -I./models + diff --git a/trick_models/test/sched/include/sched.h b/test/SIM_test_sched/models/sched/include/sched.h similarity index 100% rename from trick_models/test/sched/include/sched.h rename to test/SIM_test_sched/models/sched/include/sched.h diff --git a/trick_models/test/sched/include/sched_proto.h b/test/SIM_test_sched/models/sched/include/sched_proto.h similarity index 54% rename from trick_models/test/sched/include/sched_proto.h rename to test/SIM_test_sched/models/sched/include/sched_proto.h index 8727d28e..d6022c41 100644 --- a/trick_models/test/sched/include/sched_proto.h +++ b/test/SIM_test_sched/models/sched/include/sched_proto.h @@ -3,23 +3,23 @@ (This comment lists out the other object files that are not included from c++ headers) LIBRARY DEPENDENCIES: ( - (test/sched/src/sched_amf.o) - (test/sched/src/sched_async.o) - (test/sched/src/sched_deriv.o) - (test/sched/src/sched_dyn_event.o) - (test/sched/src/sched_effector.o) - (test/sched/src/sched_effector_emitter.o) - (test/sched/src/sched_effector_receiver.o) - (test/sched/src/sched_environment.o) - (test/sched/src/sched_init.o) - (test/sched/src/sched_integ.o) - (test/sched/src/sched_logging.o) - (test/sched/src/sched_scheduled.o) - (test/sched/src/sched_sensor.o) - (test/sched/src/sched_sensor_emitter.o) - (test/sched/src/sched_sensor_receiver.o) - (test/sched/src/sched_sensor_reflector.o) - (test/sched/src/sched_default_data.o) + (sched/src/sched_amf.o) + (sched/src/sched_async.o) + (sched/src/sched_deriv.o) + (sched/src/sched_dyn_event.o) + (sched/src/sched_effector.o) + (sched/src/sched_effector_emitter.o) + (sched/src/sched_effector_receiver.o) + (sched/src/sched_environment.o) + (sched/src/sched_init.o) + (sched/src/sched_integ.o) + (sched/src/sched_logging.o) + (sched/src/sched_scheduled.o) + (sched/src/sched_sensor.o) + (sched/src/sched_sensor_emitter.o) + (sched/src/sched_sensor_receiver.o) + (sched/src/sched_sensor_reflector.o) + (sched/src/sched_default_data.o) ) *************************************************************/ diff --git a/trick_models/test/sched/src/sched_amf.c b/test/SIM_test_sched/models/sched/src/sched_amf.c similarity index 100% rename from trick_models/test/sched/src/sched_amf.c rename to test/SIM_test_sched/models/sched/src/sched_amf.c diff --git a/trick_models/test/sched/src/sched_async.c b/test/SIM_test_sched/models/sched/src/sched_async.c similarity index 100% rename from trick_models/test/sched/src/sched_async.c rename to test/SIM_test_sched/models/sched/src/sched_async.c diff --git a/trick_models/test/sched/src/sched_default_data.c b/test/SIM_test_sched/models/sched/src/sched_default_data.c similarity index 100% rename from trick_models/test/sched/src/sched_default_data.c rename to test/SIM_test_sched/models/sched/src/sched_default_data.c diff --git a/trick_models/test/sched/src/sched_deriv.c b/test/SIM_test_sched/models/sched/src/sched_deriv.c similarity index 100% rename from trick_models/test/sched/src/sched_deriv.c rename to test/SIM_test_sched/models/sched/src/sched_deriv.c diff --git a/trick_models/test/sched/src/sched_dyn_event.c b/test/SIM_test_sched/models/sched/src/sched_dyn_event.c similarity index 100% rename from trick_models/test/sched/src/sched_dyn_event.c rename to test/SIM_test_sched/models/sched/src/sched_dyn_event.c diff --git a/trick_models/test/sched/src/sched_effector.c b/test/SIM_test_sched/models/sched/src/sched_effector.c similarity index 100% rename from trick_models/test/sched/src/sched_effector.c rename to test/SIM_test_sched/models/sched/src/sched_effector.c diff --git a/trick_models/test/sched/src/sched_effector_emitter.c b/test/SIM_test_sched/models/sched/src/sched_effector_emitter.c similarity index 100% rename from trick_models/test/sched/src/sched_effector_emitter.c rename to test/SIM_test_sched/models/sched/src/sched_effector_emitter.c diff --git a/trick_models/test/sched/src/sched_effector_receiver.c b/test/SIM_test_sched/models/sched/src/sched_effector_receiver.c similarity index 100% rename from trick_models/test/sched/src/sched_effector_receiver.c rename to test/SIM_test_sched/models/sched/src/sched_effector_receiver.c diff --git a/trick_models/test/sched/src/sched_environment.c b/test/SIM_test_sched/models/sched/src/sched_environment.c similarity index 100% rename from trick_models/test/sched/src/sched_environment.c rename to test/SIM_test_sched/models/sched/src/sched_environment.c diff --git a/trick_models/test/sched/src/sched_init.c b/test/SIM_test_sched/models/sched/src/sched_init.c similarity index 100% rename from trick_models/test/sched/src/sched_init.c rename to test/SIM_test_sched/models/sched/src/sched_init.c diff --git a/trick_models/test/sched/src/sched_integ.c b/test/SIM_test_sched/models/sched/src/sched_integ.c similarity index 100% rename from trick_models/test/sched/src/sched_integ.c rename to test/SIM_test_sched/models/sched/src/sched_integ.c diff --git a/trick_models/test/sched/src/sched_logging.c b/test/SIM_test_sched/models/sched/src/sched_logging.c similarity index 100% rename from trick_models/test/sched/src/sched_logging.c rename to test/SIM_test_sched/models/sched/src/sched_logging.c diff --git a/trick_models/test/sched/src/sched_scheduled.c b/test/SIM_test_sched/models/sched/src/sched_scheduled.c similarity index 100% rename from trick_models/test/sched/src/sched_scheduled.c rename to test/SIM_test_sched/models/sched/src/sched_scheduled.c diff --git a/trick_models/test/sched/src/sched_sensor.c b/test/SIM_test_sched/models/sched/src/sched_sensor.c similarity index 100% rename from trick_models/test/sched/src/sched_sensor.c rename to test/SIM_test_sched/models/sched/src/sched_sensor.c diff --git a/trick_models/test/sched/src/sched_sensor_emitter.c b/test/SIM_test_sched/models/sched/src/sched_sensor_emitter.c similarity index 100% rename from trick_models/test/sched/src/sched_sensor_emitter.c rename to test/SIM_test_sched/models/sched/src/sched_sensor_emitter.c diff --git a/trick_models/test/sched/src/sched_sensor_receiver.c b/test/SIM_test_sched/models/sched/src/sched_sensor_receiver.c similarity index 100% rename from trick_models/test/sched/src/sched_sensor_receiver.c rename to test/SIM_test_sched/models/sched/src/sched_sensor_receiver.c diff --git a/trick_models/test/sched/src/sched_sensor_reflector.c b/test/SIM_test_sched/models/sched/src/sched_sensor_reflector.c similarity index 100% rename from trick_models/test/sched/src/sched_sensor_reflector.c rename to test/SIM_test_sched/models/sched/src/sched_sensor_reflector.c diff --git a/trick_models/stl_checkpoint/include/STLCheckpoint.hh b/test/models/stl_checkpoint/include/STLCheckpoint.hh similarity index 100% rename from trick_models/stl_checkpoint/include/STLCheckpoint.hh rename to test/models/stl_checkpoint/include/STLCheckpoint.hh diff --git a/trick_models/stl_checkpoint/include/STLCompanion.hh b/test/models/stl_checkpoint/include/STLCompanion.hh similarity index 100% rename from trick_models/stl_checkpoint/include/STLCompanion.hh rename to test/models/stl_checkpoint/include/STLCompanion.hh diff --git a/trick_models/stl_checkpoint/src/STLCheckpoint.cpp b/test/models/stl_checkpoint/src/STLCheckpoint.cpp similarity index 100% rename from trick_models/stl_checkpoint/src/STLCheckpoint.cpp rename to test/models/stl_checkpoint/src/STLCheckpoint.cpp diff --git a/trick_models/stl_checkpoint/src/STLCompanion_checkpoint.cpp b/test/models/stl_checkpoint/src/STLCompanion_checkpoint.cpp similarity index 100% rename from trick_models/stl_checkpoint/src/STLCompanion_checkpoint.cpp rename to test/models/stl_checkpoint/src/STLCompanion_checkpoint.cpp diff --git a/trick_models/stl_checkpoint/src/STLCompanion_post_checkpoint.cpp b/test/models/stl_checkpoint/src/STLCompanion_post_checkpoint.cpp similarity index 100% rename from trick_models/stl_checkpoint/src/STLCompanion_post_checkpoint.cpp rename to test/models/stl_checkpoint/src/STLCompanion_post_checkpoint.cpp diff --git a/trick_models/stl_checkpoint/src/STLCompanion_restart.cpp b/test/models/stl_checkpoint/src/STLCompanion_restart.cpp similarity index 100% rename from trick_models/stl_checkpoint/src/STLCompanion_restart.cpp rename to test/models/stl_checkpoint/src/STLCompanion_restart.cpp diff --git a/trick_sims/SIM_demo_inputfile/S_overrides.mk b/trick_sims/SIM_demo_inputfile/S_overrides.mk deleted file mode 100644 index ec0bf541..00000000 --- a/trick_sims/SIM_demo_inputfile/S_overrides.mk +++ /dev/null @@ -1,4 +0,0 @@ - -TRICK_CFLAGS += -I${TRICK_HOME}/trick_models $(PYTHON_INCLUDES) -TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models $(PYTHON_INCLUDES) - diff --git a/trick_sims/SIM_stls/S_overrides.mk b/trick_sims/SIM_stls/S_overrides.mk deleted file mode 100644 index 8fa02be5..00000000 --- a/trick_sims/SIM_stls/S_overrides.mk +++ /dev/null @@ -1,4 +0,0 @@ - -TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models - diff --git a/trick_sims/SIM_stls2/S_overrides.mk b/trick_sims/SIM_stls2/S_overrides.mk deleted file mode 100644 index 8fa02be5..00000000 --- a/trick_sims/SIM_stls2/S_overrides.mk +++ /dev/null @@ -1,4 +0,0 @@ - -TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models - diff --git a/trick_sims/SIM_test_inherit/S_define b/trick_sims/SIM_test_inherit/S_define deleted file mode 100644 index 7b69381a..00000000 --- a/trick_sims/SIM_test_inherit/S_define +++ /dev/null @@ -1,71 +0,0 @@ -/************************TRICK HEADER************************* -PURPOSE: - (blah blah blah) -LIBRARY DEPENDENCIES: - ( - ) -*************************************************************/ - -#include "sim_objects/default_trick_sys.sm" - -##include "Ball++/L1/include/Ball.hh" - -/** - This class is the base ball class - */ -class ballSimObject : public Trick::SimObject { - - public: - /** The actual ball object */ - Ball obj ; - - /** Constructor to add the jobs */ - ballSimObject() { - ("default_data") obj.force.default_data() ; - ("default_data") obj.state.default_data() ; - - ("initialization") obj.state_init() ; - - ("derivative") obj.force_field() ; - ("derivative") obj.state_deriv() ; - ("integration") trick_ret = obj.state_integ() ; - - {BLUE} (10.0, "scheduled") trick_ret = obj.state_print() ; - - //C1 (10.0, "scheduled") obj.state_print() ; - //C2 (10.0, "scheduled") obj.state_print() ; - - ("freeze") obj.state_print() ; - - ("shutdown") obj.shutdown() ; - } -} ; - -class DerivedBallSimObject : public ballSimObject { - public: - int print_me() { - message_publish( MSG_NORMAL , "In derived ball job\n" ) ; - } - DerivedBallSimObject() { - (10.0, "scheduled") print_me() ; - } -} - -// Instantiations -DerivedBallSimObject ball ; - -IntegLoop my_integ_loop (0.01) ball; - -// Connect objects -void create_connections() { - - // Set the default termination time - trick_sys.sched.set_terminate_time(300.0) ; - trick_sys.sched.set_freeze_frame(0.10) ; - - ball.obj.state.add_external_force( ball.obj.force.output.force ) ; - - my_integ_loop.getIntegrator( Runge_Kutta_2, 4); - -} - diff --git a/trick_sims/SIM_test_inherit/S_overrides.mk b/trick_sims/SIM_test_inherit/S_overrides.mk deleted file mode 100644 index ba7161e6..00000000 --- a/trick_sims/SIM_test_inherit/S_overrides.mk +++ /dev/null @@ -1,3 +0,0 @@ - -TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -DTRICK_EXPERIMENTAL -TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models -DTRICK_EXPERIMENTAL diff --git a/trick_sims/SIM_test_ip2/S_overrides.mk b/trick_sims/SIM_test_ip2/S_overrides.mk deleted file mode 100644 index 8fa02be5..00000000 --- a/trick_sims/SIM_test_ip2/S_overrides.mk +++ /dev/null @@ -1,4 +0,0 @@ - -TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models - diff --git a/trick_sims/SIM_test_sched/S_overrides.mk b/trick_sims/SIM_test_sched/S_overrides.mk deleted file mode 100644 index 8fa02be5..00000000 --- a/trick_sims/SIM_test_sched/S_overrides.mk +++ /dev/null @@ -1,4 +0,0 @@ - -TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models - diff --git a/trick_sims/SIM_test_simlib/Modified_data/auto_test.dr b/trick_sims/SIM_test_simlib/Modified_data/auto_test.dr deleted file mode 100644 index 697b933e..00000000 --- a/trick_sims/SIM_test_simlib/Modified_data/auto_test.dr +++ /dev/null @@ -1,158 +0,0 @@ - -''' Ensure variable is defined ''' -try: - DR_GROUP_ID -except NameError: - def initialize_globals(): - global DR_GROUP_ID # Create global variable when not defined - global drg # Create a data recording group variable - DR_GROUP_ID = 0 - drg = [] # Initialize variable as an empty array - initialize_globals() - - -#sys.exec.record.directory = "" ; ''' Full path to output directory ''' -#sys.exec.record.terminate_on_bad_ref = Yes ; ''' Yes = Terminate sim when a parameter name cannot be found, No = skip ref ''' - -def add_dr_group(): - global DR_GROUP_ID - global drg - group_name = "auto" - drg.append( trick.sim_services.DRAscii(group_name) ) - drg[DR_GROUP_ID].set_fixed_ascii(True) - drg[DR_GROUP_ID].set_freq(trick.sim_services.DR_Always) - drg[DR_GROUP_ID].enable() - drg[DR_GROUP_ID].set_cycle(1.0) - - drg[DR_GROUP_ID].add_variable("test.ip.bits[0].bits_a") - drg[DR_GROUP_ID].add_variable("test.ip.bits[0].bits_b") - drg[DR_GROUP_ID].add_variable("test.ip.bits[0].bits_c") - drg[DR_GROUP_ID].add_variable("test.ip.bits[0].bits_d") - drg[DR_GROUP_ID].add_variable("test.ip.bits[0].doub_x") - drg[DR_GROUP_ID].add_variable("test.ip.bits[1].bits_a") - drg[DR_GROUP_ID].add_variable("test.ip.bits[1].bits_b") - drg[DR_GROUP_ID].add_variable("test.ip.bits[1].bits_c") - drg[DR_GROUP_ID].add_variable("test.ip.bits[1].bits_d") - drg[DR_GROUP_ID].add_variable("test.ip.bits[1].doub_x") - - drg[DR_GROUP_ID].add_variable("test.ip.strings_good") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.s") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.us") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.i") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.ui") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.l") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.ul") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.f") - drg[DR_GROUP_ID].add_variable("test.ip.c_types.d") - - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.sa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.usa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.ia[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.uia[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.la[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.ula[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.fa[0][0][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.fa[0][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.fa[1][0][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.fa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.da[0][0][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.da[0][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.da[1][0][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_array_types.da[1][1][0]") - - drg[DR_GROUP_ID].add_variable("test.ip.c_pointer_types.uspp[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_pointer_types.ipp[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_pointer_types.uipp[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_pointer_types.lpp[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_pointer_types.ulpp[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_pointer_types.fpp[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_pointer_types.dpp[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_mixed_types.spa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_mixed_types.uspa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_mixed_types.uipa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_mixed_types.lpa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_mixed_types.ulpa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_mixed_types.fpa[1][1][0]") - drg[DR_GROUP_ID].add_variable("test.ip.c_mixed_types.dpa[1][1][0]") - - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].second[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].second[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].second[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].second[4]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[4]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[5]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[6]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[7]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[8]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].meter[9]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].radian[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].radian[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].radian[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].radian[4]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].kilogram[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].kilogram[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].kilogram[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].kilogram[4]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].kilogram[5]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].newton[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].newton[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].newton[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].newton[4]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].volt[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].volt[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].amp[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].amp[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].ohm[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].ohm[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].celsius[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].celsius[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].celsius[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].fahrenheit[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].fahrenheit[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].fahrenheit[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].temp_rate[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].temp_rate[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].temp_rate[3]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].area[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].area[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].area[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].volume[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].volume[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].volume[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].velocity[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].velocity[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].velocity[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].velocity_eng[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].velocity_eng[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].accel[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].accel[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].accel[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].inertia[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].inertia[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].inertia[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].torque[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].torque[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].torque[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].pressure[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].pressure[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].pressure[2]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].density[0]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].density[1]") - drg[DR_GROUP_ID].add_variable("test.ip.units_test[0][0][0].density[2]"; - - trick_data_record.drd.add_group( drg[DR_GROUP_ID], trick.DR_Buffer ) -add_dr_group() - - -""" -add 1 to DR_GROUP_ID, THIS SETS DR_GROUP_ID UP -FOR THE NEXT DATA RECORDING FILE -""" -def increment_group_id(): - global DR_GROUP_ID - DR_GROUP_ID += 1 -increment_group_id() diff --git a/trick_sims/SIM_test_simlib/Modified_data/input_processor_tests.py b/trick_sims/SIM_test_simlib/Modified_data/input_processor_tests.py deleted file mode 100644 index 431a314c..00000000 --- a/trick_sims/SIM_test_simlib/Modified_data/input_processor_tests.py +++ /dev/null @@ -1,124 +0,0 @@ - -read = 2.0 - -/*=== FLOATING POINT, INTEGER, AND VOID #define CAPABILITIES ===*/ - -#define DBL_NUM 7.7777777777777777 -#define FLT_NUM 1.2345 -#define INT_NUM 12345 - -#define INT_NUM + /* INT_NUM NOW = 12346 */ -#define INT_NUM 12356 /* INT_NUM NOW = 12356 */ - -#define FLT_NUM + /* FLT_NUM NOW = 2.2345 */ -#define FLT_NUM 12.2345 /* FLT_NUM NOW = 12.2345 */ - -#define NO_VALUE - -test.ip.c_array_types.ia[0][0][0] = INT_NUM -test.ip.c_array_types.da[0][0][0] = FLT_NUM -test.ip.c_array_types.da[0][0][1] = DBL_NUM - - -test.ip.c_array_types.sa[0][0][0] = 0 , 0 -test.ip.c_array_types.sa[0][1][0] = 0 , 0 -#ifdef NO_VALUE -test.ip.c_array_types.sa[0][0][0] = 111 , 222 -#endif -#ifndef NO_VALUE -test.ip.c_array_types.sa[0][1][0] = 1 , 2 -#endif - -test.ip.c_array_types.sa[1][0][0] = 0 , 0 -test.ip.c_array_types.sa[1][1][0] = 0 , 0 -#ifdef VALUE -test.ip.c_array_types.sa[1][0][0] = 111 , 222 -#endif -#ifndef VALUE -test.ip.c_array_types.sa[1][1][0] = 1 , 2 -#endif - -test.ip.c_array_types.usa[1][0][0] = 0 , 0 -test.ip.c_array_types.usa[1][1][0] = 0 , 0 -#ifdef INT_NUM -test.ip.c_array_types.usa[1][0][0] = 1111 , 2222 -#endif -#ifndef INT_NUM -test.ip.c_array_types.usa[1][1][0] = 11 , 22 -#endif - -test.ip.c_array_types.uia[0][0][0] = 0 , 0 -test.ip.c_array_types.uia[0][1][0] = 0 , 0 -#ifdef FLT_NUM -test.ip.c_array_types.uia[0][0][0] = 1111 , 2222 -#endif -#ifndef FLT_NUM -test.ip.c_array_types.uia[0][1][0] = 11 , 22 -#endif - -test.ip.c_array_types.uia[1][0][0] = 0 , 0 -test.ip.c_array_types.uia[1][1][0] = 0 , 0 -#if INT_NUM == 12356 -test.ip.c_array_types.uia[1][0][0] = 1111 , 2222 -#endif -#if INT_NUM != 12356 -test.ip.c_array_types.uia[1][1][0] = 11 , 22 -#endif - -test.ip.c_array_types.la[0][0][0] = 0 , 0 -test.ip.c_array_types.la[0][1][0] = 0 , 0 -#if INT_NUM == 1 -test.ip.c_array_types.la[0][0][0] = 1111 , 2222 -#endif -#if INT_NUM != 1 -test.ip.c_array_types.la[0][1][0] = 11 , 22 -#endif - -test.ip.c_array_types.la[1][0][0] = 0 , 0 -test.ip.c_array_types.la[1][1][0] = 0 , 0 -#if INT_NUM == 12356 -test.ip.c_array_types.la[1][0][0] = 1111 , 2222 -#endif -#if INT_NUM == 0 -test.ip.c_array_types.la[1][1][0] = 11 , 22 -#endif - -test.ip.c_array_types.fa[0][0][0] = 0 , 0 -test.ip.c_array_types.fa[0][1][0] = 0 , 0 -#if INT_NUM != 1 -test.ip.c_array_types.fa[0][0][0] = 1111 , 2222 -#endif -#if INT_NUM != 2 -test.ip.c_array_types.fa[0][1][0] = 11 , 22 -#endif - -/*=== CHARACTER STRING #define CAPABILITY ===*/ - -#define STR "test" -#define F "meowmeowmeow" -#define STRF "mooomooomooo" - -test.ip.c_array_types.fa[1][0][0] = 0 , 0 -test.ip.c_array_types.fa[1][1][0] = 0 , 0 -#ifdef STRF -test.ip.c_array_types.fa[1][0][0] = 1111 , 2222 -#endif -#ifndef STRF -test.ip.c_array_types.fa[1][1][0] = 11 , 22 -#endif - -#define TH ${TRICK_HOME} - -test.ip.c_types.l = 123456789 -test.ip.c_types.cp = "#(TH)" -test.ip.c_pointer_types.cpp[0][0][0] = "#(TH)" , "#(TH)"; -test.ip.c_pointer_types.cpp[0][1][0] = "#(TH)" , "#(TH)" -test.ip.c_pointer_types.cpp[1][0][0] = "#{TH}" , "#(TH)" -test.ip.c_pointer_types.cpp[1][1][0] = "#(TH)" , "#(TH)" - -test.ip.c_mixed_types.cpa[0][0][0] = "#(TH)" , "#{TH}" -test.ip.c_mixed_types.cpa[0][1][0] = "#(TH)" , "#(TH)" -test.ip.c_mixed_types.cpa[1][0][0] = "#(TH)" , "#(TH)" -test.ip.c_mixed_types.cpa[1][1][0] = "#(TH)" , "#(TH)" - -test.ip.units_test[0][0][0].measure = feet diff --git a/trick_sims/SIM_test_simlib/Modified_data/nested_includes.py b/trick_sims/SIM_test_simlib/Modified_data/nested_includes.py deleted file mode 100644 index da125bc1..00000000 --- a/trick_sims/SIM_test_simlib/Modified_data/nested_includes.py +++ /dev/null @@ -1,2 +0,0 @@ - -execfile("Modified_data/next_level.py") diff --git a/trick_sims/SIM_test_simlib/Modified_data/next_level.py b/trick_sims/SIM_test_simlib/Modified_data/next_level.py deleted file mode 100644 index 41f9baea..00000000 --- a/trick_sims/SIM_test_simlib/Modified_data/next_level.py +++ /dev/null @@ -1,3 +0,0 @@ - -test.ip.c_pointer_types.cpp[0][0][0] = ["Cat" , "Dog"] -test.ip.c_pointer_types.cpp[0][0][1] = ["Horse"] diff --git a/trick_sims/SIM_test_simlib/Modified_data/test_print.py b/trick_sims/SIM_test_simlib/Modified_data/test_print.py deleted file mode 100644 index d44b3bb0..00000000 --- a/trick_sims/SIM_test_simlib/Modified_data/test_print.py +++ /dev/null @@ -1,3 +0,0 @@ - -def test_print(): - print "test" diff --git a/trick_sims/SIM_test_simlib/RUN_test/Title b/trick_sims/SIM_test_simlib/RUN_test/Title deleted file mode 100644 index 2d836c9c..00000000 --- a/trick_sims/SIM_test_simlib/RUN_test/Title +++ /dev/null @@ -1 +0,0 @@ -Ball Tutorial test run \ No newline at end of file diff --git a/trick_sims/SIM_test_simlib/RUN_test/unit_test.py b/trick_sims/SIM_test_simlib/RUN_test/unit_test.py deleted file mode 100644 index 7bdd17c8..00000000 --- a/trick_sims/SIM_test_simlib/RUN_test/unit_test.py +++ /dev/null @@ -1,9 +0,0 @@ - -def main(): - - my_integ_loop.getIntegrator( trick.Runge_Kutta_2, 4) - trick.stop(300.0) - -if __name__ == "__main__": - main() - diff --git a/trick_sims/SIM_test_simlib/S_define b/trick_sims/SIM_test_simlib/S_define deleted file mode 100644 index 0854b7ea..00000000 --- a/trick_sims/SIM_test_simlib/S_define +++ /dev/null @@ -1,11 +0,0 @@ -/************************TRICK HEADER************************* -PURPOSE: - (This comment lists out the other object files that are not included from c++ headers) -LIBRARY DEPENDENCIES: - ( - (sim_lib SIM_Ball++_L1) - ) -*************************************************************/ - -#include "SIM_Ball++_L1/S_define" - diff --git a/trick_sims/SIM_test_simlib/S_overrides.mk b/trick_sims/SIM_test_simlib/S_overrides.mk deleted file mode 100644 index 8893d07f..00000000 --- a/trick_sims/SIM_test_simlib/S_overrides.mk +++ /dev/null @@ -1,5 +0,0 @@ -TRICK_SFLAGS += -I${TRICK_HOME}/trick_sims -TRICK_ICG_EXCLUDE=/users/lin/trick_dev/trunk/trick_models/exclude_me -TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models - diff --git a/trick_sims/SIM_test_simlib/Title b/trick_sims/SIM_test_simlib/Title deleted file mode 100644 index 3cd55431..00000000 --- a/trick_sims/SIM_test_simlib/Title +++ /dev/null @@ -1 +0,0 @@ -Object Oriented Ball Tutorial Simulation - Lesson 1 diff --git a/trick_sims/makefile b/trick_sims/makefile index 1b871859..fdcf9bf5 100644 --- a/trick_sims/makefile +++ b/trick_sims/makefile @@ -2,7 +2,7 @@ export TRICK_HOST_CPU := $(shell $(TRICK_HOME)/bin/trick-gte TRICK_HOST_CPU) # List out sims we want to compile -COMPILE_DIRS = SIM_Ball++_L1 \ +COMPILE_DIRS = \ Ball/SIM_ball_L1 \ Ball/SIM_ball_L2 \ Ball/SIM_ball_L3 \ @@ -14,17 +14,10 @@ COMPILE_DIRS = SIM_Ball++_L1 \ Cannon/SIM_cannon_eulercromer \ Cannon/SIM_cannon_integ \ Cannon/SIM_cannon_jet \ - SIM_demo_inputfile \ - SIM_demo_sdefine \ + SIM_Ball++_L1 \ SIM_satellite \ - SIM_stls \ - SIM_stls2 \ SIM_sun \ - SIM_target \ - SIM_test_inherit \ - SIM_test_ip2 \ - SIM_test_sched \ - SIM_test_simlib + SIM_target #SIM_ball_default_data \ #SIM_monte \ @@ -34,7 +27,7 @@ COMPILE_DIRS = SIM_Ball++_L1 \ # SIM_test_varserv # List out sims we want to run unit tests -TEST_DIRS = SIM_Ball++_L1 \ +TEST_DIRS = \ Ball/SIM_ball_L1 \ Ball/SIM_ball_L2 \ Ball/SIM_ball_L3 \ @@ -46,13 +39,9 @@ TEST_DIRS = SIM_Ball++_L1 \ Cannon/SIM_cannon_eulercromer \ Cannon/SIM_cannon_integ \ Cannon/SIM_cannon_jet \ - SIM_demo_sdefine \ - SIM_stls \ - SIM_stls2 \ + SIM_Ball++_L1 \ SIM_sun \ - SIM_target \ - SIM_test_sched \ - SIM_test_simlib + SIM_target #SIM_ball_default_data \ #SIM_monte \