Commit ac5edf33 authored by Kirill Terekhov's avatar Kirill Terekhov
Browse files

Fix a bug

MarkBoundaryFaces was not working properly after modification, since
there was not test for validity of the element
parent 7acd2a51
......@@ -1748,7 +1748,7 @@ namespace INMOST
#if defined(USE_OMP)
#pragma omp parallel for
#endif
for(integer it = 0; it < FaceLastLocalID(); ++it)
for(integer it = 0; it < FaceLastLocalID(); ++it) if( isValidFace(it) )
{
Face face = FaceByLocalID(it);
if( face->Boundary() ) face->SetMarker(boundary_marker);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment