Go to the documentation of this file.
39 #ifndef LduInterfaceField_H
40 #define LduInterfaceField_H
104 const label interfacei,
120 const label interfacei,
virtual void updateInterfaceMatrix(Field< Type > &, const bool add, const lduAddressing &, const label interfacei, const Field< Type > &, const scalarField &, const Pstream::commsTypes commsType) const =0
Update result field based on interface functionality.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const =0
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
virtual void initInterfaceMatrixUpdate(Field< Type > &, const bool add, const lduAddressing &, const label interfacei, const Field< Type > &, const scalarField &, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
Generic templated field type.
virtual ~LduInterfaceField()=default
Destructor.
TypeName("LduInterfaceField")
Runtime type information.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
commsTypes
Types of communications.
virtual void initInterfaceMatrixUpdate(solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
const std::string patch
OpenFOAM patch number as a std::string.
LduInterfaceField(const lduInterface &patch)
Construct given coupled patch.