Skip to content
Snippets Groups Projects
Commit b0dac54d authored by Julian Heinze's avatar Julian Heinze
Browse files

adjustemnts due to merge conflicts

meshgenerators moved to meshtoolslib
parent 00dbc367
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ int main(int argc, char* argv[]) ...@@ -76,7 +76,7 @@ int main(int argc, char* argv[])
#endif #endif
return -1; return -1;
} }
using namespace MeshLib::MeshGenerator; using namespace MeshToolsLib::MeshGenerator;
double const x_size = x_arg.getValue(); double const x_size = x_arg.getValue();
double const y_size = (y_arg.isSet()) ? y_arg.getValue() : x_arg.getValue(); double const y_size = (y_arg.isSet()) ? y_arg.getValue() : x_arg.getValue();
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "VoxelGridFromMesh.h" #include "VoxelGridFromMesh.h"
namespace MeshLib::MeshGenerator::VoxelGridFromMesh namespace MeshToolsLib::MeshGenerator::VoxelGridFromMesh
{ {
std::array<std::size_t, 3> getDimensions(MathLib::Point3d const& min, std::array<std::size_t, 3> getDimensions(MathLib::Point3d const& min,
...@@ -69,7 +69,7 @@ bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, ...@@ -69,7 +69,7 @@ bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
if (n_elems_marked) if (n_elems_marked)
{ {
grid.reset(MeshLib::removeElements( grid.reset(MeshToolsLib::removeElements(
*grid, search.getSearchedElementIDs(), "trimmed_grid")); *grid, search.getSearchedElementIDs(), "trimmed_grid"));
} }
return true; return true;
......
...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
#include "InfoLib/GitInfo.h" #include "InfoLib/GitInfo.h"
#include "MeshLib/Mesh.h" #include "MeshLib/Mesh.h"
#include "MeshLib/MeshEditing/RemoveMeshComponents.h" #include "MeshToolsLib/MeshEditing/RemoveMeshComponents.h"
#include "MeshLib/MeshGenerators/MeshGenerator.h" #include "MeshToolsLib/MeshGenerators/MeshGenerator.h"
#include "MeshLib/MeshSearch/ElementSearch.h" #include "MeshLib/MeshSearch/ElementSearch.h"
#include "MeshLib/MeshSearch/MeshElementGrid.h" #include "MeshLib/MeshSearch/MeshElementGrid.h"
static constexpr std::string const cell_id_name = "CellIds"; static constexpr std::string const cell_id_name = "CellIds";
namespace MeshLib::MeshGenerator::VoxelGridFromMesh namespace MeshToolsLib::MeshGenerator::VoxelGridFromMesh
{ {
std::array<std::size_t, 3> getDimensions( std::array<std::size_t, 3> getDimensions(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment