refactor(meshView): updated to use new serif namespace

This commit is contained in:
2025-06-11 14:51:27 -04:00
parent 922088e1f7
commit 2586adba59

View File

@@ -9,11 +9,11 @@
int main(int argv, char **argc) {
std::string CONFIG_FILENAME = std::string(getenv("MESON_SOURCE_ROOT")) + "/tests/testsConfig.yaml";
Config& config = Config::getInstance();
serif::config::Config& config = serif::config::Config::getInstance();
config.loadConfig(CONFIG_FILENAME);
// Read the mesh from the given mesh file
std::string meshFile = argc[1];
MeshIO meshIO(meshFile);
serif::mesh::MeshIO meshIO(meshFile);
mfem::Mesh& mesh = meshIO.GetMesh();
mfem::H1_FECollection feCollection(1, mesh.SpaceDimension());
mfem::FiniteElementSpace feSpace(&mesh, &feCollection);
@@ -24,5 +24,5 @@ int main(int argv, char **argc) {
}
);
u.ProjectCoefficient(initCoeff);
Probe::glVisView(u, mesh, meshFile);
serif::probe::glVisView(u, mesh, meshFile);
}