Skip to content
Snippets Groups Projects
Commit ecc2ec5e authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Finalize checking for non negativity of cells' volumes

parent 51eb0637
No related branches found
No related tags found
1 merge request!37Feature/language
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
#define MESH_DATA_HPP #define MESH_DATA_HPP
#include <algebra/TinyVector.hpp> #include <algebra/TinyVector.hpp>
#include <utils/PugsUtils.hpp>
#include <mesh/ItemValue.hpp> #include <mesh/ItemValue.hpp>
#include <mesh/SubItemValuePerItem.hpp> #include <mesh/SubItemValuePerItem.hpp>
#include <utils/Exceptions.hpp>
#include <utils/Messenger.hpp>
#include <utils/PugsUtils.hpp>
#include <map> #include <map>
...@@ -229,10 +230,9 @@ class MeshData ...@@ -229,10 +230,9 @@ class MeshData
return true; return true;
}(); }();
#warning add parallel reduction if (not parallel::allReduceAnd(is_valid)) {
// if (not parallel::allReduceMin(is_valid)) { throw NormalError("mesh contains cells of non-positive volume");
// throw NormalError("mesh contains cells of non-positive volume"); }
// }
} }
public: public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment