59 "edgeIntegrate("+ssf.
name()+
')',
76 vf[owner[faceI]] += ssf[faceI];
77 vf[neighbour[faceI]] -= ssf[faceI];
83 mesh.boundary()[patchI].edgeFaces();
89 vf[pEdgeFaces[faceI]] += pssf[faceI];
93 vf.primitiveFieldRef() /=
mesh.S();
94 vf.correctBoundaryConditions();
131 "edgeSum("+ssf.
name()+
')',
147 vf[owner[faceI]] += ssf[faceI];
148 vf[neighbour[faceI]] += ssf[faceI];
154 mesh.boundary()[patchI].edgeFaces();
156 const faePatchField<Type>& pssf = ssf.
boundaryField()[patchI];
160 vf[pEdgeFaces[faceI]] += pssf[faceI];
164 vf.correctBoundaryConditions();
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Calculate the second temporal derivative.
tmp< GeometricField< Type, faPatchField, areaMesh > > edgeSum(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
const word & name() const noexcept
Return the object name.
Generic GeometricField class.
Generic dimensioned Type class.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
const Mesh & mesh() const noexcept
Return mesh.
tmp< GeometricField< Type, faPatchField, areaMesh > > edgeIntegrate(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
const fileName & instance() const noexcept
Read access to instance path component.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
Edge integrate edgeField creating a areaField. Edge sum a edgeField creating a areaField.
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet & dimensions() const noexcept
Return dimensions.
static constexpr const zero Zero
Global zero (0)