Go to the documentation of this file.
41 #ifndef processorFaPatchField_H
42 #define processorFaPatchField_H
73 TypeName(processorFaPatch::typeName_());
236 virtual label
comm()
const
266 virtual int rank()
const
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.
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.
static bool & parRun()
Test if this a parallel run, or allow modify access.
TypeName(processorFaPatch::typeName_())
Runtime type information.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
int myProcNo() const
Return processor number.
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.
int neighbProcNo() const
Return neighbour processor number.
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 updateInterfaceMatrix(solveScalarField &result, const bool add, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
virtual void transformCoupleField(solveScalarField &f, const direction cmpt) const
Transform neighbour field.
virtual void initInterfaceMatrixUpdate(solveScalarField &result, const bool add, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
commsTypes
Types of communications.
tmp< Field< Type > > patchNeighbourField() const
Return neighbour field given internal field.
static label worldComm
Default communicator (all processors)
Traits class 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...