Commit e40c860d authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[interfacegridcreator.hh]: Removed unnecessary if-loop containing !=

Reviewed by Thomas


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15384 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent f63de6cb
......@@ -226,11 +226,8 @@ public:
localPositions[dimIdx][nLeft+nRight+i+1] = localPositions[dimIdx][nLeft+nRight+i] + hI;
}
if (localPositions[dimIdx][numVertices-1] != 1.0)
{
for (int i = 0; i < numVertices; i++)
localPositions[dimIdx][i] /= localPositions[dimIdx][numVertices-1];
}
for (int i = 0; i < numVertices; i++)
localPositions[dimIdx][i] /= localPositions[dimIdx][numVertices-1];
}
Dune::FieldVector<Scalar,dim> local;
......
Supports Markdown
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