Go to the documentation of this file.
39 #ifndef lduInterfaceField_H
40 #define lduInterfaceField_H
122 return updatedMatrix_;
128 return updatedMatrix_;
132 virtual bool ready()
const
144 const label interfacei,
159 const label interfacei,
The class contains the addressing required by the lduMatrix: upper, lower and losort.
void addToInternalField(Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const
Add/subtract weighted contributions to internal field.
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.
A class for handling words, derived from Foam::string.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
TypeName("lduInterfaceField")
Runtime type information.
lduInterfaceField(const lduInterface &patch)
Construct given coupled patch.
virtual ~lduInterfaceField()=default
Destructor.
bool updatedMatrix() const
Whether matrix has been updated.
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...
bool & updatedMatrix()
Whether matrix has been updated.
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.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual bool ready() const
Is all data available.
virtual const word & interfaceFieldType() const
Return the interface type.
Smooth ATC in cells next to a set of patches supplied by type.
const lduInterface & interface() const
Return the interface.