A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO. More...
Public Member Functions | |
TypeName ("polyBoundaryMesh") | |
polyBoundaryMesh (const IOobject &io, const polyMesh &mesh) | |
polyBoundaryMesh (const IOobject &io, const polyMesh &mesh, const label size) | |
polyBoundaryMesh (const IOobject &io, const polyMesh &mesh, const polyPatchList &ppl) | |
~polyBoundaryMesh ()=default | |
void | clearGeom () |
void | clearAddressing () |
const polyMesh & | mesh () const noexcept |
UPtrList< const labelUList > | faceCells () const |
const List< labelPairList > & | neighbourEdges () const |
label | nNonProcessor () const |
wordList | names () const |
wordList | types () const |
wordList | physicalTypes () const |
labelList | patchStarts () const |
labelList | patchSizes () const |
List< labelRange > | patchRanges () const |
label | start () const |
label | nFaces () const |
labelRange | range () const |
labelRange | range (const label patchi) const |
labelList | indices (const wordRe &matcher, const bool useGroups=true) const |
labelList | indices (const wordRes &matcher, const bool useGroups=true) const |
label | findIndex (const wordRe &key) const |
label | findPatchID (const word &patchName, const bool allowNotFound=true) const |
template<class Type > | |
labelHashSet | findPatchIDs () const |
label | whichPatch (const label faceIndex) const |
const labelList & | patchID () const |
const HashTable< labelList > & | groupPatchIDs () const |
void | setGroup (const word &groupName, const labelUList &patchIDs) |
labelHashSet | patchSet (const UList< wordRe > &patchNames, const bool warnNotFound=true, const bool useGroups=true) const |
void | matchGroups (const labelUList &patchIDs, wordList &groups, labelHashSet &nonGroupPatches) const |
bool | checkParallelSync (const bool report=false) const |
bool | checkDefinition (const bool report=false) const |
void | movePoints (const pointField &p) |
void | updateMesh () |
void | reorder (const labelUList &oldToNew, const bool validBoundary) |
virtual bool | writeData (Ostream &os) const |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
const polyPatch & | operator[] (const word &patchName) const |
polyPatch & | operator[] (const word &patchName) |
labelList | findIndices (const wordRe &key, bool useGroups=true) const |
template<class Type > | |
Foam::labelHashSet | findPatchIDs () const |
![]() | |
constexpr | PtrList () noexcept |
PtrList (const label len) | |
PtrList (const PtrList< T > &list) | |
PtrList (PtrList< T > &&list) | |
PtrList (UList< T * > &list) | |
template<class CloneArg > | |
PtrList (const PtrList< T > &list, const CloneArg &cloneArgs) | |
PtrList (PtrList< T > &list, bool reuse) | |
PtrList (const SLPtrList< T > &list) | |
template<class INew > | |
PtrList (Istream &is, const INew &inew) | |
PtrList (Istream &is) | |
~PtrList () | |
template<class... Args> | |
PtrList< T > | clone (Args &&... args) const |
const T * | set (const label i) const |
void | clear () |
void | resize (const label newLen) |
void | setSize (const label newLen) |
template<class... Args> | |
void | emplace_append (Args &&... args) |
void | append (T *ptr) |
void | append (autoPtr< T > &ptr) |
void | append (autoPtr< T > &&ptr) |
void | append (std::unique_ptr< T > &&ptr) |
void | append (const refPtr< T > &ptr) |
void | append (const tmp< T > &ptr) |
template<class... Args> | |
autoPtr< T > | emplace (const label i, Args &&... args) |
autoPtr< T > | set (const label i, T *ptr) |
autoPtr< T > | set (const label i, autoPtr< T > &ptr) |
autoPtr< T > | set (const label i, autoPtr< T > &&ptr) |
autoPtr< T > | set (const label i, std::unique_ptr< T > &&ptr) |
autoPtr< T > | set (const label i, const refPtr< T > &ptr) |
autoPtr< T > | set (const label i, const tmp< T > &ptr) |
autoPtr< T > | release (const label i) |
void | transfer (PtrList< T > &list) |
void | operator= (const PtrList< T > &list) |
void | operator= (PtrList< T > &&list) |
template<class T > | |
PtrList (PtrList< T > &list, bool reuse) | |
template<class T > | |
PtrList (const SLPtrList< T > &list) | |
template<class... Args> | |
Foam::PtrList< T > | clone (Args &&... args) const |
template<class T > | |
constexpr | PtrList () noexcept |
template<class T > | |
PtrList (const label len) | |
template<class T > | |
PtrList (const PtrList< T > &list) | |
template<class T > | |
PtrList (PtrList< T > &&list) | |
template<class T > | |
PtrList (UList< T * > &list) | |
template<class... Args> | |
Foam::autoPtr< T > | emplace (const label i, Args &&... args) |
template<class T > | |
PtrList (Istream &is) | |
![]() | |
TypeName ("regIOobject") | |
regIOobject (const IOobject &io, const bool isTimeObject=false) | |
regIOobject (const regIOobject &rio) | |
regIOobject (const regIOobject &rio, bool registerCopy) | |
regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
regIOobject (const IOobject &io, const regIOobject &rio) | |
virtual | ~regIOobject () |
bool | checkIn () |
bool | checkOut () |
virtual void | addWatch () |
bool | ownedByRegistry () const |
bool | store () |
void | release (const bool unregister=false) |
label | eventNo () const |
label & | eventNo () |
bool | upToDate (const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
void | setUpToDate () |
virtual void | rename (const word &newName) |
const dictionary * | findMetaData () const noexcept |
dictionary & | getMetaData () noexcept |
void | removeMetaData () |
virtual void | updateMetaData () |
virtual fileName | filePath () const |
bool | headerOk () |
Istream & | readStream (const word &, const bool valid=true) |
void | close () |
virtual bool | readData (Istream &) |
virtual bool | read () |
virtual label | addWatch (const fileName &) |
const labelList & | watchIndices () const |
labelList & | watchIndices () |
virtual bool | modified () const |
virtual bool | readIfModified () |
virtual bool | write (const bool valid=true) const |
virtual bool | global () const |
void | operator= (const IOobject &io) |
virtual bool | writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const |
![]() | |
TypeName ("IOobject") | |
IOobject (const IOobject &)=default | |
virtual | ~IOobject ()=default |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const IOobject &io, const objectRegistry ®istry) | |
IOobject (const IOobject &io, const word &name) | |
IOobject (const IOobject &io, readOption, writeOption) | |
autoPtr< IOobject > | clone () const |
autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
const objectRegistry & | db () const noexcept |
const Time & | time () const |
const word & | name () const noexcept |
const word & | headerClassName () const noexcept |
word & | headerClassName () noexcept |
const string & | note () const noexcept |
string & | note () noexcept |
bool | registerObject () const noexcept |
bool | registerObject (bool on) noexcept |
bool | globalObject () const noexcept |
bool | globalObject (bool on) noexcept |
unsigned | labelByteSize () const noexcept |
unsigned | scalarByteSize () const noexcept |
bool | isHeaderClassName (const word &clsName) const |
template<class Type > | |
bool | isHeaderClassName () const |
readOption | readOpt () const noexcept |
readOption | readOpt (readOption opt) noexcept |
writeOption | writeOpt () const noexcept |
writeOption | writeOpt (writeOption opt) noexcept |
word | group () const |
word | member () const |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const noexcept |
fileName & | instance () noexcept |
const fileName & | local () const noexcept |
fileName | path () const |
fileName | path (const word &instance, const fileName &local=fileName::null) const |
fileName | objectPath () const |
fileName | objectRelPath () const |
fileName | localFilePath (const word &typeName, const bool search=true) const |
fileName | globalFilePath (const word &typeName, const bool search=true) const |
IOstreamOption | parseHeader (const dictionary &headerDict) |
bool | readHeader (Istream &is) |
bool | readHeader (dictionary &headerDict, Istream &is) |
template<class Type > | |
bool | typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true) |
template<class Type > | |
void | warnNoRereading () const |
bool | writeHeader (Ostream &os) const |
bool | writeHeader (Ostream &os, const word &objectType) const |
void | writeHeader (dictionary &dict, IOstreamOption streamOpt) const |
void | writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const |
bool | good () const noexcept |
bool | bad () const noexcept |
InfoProxy< IOobject > | info () const |
void | operator= (const IOobject &io) |
readOption & | readOpt () noexcept |
writeOption & | writeOpt () noexcept |
bool & | registerObject () noexcept |
bool & | globalObject () noexcept |
template<> | |
bool | isHeaderClassName () const |
template<class StringType > | |
Foam::word | groupName (StringType base, const word &group) |
Friends | |
class | polyMesh |
Ostream & | operator<< (Ostream &os, const polyBoundaryMesh &pbm) |
Additional Inherited Members | |
![]() | |
enum | objectState : char { GOOD, BAD } |
enum | readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ } |
enum | writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 } |
enum | fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster } |
![]() | |
template<class Type > | |
static Type & | store (Type *p) |
template<class Type > | |
static Type & | store (autoPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (autoPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &&ptr) |
![]() | |
static bool | bannerEnabled () noexcept |
static bool | bannerEnabled (bool on) noexcept |
static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
template<class StringType > | |
static word | groupName (StringType base, const word &group) |
static word | group (const word &name) |
static word | member (const word &name) |
static word | scopedName (const std::string &scope, const word &name) |
static IOobject | selectIO (const IOobject &io, const fileName &altFile, const word &ioName="") |
static Ostream & | writeBanner (Ostream &os, const bool noSyntaxHint=false) |
static Ostream & | writeDivider (Ostream &os) |
static Ostream & | writeEndDivider (Ostream &os) |
![]() | |
static const Enum< fileCheckTypes > | fileCheckTypesNames |
static char | scopeSeparator |
static fileCheckTypes | fileModificationChecking |
static float | fileModificationSkew |
static int | maxFileModificationPolls |
![]() | |
template<class INew > | |
void | readIstream (Istream &is, const INew &inew) |
void | free () |
![]() | |
bool | readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName) |
![]() | |
void | setBad (const string &s) |
![]() | |
static void | writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr) |
static void | writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr) |
![]() | |
static bool | masterOnlyReading = false |
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
Definition at line 59 of file polyBoundaryMesh.H.
polyBoundaryMesh | ( | const IOobject & | io, |
const polyMesh & | mesh | ||
) |
Definition at line 106 of file polyBoundaryMesh.C.
References IOstream::check(), dict, forAll, FUNCTION_NAME, IOobject::MUST_READ, IOobject::MUST_READ_IF_MODIFIED, polyPatch::New(), patches, PtrList::set(), and PtrList::setSize().
polyBoundaryMesh | ( | const IOobject & | io, |
const polyMesh & | mesh, | ||
const label | size | ||
) |
Definition at line 155 of file polyBoundaryMesh.C.
polyBoundaryMesh | ( | const IOobject & | io, |
const polyMesh & | mesh, | ||
const polyPatchList & | ppl | ||
) |
Definition at line 168 of file polyBoundaryMesh.C.
References IOstream::check(), dict, forAll, FUNCTION_NAME, IOobject::MUST_READ, IOobject::MUST_READ_IF_MODIFIED, polyPatch::New(), patches, IOobject::READ_IF_PRESENT, PtrList::set(), and PtrList::setSize().
|
default |
TypeName | ( | "polyBoundaryMesh" | ) |
void clearGeom | ( | ) |
Definition at line 229 of file polyBoundaryMesh.C.
void clearAddressing | ( | ) |
Definition at line 240 of file polyBoundaryMesh.C.
|
inlinenoexcept |
Definition at line 148 of file polyBoundaryMesh.H.
Referenced by mappedPatchBase::addWorldConnection(), mappedPatchBase::AMI(), cyclicAMIPolyPatch::canResetAMI(), processorPolyPatch::comm(), patchPatchDist::correct(), mappedPatchBase::facePoints(), coupleGroupIdentifier::findOtherPatchID(), Sampled< Type >::haveSampleField(), interpolationCellPatchConstrained< Type >::interpolate(), mappedPatchBase::lookupMesh(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), mappedPatchBase::map(), mappedPatchFieldBase< scalar >::mappedField(), Sampled< Type >::sampleField(), mappedPatchFieldBase< scalar >::sampleField(), adjointBoundaryCondition< Type >::setBoundaryContributionPtr(), lumpedPointMovement::setPatchControl(), mappedPatchBase::surfPtr(), and cyclicACMIPolyPatch::updateAreas().
Foam::UPtrList< const Foam::labelUList > faceCells | ( | ) | const |
Definition at line 304 of file polyBoundaryMesh.C.
References forAll, patches, and UPtrList::set().
Referenced by SurfaceFilmModel< CloudType >::inject(), thermoSingleLayer::Sh(), and thermoSingleLayer::Srho().
const Foam::List< Foam::labelPairList > & neighbourEdges | ( | ) | const |
Definition at line 320 of file polyBoundaryMesh.C.
References Foam::abort(), Foam::constant::electromagnetic::e, PrimitivePatch< FaceList, PointField >::edges(), Foam::endl(), HashTable< T, edge, Hash< edge > >::erase(), Foam::FatalError, FatalErrorInFunction, HashTable< T, edge, Hash< edge > >::find(), forAll, HashTable< T, edge, Hash< edge > >::insert(), PrimitivePatch< FaceList, PointField >::localPoints(), PrimitivePatch< FaceList, PointField >::meshPoints(), patchIdentifier::name(), PrimitivePatch< FaceList, PointField >::nEdges(), PrimitivePatch< FaceList, PointField >::nInternalEdges(), Foam::nl, UPstream::parRun(), HashTable< T, edge, Hash< edge > >::size(), and WarningInFunction.
Foam::label nNonProcessor | ( | ) | const |
Definition at line 528 of file polyBoundaryMesh.C.
Referenced by fvMeshAdder::add(), Foam::nonProcessorPatchNames(), probes::prepare(), polyMeshAdder::procPatchPairs(), and dynamicMotionSolverFvMeshAMI::update().
Foam::wordList names | ( | ) | const |
Definition at line 548 of file polyBoundaryMesh.C.
Referenced by curvatureSeparation::curvatureSeparation(), meshReader::mesh(), meshRefinement::meshedPatches(), Foam::nonProcessorPatchNames(), ParticleErosion< CloudType >::ParticleErosion(), PatchParticleHistogram< CloudType >::PatchParticleHistogram(), PatchPostProcessing< CloudType >::PatchPostProcessing(), polyMeshAdder::procPatchPairs(), polyMesh::readUpdate(), processorCyclicPolyPatch::referPatchID(), mappedPatchBase::samplePolyPatch(), and fvMeshSubset::setCellSubset().
Foam::wordList types | ( | ) | const |
Definition at line 554 of file polyBoundaryMesh.C.
Referenced by polyMesh::readUpdate().
Foam::wordList physicalTypes | ( | ) | const |
Definition at line 560 of file polyBoundaryMesh.C.
References p.
Foam::labelList patchStarts | ( | ) | const |
Definition at line 571 of file polyBoundaryMesh.C.
References p.
Foam::labelList patchSizes | ( | ) | const |
Definition at line 582 of file polyBoundaryMesh.C.
References p.
Foam::List< Foam::labelRange > patchRanges | ( | ) | const |
Definition at line 593 of file polyBoundaryMesh.C.
References p.
Foam::label start | ( | ) | const |
Definition at line 604 of file polyBoundaryMesh.C.
Referenced by attachPolyTopoChanger::attach(), polyBoundaryMesh::checkDefinition(), faMeshDecomposition::decomposeMesh(), fvMeshDistribute::distribute(), fvFieldDecomposer::reset(), and Foam::ensightOutput::writeVolField().
Foam::label nFaces | ( | ) | const |
Definition at line 610 of file polyBoundaryMesh.C.
Foam::labelRange range | ( | ) | const |
Definition at line 616 of file polyBoundaryMesh.C.
Referenced by lumpedPointMovement::writeZonesVTP().
Foam::labelRange range | ( | const label | patchi | ) | const |
Definition at line 622 of file polyBoundaryMesh.C.
Foam::labelList indices | ( | const wordRe & | matcher, |
const bool | useGroups = true |
||
) | const |
Definition at line 635 of file polyBoundaryMesh.C.
References Foam::PtrListOps::findMatching(), Foam::PtrListOps::firstMatching(), forAllConstIters(), HashSet::insert(), wordRe::isPattern(), wordRe::match(), and patchId().
Referenced by polyBoundaryMesh::findIndices(), fvBoundaryMesh::indices(), viewFactor::initialise(), processorCyclicPolyPatch::patchIDs(), and fieldExtents::read().
Foam::labelList indices | ( | const wordRes & | matcher, |
const bool | useGroups = true |
||
) | const |
Definition at line 702 of file polyBoundaryMesh.C.
References Foam::PtrListOps::findMatching(), forAllConstIters(), HashSet::insert(), and wordRes::match().
Foam::label findIndex | ( | const wordRe & | key | ) | const |
Definition at line 747 of file polyBoundaryMesh.C.
References Foam::PtrListOps::firstMatching(), and Foam::glTF::key().
Definition at line 758 of file polyBoundaryMesh.C.
References Foam::expressions::patchExpr::debug, polyMesh::defaultRegion, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::PtrListOps::firstMatching(), Foam::PtrListOps::names(), patchId(), and Foam::Pout.
Referenced by fvMeshTools::addPatch(), meshRefinement::addPatch(), inverseFaceDistanceDiffusivity::correct(), directions::directions(), meshRefinement::getFaceZoneInfo(), mappedPatchBase::lookupPatch(), mappedPatchFieldBase< scalar >::mappedField(), meshRefinement::meshedPatches(), processorCyclicPolyPatch::referPatchID(), sampledCuttingPlane::sampledCuttingPlane(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), mappedPatchBase::samplePolyPatch(), fvMeshSubset::setCellSubset(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs(), and Sampled< Type >::value().
labelHashSet findPatchIDs | ( | ) | const |
Foam::label whichPatch | ( | const label | faceIndex | ) | const |
Definition at line 805 of file polyBoundaryMesh.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::findLower(), Foam::flatOutput(), found, mesh, Foam::PtrListOps::names(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), Foam::nl, p, patches, and range.
Referenced by meshRefinement::balance(), addPatchCellLayer::calcExtrudeInfo(), deltaBoundary::cellCenters_d(), cellPointWeightWallModified::cellPointWeightWallModified(), polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), faceZone::checkParallelSync(), polyMeshGeometry::checkVolRatio(), localPointRegion::findDuplicateFacePairs(), patchProbes::findElements(), interpolationCellPointWallModified< Type >::interpolate(), volSurfaceMapping::mapInternalToSurface(), volSurfaceMapping::mapToField(), volSurfaceMapping::mapToSurface(), volSurfaceMapping::mapToVolume(), polyMeshAdder::mergePoints(), patchProbes::sample(), duplicatePoints::setRefinement(), perfectInterface::setRefinement(), combineFaces::setRefinement(), removeFaces::setRefinement(), meshCutAndRemove::setRefinement(), addPatchCellLayer::setRefinement(), and sampledFaceZone::update().
const Foam::labelList & patchID | ( | ) | const |
Definition at line 449 of file polyBoundaryMesh.C.
References forAll, and patches.
Referenced by directionalPressureGradientExplicitSource::correct(), FacePostProcessing< CloudType >::FacePostProcessing(), interpolationCellPatchConstrained< Type >::interpolate(), and RemoveParcels< CloudType >::RemoveParcels().
const Foam::HashTable< Foam::labelList > & groupPatchIDs | ( | ) | const |
Definition at line 474 of file polyBoundaryMesh.C.
Referenced by meshRefinement::findRegions().
void setGroup | ( | const word & | groupName, |
const labelUList & | patchIDs | ||
) |
Definition at line 486 of file polyBoundaryMesh.C.
References forAll, patches, and List::resize().
Foam::labelHashSet patchSet | ( | const UList< wordRe > & | patchNames, |
const bool | warnNotFound = true , |
||
const bool | useGroups = true |
||
) | const |
Definition at line 857 of file polyBoundaryMesh.C.
References Foam::endl(), Foam::findMatchingStrings(), forAllConstIters(), HashSet::insert(), wordRes::match(), Foam::PtrListOps::names(), patchNames(), and WarningInFunction.
Referenced by preservePatches::add(), preservePatches::apply(), inversePointDistanceDiffusivity::correct(), structuredDecomp::decompose(), patchProbes::findElements(), cellDistFuncs::getPatchIDs(), objectivePtLosses::initialize(), patchInjection::patchInjection(), wallHeatFlux::read(), wallShearStress::read(), structuredRenumber::renumber(), and Foam::selectPatchFaces().
void matchGroups | ( | const labelUList & | patchIDs, |
wordList & | groups, | ||
labelHashSet & | nonGroupPatches | ||
) | const |
Definition at line 926 of file polyBoundaryMesh.C.
References DynamicList::append(), forAllConstIters(), and List::transfer().
Definition at line 965 of file polyBoundaryMesh.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), forAll, Pstream::gatherList(), Foam::Info, UPstream::master(), UPstream::myProcNo(), IOobject::name(), Foam::PtrListOps::names(), UPstream::nProcs(), UPstream::parRun(), Foam::Pout, Pstream::scatterList(), List::setSize(), and UPstream::subProcs().
Referenced by fvMeshDistribute::distribute(), and Foam::nonProcessorPatchNames().
Definition at line 1053 of file polyBoundaryMesh.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), forAll, Foam::Info, mesh, IOobject::name(), primitiveMesh::nInternalFaces(), patchNames(), Foam::Pout, Foam::reduce(), and polyBoundaryMesh::start().
void movePoints | ( | const pointField & | p | ) |
Definition at line 1110 of file polyBoundaryMesh.C.
References UPstream::blocking, UPstream::defaultCommsType, PstreamBuffers::finishedSends(), forAll, polyMesh::globalData(), mesh, UPstream::nonBlocking, p, ProcessorTopology< Container, ProcPatch >::patchSchedule(), and UPstream::scheduled.
Referenced by faBoundaryMesh::movePoints().
void updateMesh | ( | ) |
Definition at line 1156 of file polyBoundaryMesh.C.
References UPstream::blocking, UPstream::defaultCommsType, PstreamBuffers::finishedSends(), forAll, polyMesh::globalData(), mesh, UPstream::nonBlocking, ProcessorTopology< Container, ProcPatch >::patchSchedule(), and UPstream::scheduled.
Referenced by polyMesh::readUpdate(), faBoundaryMesh::updateMesh(), and polyMesh::updateMesh().
void reorder | ( | const labelUList & | oldToNew, |
const bool | validBoundary | ||
) |
Definition at line 1207 of file polyBoundaryMesh.C.
References forAll, patches, and Foam::reorder().
Referenced by fvMeshTools::addPatch(), meshRefinement::addPatch(), and fvMeshTools::reorderPatches().
Implements regIOobject.
Definition at line 1230 of file polyBoundaryMesh.C.
References token::BEGIN_LIST, Ostream::beginBlock(), IOstream::check(), Foam::decrIndent(), token::END_LIST, Ostream::endBlock(), FUNCTION_NAME, IOstream::good(), Foam::incrIndent(), Foam::nl, os(), and patches.
Referenced by Foam::operator<<().
|
virtual |
Reimplemented from regIOobject.
Definition at line 1251 of file polyBoundaryMesh.C.
References IOstreamOption::compression(), IOstreamOption::UNCOMPRESSED, and regIOobject::writeObject().
const Foam::polyPatch & operator[] | ( | const word & | patchName | ) | const |
Definition at line 1264 of file polyBoundaryMesh.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::PtrListOps::names(), and Foam::nl.
Foam::polyPatch & operator[] | ( | const word & | patchName | ) |
Definition at line 1283 of file polyBoundaryMesh.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::PtrListOps::names(), and Foam::nl.
Definition at line 322 of file polyBoundaryMesh.H.
References polyBoundaryMesh::indices().
Foam::labelHashSet findPatchIDs | ( | ) | const |
Definition at line 24 of file polyBoundaryMeshTemplates.C.
References forAll, HashSet::insert(), and patches.
|
friend |
Definition at line 100 of file polyBoundaryMesh.H.
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.