Registry of regIOobjects. More...
Public Member Functions | |
TypeName ("objectRegistry") | |
objectRegistry (const Time &db, const label nObjects=128) | |
objectRegistry (const IOobject &io, const label nObjects=128) | |
virtual | ~objectRegistry () |
const objectRegistry & | thisDb () const noexcept |
const objectRegistry & | parent () const noexcept |
const Time & | time () const noexcept |
bool | isTimeDb () const noexcept |
virtual const fileName & | dbDir () const |
HashTable< wordHashSet > | classes () const |
template<class MatchPredicate > | |
HashTable< wordHashSet > | classes (const MatchPredicate &matchName) const |
label | count (const char *clsName) const |
template<class MatchPredicate > | |
label | count (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
label | count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
label | count (const bool strict=false) const |
template<class Type , class MatchPredicate > | |
label | count (const MatchPredicate &matchName) const |
wordList | names () const |
wordList | names (const char *clsName) const |
template<class MatchPredicate > | |
wordList | names (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
wordList | names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
wordList | names () const |
template<class Type , class MatchPredicate > | |
wordList | names (const MatchPredicate &matchName) const |
wordList | sortedNames () const |
wordList | sortedNames (const char *clsName) const |
template<class MatchPredicate > | |
wordList | sortedNames (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
wordList | sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
wordList | sortedNames () const |
template<class Type , class MatchPredicate > | |
wordList | sortedNames (const MatchPredicate &matchName) const |
const objectRegistry & | subRegistry (const word &name, const bool forceCreate=false, const bool recursive=false) const |
template<class Type > | |
HashTable< const Type * > | lookupClass (const bool strict=false) const |
template<class Type > | |
HashTable< Type * > | lookupClass (const bool strict=false) |
const regIOobject * | cfindIOobject (const word &name, const bool recursive=false) const |
bool | found (const word &name, const bool recursive=false) const |
template<class Type > | |
bool | foundObject (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type * | cfindObject (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type * | findObject (const word &name, const bool recursive=false) const |
template<class Type > | |
Type * | findObject (const word &name, const bool recursive=false) |
template<class Type > | |
Type * | getObjectPtr (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type & | lookupObject (const word &name, const bool recursive=false) const |
template<class Type > | |
Type & | lookupObjectRef (const word &name, const bool recursive=false) const |
label | getEvent () const |
bool | checkIn (regIOobject *io) const |
bool | checkIn (regIOobject &io) const |
bool | checkOut (regIOobject *io) const |
bool | checkOut (regIOobject &io) const |
bool | checkOut (const word &key) const |
void | clear () |
void | clearStorage () |
bool | erase (const iterator &iter) |
bool | erase (const word &key) |
label | erase (std::initializer_list< word > keys) |
label | erase (const UList< word > &keys) |
virtual void | rename (const word &newName) |
virtual bool | modified () const |
void | readModifiedObjects () |
virtual bool | readIfModified () |
virtual bool | writeData (Ostream &) const |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
template<class Type > | |
const Type * | lookupObjectPtr (const word &name, bool recursive=false) const |
template<class Type > | |
Type * | lookupObjectRefPtr (const word &name, bool recursive=false) const |
template<class MatchPredicate > | |
Foam::HashTable< Foam::wordHashSet > | classesImpl (const objectRegistry &list, const MatchPredicate &matchName) |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::label | countImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) |
template<class Type , class MatchPredicate > | |
Foam::label | countTypeImpl (const objectRegistry &list, const MatchPredicate &matchName) |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | namesImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName, const bool doSort) |
template<class Type , class MatchPredicate > | |
Foam::wordList | namesTypeImpl (const objectRegistry &list, const MatchPredicate &matchName, const bool doSort) |
template<class MatchPredicate > | |
Foam::HashTable< Foam::wordHashSet > | classes (const MatchPredicate &matchName) const |
template<class MatchPredicate > | |
Foam::label | count (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::label | count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type , class MatchPredicate > | |
Foam::label | count (const MatchPredicate &matchName) const |
template<class Type > | |
Foam::label | count (const bool strict) const |
template<class MatchPredicate > | |
Foam::wordList | names (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
Foam::wordList | names () const |
template<class Type , class MatchPredicate > | |
Foam::wordList | names (const MatchPredicate &matchName) const |
template<class MatchPredicate > | |
Foam::wordList | sortedNames (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
Foam::wordList | sortedNames () const |
template<class Type , class MatchPredicate > | |
Foam::wordList | sortedNames (const MatchPredicate &matchName) const |
template<class Type > | |
Foam::HashTable< const Type * > | lookupClass (const bool strict) const |
template<class Type > | |
Foam::HashTable< Type * > | lookupClass (const bool strict) |
![]() | |
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 () |
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 | 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) |
![]() | |
HashTable () | |
HashTable (const label size) | |
HashTable (Istream &is, const label size=128) | |
HashTable (const this_type &ht) | |
HashTable (this_type &&rhs) | |
HashTable (std::initializer_list< std::pair< Key, T >> list) | |
~HashTable () | |
label | capacity () const noexcept |
label | size () const noexcept |
bool | empty () const noexcept |
T & | at (const Key &key) |
const T & | at (const Key &key) const |
bool | found (const Key &key) const |
iterator | find (const Key &key) |
const_iterator | find (const Key &key) const |
const_iterator | cfind (const Key &key) const |
const T & | lookup (const Key &key, const T &deflt) const |
List< Key > | toc () const |
List< Key > | sortedToc () const |
List< Key > | sortedToc (const Compare &comp) const |
Foam::List< Key > | sortedToc (const Compare &comp) const |
List< Key > | tocKeys (const UnaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocKeys (const UnaryPredicate &pred, const bool invert) const |
List< Key > | tocValues (const UnaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocValues (const UnaryPredicate &pred, const bool invert) const |
List< Key > | tocEntries (const BinaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocEntries (const BinaryPredicate &pred, const bool invert) const |
label | countKeys (const UnaryPredicate &pred, const bool invert=false) const |
Foam::label | countKeys (const UnaryPredicate &pred, const bool invert) const |
label | countValues (const UnaryPredicate &pred, const bool invert=false) const |
Foam::label | countValues (const UnaryPredicate &pred, const bool invert) const |
label | countEntries (const BinaryPredicate &pred, const bool invert=false) const |
Foam::label | countEntries (const BinaryPredicate &pred, const bool invert) const |
bool | emplace (const Key &key, Args &&... args) |
bool | emplace_set (const Key &key, Args &&... args) |
bool | insert (const Key &key, const T &obj) |
bool | insert (const Key &key, T &&obj) |
bool | set (const Key &key, const T &obj) |
bool | set (const Key &key, T &&obj) |
bool | erase (const iterator &iter) |
bool | erase (const Key &key) |
label | erase (const HashTable< AnyType, Key, AnyHash > &other) |
label | erase (std::initializer_list< Key > keys) |
label | erase (InputIter first, InputIter last) |
label | erase (const FixedList< Key, N > &keys) |
label | erase (const UList< Key > &keys) |
Foam::label | erase (InputIter first, InputIter last) |
Foam::label | erase (const FixedList< Key, N > &keys) |
Foam::label | erase (const HashTable< AnyType, Key, AnyHash > &other) |
label | retain (const HashTable< AnyType, Key, AnyHash > &other) |
Foam::label | retain (const HashTable< AnyType, Key, AnyHash > &other) |
label | filterKeys (const UnaryPredicate &pred, const bool pruning=false) |
Foam::label | filterKeys (const UnaryPredicate &pred, const bool pruning) |
label | filterValues (const UnaryPredicate &pred, const bool pruning=false) |
Foam::label | filterValues (const UnaryPredicate &pred, const bool pruning) |
label | filterEntries (const BinaryPredicate &pred, const bool pruning=false) |
Foam::label | filterEntries (const BinaryPredicate &pred, const bool pruning) |
void | resize (const label sz) |
void | clear () |
void | clearStorage () |
void | swap (HashTable< T, Key, Hash > &rhs) |
void | transfer (HashTable< T, Key, Hash > &rhs) |
T & | operator[] (const Key &key) |
const T & | operator[] (const Key &key) const |
T & | operator() (const Key &key) |
T & | operator() (const Key &key, const T &deflt) |
void | operator= (const this_type &rhs) |
void | operator= (std::initializer_list< std::pair< Key, T >> rhs) |
void | operator= (this_type &&rhs) |
bool | operator== (const this_type &rhs) const |
bool | operator!= (const this_type &rhs) const |
this_type & | operator+= (const this_type &rhs) |
const_iterator_pair< const_key_iterator, this_type > | keys () const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () noexcept |
const_iterator | end () const noexcept |
constexpr const_iterator | cend () const noexcept |
Ostream & | printInfo (Ostream &os) const |
Ostream & | writeKeys (Ostream &os, const label shortLen=0) const |
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 } |
![]() | |
typedef HashTable< T, Key, Hash > | this_type |
typedef Key | key_type |
typedef T | mapped_type |
typedef T | value_type |
typedef Hash | hasher |
typedef T * | pointer |
typedef T & | reference |
typedef label | difference_type |
typedef label | size_type |
using | key_iterator = key_iterator_base< iterator > |
using | const_key_iterator = key_iterator_base< const_iterator > |
![]() | |
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) |
![]() | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
![]() | |
static const Enum< fileCheckTypes > | fileCheckTypesNames |
static char | scopeSeparator |
static fileCheckTypes | fileModificationChecking |
static float | fileModificationSkew |
static int | maxFileModificationPolls |
![]() | |
bool | readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName) |
![]() | |
void | setBad (const string &s) |
![]() | |
bool | iterator_erase (node_type *&entry, label &index) |
![]() | |
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 |
|
explicit |
Definition at line 75 of file objectRegistry.C.
|
explicit |
Definition at line 98 of file objectRegistry.C.
References IOobject::AUTO_WRITE, and IOobject::writeOpt().
|
virtual |
Definition at line 113 of file objectRegistry.C.
References objectRegistry::clear().
TypeName | ( | "objectRegistry" | ) |
|
inlinenoexcept |
Definition at line 162 of file objectRegistry.H.
|
inlinenoexcept |
Definition at line 168 of file objectRegistry.H.
|
inlinenoexcept |
Definition at line 174 of file objectRegistry.H.
Referenced by mappedPatchBase::addWorldConnection(), minTimeStepCondition::apply(), equationMaxIterCondition::apply(), maxDurationCondition::apply(), averageCondition::apply(), SprayParcel::calcAtomization(), fieldAverageItem::calculateMeanField(), fieldAverageItem::calculatePrime2MeanField(), cyclicAMIPolyPatch::canResetAMI(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), codedBase::codeDict(), logFiles::createFiles(), cloud::createIOField(), exprResultGlobals::Delete(), equationInitialResidualCondition::equationInitialResidualCondition(), fieldAverageItem::evolve(), faMesh::faMesh(), coupleGroupIdentifier::findOtherPatchID(), mappedPatchBase::getWorldCommunicator(), DSMCParcel::hitWallPatch(), codedPoints0MotionSolver::libs(), mappedPatchBase::lookupMesh(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), Foam::MapLagrangianFields(), Foam::MapMesh(), meshReader::mesh(), triSurfaceMesh::movePoints(), lumpedPointIOMovement::New(), exprResultGlobals::New(), coordinateSystems::New(), GAMGAgglomeration::New(), objectiveManager::objectiveManager(), motionSolver::iNew::operator()(), points0MotionSolver::points0IO(), polyMesh::polyMesh(), uncollatedFileOperation::readObjects(), masterUncollatedFileOperation::readObjects(), polyMesh::readUpdate(), regionProperties::regionProperties(), triSurfaceMesh::setField(), twoPhaseSystem::solve(), multiphaseSystem::solve(), RASTurbulenceModel::solveIter(), patchFunction1Base::time(), fvMesh::time(), IOobject::time(), MPPICParcel::trackingData::updateAverages(), KinematicParcel::trackingData::updateAverages(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), velocityFilmShellFvPatchVectorField::updateCoeffs(), polyMesh::updateMesh(), FIREMeshWriter::write(), areaWrite::write(), PDRblock::writeBlockMeshDict(), and molecule::writeFields().
|
noexcept |
Definition at line 121 of file objectRegistry.C.
|
inlinevirtual |
Reimplemented in polyMesh, and Time.
Definition at line 183 of file objectRegistry.H.
Referenced by polyMesh::dbDir(), uncollatedFileOperation::filePathInfo(), masterUncollatedFileOperation::filePathInfo(), masterUncollatedFileOperation::localObjectPath(), fileOperation::processorsPath(), fileOperation::readObjects(), surfMesh::surfMesh(), decomposedBlockData::writeHeader(), and IOobject::writeHeaderContent().
Foam::HashTable< Foam::wordHashSet > classes | ( | ) | const |
Definition at line 127 of file objectRegistry.C.
Referenced by areaWrite::write().
HashTable<wordHashSet> classes | ( | const MatchPredicate & | matchName | ) | const |
Foam::label count | ( | const char * | clsName | ) | const |
Definition at line 133 of file objectRegistry.C.
References Foam::BitOps::count().
Referenced by vtkWrite::write().
label count | ( | const MatchPredicate & | matchClass | ) | const |
label count | ( | const MatchPredicate1 & | matchClass, |
const MatchPredicate2 & | matchName | ||
) | const |
label count | ( | const bool | strict = false | ) | const |
label count | ( | const MatchPredicate & | matchName | ) | const |
Foam::wordList names | ( | ) | const |
Definition at line 140 of file objectRegistry.C.
References HashTable::toc().
Referenced by vtkUnstructuredReader::printFieldStats(), areaWrite::write(), vtkWrite::write(), and vtkCloud::writeFields().
Foam::wordList names | ( | const char * | clsName | ) | const |
Definition at line 152 of file objectRegistry.C.
References Foam::PtrListOps::names().
wordList names | ( | const MatchPredicate & | matchClass | ) | const |
wordList names | ( | const MatchPredicate1 & | matchClass, |
const MatchPredicate2 & | matchName | ||
) | const |
wordList names | ( | ) | const |
wordList names | ( | const MatchPredicate & | matchName | ) | const |
Foam::wordList sortedNames | ( | ) | const |
Definition at line 146 of file objectRegistry.C.
References HashTable::sortedToc().
Referenced by parseDriver::getField(), parseDriver::patchInternalField(), parseDriver::patchNeighbourField(), parseDriver::patchNormalField(), multiRegion::read(), areaWrite::read(), vtkWrite::writeVolFields(), and ensightWrite::writeVolFields().
Foam::wordList sortedNames | ( | const char * | clsName | ) | const |
Definition at line 159 of file objectRegistry.C.
wordList sortedNames | ( | const MatchPredicate & | matchClass | ) | const |
wordList sortedNames | ( | const MatchPredicate1 & | matchClass, |
const MatchPredicate2 & | matchName | ||
) | const |
wordList sortedNames | ( | ) | const |
wordList sortedNames | ( | const MatchPredicate & | matchName | ) | const |
const Foam::objectRegistry & subRegistry | ( | const word & | name, |
const bool | forceCreate = false , |
||
const bool | recursive = false |
||
) | const |
Definition at line 167 of file objectRegistry.C.
References Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, and regIOobject::store().
Referenced by polySurface::pointData(), mappedPatchBase::readDict(), mappedPatchBase::subRegistry(), and uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs().
Referenced by meshObject::clear(), meshObject::clearUpto(), coupleGroupIdentifier::findOtherPatchID(), surfaceInterpolate::interpolateFields(), basicThermo::lookupThermo(), Foam::mapClouds(), meshObject::movePoints(), areaWrite::read(), and meshObject::updateMesh().
const Foam::regIOobject * cfindIOobject | ( | const word & | name, |
const bool | recursive = false |
||
) | const |
Definition at line 404 of file objectRegistry.C.
References Foam::name().
Referenced by parseDriver::getField(), parseDriver::patchInternalField(), parseDriver::patchNeighbourField(), and parseDriver::patchNormalField().
Definition at line 425 of file objectRegistry.C.
References Foam::name().
Referenced by simplifiedFvMesh::fvPatchFieldExists(), turbulenceFields::initialise(), surfaceInterpolate::interpolateFields(), polySurface::queryFieldAssociation(), and polySurface::whichRegistry().
Definition at line 372 of file objectRegistryTemplates.C.
References Foam::name().
Referenced by DEShybrid< Type >::blendingFactor(), relaxedSnGrad< Type >::correction(), filmTurbulenceModel::devRhoReff(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvmLaplacian(), regionModel::mapRegionPatchField(), regionModel::mapRegionPatchInternalField(), solutionControl::maxTypeResidual(), DMDModel::nComponents(), particleDistribution::processField(), heatTransferCoeffModel::q(), ReynoldsAnalogy::rho(), adjointBoundaryCondition< Type >::setBoundaryContributionPtr(), rigidBodyMeshMotionSolver::solve(), rigidBodyMeshMotion::solve(), thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), and cellCellStencil::zoneID().
Definition at line 383 of file objectRegistryTemplates.C.
References Foam::name().
Referenced by fvExprDriver::evaluateVariableRemote(), polySurface::findFieldObject(), cloud::findIOField(), cloud::findIOPosition(), fluxSummary::initialiseSurface(), fluxSummary::initialiseSurfaceAndDirection(), GAMGAgglomeration::New(), regionFunctionObject::obr(), lumpedPointDisplacementPointPatchVectorField::points0(), heatTransferCoeffModel::q(), propellerInfo::setRotationalSpeed(), and triSurfaceMeshPointSet::triSurfaceMeshPointSet().
Definition at line 394 of file objectRegistryTemplates.C.
References Foam::name().
Referenced by Foam::calc_pTotal(), Foam::calc_rhoU(), ObukhovLength::calcOL(), parcelSelection::calculateFilter(), fieldAverageItem::calculateMeanField(), fieldAverageItem::calculatePrime2MeanField(), mappedPatchBase::constructIOField(), Arrhenius< ViscousModel >::correct(), multiphaseStabilizedTurbulence::correct(), DispersionRASModel< CloudType >::epsilonModel(), lumpedPointMovement::forcesAndMoments(), liquidFilmThermo::initLiquid(), DispersionRASModel< CloudType >::kModel(), basicThermo::lookupThermo(), coordinateSystems::New(), VTKsurfaceFormat< Face >::read(), lduMatrix::setResidualField(), mappedPatchBase::storeField(), filmPyrolysisTemperatureCoupledFvPatchScalarField::updateCoeffs(), filmPyrolysisVelocityCoupledFvPatchVectorField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), vtkCloud::writeFields(), vtkWrite::writeVolFields(), and ensightWrite::writeVolFields().
Definition at line 405 of file objectRegistryTemplates.C.
References Foam::name().
Definition at line 416 of file objectRegistryTemplates.C.
References Foam::name().
Referenced by Foam::calc_pTotal(), Foam::calc_rhoU(), ObukhovLength::calcOL(), codedBase::codeDict(), exprResultGlobals::Delete(), lumpedPointIOMovement::getMovementObject(), sampledSurface::getRegistrySurface(), sampledSurface::getSurfMesh(), zoneDistribute::New(), zoneCPCStencil::New(), exprResultGlobals::New(), regionModel::regionMesh(), searchableSurfaceWithGaps::searchableSurfaceWithGaps(), lduMatrix::setResidualField(), surfMesh::storeField(), polySurface::storeField(), regionFunctionObject::storeInDb(), and areaWrite::write().
Definition at line 427 of file objectRegistryTemplates.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::nl.
Referenced by solidAbsorption::a(), interRegionHeatTransferModel::addSup(), adjointSimple::adjointSimple(), DEShybrid< Type >::blendingFactor(), Foam::calc_pTotal(), Foam::calc_rhoU(), ObukhovLength::calcOL(), parcelSelection::calculateFilter(), tabulatedHeatTransfer::calculateHtc(), variableHeatTransfer::calculateHtc(), fieldAverageItem::calculateMeanField(), fieldAverageItem::calculatePrime2MeanField(), adjointSensitivity::computeGradDxDbMultiplier(), motionDirectionalDiffusivity::correct(), filmTurbulenceModel::devRhoReff(), solidAbsorption::e(), interfaceTrackingFvMesh::freeSurfacePressureJump(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), adjointSolver::getPrimalSolver(), interRegionExplicitPorositySource::initialise(), phaseSystem::lookupBlendedSubModel(), cloud::lookupIOField(), mappedPatchBase::lookupMesh(), twoPhaseSystem::lookupSubModel(), phaseSystem::lookupSubModel(), basicThermo::lookupThermo(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), regionModel::mapRegionPatchField(), regionModel::mapRegionPatchInternalField(), function1Base::mesh(), solidParticleCloud::move(), displacementMotionSolverMeshMover::move(), medialAxisMeshMover::move(), solidAbsorption::nBands(), surfaceFieldValue::obr(), liquidFilmBase::pg(), pointHistory::pointHistory(), hydrostaticPressure::pRef(), vtkUnstructuredReader::printFieldStats(), particleDistribution::processField(), heatTransferCoeffModel::q(), filmTurbulenceModel::rho(), ReynoldsAnalogy::rho(), VollerPrakash::S(), patchProbes::sample(), interRegionOption::setMapper(), interRegionHeatTransferModel::setNbrModel(), sixDoFRigidBodyMotionSolver::solve(), rigidBodyMeshMotionSolver::solve(), rigidBodyMeshMotion::solve(), liquidFilmBase::Up(), freeSurfaceVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), vibrationShellFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), freeSurfacePressureFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), cloudInfo::write(), momentumError::write(), and cellCellStencil::zoneID().
Definition at line 471 of file objectRegistryTemplates.C.
References Foam::name(), and ref().
Referenced by heatTransferCoeff::calc(), momentumError::calcMomentError(), fieldAverageItem::calculateMeanField(), fieldAverageItem::calculatePrime2MeanField(), relaxedSnGrad< Type >::correction(), surfaceDistance::execute(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvmLaplacian(), searchableSurfaceCollection::searchableSurfaceCollection(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), thermalShellFvPatchScalarField::updateCoeffs(), and velocityFilmShellFvPatchVectorField::updateCoeffs().
Foam::label getEvent | ( | ) | const |
Definition at line 193 of file objectRegistry.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::labelMax, Foam::nl, and WarningInFunction.
bool checkIn | ( | regIOobject * | io | ) | const |
Definition at line 219 of file objectRegistry.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), HashTable::insert(), Foam::name(), IOobject::name(), Foam::Pout, and WarningInFunction.
bool checkIn | ( | regIOobject & | io | ) | const |
Definition at line 293 of file objectRegistry.C.
bool checkOut | ( | regIOobject * | io | ) | const |
Definition at line 247 of file objectRegistry.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), objectRegistry::erase(), HashTable::find(), Foam::name(), IOobject::name(), Foam::Pout, and WarningInFunction.
Referenced by meshObject::clear(), fieldAverageItem::clear(), timeFunctionObject::clearOutputObjects(), meshObject::clearUpto(), exprResultGlobals::Delete(), fieldAverageItem::evolve(), meshObject::movePoints(), sampledSurface::removeRegistrySurface(), sampledSurface::removeSurfMesh(), and meshObject::updateMesh().
bool checkOut | ( | regIOobject & | io | ) | const |
Definition at line 299 of file objectRegistry.C.
Definition at line 305 of file objectRegistry.C.
References objectRegistry::erase(), and Foam::glTF::key().
void clear | ( | ) |
Definition at line 311 of file objectRegistry.C.
References stdFoam::begin(), HashTable::clear(), Foam::expressions::patchExpr::debug, stdFoam::end(), IOobject::name(), Foam::nl, regIOobject::ownedByRegistry(), Foam::Pout, and regIOobject::release().
Referenced by surfMesh::clearFields(), polySurface::clearFields(), objectRegistry::clearStorage(), extendedEdgeMesh::transfer(), objectRegistry::~objectRegistry(), and Time::~Time().
void clearStorage | ( | ) |
Definition at line 337 of file objectRegistry.C.
References objectRegistry::clear(), and HashTable::clearStorage().
bool erase | ( | const iterator & | iter | ) |
Definition at line 344 of file objectRegistry.C.
References HashTable::erase(), regIOobject::ownedByRegistry(), and regIOobject::release().
Referenced by objectRegistry::checkOut(), and Foam::eraseImpl().
Definition at line 367 of file objectRegistry.C.
References erase(), Foam::ListOps::find(), and Foam::glTF::key().
Foam::label erase | ( | std::initializer_list< word > | keys | ) |
Definition at line 373 of file objectRegistry.C.
References Foam::eraseImpl().
Definition at line 379 of file objectRegistry.C.
References UList::begin(), UList::end(), and Foam::eraseImpl().
|
virtual |
Reimplemented from regIOobject.
Definition at line 385 of file objectRegistry.C.
References regIOobject::rename(), and string::replace().
|
virtual |
Reimplemented from regIOobject.
Definition at line 434 of file objectRegistry.C.
References stdFoam::cbegin(), and stdFoam::cend().
Referenced by Time::readModifiedObjects().
void readModifiedObjects | ( | ) |
Definition at line 448 of file objectRegistry.C.
References stdFoam::begin(), Foam::expressions::patchExpr::debug, stdFoam::end(), Foam::endl(), Foam::name(), and Foam::Pout.
Referenced by Time::readModifiedObjects().
|
virtual |
Reimplemented from regIOobject.
Definition at line 464 of file objectRegistry.C.
Implements regIOobject.
Reimplemented in triSurfaceMesh.
Definition at line 515 of file objectRegistry.H.
References NotImplemented.
|
virtual |
Reimplemented from regIOobject.
Reimplemented in distributedTriSurfaceMesh, fvMesh, Time, polySurface, dynamicOversetFvMesh, triSurfaceMesh, surfMesh, and dynamicRefineFvMesh.
Definition at line 472 of file objectRegistry.C.
References stdFoam::cbegin(), stdFoam::cend(), Foam::expressions::patchExpr::debug, Foam::endl(), Foam::name(), and Foam::Pout.
Referenced by Time::writeObject(), and fvMesh::writeObject().
Definition at line 536 of file objectRegistry.H.
References IOobject::name().
Definition at line 549 of file objectRegistry.H.
References IOobject::name().
Foam::HashTable<Foam::wordHashSet> classesImpl | ( | const objectRegistry & | list, |
const MatchPredicate & | matchName | ||
) |
Definition at line 31 of file objectRegistryTemplates.C.
References forAllConstIters(), HashTable::insert(), IOobject::name(), and HashTable::size().
Foam::label countImpl | ( | const objectRegistry & | list, |
const MatchPredicate1 & | matchClass, | ||
const MatchPredicate2 & | matchName | ||
) |
Definition at line 57 of file objectRegistryTemplates.C.
References Foam::BitOps::count(), forAllConstIters(), and IOobject::name().
Foam::label countTypeImpl | ( | const objectRegistry & | list, |
const MatchPredicate & | matchName | ||
) |
Definition at line 82 of file objectRegistryTemplates.C.
References Foam::BitOps::count(), forAllConstIters(), and IOobject::name().
Foam::wordList namesImpl | ( | const objectRegistry & | list, |
const MatchPredicate1 & | matchClass, | ||
const MatchPredicate2 & | matchName, | ||
const bool | doSort | ||
) |
Definition at line 110 of file objectRegistryTemplates.C.
References Foam::BitOps::count(), forAllConstIters(), IOobject::name(), List::resize(), HashTable::size(), and Foam::sort().
Foam::wordList namesTypeImpl | ( | const objectRegistry & | list, |
const MatchPredicate & | matchName, | ||
const bool | doSort | ||
) |
Definition at line 145 of file objectRegistryTemplates.C.
References Foam::BitOps::count(), forAllConstIters(), IOobject::name(), List::resize(), HashTable::size(), and Foam::sort().
Foam::HashTable<Foam::wordHashSet> classes | ( | const MatchPredicate & | matchName | ) | const |
Definition at line 185 of file objectRegistryTemplates.C.
Foam::label count | ( | const MatchPredicate & | matchClass | ) | const |
Definition at line 195 of file objectRegistryTemplates.C.
Foam::label count | ( | const MatchPredicate1 & | matchClass, |
const MatchPredicate2 & | matchName | ||
) | const |
Definition at line 205 of file objectRegistryTemplates.C.
Foam::label count | ( | const MatchPredicate & | matchName | ) | const |
Definition at line 216 of file objectRegistryTemplates.C.
Foam::label count | ( | const bool | strict | ) | const |
Definition at line 226 of file objectRegistryTemplates.C.
References forAllConstIters().
Foam::wordList names | ( | const MatchPredicate & | matchClass | ) | const |
Definition at line 252 of file objectRegistryTemplates.C.
Foam::wordList names | ( | const MatchPredicate1 & | matchClass, |
const MatchPredicate2 & | matchName | ||
) | const |
Definition at line 262 of file objectRegistryTemplates.C.
Foam::wordList names | ( | ) | const |
Definition at line 272 of file objectRegistryTemplates.C.
Foam::wordList names | ( | const MatchPredicate & | matchName | ) | const |
Definition at line 280 of file objectRegistryTemplates.C.
Foam::wordList sortedNames | ( | const MatchPredicate & | matchClass | ) | const |
Definition at line 290 of file objectRegistryTemplates.C.
Foam::wordList sortedNames | ( | const MatchPredicate1 & | matchClass, |
const MatchPredicate2 & | matchName | ||
) | const |
Definition at line 300 of file objectRegistryTemplates.C.
Foam::wordList sortedNames | ( | ) | const |
Definition at line 310 of file objectRegistryTemplates.C.
Foam::wordList sortedNames | ( | const MatchPredicate & | matchName | ) | const |
Definition at line 318 of file objectRegistryTemplates.C.
Foam::HashTable<const Type*> lookupClass | ( | const bool | strict | ) | const |
Definition at line 328 of file objectRegistryTemplates.C.
References forAllConstIters(), HashTable::insert(), and IOobject::name().
Foam::HashTable<Type*> lookupClass | ( | const bool | strict | ) |
Definition at line 350 of file objectRegistryTemplates.C.
References forAllIters, HashTable::insert(), and IOobject::name().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.