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")),
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
Ostream & indent(Ostream &os)
Indent stream.
Intermediate class for handling inter-region exchanges.
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)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const fvMesh & mesh_
Reference to the mesh database.
static const Enum< interpolationMethod > interpolationMethodNames_
static const Enum< procMapMethod > procMapMethodNames_
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Time & time() const
Return the top-level database.
virtual bool read(const dictionary &dict)
Read dictionary.
bool active() const noexcept
True if source is active.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual bool read(const dictionary &dict)
Read source dictionary.
word nbrRegionName_
Name of the neighbour region to map.
autoPtr< meshToMesh > meshInterpPtr_
Mesh to mesh interpolation object.
const word & name() const
Return reference to name.
Mesh data needed to do the Finite Volume discretisation.
messageStream Info
Information stream (stdout output on master, null elsewhere)
bool master_
Master or slave region.
const boundBox & bounds() const noexcept
Return mesh bounding box.
void setMapper()
Set the mesh to mesh interpolation object.
bool overlaps(const boundBox &bb) const
Overlaps/touches boundingBox?
dictionary coeffs_
Dictionary containing source coefficients.