188 const plane& cutPlane,
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.
Abstract base class. Concrete implementations know how to cut a cell (i.e. determine a loop around th...
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
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 getMisAlignedEdge(const vector &refDir, const label celli) const
Return edge from cellEdges that is most perpendicular.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class for handling words, derived from Foam::string.
virtual ~cellLooper()=default
Destructor.
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
void operator=(const cellLooper &)=delete
No copy assignment.
labelList getVertEdgesNonFace(const label celli, const label facei, const label vertI) const
Get edges (on cell) connected to vertI which are not on facei.
const polyMesh & mesh() const
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
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.
cellLooper(const cellLooper &)=delete
No copy construct.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
static autoPtr< cellLooper > New(const word &type, const polyMesh &mesh)
Return a reference to the selected cellLooper.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
TypeName("cellLooper")
Runtime type information.