50 if (mesh_.name() == nbrMesh.
name())
53 <<
"Inter-region model selected, but local and " 54 <<
"neighbour regions are the same: " <<
nl 55 <<
" local region: " << mesh_.name() <<
nl 56 <<
" secondary region: " << nbrMesh.
name() <<
nl 60 if (mesh_.bounds().overlaps(nbrMesh.
bounds()))
70 coeffs_.lookup(
"interpolationMethod")
79 <<
"regions " << mesh_.name() <<
" and " 80 << nbrMesh.
name() <<
" do not intersect" 92 const word& modelType,
104 master_(coeffs_.lookupOrDefault<
bool>(
"master",
true)),
105 nbrRegionName_(coeffs_.lookup(
"nbrRegionName")),
defineTypeNameAndDebug(option, 0)
Ostream & indent(Ostream &os)
Indent stream.
interRegionOption(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~interRegionOption()
Destructor.
static const NamedEnum< interpolationMethod, 3 > interpolationMethodNames_
Class to calculate the cell-addressing between two overlapping meshes.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
const boundBox & bounds() const
Return mesh bounding box.
const word & name() const
Return reference to name.
Mesh data needed to do the Finite Volume discretisation.
void setMapper()
Set the mesh to mesh interpolation object.
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...