50 polyMeshTetDecomposition::cellTetIndices(mesh, cI);
54 forAll(cellTetIs, cellTetI)
56 const triFace triIs = cellTetIs[cellTetI].faceTriIs(mesh);
114 for(
label eI = 0; eI <
f.size(); ++ eI)
116 const edge e =
f.faceEdge(eI);
133 a += areaMagOp()(tri);
#define forAll(list, i)
Loop across all elements in list.
const Mesh & mesh() const
Return mesh.
A 1D vector of objects of type <T> with a fixed size <Size>.
Generic GeometricField class.
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
const Internal::FieldType & primitiveField() const
Return a const-reference to the primitive field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const List< FaceType > & localFaces() const
Return patch faces addressing into local point list.
const Field< PointType > & localPoints() const
Return pointField of points in patch.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A face is a list of labels corresponding to mesh vertices.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual label size() const
Return size.
const polyPatch & patch() const
Return the polyPatch.
virtual const pointField & points() const
Return raw points.
const vectorField::subField faceCentres() const
Return face centres.
const vectorField & cellCentres() const
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A triangular face using a FixedList of labels corresponding to mesh vertices.
volScalarField scalarField(fieldObject, mesh)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionedScalar e
Elementary charge.
tmp< scalarField > levelSetFraction(const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const bool above)
Calculate the volume-fraction that a level set occupies. This gives the.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimless
cutTriTet::opAddResult< AboveOp, BelowOp >::type triCut(const FixedList< Point, 3 > &tri, const FixedList< scalar, 3 > &level, const AboveOp &aboveOp, const BelowOp &belowOp)
Cut a triangle along the zero plane defined by the given levels. Templated.
cutTriTet::opAddResult< AboveOp, BelowOp >::type tetCut(const FixedList< Point, 4 > &tet, const FixedList< scalar, 4 > &level, const AboveOp &aboveOp, const BelowOp &belowOp)
As triCut, but for a tetrahedron.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.