feat(reaclib): working on building efficient reaclib tooling for general nuclear network

this commit primarily adds a more robust ability to cull reactions that are not needed from the generated header
This commit is contained in:
2025-06-18 12:13:24 -04:00
parent 61b73db8fc
commit cbaab3d04c
7 changed files with 19577 additions and 10709 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,15 @@
required_headers = [
'atomicSpecies.h',
]
foreach h : required_headers
if not cpp.has_header(h, include_directories: include_directories('include'))
error('SERiF requires the header file ' + h + ' to be present in the assets/static/atomic/include directory.')
endif
endforeach
species_weight_dep = declare_dependency( species_weight_dep = declare_dependency(
include_directories: include_directories('include'), include_directories: include_directories('include'),
) )
message('✅ SERiF species_weight dependency declared') message('✅ SERiF species_weight dependency declared')

View File

@@ -1,2 +1,3 @@
subdir('const') subdir('const')
subdir('atomic') subdir('atomic')
subdir('reaclib')

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
required_headers = [
'reaclib.h',
]
foreach h : required_headers
if not cpp.has_header(h, include_directories: include_directories('include'))
error('SERiF requires the header file ' + h + ' to be present in the assets/static/reaclib/include directory.')
endif
endforeach
reaclib_reactions_dep = declare_dependency(
include_directories: include_directories('include'),
)
message('✅ SERiF reaclib_reactions dependency declared')

View File

@@ -0,0 +1 @@
Use the utility `utils/reaclib/generateEmbeddedReaclibHeader.py` to generate reaclib.h

View File

@@ -56,8 +56,6 @@ namespace serif::network::approx8{
*/ */
typedef std::array<double,7> vec7; typedef std::array<double,7> vec7;
using namespace boost::numeric::odeint;
/** /**
* @struct Approx8Net * @struct Approx8Net
* @brief Contains constants and arrays related to the nuclear network. * @brief Contains constants and arrays related to the nuclear network.