Go to the documentation of this file.
42 #ifndef triSurfaceLoader_H
43 #define triSurfaceLoader_H
56 class triSurfaceLoader;
153 label
select(
const wordRe& mat);
156 label
select(
const UList<wordRe>& matcher);
161 autoPtr<triSurface>
load
164 const scalar scaleFactor = -1
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
A class for handling file names.
static const Enum< loadingOption > loadingOptionNames
const hashedWordList & available() const
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
@ FILE_REGION
"file" = One region for each file
label select(const word &name)
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
@ MERGE_REGION
"merge" = Merge regions by name
~triSurfaceLoader()=default
const hashedWordList & selected() const
Convenience class for loading single or multiple surface files from the constant/triSurface (or other...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
@ SINGLE_REGION
"single" = One region for all files
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
word name(const expressions::valueTypeCode typeCode)
@ OFFSET_REGION
"offset" = Offset regions per file
const fileName & directory() const
autoPtr< triSurface > load(const enum loadingOption opt=loadingOption::OFFSET_REGION, const scalar scaleFactor=-1) const