Go to the documentation of this file.
39 #ifndef LduInterfaceField_H
40 #define LduInterfaceField_H
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
virtual void updateInterfaceMatrix(Field< Type > &, const bool add, const Field< Type > &, const scalarField &, const Pstream::commsTypes commsType) const =0
Update result field based on interface functionality.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
virtual void initInterfaceMatrixUpdate(solveScalarField &result, const bool add, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
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)
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const =0
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
commsTypes
Types of communications.
const std::string patch
OpenFOAM patch number as a std::string.
virtual void initInterfaceMatrixUpdate(Field< Type > &, const bool add, const Field< Type > &, const scalarField &, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
LduInterfaceField(const lduInterface &patch)
Construct given coupled patch.