60 ivf[owner[facei]] += issf[facei];
61 ivf[neighbour[facei]] -= issf[facei];
67 mesh.boundary()[patchi].faceCells();
73 ivf[pFaceCells[facei]] += pssf[facei];
96 "surfaceIntegrate("+ssf.
name()+
')',
110 vf.correctBoundaryConditions();
147 "surfaceSum("+ssf.
name()+
')',
165 vf[owner[facei]] += ssf[facei];
166 vf[neighbour[facei]] += ssf[facei];
172 mesh.boundary()[patchi].faceCells();
174 const fvsPatchField<Type>& pssf = ssf.
boundaryField()[patchi];
178 vf[pFaceCells[facei]] += pssf[facei];
182 vf.correctBoundaryConditions();
Surface integrate surfaceField creating a volField. Surface sum a surfaceField creating a volField...
void surfaceIntegrate(Field< Type > &ivf, const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const word & name() const noexcept
Return the object name.
const dimensionSet dimVol(dimVolume)
Older spelling for dimVolume.
Generic GeometricField class.
Generic dimensioned Type class.
Ignore writing from objectRegistry::writeObject()
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
Generic templated field type.
const Mesh & mesh() const noexcept
Return mesh.
const fileName & instance() const noexcept
Read access to instance path component.
Mesh data needed to do the Finite Volume discretisation.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
const dimensionSet & dimensions() const noexcept
Return dimensions.
static constexpr const zero Zero
Global zero (0)