fix(poly): working on solving polytrope

This commit is contained in:
2025-03-14 09:12:40 -04:00
parent 5300fa88a9
commit b4615fc0aa
4 changed files with 42 additions and 34 deletions

View File

@@ -23,7 +23,8 @@ TEST_F(polyTest, Solve) {
LOG_INFO(logger, "Starting polytrope solve test 1...");
config.loadConfig(CONFIG_FILENAME);
MeshIO meshIO(SPHERICAL_MESH, std::numbers::pi);
double polyRadius = config.get<double>("Tests:Poly:Radius", std::numbers::pi);
MeshIO meshIO(SPHERICAL_MESH, polyRadius);
mfem::Mesh& mesh = meshIO.GetMesh();
double radius = Probe::getMeshRadius(mesh);
LOG_INFO(logger, "Mesh radius: {}", radius);