A collection of helper functions for reading/writing surface formats. More...
Public Member Functions | |
surfaceFormatsCore ()=default | |
virtual | ~surfaceFormatsCore ()=default |
Static Public Member Functions | |
static bool | checkSupport (const wordHashSet &available, const word &fileType, const bool verbose=false, const char *functionName=nullptr) |
static fileName | findFile (const IOobject &io, const bool isGlobal=true) |
static fileName | findFile (const IOobject &io, const dictionary &dict, const bool isGlobal=true) |
Static Public Attributes | |
static word | nativeExt |
Static Protected Member Functions | |
static string | getLineNoComment (ISstream &is, const char comment='#') |
template<class Container > | |
static List< surfZone > | oneZone (const Container &container, const word &name="zone0") |
static labelList | getSelectedPatches (const surfZoneList &patches, const wordRes &allow, const wordRes &deny=wordRes()) |
static fileName | relativeFilePath (const IOobject &io, const fileName &f, const bool isGlobal=true) |
static fileName | checkFile (const IOobject &io, const bool isGlobal=true) |
static fileName | checkFile (const IOobject &io, const dictionary &dict, const bool isGlobal=true) |
Friends | |
class | ::Foam::triSurface |
A collection of helper functions for reading/writing surface formats.
Definition at line 62 of file surfaceFormatsCore.H.
|
default |
|
virtualdefault |
|
staticprotected |
Definition at line 36 of file surfaceFormatsCore.C.
References ISstream::getLine(), and IOstream::good().
|
inlinestaticprotected |
Definition at line 79 of file surfaceFormatsCore.H.
References Foam::name().
|
staticprotected |
Definition at line 53 of file surfaceFormatsCore.C.
References Foam::PtrListOps::findMatching(), and patches.
|
staticprotected |
isGlobal | resolve as a global file |
Definition at line 171 of file surfaceFormatsCore.C.
References string::expand(), f(), Foam::fileHandler(), fileOperation::filePath(), fileName::isAbsolute(), and word::null.
Referenced by triSurface::relativeFilePath().
|
staticprotected |
isGlobal | resolve as a global file |
Definition at line 250 of file surfaceFormatsCore.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOobject::globalFilePath(), IOobject::localFilePath(), Foam::nl, word::null, and IOobject::objectPath().
Referenced by triSurface::checkFile().
|
staticprotected |
isGlobal | resolve as a global file |
Definition at line 275 of file surfaceFormatsCore.C.
References dict, Foam::exists(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOobject::globalFilePath(), keyType::LITERAL, IOobject::localFilePath(), Foam::nl, word::null, and IOobject::objectPath().
|
static |
Definition at line 319 of file surfaceFormatsCore.C.
References Foam::flatOutput(), Foam::Info, and Foam::nl.
Referenced by triSurface::canReadType(), and triSurface::canWriteType().
|
static |
isGlobal | resolve as a global file |
Definition at line 197 of file surfaceFormatsCore.C.
References Foam::exists(), IOobject::globalFilePath(), IOobject::localFilePath(), and word::null.
Referenced by triSurface::findFile().
|
static |
isGlobal | resolve as a global file |
Definition at line 219 of file surfaceFormatsCore.C.
References dict, Foam::exists(), IOobject::globalFilePath(), keyType::LITERAL, IOobject::localFilePath(), and word::null.
|
friend |
Definition at line 67 of file surfaceFormatsCore.H.
|
static |
Definition at line 136 of file surfaceFormatsCore.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.