Commit 3ac1271d authored by daniele.corallo's avatar daniele.corallo
Browse files

[fixcgcom] debug meshes

parent 5e1db9e9
......@@ -132,22 +132,26 @@ void Meshes::Init() {
meshes.at({i + 1, j + 1})->Finish();
}
}
mout.StartBlock("DistMesh");
dist->DistributeMesh(*meshes.at({plevel, plevel}));
mout.EndBlock(verbose < 100);
mout.StartBlock("Overlap");
olap->CellsOverlap_dG2(*meshes.at({plevel, plevel}));
mout.EndBlock(verbose < 100);
mout.StartBlock("RefineTime");
for (int tLevel = plevel; tLevel < fineLevel; ++tLevel) {
meshes[{plevel, tLevel + 1}] = meshes.at({plevel, tLevel})->RefineSTMeshInTime();
olap->CellsOverlap_dG2(*meshes.at({plevel, tLevel + 1}));
}
mout.EndBlock(verbose < 100);
mout.StartBlock("RefineSpace");
for (int sLevel = plevel; sLevel < fineLevel; ++sLevel) {
for (int tLevel = plevel; tLevel < fineLevel + 1; ++tLevel) {
meshes[{sLevel + 1, tLevel}] = meshes.at({sLevel, tLevel})->RefineSTMeshInSpace();
olap->CellsOverlap_dG2(*meshes.at({sLevel + 1, tLevel}));
}
}
mout.EndBlock(verbose < 100);
// for (int i = plevel; i <= fineLevel; ++i)
// olap->OverlapMesh(*meshes[i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment