Commit Graph

46 Commits

Author SHA1 Message Date
7193d3a6ac test(tests): fixed broken tests 2025-03-26 10:06:10 -04:00
edd4c04c64 feat(composition): added mix method to combine compositions. Also overloaded the + operator to mix with an assumed fraction of 50/50 2025-03-26 08:07:11 -04:00
0e9a7df381 feat(composition): added ability to change composition modes 2025-03-25 13:01:22 -04:00
941af6331b test(composition_sandbox): added some sandbox tests 2025-03-25 12:49:52 -04:00
cb33f75e0c feat(composition): added numberFrac methods and subset method
Composition can now be placed in either number fraction or mass fraction mode and can (after finalization) convert between them. Subsets of compositions can also be made. Normalization has also been added to finalize. Tests have been added
2025-03-25 12:49:37 -04:00
ed443c0aa2 test(tests/composition): added composition tests, atomicSpecies tests, and sandbox 2025-03-24 12:59:17 -04:00
3c3d714702 feat(composition): added composition module stub 2025-03-24 10:41:13 -04:00
ff87585d71 build(opatIO): broke opatIO out into a seperate module 2025-03-24 04:57:18 -04:00
f3e79d9366 feat(opatIO_sandbox): added opatIO sandbox for freeform testing 2025-03-22 14:26:31 -04:00
59d4c290ba fix(network): added missing negative sign in energy calculation 2025-03-21 14:44:35 -04:00
8fa950835d test(network): added approx8 network tests 2025-03-21 14:03:46 -04:00
697c783c5d docs(tests/eos): updated eos test documentation 2025-03-20 14:37:34 -04:00
da8259e940 test(tests/meshIO): began preping to convert to resource manager 2025-03-20 14:31:18 -04:00
cb5ac274dc build(build): updated build system to be compatible with resource manager
The build system now passes compiler directives based on the mode being build. By default data is stored in the source root (and this is encoded into the compiled binary). However, if building in user mode then data is assumed to be at the meson install prefix data directory
2025-03-20 14:29:43 -04:00
041a5a592c test(tests/eos): updated eos test to use resource manager instead of env variable 2025-03-20 14:27:11 -04:00
08075f5108 feat(resource-manager): added working singleton resource manager
all external data should now be handled through the resource manager. This will take care of location on disk as well as ownership
2025-03-20 14:26:44 -04:00
eec8a356b4 feat(testsConfig): brought test config from pointwisePolytrope 2025-03-20 07:36:14 -04:00
46dfb17385 build(gtest): added gtest as a subproject in case it is not already installed on the system 2025-03-13 14:12:14 -04:00
Aaron Dotter
da7f5e5022 adding more quantities to the eos test, including derivatives 2025-03-06 14:36:07 -05:00
6a15129f1f test(tests/eos): added eos tests 2025-03-05 16:59:25 -05:00
eb0b274e2b test(tests/probe): added probe tests 2025-02-23 11:22:08 -05:00
98ead4f06c build(probe): updated build system to include probe and probe tests 2025-02-21 10:31:57 -05:00
c049e3d91c test(tests/probe): logging module test suite started 2025-02-21 10:31:24 -05:00
b94ed435e1 fix(tests/config): fixed unknownKeyTest name
unknownKeyTest was named incorrectly
2025-02-20 09:32:20 -05:00
16cdf9ac32 test(tests/config): tests updated to deal with cache 2025-02-20 09:31:03 -05:00
8bf62b68d0 test(tests/config): config tests added 2025-02-19 16:12:23 -05:00
9ae69d82fc test(tests/opatIO): updated tests for index vector based search
previously tests used X and Z. Nw they use a general index vector
2025-02-17 12:58:08 -05:00
4158c893d4 docs(tests/meshIO): added comments to meshIO tests 2025-02-16 15:20:24 -05:00
2f753c6ea0 test(tests/meshIO): added basic test suite for meshIO
just tests the constuctor, getMesh, and isLoaded method. This confirms that a basic spherical mesh can be loaded in correctly
2025-02-16 15:10:13 -05:00
ba98ff5b34 test(opatIO/tests): updated test file to be written by utils/opatio 2025-02-16 12:14:41 -05:00
6b777b220a test(opatIO): added extensive test suite for opatIO 2025-02-15 07:28:18 -05:00
3c969c6b39 test(opatIO): added tests for opatIO 2025-02-14 14:31:30 -05:00
18ce7bf6de perf(const): const changed to a singelton
const needds to be accessed all throughout so it has been changed to a singleton to allow for more efficient usage

BREAKING CHANGE: Any previous loads to const will break, also constant->Constant and constants->Constants
2025-02-12 12:53:50 -05:00
98f4474786 feat(const): added << operator to constant so that constants
also added tests for the stream operator
2025-02-12 10:38:22 -05:00
f1124f1a09 build(const): added build system for const module and tests 2025-02-11 18:06:14 -05:00
ba4937cdbd test(tests/const): added const unit tests 2025-02-11 18:02:22 -05:00
c304d002bb feat(dobj): added error tracking to DObject
DObject now includes an error code so that errors can be tracked with return values from functions
2025-02-04 12:55:49 -05:00
f3788f25f6 feat(tests/meson.build): added gtest dep without main function
gtest can provide a main function but something this might conflict if you just want to use the comparison macros. Added a new variable in the meson build system gtest_nomain_dep which brings in the macros but not the main function. This can be linked against without having to worry about main function conflicts.
2025-01-22 06:59:54 -05:00
6183b853f0 fix(dobj_sandbox): removed gtest_main dependency
gtest_main was leading to multiple definitions of main in the sandbox test and was not needed.
2025-01-22 06:57:32 -05:00
3b9cd3726d fix(Metadata): byteSize_ changed from std::size_t to int to avoid implicit type conversion 2025-01-22 06:50:02 -05:00
d331645c88 test(tests/dobj): updated test build system to include lockable DObject and DOBject. 2025-01-20 07:53:10 -05:00
d5467d8864 test(DObjectTest): added unit tests for DObject 2025-01-20 07:51:50 -05:00
4a87aab0a9 test(dobj_sandbox): added some sandbox code for testing dobj 2025-01-20 07:49:35 -05:00
d090ddaabe feat(dobj/LockableDObject): added thread safe implimentation of DObject
In order to build a preformant code code base we may want to make parallized code in which case having a lockable DObject is a useful construct
2025-01-19 11:53:45 -05:00
7d6062b6c1 build(root): added initial meson build system implimentation and mk script
we will use meson as the build system for this project. Added a rough outline of this which builds source, libraries, and links them to tests (along with the google test library for testing). meson will be setup and compiled with ./mk.
2025-01-19 07:38:58 -05:00
b7b849da45 test(tests/dobj/Metadata.cpp): added metadata class tests
added nine simple tests for the metadata class which is part of the dobj modules. These tests will be expanded in the future
2025-01-19 07:37:23 -05:00