55 <<
"Inter-region model selected, but local and "
56 <<
"neighbour regions are the same: " <<
nl
58 <<
" secondary region: " << nbrMesh.name() <<
nl
72 "interpolationMethod",
90 << nbrMesh.name() <<
" do not intersect"
102 const word& modelType,
114 master_(coeffs_.getOrDefault(
"master", true)),
115 nbrRegionName_(coeffs_.get<
word>(
"nbrRegion")),
virtual bool read()
Re-read model coefficients if they have changed.
bool overlaps(const boundBox &bb) const
Overlaps/touches boundingBox?
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.
const Time & time() const
Return the top-level database.
const word & name() const
Return reference to name.
Intermediate class for handling inter-region exchanges.
word nbrRegionName_
Name of the neighbour region to map.
autoPtr< meshToMesh > meshInterpPtr_
Mesh to mesh interpolation object.
void setMapper()
Set the mesh to mesh interpolation object.
bool master_
Master or slave region.
Base abstract class for handling finite volume options (i.e. fvOption).
const fvMesh & mesh_
Reference to the mesh database.
bool active() const noexcept
True if source is active.
dictionary coeffs_
Dictionary containing source coefficients.
Class to calculate the cell-addressing between two overlapping meshes.
static const Enum< procMapMethod > procMapMethodNames_
static const Enum< interpolationMethod > interpolationMethodNames_
const Type & lookupObject(const word &name, const bool recursive=false) const
const boundBox & bounds() const
Return mesh bounding box.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indent(Ostream &os)
Indent stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)