Commit Graph

1855 Commits

Author SHA1 Message Date
Scott Fennell
d42b26131c
disable fedora in github actions 2021-05-26 21:56:59 -05:00
Scott Fennell
d88779cfd1
downgrade llvm to 11 in github actions 2021-05-26 21:56:22 -05:00
Penn, John M 047828115
38852427c1 Fix section headers in Data-Record.md. #1149 2021-05-24 14:18:29 -05:00
Penn, John M 047828115
20ad17dfab Update DRBinary Format documentation. #1149 2021-05-24 13:58:52 -05:00
Penn, John M 047828115
1b7a2f6f37 Correct Variable-Server documentation regarding the responce of var_exists. #1126 2021-05-20 14:46:15 -05:00
Penn, John M 047828115
5c35cf2b1f Merge branch 'master' of https://github.com/nasa/trick 2021-05-20 12:56:33 -05:00
Penn, John M 047828115
1e9c88dd0e Fix Minor Typos in Variable Server tutorial. #1122 2021-05-20 12:55:54 -05:00
dbankieris
62410bb724
Merge pull request #1145 from nasa/zip-python-modules
Zip SWIG-generated python modules
2021-05-20 08:27:18 -05:00
Penn, John M 047828115
aab93a0c8b Fix links in Tutorial. #1122 2021-05-19 23:59:18 -05:00
Penn, John M 047828115
a1bce98e91 Update the Trick Tutorial to explain how to control sim modes from a variable server client. #1122 2021-05-19 23:09:49 -05:00
Scott Fennell
520e0343d1
update docs 2021-05-19 22:16:45 -05:00
Derek Bankieris
2c06ae6eaf Rename SIM_*/trick to SIM_*/.trick
Hide the non-zipped Python modules to indicate to users that changing
them will have no effect on the sim.

