Go to the documentation of this file.
37 namespace faceSelections
50 const dictionary&
dict
54 zoneName_(dict_.
get<word>(
"zoneName"))
73 label readID = mesh_.faceZones().findZoneID(zoneName_);
78 <<
"Cannot find faceZone " << zoneName_ <<
nl <<
"Valid zones are "
79 << mesh_.faceZones().names()
83 const faceZone& fZone = mesh_.faceZones()[readID];
87 label facei = fZone[i];
89 if (faceToZoneID[facei] == -1)
91 faceToZoneID[facei] =
zoneID;
92 faceToFlip[facei] = fZone.flipMap()[i];
94 else if (faceToZoneID[facei] !=
zoneID)
97 <<
"Face " << facei <<
" already in faceZone "
98 << faceToZoneID[facei]
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
List< label > labelList
A List of labels.
virtual void select(const label zoneID, labelList &, boolList &) const
virtual ~faceZoneSelection()
List< bool > boolList
A List of bools.
Macros for easy insertion into run-time selection tables.
const labelIOList & zoneID
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void select(const label, labelList &, boolList &) const =0
#define FatalErrorInFunction
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
word name(const expressions::valueTypeCode typeCode)
defineTypeNameAndDebug(combustionModel, 0)
faceZoneSelection(const word &name, const fvMesh &mesh, const dictionary &dict)