Skip to content
Snippets Groups Projects
Commit 7fd7d99d authored by Emilie Marchandise's avatar Emilie Marchandise
Browse files

bug fix in physRegions of matheval

parent 8d27813b
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ PView *GMSH_MathEvalPlugin::execute(PView *view)
int timeBeg = (timeStep < 0) ? firstNonEmptyStep : timeStep;
int timeEnd = (timeStep < 0) ? -timeStep : timeStep + 1;
for(int ent = 0; ent < data1->getNumEntities(timeBeg); ent++){
if (region>0 && ent!=region) continue;
if (region>0 && (ent+1)!=region) continue;
for(int ele = 0; ele < data1->getNumElements(timeBeg, ent); ele++){
if(data1->skipElement(timeBeg, ent, ele)) continue;
int numNodes = data1->getNumNodes(timeBeg, ent, ele);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment