52 mesh.time().timeName(),
64 polyMeshTetDecomposition::cellTetIndices(
mesh, cI);
68 forAll(cellTetIs, cellTetI)
70 const triFace triIs = cellTetIs[cellTetI].faceTriIs(
mesh);
75 mesh.cellCentres()[cI],
76 mesh.points()[triIs[0]],
77 mesh.points()[triIs[1]],
78 mesh.points()[triIs[2]]
121 const face&
f = patch.patch().localFaces()[fI];
126 for (label edgei = 0; edgei <
f.nEdges(); ++edgei)
128 const edge e =
f.edge(edgei);
133 patch.patch().faceCentres()[fI],
134 patch.patch().localPoints()[
e[0]],
135 patch.patch().localPoints()[
e[1]]
157 result[fI] = a/
magSqr(a) & r;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A 1D vector of objects of type <T> with a fixed length <N>.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
A triangular face using a FixedList of labels corresponding to mesh vertices.
const dimensionSet dimless
Dimensionless.
tmp< DimensionedField< scalar, volMesh > > 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 the.
cut::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.
cut::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< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
#define forAll(list, i)
Loop across all elements in list.