41 #ifndef Foam_coupledFaPatchField_H 42 #define Foam_coupledFaPatchField_H 69 TypeName(coupledFaPatch::typeName_());
130 virtual bool coupled()
const {
return true; }
184 const tmp<scalarField>&
251 #include "coupledFaPatchField.txx"
commsTypes
Communications types.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< faPatchField< Type > > clone() const
No clone without an internal field reference.
friend Ostream & operator(Ostream &, const faPatchField< Type > &)
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction, const Pstream::commsTypes commsType) const =0
Update result field based on interface functionality.
virtual void initEvaluateLocal(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Initialise the evaluation of the patch field after a local.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
virtual bool coupled() const
True if derived from coupledFaPatchField.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
virtual void evaluateLocal(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field after a local operation (e.g. *=)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
virtual tmp< Field< Type > > patchNeighbourField() const =0
Return neighbour field of internal field.
virtual void write(Ostream &) const
Write.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
TypeName(coupledFaPatch::typeName_())
Runtime type information.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
The class contains the addressing required by the lduMatrix: upper, lower and losort.
coupledFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
"buffered" : (MPI_Bsend, MPI_Recv)
A FieldMapper for finite-area patch fields.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
readOption
Enumeration defining read preferences.