fix(poly): working on solving polytrope
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
Debug: true
|
||||
|
||||
Probe:
|
||||
GLVis:
|
||||
Visualization: false
|
||||
@@ -9,9 +11,17 @@ Probe:
|
||||
Poly:
|
||||
Solver:
|
||||
ViewInitialGuess: false
|
||||
Alpha: 1e10
|
||||
GMRES:
|
||||
MaxIter: 5000
|
||||
RelTol: 1.0e-8
|
||||
AbsTol: 1.0e-10
|
||||
PrintLevel: 0
|
||||
Newton:
|
||||
MaxIter: 200
|
||||
RelTol: 1.0e-8
|
||||
AbsTol: 1.0e-10
|
||||
Alpha: 0.05
|
||||
PrintLevel: 1
|
||||
Newton:
|
||||
Output:
|
||||
1D:
|
||||
@@ -25,4 +35,5 @@ Poly:
|
||||
# ANY OPTIONS NEEDED FOR THE TEST SUITE SHOULD BE PLACED HERE
|
||||
Tests:
|
||||
Poly:
|
||||
Index: 1.1
|
||||
Index: 1.0
|
||||
# Radius: 3.25
|
||||
Reference in New Issue
Block a user