Refs #1144
2021-05-19 17:33:13 -05:00
Derek Bankieris
8d314fa1b1 Zip SWIG-generated python modules
Closes #1144
2021-05-19 17:23:33 -05:00
ddj116
1d9ea79107
Introducing TrickOps - An Extensible Sim Testing Framework (#1130)
* Introducing TrickOps - An Extensible Sim Testing Framework

Features:

* Multiple simultaneous sim builds, runs, file vs. file comparisons,
  arbitrary post-run analyses, valgrind of runs
* Real-time progress bars for sim builds and runs
* Exit code management lets users easily define success & failure
* Failed comparisons can optionally generate koviz error reports

See share/trick/trickops/README.md for details

* Add GitHub Actions Workflow for TrickOps for Ubuntu:20.04 & CentOS latest

* Adds python unit and doc tests to github actions for push / pull requests
  for Ubuntu:20.04 and CentOS 8:latest. MacOS still forthcoming.
* Also updates documentation with TrickOps information
* Remove duplicate / overwriting SIM_ definitions in ExampleWorkflow.py

* Address Code Review / Discussion

* Reduce set of sims tested in ExampleWorkflow.py to stable set
* Add ExampleWorkflow.py to GitHub Actions
* Clarify documentation and add image of TrickOps in action
* Error/Ignore valgrind entries in YAML file if platform == darwin

* Fix run.compare() logic error and add unit test to cover it

Co-authored-by: Dan Jordan <daniel.d.jordan@nasa.gov>
2021-05-03 14:39:20 -05:00
Scott Fennell
b4d76559eb
edit call to setLangOpts in icg main.cpp to support llvm-12 interface #1138 (#1139)
closes #1138
2021-04-30 11:15:38 -05:00
Penn, John M 047828115
edcacba00f Give trick-dre the capability to expand arrayed variables like trick-tv. #381 2021-04-29 14:29:18 -05:00
Scott Fennell
437a56b24c
Update Install-Guide.md 2021-04-26 23:53:27 -05:00
Scott Fennell
d75faecff8
add missing lock/unlock on pthread map mutex to VariableServer::shutdown fixes #1133 (#1134)
closes #1133
2021-04-26 23:28:26 -05:00
Scott Fennell
1b978ef2da
Create Install-Guide.md 2021-04-26 22:06:59 -05:00
Scott Fennell
0fda0b4bf3
Update Install-Guide.md 2021-04-26 22:06:53 -05:00
Scott Fennell
9b621d2819
Update Install-Guide.md 2021-04-26 21:59:35 -05:00
Scott Fennell
9589c1062c
in ICG: Add FileSkipped preprocessor callback to FindTrickICG (#1125)
* #608 add implementation of FileSkipped callback to FindTrickICG to add include chains for headers that have already been preprocessed

* #608 add test SIM for FindTrickICG offsets SIM_test_icg_file_skipped
2021-04-19 19:34:17 -05:00
Scott Fennell
6356a87b9f
Update DataRecordGroup.cpp (#1124) 2021-04-09 07:57:16 -05:00
Fennell, Scott P 263712616
35014fc69f fix mm delete var bug #1093 2021-04-06 19:12:18 -05:00
jmpenn
334f8859da
Update Tutorial.md 2021-03-30 10:39:30 -05:00
Penn, John M 047828115
cfc7210f52 Update SAIntegrator tutorial for RKF45. #1123 2021-03-30 09:59:20 -05:00
Scott Fennell
f439d95775
Void ptr external application (#1121)
* #1119 allocate using memory manager

* #1119 replace void* vector with char* vector in external application

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2021-03-25 13:17:21 -05:00
Fennell, Scott P 263712616
92ad2a8063 reapply prerelease version numbers to master branch 2021-03-12 13:49:27 -06:00
Fennell, Scott P 263712616
7b933255aa Trick Release 19.2.3 2021-03-12 13:42:49 -06:00
Scott Fennell
6691b14e9e
1093 c str (#1119)
* update checkpoint_map.hh #1093

* #1093 update checkpoint_pair.hh

* #1093 update checkpoint_queue.hh

* #1093 update MM_write_checkpoint.cc

* #1093 update units_attach.i

* #1093 update checkpoint_sequence_stl.hh

* #1093 update checkpoint_stack.hh

* #1093 update swig_extend_str.i

* #1093 update swig_int_templates.hh

* #1093 update checkpoint_stack.hh and swig_int_typemap.i

* #1093 fix c_str issue without adding memory leaks

* #1093 fix c_str issue without adding memory leaks

* #1093 remove dangling pointers in injector sim object (without causing memory leaks)

* #1093 remove dangling pointers in injector sim object (without causing memory leaks)

* #1093 remove dangling pointers in Event Manaager sim object (without causing memory leaks)

* #1093 fix MonteCarlo_c_intf dangling pointers

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>

closes #1093
2021-03-12 13:23:35 -06:00
Penn, John M 047828115
a5e67ae3a9 SAIntegrator: Add RKF45Integrator_unittest. #1114 2021-03-02 13:23:26 -06:00
dbankieris
a4df0bddcb
Merge pull request #1116 from nasa/1115
Check paths against TRICK_HOME in HeaderSearchDirs
2021-03-02 13:11:32 -06:00
Derek Bankieris
10b16d9f31 Check paths against TRICK_HOME in HeaderSearchDirs
Closes #1115
2021-03-02 12:43:10 -06:00
Penn, John M 047828115
c82ff9a72b SAIntegrator: Add gitignore file for unittest directory. 2021-02-25 23:00:11 -06:00
Penn, John M 047828115
b1c22f2b14 SAIntegrator: Add gitignore files. 2021-02-25 22:58:39 -06:00
Penn, John M 047828115
b67612e506 SAIntegrator: update examples makefile to add AsteroidFlyBy. #1114 2021-02-25 12:00:15 -06:00
Penn, John M 047828115
a2a3ff1dcc SAIntegrtor: Add example sim for RKF45 called AsteroidFlyBy. #1114 2021-02-24 22:40:56 -06:00
Penn, John M 047828115
e696254bc5 SAIntegrator: Add getLastStepSize() method to RKF45Integrator. #1114 2021-02-24 22:38:35 -06:00
Penn, John M 047828115
320ff5915a adaptive_step shoould return next_h, not default_h. #1114 2021-02-22 17:23:50 -06:00
Penn, John M 047828115
8e3f99e4fe SAIntegrator: Add Runge-Kutta-Fehlberg 4(5), an adaptive step-size integrator. #1114 2021-02-22 17:17:29 -06:00
Penn, John M 047828115
ae9ecf2196 Make intermediate work variables local to step functions, and simplify constructors, destructors, copy-constructors, and assignment opertors. #1113 2021-02-22 16:48:13 -06:00
dbankieris
25d91e7852
Merge pull request #1111 from nasa/1110
Call follow_address_path for DR_Changes triggers
2021-02-22 12:29:02 -06:00
dbankieris
793dedd271
Merge pull request #1112 from nasa/add-reference-support-to-memory-manager
Add reference support to memory manager
2021-02-22 12:28:43 -06:00
Derek Bankieris
c428bce49d Add support for references in MM::ref_name
Add an AO_DEREFERENCE ADDRESS_NODE to R->address_path and dereference the
address for REF2->address
2021-02-11 17:36:43 -06:00
Derek Bankieris
8e3726eb98 Mark references as such in ICG 2021-02-11 17:36:43 -06:00
Derek Bankieris
1506063a05 Call follow_address_path for DR_Changes triggers
Closes #1110
2021-02-11 15:38:47 -06:00
Scott Fennell
c0791b46d9
icg default constructor is deleted (#1109)
* check if default constructor is deleted #1094

* unit test icg deleted default constructor #1094

* Update centos 7 swig version to 3.0 to support deleted function in SIM_deleted_default_constructor test

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>

closes #1094
2021-02-05 19:32:36 -06:00
Scott Fennell
e56b32cc2d
Update test_32.yml 2021-02-05 16:48:49 -06:00
Scott Fennell
5d7b6e3bcc
1106 fix python ld path (#1108)
* #1106 re-add in ldflags to python-config command

closes #1106

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2021-02-05 00:31:08 -06:00
Scott Fennell
f81086700a
Update README.md 2021-02-05 00:28:57 -06:00