Derek Bankieris
6d7b523169
Add signed types to swig_int_typemap.i
...
Fixes #845
2019-08-13 11:39:17 -05:00
Scott Fennell
82bae3b0d0
#836 remove all S_default.dat stuff
2019-07-09 15:58:26 -05:00
Derek Bankieris
40cf5c0b29
Note the process exit status of Monte Carlo runs
...
Closes #481
2019-06-21 14:02:03 -05:00
Scott Fennell
b23b19195b
Merge pull request #818 from nasa/786-clock-stuff
...
Add C call to clock_tics_per_sec and also log init job elapsed time
2019-06-18 13:38:18 -05:00
Scott Fennell
b676ecac65
SWIG 2.0 compatability
2019-06-18 11:00:09 -05:00
Alex Lin
187fa37540
Remove suppression of units conversion warnings in 19 #789 ( #814 )
...
Removed checks on dead units conversion messenger. Units conversion
messages cannot be suppressed. Added deprecated messages to the functions
that modified the message printouts.
2019-06-18 10:59:51 -05:00
Scott Fennell
97941ac073
move init_log_stream to Executive.hh, move Executive::process_sim_args from "default data" to Executive::init
2019-06-18 10:34:56 -05:00
Scott Fennell
fadda55abf
Log elapsed time in default_data, input_processor, and init jobs in file
...
init_log.csv
2019-06-17 14:40:01 -05:00
Alex Lin
0e7d1ae345
TPROCTE_HOME Being Used In Place Of TPRO_HOME #778
...
Tell ICG not to process board handle variable.
2019-06-14 07:25:25 -05:00
Alex Lin
04b2185c2e
TPROCTE_HOME Being Used In Place Of TPRO_HOME #778
...
I put the include for tsync.h in the wrong place.
2019-06-12 07:17:39 -05:00
Scott Fennell
b1d791dc94
#805 add C call to clock_tics_per_sec
2019-06-07 08:29:47 -05:00
Scott Fennell
9be53ebb9b
#776 default restore_stls to false
2019-06-03 09:44:35 -05:00
Scott Fennell
7f7adca0ac
#776 .dat files don't call restore_stls in checkpoint restore
2019-06-01 10:48:31 -05:00
dbankieris
b694d5412b
Merge pull request #765 from nasa/763
...
Add ability to specify MC slave output directory
2019-05-29 14:29:04 -05:00
Alex Lin
fedf5bec72
Reduce number of real-time plots per page to 6 #775
...
Changed the hard coded 8 plots per page to a user settable number.
Defaulted the number to 6.
2019-05-14 09:08:11 -05:00
Derek Bankieris
4368d412b2
Add C functions for setting MC slave output dir
...
Refs #763
2019-05-06 12:03:26 -05:00
Derek Bankieris
7d7b461b38
Allow specification of MC slave output directory
...
Refs #763
2019-05-06 11:32:12 -05:00
Penn, John M 047828115
05e9535518
Add MemoryManager methods to generate JSON for allocation info. #755
2019-04-17 16:35:29 -05:00
Scott Fennell
08d0ea5d40
#738 add Derek's warning
2019-02-27 16:00:03 -06:00
jmpenn
b9278c4a72
Add capability to list current variable server connections in JSON re… ( #732 )
...
* Add capability to list current variable server connections in JSON ref #678
* Add client tag to the connection info.
* Name consistency tweak in generation of JSON variable-server connection list. ref #732
* Add client IP address and port. ref #732
* Output should be going to the stringstream, not std::cout. Ref #732
2019-02-18 17:11:41 -06:00
Derek Bankieris
9a04d72fd0
Add Unit.hh to files_to_ICG.hh & sim_services.i
...
units_conv.h was also missing from sim_services.i
Closes #718
2018-12-07 08:08:15 -06:00
Derek Bankieris
247fcc370d
Add accessor for MonteVarRandom::randist
...
Closes #715
2018-12-04 11:57:18 -06:00
Derek Bankieris
0394867dfd
Add MonteCarlo::variables accessor
...
Closes #713
2018-12-04 10:25:03 -06:00
Penn, John M 047828115
5333773fbd
Return output length even if output array is NULL. Ref #708
2018-11-27 14:24:48 -06:00
dbankieris
348bbb3798
Add ExecutiveException.hh to sim_services.i ( #691 )
...
* Add ExecutiveException.hh to sim_services.i and files_to_ICG.hh
* Update version number
Fixes #690
2018-10-30 13:49:55 -05:00
John M. Penn
a29045005c
Create a suite of unicode utilities.
2018-10-25 15:14:52 -05:00
Scott Fennell
818e60f7a2
remove shadow variable
2018-10-23 14:03:40 -05:00
Scott Fennell
c133eecc27
handle bad typeid
2018-10-04 13:58:28 -05:00
jmpenn
fccf32093b
Explicitly specify void arg for C functions that take no arguments. ( #670 )
...
* Clock empty args to void
* command_line func empty args to void
* DataRecord func empty args to void
* debug_pause func empty args to void
* echojobs func empty args to void
* ExternalApplication func empty args to void
* FrameLog func empty args to void
* MasterSlave func empty args to void
* MonteCarlo func empty args to void
* outdllist func proto empty args to void
* sie func empty args to void
* SimTime func empty args to void
* UnitTest func empty args to void
* var_server func empty args to void
* wcs func empty args to void
2018-09-19 11:25:04 -05:00
jmpenn
84f67ef79f
Update all enums in MonteCarlo with prefixes, so as to not conflict with other enums. ( #650 )
2018-07-25 13:05:10 -05:00
jmpenn
882b568b86
Fix enums in MonteCarlo ExitStatus to less susceptible to conflict wi… ( #628 )
...
* Fix enums in MonteCarlo ExitStatus to less susceptible to conflict with other code. ref #609
* Add MC_ prefix to ExitStatus enums. Ref #609
2018-06-05 15:10:08 -05:00
jmpenn
f7567aa9be
Add lqueue.h lstack.h, and dllist.h to the list of Trick files that are ICG'ed. #614 . ( #621 )
2018-05-17 11:23:44 -05:00
Alex Lin
f6d000ac6e
Merge pull request #599 from iamthad/hammen-docs-fix-17
...
Port Hammen doxygen documentation fix to Trick 17
2018-04-12 08:51:42 -05:00
Alex Lin
2db059679b
Merge pull request #590 from abrogley/unit-test-return-code
...
Unit test exit code
2018-04-12 08:47:44 -05:00
Alex Lin
8938c3b7b2
Clang no longer supports -Wno-unused-but-set-variable #600
...
Removed the compile time flag.
2018-04-12 08:41:25 -05:00
jmpenn
9d7ba05c76
Implement Event condition and action lists as array of ptrs to objects rather than contiguous arrays. ref #587 ( #597 )
2018-04-10 17:17:21 -05:00
Scott Fennell
af6727408c
Limit log file size ( #594 )
...
* #585 create new method to set max file size for DataRecordGroups. Needs testing and DRD interface function
* #585 dre implementation and other improvements, needs more work
* #585 update dre, add intf for drd max size functions. Still requires better comments, wiki updates, some refactoring, and testing
* #585 refactor trick-dre
* format trick-dre
* improve readability of dre output for set_max_file_size
2018-04-10 16:02:44 -05:00
Aaron Brogley
fb6babd07f
Adding comment above write_output() to be complete.
2018-03-28 10:09:46 -05:00
Aaron Brogley
0d7a082b2f
Adding Trick Unit Test return code functionality.
2018-03-28 10:09:22 -05:00
David Hammen
7779dc568b
Compile clean with clang++ -Wdocumentation.
...
I made a number of changes to Trick to make it compile clean with
clang++ -Wdocumentation, which checks doxygen comments. The changes
were either to comments or to parameter names in function declarations.
None of the changes have any impact on the compiled code.
2018-03-28 09:44:23 -05:00
John M. Penn
c7d95da9a8
Implement function to generate a transformation matrix to rotate a vector to new a new orientation. Ref #582
2018-03-19 18:10:04 -05:00
Derek Bankieris
6d6d3189e3
Add units_conv.h to files_to_ICG.hh
...
Fixes #575
2018-03-05 15:03:27 -06:00
Alex Lin
d97f482219
Allow the FrameLog class to use a different clock #571
...
Added a clock reference that to the FrameLog class that defaults
to the GetTimeOfDay clock. This clock has fast access and is
non intrusive to real-time operations using a different clock.
Added a function to set the clock to something else if desired.
2018-02-28 17:33:09 -06:00
John M. Penn
4f0093ddd6
Created a function function to calculate transform using Rodrigues formula. Ref #567
2018-02-27 18:24:40 -06:00
Alex Lin
15bfd75b32
Don't resize active event array size with every operation #562
...
Started the active event allocation at 100 events. If more are needed, we
add 100 allocations each time. The array is never reduced in size if
events are deleted, events are moved to the front of the array and the
remaining elements are set to NULL.
2018-02-14 17:28:21 -06:00
Pappy Van Winkle
d7e8d48a8a
Creating additional C-interface routines for UnitTest. #511
2018-02-03 19:56:08 -06:00
Alex Lin
27d18f07f3
Some of Trick's unit conversions have too many significant digits #557
...
Our constants.h file has the same problem, some units have too many
significant digits. Truncated some of the values.
2018-02-02 15:10:56 -06:00
Alex Lin
8f76605f3b
Create Message client that writes to screen on a separate thread #553
...
Created a new message class that will copy incoming messages to a
buffer area. The buffer area is pre allocated during simulation
initialization. On a separate thread the buffer area is written
to std::cout.
2018-01-25 15:59:19 -06:00
Alex Lin
403621c139
Pointers to STLs cannot be checkpointed. #552
...
sometimes the TMM allocate routines fail. I added error checking
to stop a core dump. More investigation is needed to determine
why the allocation is failing.
2018-01-25 13:25:29 -06:00
Alex Lin
5285f1a72e
Symbolic links rise again #530
...
Found more places where symbolic links cause havoc. Also added back a #define
that was removed in parameter_types.h and added back the messaging routines to
the list swig processes.
2017-12-12 10:17:24 -06:00