40 #ifndef structuredRenumber_H 41 #define structuredRenumber_H 79 depthFirst_(depthFirst),
Renumbering according to mesh layers. depthFirst = true: first column gets ids 0..nLayer-1, second nLayers..2*nLayers-1 etc. depthFirst = false: first layer gets ids 0,1,2 etc.
virtual ~structuredRenumber()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
structuredRenumber(const dictionary &renumberDict)
Construct given the renumber dictionary.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
bool operator()(const label a, const label b)
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
Less function class that can be used for sorting according to.
scalar distance(const vector &p1, const vector &p2)
const dictionary methodDict_
Abstract base class for renumbering.
TypeName("structured")
Runtime type information.
const wordReList patches_
const autoPtr< renumberMethod > method_
List< label > labelList
A List of labels.
void operator=(const structuredRenumber &)=delete
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
virtual labelList renumber(const pointField &) const
Return the order in which cells need to be visited, i.e.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
layerLess(const Switch depthFirst, const labelList &order, const List< topoDistanceData > &distance)