Go to the documentation of this file.
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< scalar > scalarField
Specialisation of Field<T> for scalar.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
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.
#define forAll(list, i)
Loop across all elements in list.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
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.
A triangular face using a FixedList of labels corresponding to mesh vertices.
const std::string patch
OpenFOAM patch number as a std::string.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const dimensionedScalar e
Elementary charge.
A face is a list of labels corresponding to mesh vertices.
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.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet dimless
Dimensionless.