Go to the documentation of this file.
53 <<
"Inter-region model selected, but local and "
54 <<
"neighbour regions are the same: " <<
nl
56 <<
" secondary region: " << nbrMesh.
name() <<
nl
80 << nbrMesh.
name() <<
" do not intersect"
92 const word& modelType,
104 master_(coeffs_.lookupOrDefault<
bool>(
"master",
true)),
105 nbrRegionName_(coeffs_.lookup(
"nbrRegionName")),
word nbrRegionName_
Name of the neighbour region to map.
A class for handling words, derived from string.
void setMapper()
Set the mesh to mesh interpolation object.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool master_
Master or slave region.
const fvMesh & mesh_
Reference to the mesh database.
static const NamedEnum< interpolationMethod, 4 > interpolationMethodNames_
Class to calculate the cell-addressing between two overlapping meshes.
Finite volume options abtract base class. Provides a base set of controls, e.g.
bool overlaps(const boundBox &) const
Overlaps/touches boundingBox?
dictionary coeffs_
Dictionary containing source coefficients.
autoPtr< meshToMesh > meshInterpPtr_
Mesh to mesh interpolation object.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Ostream & indent(Ostream &os)
Indent stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const boundBox & bounds() const
Return mesh bounding box.
defineTypeNameAndDebug(option, 0)
virtual ~interRegionOption()
Destructor.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
interRegionOption(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
virtual bool read(const dictionary &dict)
Read dictionary.
word name(const complex &)
Return a string representation of a complex.
const word & name() const
Return reference to name.