62 const cell& pFaceCell = cells[pFaceCells[pFacei]];
66 label facei = pFaceCell[fi];
71 w[facei] =
pos0(faceFlux_[facei]);
89 if (tScheme_().corrected())
92 tScheme_().correction(vf);
113 forAll(pFaceCells, pFacei)
115 const cell& pFaceCell = cells[pFaceCells[pFacei]];
119 label facei = pFaceCell[fi];
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
#define forAll(list, i)
Loop across all elements in list.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
This boundary condition provides a base class for 'mixed' type boundary conditions, i.e. conditions that mix fixed value and patch-normal gradient conditions.
const cellList & cells() const
Generic GeometricField class.
Base class for direction-mixed boundary conditions.
Outlet-stabilised interpolation scheme which applies upwind interpolation to the faces of the cells a...
makeSurfaceInterpolationScheme(cellCoBlended)
bool isInternalFace(const label faceIndex) const
Return true if given face label is internal to the mesh.
dimensionedScalar pos0(const dimensionedScalar &ds)
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
A cell is defined as a list of faces with extra functionality.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.