41#ifndef processorFaPatchField_H
42#define processorFaPatchField_H
73 TypeName(processorFaPatch::typeName_());
237 virtual label
comm()
const
267 virtual int rank()
const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type.
commsTypes
Types of communications.
static label worldComm
Default communicator (all processors)
static bool & parRun() noexcept
Test if this a parallel run.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
bool parallel() const
Are the cyclic planes parallel.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-area patch fields.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
A traits class, which is primarily used for primitives.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
virtual tmp< faPatchField< Type > > clone() const
Construct and return a clone.
virtual bool doTransform() const
Does the patch field perform the transformation.
virtual void initInterfaceMatrixUpdate(solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
virtual int rank() const
Return rank of component for transform.
virtual bool coupled() const
Return true if running parallel.
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
virtual int myProcNo() const
Return processor number.
TypeName(processorFaPatch::typeName_())
Runtime type information.
virtual label comm() const
Processor coupled interface functions.
virtual void transformCoupleField(solveScalarField &f, const direction cmpt) const
Transform neighbour field.
virtual tmp< faPatchField< Type > > clone(const DimensionedField< Type, areaMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
tmp< Field< Type > > patchNeighbourField() const
Return neighbour field given internal field.
virtual int neighbProcNo() const
Return neighbour processor number.
virtual const tensorField & forwardT() const
Return face transformation tensor.
int neighbProcNo() const noexcept
Return neighbour processor number.
int myProcNo() const noexcept
Return processor number.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Abstract base class for processor coupled interfaces.
void transformCoupleField(Field< Type > &f) const
Transform given patch field.
A class for managing temporary objects.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.