43#ifndef Foam_structuredRenumber_H
44#define Foam_structuredRenumber_H
52template<
class Type>
class topoDistanceData;
70 const bool depthFirst_;
78 const bool depthFirst,
83 depthFirst_(depthFirst),
A packed storage unstructured matrix of objects of type <T> using an offset table for access.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
Abstract base class for renumbering.
Less function class that can be used for sorting according to.
bool operator()(const label a, const label b)
layerLess(const bool depthFirst, const labelList &order, const List< topoDistanceData< label > > &distance)
Renumbering according to mesh layers. depthFirst = true: first column gets ids 0.....
structuredRenumber(const structuredRenumber &)=delete
No copy construct.
const dictionary & coeffsDict_
virtual ~structuredRenumber()=default
Destructor.
TypeName("structured")
Runtime type information.
virtual labelList renumber(const CompactListList< label > &cellCells, const pointField &cellCentres) const
const autoPtr< renumberMethod > method_
virtual labelList renumber(const labelListList &cellCells, const pointField &cellCentres) const
virtual labelList renumber(const pointField &) const
void operator=(const structuredRenumber &)=delete
No copy assignment.
For use with FaceCellWave. Determines topological distance to starting faces. Templated on passive tr...
A List of wordRe with additional matching capabilities.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
scalar distance(const vector &p1, const vector &p2)
List< label > labelList
A List of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.