feat(poly): added skeleton of polytrope model

the polytrope module will be used as an initial guess to the solver. A skeleton of this has been imported from https://github.com/tboudreaux/FEMPolytrope

This module will need major updates still to handle 3D, proper boundary conditions, and to incorporate it with the rest of our meshing scheme
This commit is contained in:
2025-02-12 16:44:10 -05:00
parent 112e626760
commit f4be5b3733
10 changed files with 317 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
polyutils_sources = files(
'private/polyIO.cpp',
'private/polyMFEMUtils.cpp'
)
polyutils_headers = files(
'public/polyIO.h',
'public/polyMFEMUtils.h'
)
libpolyutils = static_library('polyutils',
polyutils_sources,
include_directories : include_directories('.'),
cpp_args: ['-fvisibility=default'],
dependencies: [mfem_dep],
install: true
)
libpolyutils_dep = declare_dependency(
include_directories : include_directories('.'),
link_with : libpolyutils,
sources : polyutils_sources,
dependencies : [mfem_dep]
)