Go to the documentation of this file.
51 mesh.time().timeName(),
63 polyMeshTetDecomposition::cellTetIndices(
mesh, cI);
67 forAll(cellTetIs, cellTetI)
69 const triFace triIs = cellTetIs[cellTetI].faceTriIs(
mesh);
74 mesh.cellCentres()[cI],
75 mesh.points()[triIs[0]],
76 mesh.points()[triIs[1]],
77 mesh.points()[triIs[2]]
120 const face&
f =
patch.patch().localFaces()[fI];
125 for (label eI = 0; eI <
f.size(); ++eI)
127 const edge e =
f.faceEdge(eI);
132 patch.patch().faceCentres()[fI],
133 patch.patch().localPoints()[
e[0]],
134 patch.patch().localPoints()[
e[1]]
156 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,...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
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...