Skip to content
Snippets Groups Projects
Commit 0347bc5a authored by mattijs's avatar mattijs
Browse files

ENH: autoHexMesh: check for both locationInMesh and locationsInMesh.

parent 9cad9064
Branches
Tags
No related merge requests found
......@@ -75,6 +75,13 @@ Foam::refinementParameters::refinementParameters(const dictionary& dict)
{
locationsInMesh_.append(locationInMesh);
zonesInMesh_.append("none"); // special name for no cellZone
if (dict.found("locationsInMesh"))
{
FatalIOErrorInFunction(dict)
<< "Cannot both specify 'locationInMesh' and 'locationsInMesh'"
<< exit(FatalIOError);
}
}
List<Tuple2<point, word> > pointsToZone;
......
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