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