Go to the documentation of this file.
43 #ifndef hexCellLooper_H
44 #define hexCellLooper_H
82 const label startFaceI,
83 const label startEdgeI,
146 const plane& cutPlane,
virtual bool cut(const vector &refDir, const label cellI, const boolList &vertIsCut, const boolList &edgeIsCut, const scalarField &edgeWeight, labelList &loop, scalarField &loopWeights) const
Create cut along circumference of cellI. Gets current mesh cuts.
bool walkHex(const label cellI, const label startFaceI, const label startEdgeI, labelList &loop, scalarField &loopWeights) const
Walk across faces of hex. Update loop/loopWeights with edges cut.
virtual ~hexCellLooper()
Destructor.
void operator=(const hexCellLooper &)
Disallow default bitwise assignment.
Mesh consisting of general polyhedral cells.
void makeFace(const labelList &loop, const scalarField &loopWeights, labelList &faceVerts, pointField &facePoints) const
Convert loop into face and points.
Geometric class that creates a 2D plane and can return the intersection point between a line and 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.
Pre-declare SubField and related Field type.
TypeName("hexCellLooper")
Runtime type information.
Implementation of cellLooper. Does pure geometric cut through cell.
const cellModel & hex_
Reference to hex cell shape.
hexCellLooper(const hexCellLooper &)
Disallow default bitwise copy construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
Implementation of cellLooper.
const polyMesh & mesh() const