Public Member Functions | |
systemControl (const fileSystem path=CWD()) | |
systemControl (const real startTime, const real endTime, const real saveInterval, const word startTimeName, const fileSystem path=CWD()) | |
const repository & | settings () const |
repository & | settings () |
const repository & | caseSetup () const |
repository & | caseSetup () |
const Time & | time () const |
Time & | time () |
const repository & | geometry () const |
repository & | geometry () |
const Timers & | timers () const |
Timers & | timers () |
bool | timersReport () const |
const fileDictionary & | settingsDict () const |
fileDictionary & | settingsDict () |
virtual word | runName () const |
const realx3 | g () const |
bool | operator++ (int) |
void | setSaveTimeFolder (bool saveToFile, const word &timeName="wrongTimeFolder") |
size_t | outFilePrecision () const override |
bool | isIncluded (const word &objName) const final |
bool | isExcluded (const word &objName) const final |
void | clearIncludeExclude () |
bool | addInclude (const word &objName) |
bool | addExclude (const word &objName) |
![]() | |
TypeInfo ("repository") | |
repository (const word &name, const fileSystem &localPath, repository *owner=nullptr) | |
repository (const repository &)=delete | |
repository & | operator= (const repository &)=delete |
virtual | ~repository () |
word | name () const |
virtual fileSystem | localPath () const |
virtual fileSystem | path () const |
const repository * | owner () const |
repository * | owner () |
const repository & | thisRepository () const |
repository & | thisRepository () |
bool | addToRepository (repository *rep) |
add repository to this repository return false if the name already exists More... | |
bool | removeFromRepository (repository *rep) |
remove rep from the list of repositories More... | |
bool | addToRepository (IOobject *io) |
add IOobject to this repository More... | |
bool | removeFromRepository (IOobject *io) |
remove rep from the list of repositories More... | |
repository * | releaseOwner (bool fromOwner=false) |
bool | lookupObjectName (const word &nm) const |
word | lookupObjectTypeName (const word &nm) const |
bool | globalLookupObjectName (const word &nm, bool downward=false) const |
bool | lookupRepositoryName (const word &nm) const |
bool | lookupName (const word nm) const |
size_t | numObjects () const |
size_t | numRepositories () const |
template<typename T > | |
T & | lookupObject (const word &name) |
return a ref to the underlaying data in the object More... | |
template<typename T > | |
const T & | lookupObject (const word &name) const |
return a const ref to the underlaying data in the object More... | |
repository & | lookupRepository (const word &name) |
wordList | objectNames () const |
wordList | repositoryNames () const |
virtual bool | outFileBinary () const |
virtual bool | write (bool verbose=false) const |
template<typename Type1 > | |
pFlow::word | reportTypeError (IOobject &object) const |
Protected Member Functions | |
bool | readIncludeExclue (const dictionary &dict) |
Static Protected Member Functions | |
static word | getRunName (const fileSystem &path) |
static word | getTopFolder (const fileSystem &path) |
Protected Attributes | |
const word | runName_ |
const fileSystem | topLevelFolder_ |
uniquePtr< fileDictionary > | settingsDict_ |
settingsDict fileDictionary More... | |
Time | Time_ |
time repository More... | |
uniquePtr< repository > | settings_ |
settings folder repository More... | |
uniquePtr< repository > | caseSetup_ |
caseSetup folder repository More... | |
dynamicLinkLibs | libs_ |
extra libs to be loaded More... | |
size_t | outFilePrecision_ = 6 |
precision for writing to file More... | |
bool | externalTimeControl_ = false |
if time control is managed externaly More... | |
Timers | timers_ |
Logical | timersReport_ |
Timer | writeToFileTimer_ |
wordSet | includeList_ |
wordSet | excludeList_ |
Definition at line 41 of file systemControl.hpp.
systemControl | ( | const fileSystem | path = CWD() | ) |
Definition at line 100 of file systemControl.cpp.
References systemControl::readIncludeExclue(), and systemControl::settingsDict_.
systemControl | ( | const real | startTime, |
const real | endTime, | ||
const real | saveInterval, | ||
const word | startTimeName, | ||
const fileSystem | path = CWD() |
||
) |
Definition at line 136 of file systemControl.cpp.
References systemControl::readIncludeExclue(), and systemControl::settingsDict_.
|
protected |
Definition at line 28 of file systemControl.cpp.
References dictionary::containsDataEntry(), systemControl::excludeList_, dictionary::getVal(), and systemControl::includeList_.
Referenced by systemControl::systemControl().
|
staticprotected |
Definition at line 50 of file systemControl.cpp.
References fileSystem::canonical(), fatalErrorInFunction, fatalExit, and fileSystem::wordPath().
|
staticprotected |
Definition at line 75 of file systemControl.cpp.
References fileSystem::canonical(), fatalErrorInFunction, fatalExit, and fileSystem::wordPath().
|
inline |
Definition at line 105 of file systemControl.hpp.
References systemControl::settings_.
Referenced by positionParticles::positionParticles().
|
inline |
Definition at line 109 of file systemControl.hpp.
References systemControl::settings_.
|
inline |
Definition at line 113 of file systemControl.hpp.
References systemControl::caseSetup_.
Referenced by interaction::create().
|
inline |
Definition at line 117 of file systemControl.hpp.
References systemControl::caseSetup_.
|
inline |
Definition at line 122 of file systemControl.hpp.
References systemControl::Time_.
Referenced by pFlow::applySelector(), pFlow::PFtoVTK::convertTimeFolderPointFields(), pFlow::PFtoVTK::convertTimeFolderPointFieldsSelected(), pFlow::TSFtoVTK::convertTimeFolderTriSurfaceFields(), and geometry::create().
|
inline |
Definition at line 127 of file systemControl.hpp.
References systemControl::Time_.
|
inline |
Definition at line 132 of file systemControl.hpp.
References Time::geometry(), and systemControl::Time_.
Referenced by pFlow::TSFtoVTK::convertTimeFolderTriSurfaceFields().
|
inline |
Definition at line 137 of file systemControl.hpp.
References Time::geometry(), and systemControl::Time_.
|
inline |
Definition at line 142 of file systemControl.hpp.
References systemControl::timers_.
|
inline |
Definition at line 147 of file systemControl.hpp.
References systemControl::timers_.
|
inline |
Definition at line 152 of file systemControl.hpp.
References systemControl::timersReport_.
|
inline |
Definition at line 157 of file systemControl.hpp.
References systemControl::settingsDict_.
|
inline |
Definition at line 161 of file systemControl.hpp.
References systemControl::settingsDict_.
|
inlinevirtual |
Definition at line 168 of file systemControl.hpp.
References systemControl::runName_.
|
inline |
Definition at line 173 of file systemControl.hpp.
References systemControl::settingsDict_.
bool operator++ | ( | int | ) |
Definition at line 182 of file systemControl.cpp.
References fatalErrorInFunction, and pFlow::mOutput.
|
inline |
Definition at line 180 of file systemControl.hpp.
References timeControl::setSaveTimeFolder(), and systemControl::Time_.
|
inlineoverridevirtual |
Reimplemented from repository.
Definition at line 187 of file systemControl.hpp.
References systemControl::outFilePrecision_.
|
inlinefinalvirtual |
Reimplemented from repository.
Definition at line 193 of file systemControl.hpp.
References systemControl::includeList_.
|
inlinefinalvirtual |
Reimplemented from repository.
Definition at line 199 of file systemControl.hpp.
References systemControl::excludeList_.
|
inline |
Definition at line 204 of file systemControl.hpp.
References systemControl::excludeList_, and systemControl::includeList_.
|
inline |
Definition at line 210 of file systemControl.hpp.
References systemControl::includeList_.
|
inline |
Definition at line 216 of file systemControl.hpp.
References systemControl::excludeList_.
|
protected |
Definition at line 48 of file systemControl.hpp.
Referenced by systemControl::runName().
|
protected |
Definition at line 51 of file systemControl.hpp.
|
protected |
settingsDict fileDictionary
Definition at line 54 of file systemControl.hpp.
Referenced by systemControl::g(), systemControl::settingsDict(), and systemControl::systemControl().
|
protected |
time repository
Definition at line 57 of file systemControl.hpp.
Referenced by systemControl::geometry(), systemControl::setSaveTimeFolder(), and systemControl::time().
|
protected |
settings folder repository
Definition at line 60 of file systemControl.hpp.
Referenced by systemControl::settings().
|
protected |
caseSetup folder repository
Definition at line 63 of file systemControl.hpp.
Referenced by systemControl::caseSetup().
|
protected |
extra libs to be loaded
Definition at line 66 of file systemControl.hpp.
|
protected |
precision for writing to file
Definition at line 69 of file systemControl.hpp.
Referenced by systemControl::outFilePrecision().
|
protected |
if time control is managed externaly
Definition at line 73 of file systemControl.hpp.
|
protected |
Definition at line 76 of file systemControl.hpp.
Referenced by systemControl::timers().
|
protected |
Definition at line 78 of file systemControl.hpp.
Referenced by systemControl::timersReport().
|
protected |
Definition at line 80 of file systemControl.hpp.
|
protected |
Definition at line 82 of file systemControl.hpp.
Referenced by systemControl::addInclude(), systemControl::clearIncludeExclude(), systemControl::isIncluded(), and systemControl::readIncludeExclue().
|
protected |
Definition at line 84 of file systemControl.hpp.
Referenced by systemControl::addExclude(), systemControl::clearIncludeExclude(), systemControl::isExcluded(), and systemControl::readIncludeExclue().