mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: autoHexMesh: check for both locationInMesh and locationsInMesh.
Fixes #31
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user