Commit Graph

854 Commits

Author SHA1 Message Date
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
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
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
Penn, John M 047828115
7f045f0d72 Fix missing link in the SAIntegrator Tutorial. #1097 2021-01-27 13:18:52 -06:00
Penn, John M 047828115
7d9c0e00ff Tag code blocks as being C++ for proper code coloring. #1097 2021-01-27 13:06:28 -06:00
Penn, John M 047828115
0facb73c7d Add SAIntegrator Tutorial. #1097 2021-01-27 12:49:45 -06:00
Penn, John M 047828115
b929c62d77 Update SAIntegrator README.md. #1097 2021-01-27 12:48:32 -06:00
Penn, John M 047828115
b190ade246 Update makefile to build new SAIntegrator examples. #1097 2021-01-27 12:47:08 -06:00
Penn, John M 047828115
8e8f761afb Use -std=c++11 to compile SAIntegrator. #1097 2021-01-27 12:45:08 -06:00
Penn, John M 047828115
7ce4514f74 Add include guards to Rootfinder.hh. #1097 2021-01-27 12:42:02 -06:00
Penn, John M 047828115
8a015b3621 Update MassSpringDamper example for the Tutorial. #1097 2021-01-27 12:39:52 -06:00
Penn, John M 047828115
e317b8e7f6 Update DoubleIntegral example for the Tutorial. #1097 2021-01-27 12:36:07 -06:00
Penn, John M 047828115
f87c432bd4 Add DefiniteIntegral example for Tutorial. #1097 2021-01-27 12:30:36 -06:00
Penn, John M 047828115
b5a33b1b44 Add BouncyCannonBall example to demonstrate dynamic events. #1097 2021-01-27 12:27:01 -06:00
Penn, John M 047828115
2be2aac0e3 Update the CannonBall example for the Tutorial. #1097 2021-01-27 12:22:16 -06:00
Penn, John M 047828115
99f42bb6c4 Add new integrator constructors in SAIntegrator #1096 2021-01-27 12:09:33 -06:00
Fennell, Scott P 263712616
be407eaf13 Update version numbers to pre-release for 19.3.0 2021-01-11 13:59:31 -06:00
Fennell, Scott P 263712616
e0be091c7e Trick Release 19.2.2 2021-01-11 13:57:14 -06:00
Penn, John M 047828115
69b8d2f0ad Spiff up SAInteger Cannonball sim example, like the other examples. 2021-01-06 17:17:49 -06:00
Penn, John M 047828115
0c4907f78c Improvements to README similar to those of Orbit sim. 2021-01-06 16:53:00 -06:00
Penn, John M 047828115
ef127f8a36 Improve the organization and description of the Orbit example sim for SAIntegrator, in prep for tutorial. 2021-01-06 16:50:24 -06:00
Penn, John M 047828115
519f23685b Add periodic impulse to MassSpringDamper sim. Improve README. Fix plot script. 2021-01-05 16:00:52 -06:00
Penn, John M 047828115
b4ba3315ea Create PDF README for SAIntegrator. #1091 2020-12-17 16:09:07 -06:00
Penn, John M 047828115
870e7e9a41 Add copy-constructors, assignment operators, insertion operators to SAIntegrator classes. #1091 2020-12-17 15:58:29 -06:00
Scott Fennell
939b3002d1
tv dynamic allocations post initialization and test update (#1090)
* #1086 append runtime allocations when sie is requested instead of initialization

* #1088 change sie error to warning and improve warning message

* #1089 lowercase powertools in centOS 8 config


closes #1086
closes #1088
closes #1089
2020-12-15 12:48:21 -06:00
jmpenn
31033f5193
Update README.md
Fix a typo.
2020-11-19 14:43:07 -06:00
Penn, John M 047828115
64fe672321 PDF for README. #1082 2020-11-17 13:45:36 -06:00
Penn, John M 047828115
dcf99bdf4a Editing, improvement of READMEs. #1082 2020-11-17 13:41:44 -06:00
Penn, John M 047828115
7b34af2e54 Improve unittest code coverage for SAIntegrator library. #1081 2020-11-17 13:37:06 -06:00
Scott Fennell
f04dcd7567
Small changes to test builds to be compatible with latest macOS and tools (#1078)
closes #1077 

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2020-11-16 22:56:56 -06:00
Penn, John M 047828115
9f5cc63a2a Merge branch 'master' of https://github.com/nasa/trick 2020-11-05 13:54:10 -06:00
Penn, John M 047828115
fde9368f22 Update figures in README.md for SAIntegrator. #1070 2020-11-05 13:50:55 -06:00
Derek Bankieris
3190292cf3 Add units to swig_int and swig_double
Closes #1072
2020-11-05 09:49:02 -06:00
Penn, John M 047828115
3bffe16e2c Comments in SAIntegrator.hh. #1070 2020-11-04 21:14:58 -06:00
Penn, John M 047828115
d109dfe949 Misc fixes, clarifications in README. Remove commented code in SAIntegrator.hh. #1070 2020-11-04 21:04:49 -06:00
Penn, John M 047828115
ab7d10a143 Refactor RootFinder in Stand Alone Integrator Library. #1070 2020-10-30 17:26:56 -05:00
Penn, John M 047828115
b9f25646e8 Describe rootfinding example in README. #1070 2020-10-29 13:00:27 -05:00
Penn, John M 047828115
23f04ffea2 Add rootfinding to stand-alone integrator library. #1070 2020-10-29 12:30:38 -05:00
dependabot[bot]
5aa2a62a7d
Bump junit from 4.12 to 4.13.1 in /trick_source/java (#1062)
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 13:38:48 -05:00
Fennell, Scott P 263712616
a84ac0e856 Update version numbers to pre-release for 19.3.0 2020-10-27 13:08:01 -05:00
Fennell, Scott P 263712616
8f36f91b55 Trick Release 19.2.1 2020-10-27 12:57:18 -05:00
Scott Fennell
7277b16017
#1063 move sim service xml file (#1069)
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2020-10-23 15:45:32 -05:00
Derek Bankieris
1e8228e344 Use -isystem for Trick and Python headers
Closes #1067
2020-10-23 08:28:01 -05:00
Scott Fennell
6618d09c15
issue 1065 llvm 11 support (#1066)
* # 1065 all LLVM::StrRefs need to use str() to convert to std::string now

* #1065 retain backwards compatibility for llvm 3.4.2 (RHEL 7)

closes #1065

Co-authored-by: Scott Fennell <sfennell@Scotts-MacBook-Pro.local>
2020-10-21 22:33:53 -05:00
Penn, John M 047828115
da4888a1b7 Add load_from_ostate() function to SA::FirstOrderODEIntegrator. #1061 2020-10-12 12:48:48 -05:00
Penn, John M 047828115
6f2383bae1 Update README, and remove getTime, setTime in favor of getIndyVar, and setIndyVar. #1056 2020-10-05 15:16:55 -05:00
Penn, John M 047828115
5884e64920 Refactoring: eliminate assumption that independent variable is time. #1058 2020-10-05 14:16:50 -05:00
Penn, John M 047828115
fc83dbe6f3 Add double integral example to trick_utils/SAIntegrator #1058 2020-10-02 16:29:55 -05:00
Penn, John M 047828115
64caa968da Update makefile 2020-09-29 13:25:25 -05:00
Penn, John M 047828115
3be651f5ac Change test directory to unittest 2020-09-29 11:53:59 -05:00
Penn, John M 047828115
4b36180d3b Update SAIntegrator_unittest Makefile 2020-09-28 18:14:23 -05:00
Penn, John M 047828115
40bc3e2425 Fix SAIntegrator Makefile to use Makefile.common 2020-09-28 13:26:59 -05:00
Penn, John M 047828115
3bb01166e6 Fix test suite name in SAIntegrator_unittest.cc 2020-09-28 12:13:21 -05:00
Penn, John M 047828115
9df4f801ea Update Makefile #1056 2020-09-28 01:19:41 -05:00
Penn, John M 047828115
abfe30c19d update Makefile 2020-09-28 00:44:30 -05:00
Penn, John M 047828115
3b7a94a66f Target for SAIntegrator_unittest 2020-09-27 23:36:03 -05:00
Penn, John M 047828115
c540cb820e Tweek Makefile #1056 2020-09-27 23:25:53 -05:00
Penn, John M 047828115
f2400f8d23 Merge branch 'master' of https://github.com/nasa/trick 2020-09-27 23:21:59 -05:00
Penn, John M 047828115
57a12fc5cf Add *test* target and change some file names. #1056 2020-09-27 23:21:25 -05:00
jmpenn
d819aa9e97
Update README.md 2020-09-27 19:22:55 -05:00
jmpenn
d96dab1734
Update README.md 2020-09-27 19:20:56 -05:00
jmpenn
374d500f78
Update README.md 2020-09-27 19:20:10 -05:00
jmpenn
54edb65c88
Update README.md
Fix quotes in README.md
2020-09-27 18:39:26 -05:00
Penn, John M 047828115
cb3869a36c Add new stand alone numerical integration library SAIntegrator #1056 #936 2020-09-27 18:36:49 -05:00
Fennell, Scott P 263712616
3f7ebd38e3 Update version numbers to pre-release for 19.3.0 2020-09-13 19:36:34 -05:00
Fennell, Scott P 263712616
424c2b60bd Trick release 19.2.0 2020-09-13 18:43:17 -05:00
Scott Fennell
5bb32279b5
1053, 1009, 1054 cmake update (#1055)
* #1053 #1009 cmake configure correct clang libs

* #1054 fix sie-rework to be compatible with CMake build

closes #1053  closes #1009  closes #1054
2020-09-13 18:38:35 -05:00
Scott Fennell
c9f060c94f
1036 1007 only enable cpp11 in Makefile_io_src when needed (#1052)
Enable c++11 flag only on GCC < 6. Also enable c++14 if Clang is being used.
2020-09-09 01:43:32 -05:00
Scott Fennell
f825dc00fc
Merge test branch into master (#1047)
* #1041 filter -W workaround for ICG linking to LLVM 10 libclang-cpp.so (#1044)

* 1043 drg checkpoint memory leak (#1045)

* #1043 drg fix drg checkpoint memory leak

* 947 sie generation rework (#1046)

generate  S_sie.resource at during build instead of runtime
2020-09-01 15:55:19 -05:00
Scott Fennell
3b89cbfdb2
iss #1009 (#1040)
Link correct clang libs based on availability. ICG clang lib link flags are determined by trick/configure
2020-08-28 14:52:23 -05:00
Scott Fennell
ba94c8181d
#1038 filter -llibxml2.tbd from llvm-config --system-libs as temporary workaround for missing library (#1039) 2020-08-18 15:11:28 -05:00
Scott Fennell
663f9937be remove Set Units field from TV closes #1014 2020-07-02 14:05:10 -05:00
Penn, John M 047828115
9452f928d0 Breakout Regula Falsi Bounds setter functions. Ref #995 2020-05-04 16:10:35 -05:00
Penn, John M 047828115
e303b2ac9b Revert regula_falsi.c. Ref #995 2020-04-30 23:12:22 -05:00
Penn, John M 047828115
479f3458cd Add Recursive Dynamic Event Processing. Ref #995 2020-04-29 17:26:02 -05:00
Derek Bankieris
6613669989 Fix trick_exclude_typename
Closes #985
2020-04-17 14:09:37 -05:00
Derek Bankieris
5f8a411538 Replace : in ConstructValues::mangle_template_param
Closes #983
2020-04-17 09:48:52 -05:00
dependabot[bot]
da4163d2c7
Bump pdfbox from 2.0.11 to 2.0.15 in /trick_source/java (#944)
Bumps pdfbox from 2.0.11 to 2.0.15.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-05 18:12:56 -05:00
Scott Fennell
2957b9912e
Update CMakeLists.txt 2020-04-01 13:07:10 -05:00
Alex Lin
67fd753736
ICG won't build with LLVM 10.0 #976 (#977)
As usual a new LLVM version brings changes.  Found that ICG needs
to be built with c++14.  Also found a couple of API changes in main.
Enclosed the changes in ifdef statements.
2020-03-31 11:40:30 -05:00
Scott Fennell
60001bb5db Java only rebuild if sources or jars missing closes #975 2020-03-30 20:15:49 -05:00
Scott Fennell
6f85dc19b4 #960 fix launchQP 2020-02-21 13:51:44 -06:00
Scott Fennell
898fc68017 set java version number instead of using env. This is the conventional approach and will eliminate a maven warning 2020-02-21 09:50:12 -06:00
Scott Fennell
3c0f40f1bb
Update version nmuber 2020-02-18 16:12:27 -06:00
jmpenn
5c49bf8fef
Add ability to reset the integrator state (#952)
* Add ability to reset the integrator state

* Make reset logic changes conditional on USE_ER7_UTILS_INTEGRATORS
2020-02-18 15:18:57 -06:00
Scott Fennell
05acf0d92f
19.1.0 2020-02-18 10:13:02 -06:00