38#ifndef Foam_renumberMethod_H
39#define Foam_renumberMethod_H
106 virtual bool needs_mesh()
const {
return false; }
A packed storage 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.
virtual ~renumberMethod()=default
Destructor.
virtual bool no_topology() const
Renumbering method without mesh or cell-cell topology (very special case).
virtual labelList renumber(const label nCells) const
Return the cell visit order (from ordered back to original cell id) based solely on the number of cel...
declareRunTimeSelectionTable(autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict))
virtual bool needs_mesh() const
Renumbering method requires a polyMesh for its topology.
static autoPtr< renumberMethod > New(const dictionary &dict)
Construct/select a renumbering method.
renumberMethod()
Default construct.
TypeNameNoDebug("renumberMethod")
Runtime type information.
renumberMethod(const dictionary &)
Construct with renumber dictionary (which is currently unused).
virtual labelList renumber(const labelListList &cellCells) const =0
Return the cell visit order (from ordered back to original cell id),.
virtual labelList renumber(const CompactListList< label > &cellCells) const =0
Return the cell visit order (from ordered back to original cell id),.
static wordList supportedMethods()
Return a list of the known methods.
List< word > wordList
List of word.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
IntListType renumber(const labelUList &oldToNew, const IntListType &input)
Renumber the values within a list.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define FOAM_DEPRECATED_FOR(since, replacement)
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.