fix(GraphNetwork): working on loads of small bugs

Fized stoichiometry matrix initialization, added penames to reablib reactions, began work on LogicalReaction to sum the contributions of different fitting functions provided by reaclib
This commit is contained in:
2025-06-23 15:18:56 -04:00
parent 9f6e360b0f
commit dd03873bc9
31 changed files with 101449 additions and 19120 deletions

View File

@@ -1,15 +1,10 @@
# Define the library
network_sources = files(
'private/network.cpp',
'private/approx8.cpp',
'private/netgraph.cpp'
'lib/network.cpp',
'lib/approx8.cpp',
'lib/netgraph.cpp'
)
network_headers = files(
'public/network.h',
'public/approx8.h',
'public/netgraph.h',
)
dependencies = [
boost_dep,
@@ -24,16 +19,21 @@ dependencies = [
# Define the libnetwork library so it can be linked against by other parts of the build system
libnetwork = library('network',
network_sources,
include_directories: include_directories('public'),
include_directories: include_directories('include'),
dependencies: dependencies,
install : true)
network_dep = declare_dependency(
include_directories: include_directories('public'),
include_directories: include_directories('include'),
link_with: libnetwork,
sources: network_sources,
dependencies: dependencies,
)
# Make headers accessible
network_headers = files(
'include/gridfire/network.h',
'include/gridfire/approx8.h',
'include/gridfire/netgraph.h',
)
install_headers(network_headers, subdir : 'gridfire/gridfire')