34 namespace functionObjects
49 if (
dict.found(
"patch"))
51 const word patchName(
dict.lookup(
"patch"));
64 else if (
dict.found(
"patches"))
76 <<
"Neither 'patch' or 'patches' specified"
A 1D vector of objects of type <T> with a fixed size <Size>.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
const fvMesh & mesh_
Reference to the fvMesh.
labelHashSet patchSet(const dictionary &, const bool optional=false) const
Return the patch set corresponding to the patch selection entries.
virtual ~fvMeshFunctionObject()
Destructor.
Specialisation of Foam::functionObject for a region and providing a reference to the region Foam::obj...
Mesh data needed to do the Finite Volume discretisation.
Registry of regIOobjects.
label findIndex(const word &patchName) const
Find patch index given a name.
labelHashSet patchSet(const UList< wordRe > &patchNames, const bool warnNotFound=true, const bool usePatchGroups=true) const
Return the set of patch indices corresponding to the given names.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
To & refCast(From &r)
Reference type cast template function.
word name(const bool)
Return a word representation of a bool.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.