41 void Foam::patchToFace::combine(topoSet& set,
const bool add)
const
56 Info<<
" Found matching patch " << pp.name()
62 label facei = pp.start();
63 facei < pp.start() + pp.size();
74 <<
"Cannot find any patch named " << patchName_ <<
endl
96 const dictionary&
dict
102 dict.dictName() ==
"sourceInfo"
103 ?
dict.lookupBackwardsCompatible({
"patch",
"name"})
104 :
dict.lookup(
"patch")
125 Info<<
" Adding all faces of patch " << patchName_ <<
" ..." <<
endl;
131 Info<<
" Removing all faces of patch " << patchName_ <<
" ..."
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
virtual ~patchToFace()
Destructor.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
patchToFace(const polyMesh &mesh, const word &patchName)
Construct from components.
Motion of the mesh specified as a list of pointMeshMovers.
labelHashSet patchSet(const UList< wordRe > &patchNames, const bool warnNotFound=true, const bool usePatchGroups=true) const
Return the patch set corresponding to the given names.
wordList names() const
Return the list of patch names.
const polyBoundaryMesh & boundary() const
Return boundary mesh.
void addOrDelete(topoSet &set, const label celli, const bool) const
Add (if bool) celli to set or delete celli from set.
setAction
Enumeration defining the valid actions.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define WarningInFunction
Report a warning using Foam::Warning.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
void add(GeometricField< typename typeOfSum< Type1, Type2 >::type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type1, GeoMesh, PrimitiveField2 > &gf1, const GeometricField< Type2, GeoMesh, PrimitiveField3 > &gf2)
Ostream & endl(Ostream &os)
Add newline and flush stream.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.
treeBoundBox combine(const treeBoundBox &a, const treeBoundBox &b)
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)