![]() |
GemaPCR
The GeMA PCR (Partition-Color-Renumber) Plugin
|
Implements the renumbering agorithm based on the Morton space-filling curve, a.k.a Z-curve. See https://en.wikipedia.org/wiki/Z-order_curve. More...
#include <gmpMortonNodeRenumbering.h>


Public Member Functions | |
| virtual bool | checkOptions (const GmLogCategory &logger) |
| Virtual method responsible for validating the parameters supplied on the class constructor. Can be used to parse the options. Should returns false and emit an error message in case of errors. | |
| virtual void | printParameters (const GmLogCategory &logger) const |
| Virtual method responsible for printing the renumbering method description. | |
| virtual bool | renumber (GmValueAccessor *ac, IntVector &sortedToOriginal, const GmLogCategory &logger) const |
| The node renumbering function. It gets as input parameter an accessor to the mesh coordinates. It should fill the sortedToOriginal vector with the reordering mapping. On input, the output vector is initially filled with the identity mapping (with size equal to ac->size()). The given logger can be used to log error messages if necessary. | |
| GmpNodeRenumberingMethod (const QVariantMap &options) | |
Public Member Functions inherited from GmpNodeRenumberingMethod< IntVector > | |
| GmpNodeRenumberingMethod (const QVariantMap &options) | |
Additional Inherited Members | |
Protected Attributes inherited from GmpNodeRenumberingMethod< IntVector > | |
| const QVariantMap & | _options |
| The user provided options. | |
Implements the renumbering agorithm based on the Morton space-filling curve, a.k.a Z-curve. See https://en.wikipedia.org/wiki/Z-order_curve.
|
virtual |
Virtual method responsible for validating the parameters supplied on the class constructor. Can be used to parse the options. Should returns false and emit an error message in case of errors.
Implements GmpNodeRenumberingMethod< IntVector >.
|
virtual |
Virtual method responsible for printing the renumbering method description.
Implements GmpNodeRenumberingMethod< IntVector >.
|
virtual |
The node renumbering function. It gets as input parameter an accessor to the mesh coordinates. It should fill the sortedToOriginal vector with the reordering mapping. On input, the output vector is initially filled with the identity mapping (with size equal to ac->size()). The given logger can be used to log error messages if necessary.
Implements GmpNodeRenumberingMethod< IntVector >.