191 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 =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.
virtual ~cellLooper()
Destructor.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static autoPtr< cellLooper > New(const word &type, const polyMesh &mesh)
Return a reference to the selected cellLooper.
labelList getVertFacesNonEdge(const label cellI, const label edgeI, const label vertI) const
Get faces (on cell) connected to vertI which are not using edgeI.
autoPtr< cellLooper > clone() const
Clone.
label getFirstVertEdge(const label faceI, const label vertI) const
Get first edge connected to vertI and on faceI.
label getMisAlignedEdge(const vector &refDir, const label cellI) const
Return edge from cellEdges that is most perpendicular.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
Abstract base class. Concrete implementations know how to cut a cell (i.e. determine a loop around th...
declareRunTimeSelectionTable(autoPtr, cellLooper, word,( const polyMesh &mesh ),(mesh))
Mesh consisting of general polyhedral cells.
const polyMesh & mesh() const
TypeName("cellLooper")
Runtime type information.
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...