Skip to content
Snippets Groups Projects
Commit 14699e97 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MeL/MS] Removed output of warnings.

parent d6a8f15a
No related branches found
No related tags found
No related merge requests found
...@@ -56,24 +56,6 @@ public: ...@@ -56,24 +56,6 @@ public:
auto const min_coords(getGridCellCoordinates(min)); auto const min_coords(getGridCellCoordinates(min));
auto const max_coords(getGridCellCoordinates(max)); auto const max_coords(getGridCellCoordinates(max));
if (!min_coords.first) {
WARN(
"MeshElementGrid::getElementsInVolume: Min point (%f,%f,%f) "
"outside of MeshElementGrid [%f,%f) x [%f,%f) x [%f,%f).",
min[0], min[1], min[2], _aabb.getMinPoint()[0],
_aabb.getMaxPoint()[0], _aabb.getMinPoint()[1],
_aabb.getMaxPoint()[1], _aabb.getMinPoint()[2],
_aabb.getMaxPoint()[2]);
}
if (!max_coords.first) {
WARN(
"MeshElementGrid::getElementsInVolume: Max point (%f,%f,%f) "
"outside of MeshElementGrid [%f,%f) x [%f,%f) x [%f,%f).",
max[0], max[1], max[2], _aabb.getMinPoint()[0],
_aabb.getMaxPoint()[0], _aabb.getMinPoint()[1],
_aabb.getMaxPoint()[1], _aabb.getMinPoint()[2],
_aabb.getMaxPoint()[2]);
}
std::vector<MeshLib::Element const*> elements_vec; std::vector<MeshLib::Element const*> elements_vec;
const std::size_t n_plane(_n_steps[0]*_n_steps[1]); const std::size_t n_plane(_n_steps[0]*_n_steps[1]);
...@@ -90,6 +72,7 @@ public: ...@@ -90,6 +72,7 @@ public:
return elements_vec; return elements_vec;
} }
private: private:
void sortElementsInGridCells(MeshLib::Mesh const& sfc_mesh); void sortElementsInGridCells(MeshLib::Mesh const& sfc_mesh);
bool sortElementInGridCells(MeshLib::Element const& element); bool sortElementInGridCells(MeshLib::Element const& element);
......
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