34 template<
template<
class>
class GeoField>
37 PstreamBuffers& pBufs,
38 const GeoField<Type>& internalField
41 UIPstream uips(processorPatch_.processorPatch().neighbProcNo(), pBufs);
42 Field<Type> field(uips);
46 mesh.appendSpecifiedField<Type, GeoField>
48 processorPatch_.mesh(),
49 const_cast<GeoField<Type>&
>(internalField),
89 processorPatch_(ptf.processorPatch_)
101 processorPatch_(ptf.processorPatch_)
127 UOPstream(processorPatch_.processorPatch().neighbProcNo(), pBufs)()
128 << this->primitiveSubField();
139 if (
notNull(this->internalField_))
142 evaluate<LagrangianInternalDynamicField>
149 if (
notNull(this->internalNonDynamicField_))
152 evaluate<LagrangianInternalField>
155 this->internalNonDynamicField_
160 <<
"Internal field " << this->internalIo_.name() <<
" is not of type "
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Base class for Lagrangian boundary conditions.
Base class for Lagrangian patches.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Output inter-processor communications stream operating on external buffer.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const polyMesh & mesh() const
Return the mesh reference.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A processor boundary condition for Lagrangian. Properties are communicated to and from the neighbour ...
processorLagrangianPatchField(const LagrangianPatch &, const regIOobject &)
Construct from patch and internal field.
virtual void initEvaluate(PstreamBuffers &, const LagrangianScalarInternalDynamicField &fraction)
Initialise evaluation of the patch field.
Processor Lagrangian patch. This is used for the patches that interface between processors across fac...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
To & refCast(From &r)
Reference type cast template function.
bool notNull(const T &t)
Return true if t is not a reference to the nullObject of type T.