37 const word& surfaceType,
38 const word& surfaceName
64 const word& defaultSurfaceName,
77 dict.getOrDefault(
"surfaceName", defaultSurfaceName),
95 const bool triangulate,
113 calcCellCuts(fvm, pointDist,
cellCuts);
121 const auto edgeOrientIntersect =
129 const scalar s0 = pointDist[
e.
first()];
130 const scalar s1 = pointDist[
e.
last()];
149 const auto edgeAlphaIntersect =
150 [=](
const edge&
e) -> scalar
152 const scalar s0 = pointDist[
e.
first()];
153 const scalar s1 = pointDist[
e.
last()];
154 const scalar d = s1-s0;
156 return Foam::mag(d) < ROOTVSMALL ? -1 : (-s0/d);
172 os <<
" surface:" << surfaceName();
175 os <<
" faces:" << Mesh::surfFaces().size()
176 <<
" points:" << Mesh::points().size();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
T & first()
Return the first element of the list.
T & last()
Return the last element of the list.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Description of cuts across cells.
Base for creating a MeshedSurface by performing some type of cell cutting/intersection.
Constructs a cutting surface through a mesh.
virtual void performCut(const primitiveMesh &mesh, const bool triangulate, bitSet &&cellIdLabels)
Cut mesh, restricted to a list of cells.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Mesh data needed to do the Finite Volume discretisation.
scalar print()
Print to screen.
constant condensation/saturation model.
Mesh consisting of general polyhedral cells.
Cell-face mesh analysis engine.
label nCells() const noexcept
Number of mesh cells.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.