feat(GridFire): major design changes

Switching to an Engine + solver design. Also brought xxHash and Eigen in. Working on QSE and Culling.
This commit is contained in:
2025-06-26 15:13:46 -04:00
parent dd03873bc9
commit cd191cff23
32 changed files with 2737 additions and 1441 deletions

View File

@@ -1,8 +1,10 @@
# Define the library
network_sources = files(
'lib/network.cpp',
'lib/approx8.cpp',
'lib/netgraph.cpp'
'lib/engine/engine_approx8.cpp',
'lib/engine/engine_graph.cpp',
'lib/reaction/reaction.cpp',
'lib/solver/solver.cpp',
)
@@ -13,7 +15,9 @@ dependencies = [
composition_dep,
reaclib_reactions_dep,
cppad_dep,
log_dep
log_dep,
xxhash_dep,
eigen_dep,
]
# Define the libnetwork library so it can be linked against by other parts of the build system
@@ -33,7 +37,10 @@ network_dep = declare_dependency(
# Make headers accessible
network_headers = files(
'include/gridfire/network.h',
'include/gridfire/approx8.h',
'include/gridfire/netgraph.h',
'include/gridfire/engine/engine_abstract.h',
'include/gridfire/engine/engine_approx8.h',
'include/gridfire/engine/engine_graph.h',
'include/gridfire/reaction/reaction.h',
'include/gridfire/solver/solver.h',
)
install_headers(network_headers, subdir : 'gridfire/gridfire')
install_headers(network_headers, subdir : 'gridfire')