182 const plane& cutPlane,
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Abstract base class. Concrete implementations know how to cut a cell (i.e. determine a loop around th...
autoPtr< cellLooper > clone() const
Clone.
cellLooper(const polyMesh &mesh)
Construct from components.
virtual bool cut(const vector &refDir, const label celli, const boolList &vertIsCut, const boolList &edgeIsCut, const scalarField &edgeWeight, labelList &loop, scalarField &loopWeights) const =0
Create cut along circumference of celli. Gets current mesh cuts.
labelList getVertEdgesNonFace(const label celli, const label facei, const label vertI) const
Get edges (on cell) connected to vertI which are not on facei.
label getMisAlignedEdge(const vector &refDir, const label celli) const
Return edge from cellEdges that is most perpendicular.
static autoPtr< cellLooper > New(const word &type, const polyMesh &mesh)
Return a reference to the selected cellLooper.
void operator=(const cellLooper &)=delete
Disallow default bitwise assignment.
declareRunTimeSelectionTable(autoPtr, cellLooper, word,(const polyMesh &mesh),(mesh))
label getFirstVertEdge(const label facei, const label vertI) const
Get first edge connected to vertI and on facei.
labelList getVertFacesNonEdge(const label celli, const label edgeI, const label vertI) const
Get faces (on cell) connected to vertI which are not using edgeI.
TypeName("cellLooper")
Runtime type information.
virtual ~cellLooper()
Destructor.
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
const polyMesh & mesh() const
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
Mesh consisting of general polyhedral cells.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.