Commit Graph

125 Commits

Author SHA1 Message Date
b2ddbc41e7 fix(poly): increased default gamma and changed initial guess
The default gamma value has been upped to 1e4 which is enough to strongly constrain the solution to have zero slope at the core region. Further, the initial guess has been changed from a series expansion of theta to a simple quadratic that is one at origin and zero at the polytrope radius. This is faster to evaluate and seems to work just as well.
2025-03-26 12:34:30 -04:00
7e99c2dd14 build(probe): added macros_dep for warning control 2025-03-26 11:41:34 -04:00
14bc8a49b3 Merge branch 'main' into feature/pointwisePolytrope 2025-03-26 11:38:07 -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
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
d64202d6c0 docs(composition): updated mass fracs in docs to more realistic values 2025-03-24 13:20:24 -04:00
170bcb085d build(probe): added probe dependencies to probe_dep 2025-03-24 12:59:43 -04:00
6aa3f90c98 build(composition): added composition module to build 2025-03-24 12:58:49 -04:00
cd022a1f9a feat(composition): added composition class
in order to get composition in a standardized way anywhere in the code we now have a composition class
2025-03-24 12:58:30 -04:00
3c3d714702 feat(composition): added composition module stub 2025-03-24 10:41:13 -04:00
b88606815a refactor(opatIO): removed old opatIO code from 4DSSE 2025-03-24 04:59:01 -04:00
ff87585d71 build(opatIO): broke opatIO out into a seperate module 2025-03-24 04:57:18 -04:00
f6f35996cc fix(opat): added min tolerance for epsilon in case where there are shared indeices 2025-03-22 14:26:08 -04:00
528d2f632b fix(network): fixed missing negative in jacobian energy accounting 2025-03-21 14:46:22 -04:00
59d4c290ba fix(network): added missing negative sign in energy calculation 2025-03-21 14:44:35 -04:00
3109c198cf refactor(network): removed unused phoenix dependency and defauled stiff=false to use explicit solver 2025-03-21 14:35:18 -04:00
7c40db4b09 feat(approx8-network-integrated): added network handleing semantics and incorporated the approx8 network into them 2025-03-21 14:03:18 -04:00
Aaron Dotter
c58bd50f01 refactor(network) Added header file 2025-03-21 12:08:40 -04:00
6876b87947 feat(network): began incoporating network 2025-03-21 10:39:53 -04:00
f042be6b02 Merge pull request #28 from aarondotter/main
adding a nuclear reaction network to feature/nuclearNetwork
2025-03-21 07:17:08 -04:00
Aaron Dotter
03c7d428a7 adding a nuclear reaction network 2025-03-20 15:22:04 -04:00
ed0e079150 docs(src): added documentation to all changes related to the resource manager 2025-03-20 14:37:15 -04:00
ecbdba5216 refactor(opatIO-and-meshIO): removed unused header file includes 2025-03-20 14:30:40 -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
18f3f6689d feat(config): added ability to get all keys and check if a key exists in the given config file
also added the ability to get a config value without specifying a default (this is only avalible to freind classes)
2025-03-20 14:27:57 -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
1cc21a368b feat(src/misc): moved macros to misc 2025-03-20 14:25:51 -04:00
171fbf7961 feat(eosIO): added EosIO class to handle arbitrary eos data
EosIO class wraps all eos tables (like helm) so that they can be used in a more standard fashion
2025-03-20 14:25:22 -04:00
d2978ebccb refactor(src/resources): removed old src/resources directory in favor of ./assets 2025-03-20 07:33:33 -04:00
7b550d8e93 docs(probe): updated headers 2025-03-19 13:50:21 -04:00
df3cf68e92 docs(src): updated headers 2025-03-19 13:50:01 -04:00
b3581d11ed feat(poly): added full constraint integrator function
not yet debugged
2025-03-19 13:49:21 -04:00
2680502465 feat(macros): added BREAKPOINT() macro to set a breakpoint in code 2025-03-19 13:48:26 -04:00
0ec1b6e751 feat(poly): find all connected elements to central vertex
In order to constrain the central slope we find all the elements connected to the central vertex. The slope will be approximated over these using the finite difference method
2025-03-19 11:15:37 -04:00
b98f6b6ebd feat(poly): started work on penalty term in variational form 2025-03-19 10:09:37 -04:00
f512f10096 test(tests/poly): poly test now uses interpolating function to set mesh radius 2025-03-18 11:19:25 -04:00
afc488abd1 fix(poly): coefficients properly handle chain rule 2025-03-18 11:18:46 -04:00
8dcdf92414 feat(poly): interpolating polynomial to find polytrope surface
Instead of treating the polytrope as a free boundary problem I have defined an interpolating polynominal, accurate to within 0.01 percent over n=[0,5) which is used to set the size of the domain for a given n
2025-03-18 10:15:51 -04:00
ea0ff2a702 Merge remote-tracking branch 'upstream/main' into feature/pointwisePolytrope 2025-03-18 07:35:11 -04:00
18e719fba1 refactor(header): brought auto header changes from main into polytrope branch 2025-03-18 07:21:47 -04:00
Aaron Dotter
4ef169d47a Update helm.cpp
removing extraneous info
2025-03-17 16:26:14 -04:00
4d12b6beb2 docs(helm): added header 2025-03-17 13:24:08 -04:00
3f86d0ceb1 docs(src): added file headers to all files 2025-03-17 12:42:33 -04:00
88a45c7d09 test(tests/poly): removed some debugging output from poly test 2025-03-17 11:11:22 -04:00
b4615fc0aa fix(poly): working on solving polytrope 2025-03-14 09:12:40 -04:00
5300fa88a9 pulled from github 2025-03-14 09:11:13 -04:00
e75f9ada09 feat(polyMFEMUtils): changed slope constraint to look at all connected elements 2025-03-14 09:07:51 -04:00
0c2a5e3d9a refactor(polyMFEMUtils): removed unused methods 2025-03-14 08:02:30 -04:00
3597f82ee4 fix(build): brought recent build changes to pointwise polytrope
pointwise polytrope had some issues from the old build system. Fast fowarded it so that it has all the fixes which have been merged into main
2025-03-13 15:11:46 -04:00