Registry of regIOobjects. More...
Public Member Functions | |
TypeName ("objectRegistry") | |
Declare type name for this IOobject. More... | |
objectRegistry (const Time &db, const label nIoObjects=128) | |
Construct the time objectRegistry given an initial estimate. More... | |
objectRegistry (const IOobject &io, const label nIoObjects=128) | |
Construct a sub-registry given an IObject to describe the registry. More... | |
virtual | ~objectRegistry () |
Destructor. More... | |
const Time & | time () const |
Return time. More... | |
const objectRegistry & | parent () const |
Return the parent objectRegistry. More... | |
virtual const fileName & | dbDir () const |
Local directory path of this objectRegistry relative to the time. More... | |
wordList | names () const |
Return the list of names of the IOobjects. More... | |
wordList | sortedNames () const |
Return the sorted list of names of the IOobjects. More... | |
wordList | names (const word &className) const |
Return the list of names of IOobjects of given class name. More... | |
wordList | sortedNames (const word &className) const |
Return the sorted list of names of IOobjects of given class name. More... | |
template<class Type > | |
wordList | names () const |
Return the list of names of the IOobjects of given type. More... | |
template<class Type > | |
wordList | names (const wordRe &name) const |
Return the list of objects whose name matches the input regExp. More... | |
template<class Type > | |
wordList | names (const wordReList &name) const |
Return the list of objects whose name matches the input regExp. More... | |
const objectRegistry & | subRegistry (const word &name, const bool forceCreate=false) const |
Lookup and return a const sub-objectRegistry. Optionally create. More... | |
template<class Type > | |
HashTable< const Type * > | lookupClass (const bool strict=false) const |
Lookup and return all objects of the given Type. More... | |
template<class Type > | |
HashTable< Type * > | lookupClass (const bool strict=false) |
Lookup and return all objects of the given Type. More... | |
template<class Type > | |
bool | foundObject (const word &name) const |
Is the named Type found? More... | |
template<class Type > | |
const Type & | lookupObject (const word &name) const |
Lookup and return the object of the given Type. More... | |
template<class Type > | |
Type & | lookupObjectRef (const word &name) const |
label | getEvent () const |
Return new event number. More... | |
virtual void | rename (const word &newName) |
Rename. More... | |
bool | checkIn (regIOobject &) const |
Add an regIOobject to registry. More... | |
bool | checkOut (regIOobject &) const |
Remove an regIOobject from registry. More... | |
virtual bool | modified () const |
Return true if any of the object's files have been modified. More... | |
void | readModifiedObjects () |
Read the objects that have been modified. More... | |
virtual bool | readIfModified () |
Read object if modified. More... | |
virtual bool | writeData (Ostream &) const |
writeData function required by regIOobject but not used More... | |
virtual bool | writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const |
Write the objects. More... | |
template<class Type > | |
Foam::wordList | names () const |
template<class Type > | |
Foam::wordList | names (const wordRe &name) const |
template<class Type > | |
Foam::wordList | names (const wordReList &patterns) 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") | |
Runtime type information. More... | |
regIOobject (const IOobject &, const bool isTime=false) | |
Construct from IOobject. Optional flag for if IOobject is the. More... | |
regIOobject (const regIOobject &) | |
Construct as copy. More... | |
regIOobject (const regIOobject &, bool registerCopy) | |
Construct as copy, transferring registry registration to copy. More... | |
regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
Construct as copy with new name, transfering registry registration. More... | |
regIOobject (const IOobject &, const regIOobject &) | |
Construct as copy with new IO parameters. More... | |
virtual | ~regIOobject () |
Destructor. More... | |
bool | checkIn () |
Add object to registry. More... | |
bool | checkOut () |
Remove object from registry. More... | |
bool | ownedByRegistry () const |
Is this object owned by the registry? More... | |
void | store () |
Transfer ownership of this object to its registry. More... | |
void | release () |
Release ownership of this object from its registry. More... | |
label | eventNo () const |
Event number at last update. More... | |
label & | eventNo () |
Event number at last update. More... | |
bool | upToDate (const regIOobject &) const |
Return true if up-to-date with respect to given object. More... | |
bool | upToDate (const regIOobject &, const regIOobject &) const |
Return true if up-to-date with respect to given objects. More... | |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
Return true if up-to-date with respect to given objects. More... | |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
Return true if up-to-date with respect to given objects. More... | |
void | setUpToDate () |
Set up to date (obviously) More... | |
Istream & | readStream (const word &) |
Return Istream and check object type against that given. More... | |
void | close () |
Close Istream. More... | |
virtual bool | readData (Istream &) |
Virtual readData function. More... | |
virtual bool | read () |
Read object. More... | |
label | watchIndex () const |
Return file-monitoring handle. More... | |
label & | watchIndex () |
Return file-monitoring handle. More... | |
virtual bool | write () const |
Write using setting from DB. More... | |
void | operator= (const IOobject &) |
![]() | |
TypeName ("IOobject") | |
Runtime type information. More... | |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from name, instance, registry, io options. More... | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from name, instance, local, registry, io options. More... | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from path, registry, io options. More... | |
IOobject (const IOobject &io, const word &name) | |
Construct as copy resetting name. More... | |
Foam::autoPtr< IOobject > | clone () const |
Clone. More... | |
virtual | ~IOobject () |
Destructor. More... | |
const Time & | time () const |
Return time. More... | |
const objectRegistry & | db () const |
Return the local objectRegistry. More... | |
const word & | name () const |
Return name. More... | |
const word & | headerClassName () const |
Return name of the class name read from header. More... | |
string & | note () |
Return non-constant access to the optional note. More... | |
const string & | note () const |
Return the optional note. More... | |
bool & | registerObject () |
Register object created from this IOobject with registry if true. More... | |
bool | registerObject () const |
Register object created from this IOobject with registry if true. More... | |
readOption | readOpt () const |
readOption & | readOpt () |
writeOption | writeOpt () const |
writeOption & | writeOpt () |
word | group () const |
Return group (extension part of name) More... | |
word | member () const |
Return member (name without the extension) More... | |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const |
fileName & | instance () |
const fileName & | local () const |
fileName | path () const |
Return complete path. More... | |
fileName | path (const word &instance, const fileName &local="") const |
Return complete path with alternative instance and local. More... | |
fileName | objectPath () const |
Return complete path + object name. More... | |
fileName | filePath () const |
Return complete path + object name if the file exists. More... | |
bool | readHeader (Istream &) |
Read header. More... | |
bool | headerOk () |
Read and check header info. More... | |
bool | writeHeader (Ostream &) const |
Write header. More... | |
bool | writeHeader (Ostream &, const word &objectType) const |
Write header. Allow override of type. More... | |
bool | good () const |
bool | bad () const |
InfoProxy< IOobject > | info () const |
Return info proxy. More... | |
void | operator= (const IOobject &) |
template<class Name > | |
Foam::word | groupName (Name name, const word &group) |
![]() | |
bool | set (const Key &, const T &newElmt) |
Assign a new hashedEntry, overwriting existing entries. More... | |
HashTable (const label size=128) | |
Construct given initial table size. More... | |
HashTable (Istream &, const label size=128) | |
Construct from Istream. More... | |
HashTable (const HashTable< T, Key, Hash > &) | |
Construct as copy. More... | |
HashTable (const Xfer< HashTable< T, Key, Hash > > &) | |
Construct by transferring the parameter contents. More... | |
~HashTable () | |
Destructor. More... | |
label | capacity () const |
The size of the underlying table. More... | |
label | size () const |
Return number of elements in table. More... | |
bool | empty () const |
Return true if the hash table is empty. More... | |
bool | found (const Key &) const |
Return true if hashedEntry is found in table. More... | |
iterator | find (const Key &) |
Find and return an iterator set at the hashedEntry. More... | |
const_iterator | find (const Key &) const |
Find and return an const_iterator set at the hashedEntry. More... | |
List< Key > | toc () const |
Return the table of contents. More... | |
List< Key > | sortedToc () const |
Return the table of contents as a sorted list. More... | |
Ostream & | printInfo (Ostream &) const |
Print information. More... | |
bool | insert (const Key &, const T &newElmt) |
Insert a new hashedEntry. More... | |
bool | erase (const iterator &) |
Erase a hashedEntry specified by given iterator. More... | |
bool | erase (const Key &) |
Erase a hashedEntry specified by the given key. More... | |
label | erase (const UList< Key > &) |
Remove entries given by the listed keys from this HashTable. More... | |
label | erase (const HashTable< AnyType, Key, AnyHash > &) |
Remove entries given by the given keys from this HashTable. More... | |
Foam::label | erase (const HashTable< AnyType, Key, AnyHash > &rhs) |
void | resize (const label newSize) |
Resize the hash table for efficiency. More... | |
void | clear () |
Clear all entries from table. More... | |
void | clearStorage () |
Clear the table entries and the table itself. More... | |
void | shrink () |
Shrink the allocated table to approx. twice number of elements. More... | |
void | transfer (HashTable< T, Key, Hash > &) |
Transfer the contents of the argument table into this table. More... | |
Xfer< HashTable< T, Key, Hash > > | xfer () |
Transfer contents to the Xfer container. More... | |
T & | operator[] (const Key &) |
Find and return a hashedEntry. More... | |
const T & | operator[] (const Key &) const |
Find and return a hashedEntry. More... | |
T & | operator() (const Key &) |
Find and return a hashedEntry, create it null if not present. More... | |
void | operator= (const HashTable< T, Key, Hash > &) |
Assignment. More... | |
bool | operator== (const HashTable< T, Key, Hash > &) const |
Equality. Hash tables are equal if the keys and values are equal. More... | |
bool | operator!= (const HashTable< T, Key, Hash > &) const |
The opposite of the equality operation. Takes linear time. More... | |
iterator | begin () |
Iterator set to the beginning of the HashTable. More... | |
const_iterator | begin () const |
const_iterator set to the beginning of the HashTable More... | |
const_iterator | cbegin () const |
const_iterator set to the beginning of the HashTable More... | |
Private Member Functions | |
bool | parentNotTime () const |
Is the objectRegistry parent_ different from time_. More... | |
objectRegistry (const objectRegistry &) | |
Disallow Copy constructor. More... | |
void | operator= (const objectRegistry &) |
Disallow default bitwise copy construct and assignment. More... | |
Private Attributes | |
const Time & | time_ |
Master time objectRegistry. More... | |
const objectRegistry & | parent_ |
Parent objectRegistry. More... | |
fileName | dbDir_ |
Local directory path of this objectRegistry relative to time. More... | |
label | event_ |
Current event. More... | |
Additional Inherited Members | |
![]() | |
enum | fileCheckTypes { timeStamp, timeStampMaster, inotify, inotifyMaster } |
Types of communications. More... | |
![]() | |
enum | objectState { GOOD, BAD } |
Enumeration defining the valid states of an IOobject. More... | |
enum | readOption { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ } |
Enumeration defining the read options. More... | |
enum | writeOption { AUTO_WRITE = 0, NO_WRITE = 1 } |
Enumeration defining the write options. More... | |
![]() | |
typedef T | value_type |
Type of values the HashTable contains. More... | |
typedef T & | reference |
Type that can be used for storing into HashTable::value_type. More... | |
typedef label | size_type |
The type that can represent the size of a HashTable. More... | |
![]() | |
template<class Type > | |
static Type & | store (Type *) |
Transfer ownership of the given object pointer to its registry. More... | |
template<class Type > | |
static Type & | store (autoPtr< Type > &) |
Transfer ownership of the given object pointer to its registry. More... | |
![]() | |
static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
Split path into instance, local, name components. More... | |
template<class Name > | |
static word | groupName (Name name, const word &group) |
template<class Stream > | |
static Stream & | writeBanner (Stream &os, bool noHint=false) |
Write the standard OpenFOAM file/dictionary banner. More... | |
template<class Stream > | |
static Stream & | writeDivider (Stream &os) |
Write the standard file section divider. More... | |
template<class Stream > | |
static Stream & | writeEndDivider (Stream &os) |
Write the standard end file divider. More... | |
static void | replaceFileName (const word &from, const word &to) |
![]() | |
const typedef T & | const_reference |
Type that can be used for storing into constant. More... | |
![]() | |
static const NamedEnum< fileCheckTypes, 4 > | fileCheckTypesNames |
static int | fileModificationSkew |
static fileCheckTypes | fileModificationChecking |
![]() | |
Istream * | objectStream () |
Construct and return an IFstream for the object. More... | |
Istream * | objectStream (const fileName &) |
Construct and return an IFstream for the object given the. More... | |
void | setBad (const string &) |
Set the object state to bad. More... | |
![]() | |
static bool | masterOnlyReading = false |
To flag master-only reading of objects. More... | |
|
private |
Disallow Copy constructor.
|
explicit |
Construct the time objectRegistry given an initial estimate.
for the number of entries
Definition at line 48 of file objectRegistry.C.
|
explicit |
Construct a sub-registry given an IObject to describe the registry.
and an initial estimate for the number of entries
Definition at line 75 of file objectRegistry.C.
References IOobject::AUTO_WRITE.
|
virtual |
Destructor.
Definition at line 93 of file objectRegistry.C.
|
private |
Is the objectRegistry parent_ different from time_.
Used to terminate searching within the ancestors
Definition at line 39 of file objectRegistry.C.
References objectRegistry::parent_, and objectRegistry::time_.
|
private |
Disallow default bitwise copy construct and assignment.
TypeName | ( | "objectRegistry" | ) |
Declare type name for this IOobject.
|
inline |
Return time.
Definition at line 117 of file objectRegistry.H.
References objectRegistry::time_.
Referenced by fieldAverage::addMeanFieldType(), blendingFactor::calc(), mappedPatchBase::calcMapping(), meshToMesh::calculate(), sampledSurfaces::classifyFields(), cellToFace::combine(), coupleGroupIdentifier::findOtherPatchID(), streamLineBase::initInterpolations(), IOobjectList::IOobjectList(), main(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), Foam::MapLagrangianFields(), Foam::MapMesh(), meshReader::mesh(), triSurfaceMesh::movePoints(), regionCoupledBase::neighbPatch(), regionCoupledBase::neighbPatchID(), coordinateSystems::New(), GAMGAgglomeration::New(), displacementMotionSolver::points0IO(), polyMesh::polyMesh(), refinementFeatures::read(), parLagrangianRedistributor::readLagrangianFields(), regionCoupledBase::resetAMI(), mappedPatchBase::sampleMesh(), triSurfaceMesh::setField(), fvMesh::time(), IOobject::time(), MPPICParcel::TrackingData< CloudType >::updateAverages(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), timeActivatedFileUpdate::updateFile(), polyMesh::updateMesh(), setUpdater::updateSets(), polyMeshFilter::updateSets(), machWriter::write(), yPlusWriter::write(), vorticityWriter::write(), wallHeatFluxWriter::write(), wallShearStressWriter::write(), streamLineBase::write(), molecule::writeFields(), sampledSurfaces::writeGeometry(), meshReader::writeInterfaces(), and meshReader::writeMeshLabelList().
|
inline |
Return the parent objectRegistry.
Definition at line 123 of file objectRegistry.H.
References objectRegistry::parent_.
|
inlinevirtual |
Local directory path of this objectRegistry relative to the time.
Reimplemented in polyMesh, Time, Time, and Time.
Definition at line 129 of file objectRegistry.H.
References objectRegistry::dbDir_.
Referenced by polyMesh::dbDir(), IOobjectList::IOobjectList(), surfMesh::surfMesh(), and IOobject::writeHeader().
Foam::wordList names | ( | ) | const |
Return the list of names of the IOobjects.
Definition at line 115 of file objectRegistry.C.
References HashTable::toc().
Referenced by streamLineBase::initInterpolations(), subTriSurfaceMesh::patchNames(), and vtkUnstructuredReader::printFieldStats().
Foam::wordList sortedNames | ( | ) | const |
Return the sorted list of names of the IOobjects.
Definition at line 121 of file objectRegistry.C.
References HashTable::sortedToc().
Referenced by sampledSurfaces::classifyFields().
Foam::wordList names | ( | const word & | className | ) | const |
Return the list of names of IOobjects of given class name.
Definition at line 127 of file objectRegistry.C.
References ClassName, and List::setSize().
Foam::wordList sortedNames | ( | const word & | className | ) | const |
Return the sorted list of names of IOobjects of given class name.
Definition at line 146 of file objectRegistry.C.
References ClassName, and Foam::sort().
wordList names | ( | ) | const |
Return the list of names of the IOobjects of given type.
Return the list of objects whose name matches the input regExp.
wordList names | ( | const wordReList & | name | ) | const |
Return the list of objects whose name matches the input regExp.
const Foam::objectRegistry & subRegistry | ( | const word & | name, |
const bool | forceCreate = false |
||
) | const |
Lookup and return a const sub-objectRegistry. Optionally create.
it if it does not exist.
Definition at line 156 of file objectRegistry.C.
References Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, and regIOobject::store().
Referenced by uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs().
HashTable<const Type*> lookupClass | ( | const bool | strict = false | ) | const |
Lookup and return all objects of the given Type.
Referenced by meshObject::clear(), meshObject::clearUpto(), coupleGroupIdentifier::findOtherPatchID(), basicThermo::lookupThermo(), meshObject::movePoints(), parLagrangianRedistributor::redistributeStoredLagrangianFields(), and meshObject::updateMesh().
HashTable<Type*> lookupClass | ( | const bool | strict = false | ) |
Lookup and return all objects of the given Type.
bool foundObject | ( | const word & | name | ) | const |
Is the named Type found?
Definition at line 142 of file objectRegistryTemplates.C.
References Foam::name().
Referenced by refinementHistoryConstraint::add(), fieldAverage::addMeanFieldType(), refinementHistoryConstraint::apply(), DEShybrid< Type >::blendingFactor(), blendingFactor::calc(), calcFvcGrad::calcGrad(), nutkFilmWallFunctionFvPatchScalarField::calcUTau(), turbulenceFields::compressible(), regionModel::constructMeshObjects(), wallShearStressWriter::devRhoReff(), codedFixedValuePointPatchField< Type >::dict(), codedFixedValueFvPatchField< Type >::dict(), codedMixedFvPatchField< Type >::dict(), DispersionRASModel< CloudType >::epsilonModel(), Peclet::execute(), DESModelRegions::execute(), yPlus::execute(), wallShearStress::execute(), sampledIsoSurface::getIsoFields(), wallHeatFluxWriter::htc(), streamLineBase::initInterpolations(), liquidFilmThermo::initLiquid(), DispersionRASModel< CloudType >::kModel(), BrownianMotionForce< CloudType >::kModel(), readFields::loadField(), basicThermo::lookupThermo(), regionModel::mapRegionPatchField(), regionModel::mapRegionPatchInternalField(), coordinateSystems::New(), GAMGAgglomeration::New(), meshOptimizer::optimizeBoundaryLayer(), VTKsurfaceFormat< Face >::read(), thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField(), triSurfaceMeshPointSet::triSurfaceMeshPointSet(), meshOptimizer::untangleBoundaryLayer(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), sampledThresholdCellFaces::updateGeometry(), sampledIsoSurfaceCell::updateGeometry(), cellSource::validField(), faceSource::validField(), machWriter::write(), yPlusWriter::write(), and residuals::writeResidual().
const Type & lookupObject | ( | const word & | name | ) | const |
Lookup and return the object of the given Type.
Definition at line 165 of file objectRegistryTemplates.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::nl.
Referenced by boundaryRadiationPropertiesFvPatchField::absorptivity(), refinementHistoryConstraint::add(), functionObjectCloud::addGeometryToScene(), fieldAverage::addMeanFieldType(), interRegionExplicitPorositySource::addSup(), interRegionHeatTransferModel::addSup(), refinementHistoryConstraint::apply(), DEShybrid< Type >::blendingFactor(), scalarTransport::boundaryTypes(), blendingFactor::calc(), calcFvcGrad::calcGrad(), surfaceSlipDisplacementPointPatchVectorField::calcProjection(), surfaceDisplacementPointPatchVectorField::calcProjection(), tabulatedHeatTransfer::calculateHtc(), variableHeatTransfer::calculateHtc(), motionDirectionalDiffusivity::correct(), limitTemperature::correct(), solidificationMeltingSource::Cp(), wallShearStressWriter::devRhoReff(), codedFixedValuePointPatchField< Type >::dict(), codedFixedValueFvPatchField< Type >::dict(), codedMixedFvPatchField< Type >::dict(), boundaryRadiationPropertiesFvPatchField::emissivity(), DispersionRASModel< CloudType >::epsilonModel(), Peclet::execute(), Lambda2::execute(), DESModelRegions::execute(), Q::execute(), CourantNo::execute(), yPlus::execute(), wallShearStress::execute(), workflowControls::exitAfterCurrentStep(), sampledIsoSurface::getIsoFields(), wallHeatFluxWriter::htc(), interRegionExplicitPorositySource::initialise(), streamLineBase::initInterpolations(), liquidFilmThermo::initLiquid(), DispersionRASModel< CloudType >::kModel(), BrownianMotionForce< CloudType >::kModel(), basicThermo::lookupThermo(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), regionModel::mapRegionPatchField(), regionModel::mapRegionPatchInternalField(), displacementMotionSolverMeshMover::move(), medialAxisMeshMover::move(), movingImmersedBoundary::movePoints(), regionCoupledBaseFvPatch::nbrFvMesh(), regionCoupledBaseGAMGInterface::nbrLduInterface(), regionCoupledBaseFvPatch::nbrMesh(), regionCoupledBase::neighbPatch(), regionCoupledBase::neighbPatchID(), coordinateSystems::New(), GAMGAgglomeration::New(), meshOptimizer::optimizeBoundaryLayer(), vtkUnstructuredReader::printFieldStats(), radiationTemperature(), VTKsurfaceFormat< Face >::read(), regionModel::regionMesh(), workflowControls::restartRequested(), wallShearStressWriter::rho(), patchProbes::sample(), probes::sampleAndWrite(), sampledSets::sampleAndWrite(), mappedPatchBase::sampleMesh(), searchableSurfaceCollection::searchableSurfaceCollection(), searchableSurfaceWithGaps::searchableSurfaceWithGaps(), fvMeshDistribute::sendFields(), interRegionOption::setMapper(), energyRegionCoupledFvPatchScalarField::setMethod(), interRegionHeatTransferModel::setNbrModel(), subTriSurfaceMesh::subset(), Taverage(), boundaryRadiationPropertiesFvPatchField::transmissivity(), triSurfaceMeshPointSet::triSurfaceMeshPointSet(), Uaverage(), meshOptimizer::untangleBoundaryLayer(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), fWallFunctionFvPatchScalarField::updateCoeffs(), v2WallFunctionFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), omegaWallFunctionFvPatchScalarField::updateCoeffs(), sampledThresholdCellFaces::updateGeometry(), sampledIsoSurfaceCell::updateGeometry(), yPlusWriter::write(), machWriter::write(), vorticityWriter::write(), wallHeatFluxWriter::write(), cloudInfo::write(), and residuals::writeResidual().
Type & lookupObjectRef | ( | const word & | name | ) | const |
Definition at line 208 of file objectRegistryTemplates.C.
References Foam::name().
Foam::label getEvent | ( | ) | const |
Return new event number.
Definition at line 180 of file objectRegistry.C.
References Foam::endl(), Foam::labelMax, Foam::nl, and WarningInFunction.
|
virtual |
Rename.
Reimplemented from regIOobject.
Definition at line 275 of file objectRegistry.C.
References regIOobject::rename(), and string::replace().
bool checkIn | ( | regIOobject & | io | ) | const |
Add an regIOobject to registry.
Definition at line 207 of file objectRegistry.C.
References Foam::endl(), HashTable::insert(), Foam::name(), IOobject::name(), and Foam::Pout.
bool checkOut | ( | regIOobject & | io | ) | const |
Remove an regIOobject from registry.
Definition at line 221 of file objectRegistry.C.
References Foam::endl(), HashTable::erase(), HashTable::find(), Foam::name(), IOobject::name(), regIOobject::ownedByRegistry(), Foam::Pout, and WarningInFunction.
Referenced by meshObject::clear(), meshObject::clearUpto(), meshObject::movePoints(), fieldAverage::resetFields(), and meshObject::updateMesh().
|
virtual |
Return true if any of the object's files have been modified.
Reimplemented from regIOobject.
Definition at line 293 of file objectRegistry.C.
References forAllConstIter().
Referenced by Time::readModifiedObjects().
void readModifiedObjects | ( | ) |
Read the objects that have been modified.
Definition at line 307 of file objectRegistry.C.
References Foam::endl(), Foam::name(), and Foam::Pout.
Referenced by Time::readModifiedObjects().
|
virtual |
Read object if modified.
Reimplemented from regIOobject.
Definition at line 323 of file objectRegistry.C.
|
inlinevirtual |
writeData function required by regIOobject but not used
for this class, write is used instead
Implements regIOobject.
Reimplemented in triSurfaceMesh.
Definition at line 218 of file objectRegistry.H.
|
virtual |
Write the objects.
Reimplemented from regIOobject.
Reimplemented in Time, Time, Time, distributedTriSurfaceMesh, triSurfaceMesh, and dynamicRefineFvMesh.
Definition at line 331 of file objectRegistry.C.
References Foam::endl(), forAllConstIter(), Foam::name(), and Foam::Pout.
Referenced by meshReader::writeMesh(), Time::writeObject(), and fvMesh::writeObjects().
Foam::wordList names | ( | ) | const |
Definition at line 32 of file objectRegistryTemplates.C.
References forAllConstIter(), List::setSize(), and HashTable< regIOobject * >::size().
Foam::wordList names | ( | const wordRe & | name | ) | const |
Definition at line 52 of file objectRegistryTemplates.C.
References forAllConstIter(), string::match(), Foam::name(), and List::setSize().
Foam::wordList names | ( | const wordReList & | patterns | ) | const |
Definition at line 77 of file objectRegistryTemplates.C.
References Foam::findStrings().
Foam::HashTable<const Type*> lookupClass | ( | const bool | strict | ) | const |
Definition at line 87 of file objectRegistryTemplates.C.
References forAllConstIter(), HashTable::insert(), and Foam::name().
Foam::HashTable<Type*> lookupClass | ( | const bool | strict | ) |
Definition at line 115 of file objectRegistryTemplates.C.
References forAllIter, HashTable::insert(), and Foam::name().
|
private |
Master time objectRegistry.
Definition at line 58 of file objectRegistry.H.
Referenced by objectRegistry::parentNotTime(), and objectRegistry::time().
|
private |
Parent objectRegistry.
Definition at line 61 of file objectRegistry.H.
Referenced by objectRegistry::parent(), and objectRegistry::parentNotTime().
|
private |
Local directory path of this objectRegistry relative to time.
Definition at line 64 of file objectRegistry.H.
Referenced by objectRegistry::dbDir().
|
mutableprivate |
Current event.
Definition at line 67 of file objectRegistry.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.