Go to the documentation of this file.
56 <<
"Inter-region model selected, but local and "
57 <<
"neighbour regions are the same: " <<
nl
59 <<
" secondary region: " << nbrMesh.
name() <<
nl
73 "interpolationMethod",
91 << nbrMesh.
name() <<
" do not intersect"
103 const word& modelType,
115 master_(coeffs_.getOrDefault(
"master",
true)),
116 nbrRegionName_(coeffs_.get<
word>(
"nbrRegion")),
static const Enum< interpolationMethod > interpolationMethodNames_
word nbrRegionName_
Name of the neighbour region to map.
A class for handling words, derived from Foam::string.
void setMapper()
Set the mesh to mesh interpolation object.
static const Enum< procMapMethod > procMapMethodNames_
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool master_
Master or slave region.
const fvMesh & mesh_
Reference to the mesh database.
bool overlaps(const boundBox &bb) const
Overlaps/touches boundingBox?
Class to calculate the cell-addressing between two overlapping meshes.
Finite volume options abstract base class. Provides a base set of controls, e.g.:
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
dictionary coeffs_
Dictionary containing source coefficients.
autoPtr< meshToMesh > meshInterpPtr_
Mesh to mesh interpolation object.
const Type & lookupObject(const word &name, const bool recursive=false) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Ostream & indent(Ostream &os)
Indent stream.
virtual bool read(const dictionary &dict)
Read source dictionary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const boundBox & bounds() const
Return mesh bounding box.
virtual ~interRegionOption()
Destructor.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const Time & time() const
Return the top-level database.
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
interRegionOption(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
virtual bool read(const dictionary &dict)
Read dictionary.
const word & name() const
Return reference to name.