diff --git a/Applications/Utils/MeshEdit/Vtu2Grid.cpp b/Applications/Utils/MeshEdit/Vtu2Grid.cpp index 15ef9f3ce36f8bb07bf4cd8e2815c138ea9e7384..191360653ba438b22eb51c64eb67172b1240f64c 100644 --- a/Applications/Utils/MeshEdit/Vtu2Grid.cpp +++ b/Applications/Utils/MeshEdit/Vtu2Grid.cpp @@ -76,7 +76,7 @@ int main(int argc, char* argv[]) #endif return -1; } - using namespace MeshLib::MeshGenerator; + using namespace MeshToolsLib::MeshGenerator; double const x_size = x_arg.getValue(); double const y_size = (y_arg.isSet()) ? y_arg.getValue() : x_arg.getValue(); diff --git a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp index 1c5911d578e056a1901de9f416008a6c9912c912..90ee6191bef0b59d00eed47ec2a19e8431e88e87 100644 --- a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp +++ b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp @@ -9,7 +9,7 @@ #include "VoxelGridFromMesh.h" -namespace MeshLib::MeshGenerator::VoxelGridFromMesh +namespace MeshToolsLib::MeshGenerator::VoxelGridFromMesh { std::array<std::size_t, 3> getDimensions(MathLib::Point3d const& min, @@ -69,7 +69,7 @@ bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, if (n_elems_marked) { - grid.reset(MeshLib::removeElements( + grid.reset(MeshToolsLib::removeElements( *grid, search.getSearchedElementIDs(), "trimmed_grid")); } return true; diff --git a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h index f62acdc37f12319d41e76d2915d02a9486b6fc57..fd7f0043b04383cbc0c7989f1424eef7c516ea45 100644 --- a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h +++ b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h @@ -22,14 +22,14 @@ #include "InfoLib/GitInfo.h" #include "MeshLib/Mesh.h" -#include "MeshLib/MeshEditing/RemoveMeshComponents.h" -#include "MeshLib/MeshGenerators/MeshGenerator.h" +#include "MeshToolsLib/MeshEditing/RemoveMeshComponents.h" +#include "MeshToolsLib/MeshGenerators/MeshGenerator.h" #include "MeshLib/MeshSearch/ElementSearch.h" #include "MeshLib/MeshSearch/MeshElementGrid.h" static constexpr std::string const cell_id_name = "CellIds"; -namespace MeshLib::MeshGenerator::VoxelGridFromMesh +namespace MeshToolsLib::MeshGenerator::VoxelGridFromMesh { std::array<std::size_t, 3> getDimensions(