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

ENH: autoHexMesh: check for both locationInMesh and locationsInMesh.

Fixes #31
parent 907b962e
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,13 @@ Foam::refinementParameters::refinementParameters(const dictionary& dict) ...@@ -75,6 +75,13 @@ Foam::refinementParameters::refinementParameters(const dictionary& dict)
{ {
locationsInMesh_.append(locationInMesh); locationsInMesh_.append(locationInMesh);
zonesInMesh_.append("noneIfNotSet");// special name for no cellZone zonesInMesh_.append("noneIfNotSet");// special name for no cellZone
if (dict.found("locationsInMesh"))
{
FatalIOErrorInFunction(dict)
<< "Cannot both specify 'locationInMesh' and 'locationsInMesh'"
<< exit(FatalIOError);
}
} }
List<Tuple2<point, word> > pointsToZone; List<Tuple2<point, word> > pointsToZone;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment