77 fam.boundaryCoeffs()[patchI] =
81 if (this->tlnGradScheme_().corrected())
83 if (this->
mesh().fluxRequired(vf.
name()))
85 fam.faceFluxCorrectionPtr() = std::make_unique
90 gammaMagSf*this->tlnGradScheme_().correction(vf)
106 gammaMagSf*this->tlnGradScheme_().
correction(vf)
127 tLaplacian.
ref().rename(
"laplacian(" + vf.
name() +
')');
146 tLaplacian.
ref().rename
148 "laplacian(" +
gamma.name() +
',' + vf.
name() +
')' tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix by subtracting the matrix multiplied by the current fi...
faceFluxFieldPtrType & faceFluxCorrectionPtr()
Return pointer to face-flux non-orthogonal correction field.
tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian(const GeometricField< Type, faPatchField, areaMesh > &)
const word & name() const noexcept
Return the object name.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
const Internal & internalField() const noexcept
Return a const-reference to the dimensioned internal field.
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the evaluation of the gradient of this patch...
const Mesh & mesh() const noexcept
Return mesh.
Calculate the divergence of the given field.
tmp< faMatrix< Type > > famLaplacian(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the evaluation of the gradient of this patchFi...
A special matrix type and solver, designed for finite area solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
A class for managing temporary objects.
Calculate the matrix for the second temporal derivative.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
const dimensionSet & dimensions() const noexcept
Return dimensions.