|
|
| GmpMmGaussBucketIndex (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger) |
| | Constructor for plugin created objects.
|
| |
|
| GmpMmGaussBucketIndex (GmSimulationData *simulation, GmElementMesh *mesh, const GmLogCategory &logger, const QVariantMap &options=QVariantMap()) |
| | Constructor for process created objects.
|
| |
| virtual const char * | pluginType () const |
| |
| virtual bool | hasCapability (QString capabilityName) const |
| |
| virtual bool | getClosestNode (const GmVector &crd, double &sqrDist, int &outNodeId, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestNodes (const GmVector &crd, int n, QVector< int > &nodeList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestNodes (const GmVector &crd, int n, QVector< GmpRefDist< int > > &nodeList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestNodes (const GmVector &crd, double r, QVector< int > &nodeList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestNodes (const GmVector &crd, double r, QVector< GmpRefDist< int > > &nodeList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual GmCell * | getContainingCell (const GmVector &crd) const |
| |
| virtual bool | getClosestGaussPoint (const GmVector &crd, double &sqrDist, GmpMmGaussData &outRef, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestGaussPoints (const GmVector &crd, int n, QVector< GmpMmGaussData > &gpList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestGaussPoints (const GmVector &crd, int n, QVector< GmpRefDist< GmpMmGaussData > > &gpList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestGaussPoints (const GmVector &crd, double r, QVector< GmpMmGaussData > &gpList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
| virtual void | getClosestGaussPoints (const GmVector &crd, double r, QVector< GmpRefDist< GmpMmGaussData > > &gpList, bool ordered, const PointValidator &pv=defaultPointValidator) const |
| |
|
| GmpMmBucketIndexBase (GmSimulationData *simulation, QString id, QString description, GSBIType type, const GmLogCategory &logger) |
| |
| | GmpMmBucketIndexBase (GmSimulationData *simulation, GmMesh *mesh, GSBIType type, const GmLogCategory &logger, const QVariantMap &options=QVariantMap()) |
| | Bucket index constructor for an object created by the process.
|
| |
| virtual const char * | pluginName () const |
| |
|
void | init (const QVariantMap &options) |
| | Initializes the object with the given options (or defaults in their absence)
|
| |
| virtual bool | loadPrivateData (LuaTable &table) |
| | Loads from the given Lua table the mesh information + additional options, calling init() to effectively int a plugin created object.
|
| |
|
const QVector< GmpMmBIBucket< GmpMmGaussData > > & | bucketList () const |
| |
| virtual bool | activeOnly () const |
| |
| virtual int | ruleSet () const |
| |
| virtual bool | isOutsideOfDomain (const GmVector &crd) const |
| |
|
virtual const GmpMmBIBucket< GmpMmGaussData > & | getBucket (const GmVector &crd, bool &ok) const |
| | Returns a reference to the bucket in which the given point falls in.
|
| |
|
bool | getClosestReference (const GmVector &crd, GmpRefDist< GmpMmGaussData > &closestRef, const PointValidator &pv=defaultPointValidator) const |
| | Returns the id of the closest reference.
|
| |
|
void | getClosestReferences (const GmVector &crd, int n, QVector< GmpRefDist< GmpMmGaussData > > &refList, bool sort, const PointValidator &pv=defaultPointValidator) const |
| | Returns the ids of the n closest references.
|
| |
|
void | getClosestReferences (const GmVector &crd, double radius, QVector< GmpRefDist< GmpMmGaussData > > &refList, bool sort, const PointValidator &pv=defaultPointValidator) const |
| | Returns the ids of the references which distance to crd is less than radius.
|
| |
|
void | printInfo () |
| |
| virtual void | printParameters (const GmLogCategory &logger) |
| |
| virtual int | numReferences () const |
| | Number of stored references.
|
| |
|
| GmpMmBucketIndex (GmSimulationData *simulation, QString id, QString description, GSBIType type, const GmLogCategory &logger) |
| | Constructor for plugin created objects.
|
| |
|
| GmpMmBucketIndex (GmSimulationData *simulation, GmMesh *mesh, GSBIType type, const GmLogCategory &logger) |
| | Constructor for process created objects.
|
| |
|
virtual | ~GmpMmBucketIndex () |
| | Destructor.
|
| |
| virtual GmMesh * | mesh () const |
| |
| virtual const GmValueAccessor * | coordAccessor () const |
| |
|
virtual int | ndim () const |
| |
|
GSBIType | type () const |
| |
|
| GmSpatialIndex (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger) |
| |
| virtual const char * | pluginCategory () const |
| |
|
| GmPluginObject (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger) |
| |
|
QString | id () const |
| |
|
QString | description () const |
| |
|
QString | pluginTypeName () const |
| |
|
| enum | GSBIType { GSBIT_NODE
, GSBIT_CELL
, GSBIT_GAUSS
, GSBIT_NUM_BUCKETYPES
} |
| |
|
static QString | bucketTypeToStr (GSBIType type) |
| | Converts an bucket index type to a string.
|
| |
|
static int | strToBucketType (QString str) |
| | Converts a string to a GSBIType. Returns -1 if no match is found.
|
| |
|
bool | meshHasChanged () const |
| |
|
void | insertValue (const GmpMmGaussData &val, int gridId) |
| | Add a new reference in the bucket index.
|
| |
|
bool | getGridCrd (const GmVector &crd, int gridCrd[GMP_MAX_INDEX_DIM]) const |
| | Return the grid coordinates for a point.
|
| |
|
int | getGridId (const GmVector &crd) const |
| | Return the grid cell id in which the given point falls in.
|
| |
|
int | getBucketId (int gridId) const |
| | Return the bucket id referenced by a cell.
|
| |
|
void | getBoxBucketIds (const int minGrid[GMP_MAX_INDEX_DIM], const int maxGrid[GMP_MAX_INDEX_DIM], ISet &bucketIds) const |
| |
|
void | getBoxBucketIds1D (int x0, int x1, ISet &buecketIds) const |
| |
|
void | getBoxBucketIds2D (int x0, int x1, int y0, int y1, ISet &bucketIds) const |
| |
|
void | getBoxBucketIds3D (int x0, int x1, int y0, int y1, int z0, int z1, ISet &bucketIds) const |
| |
|
void | computeStep () |
| |
|
void | processRadiusLayerBucketIds (const GmVector &crd, double radius, std::function< void(int[])> &proc, int curMin[GMP_MAX_INDEX_DIM], int curMax[GMP_MAX_INDEX_DIM]) const |
| |
|
void | processLayerBuckets1D (const int curMin[GMP_MAX_INDEX_DIM], const int curMax[GMP_MAX_INDEX_DIM], const int newMin[GMP_MAX_INDEX_DIM], const int newMax[GMP_MAX_INDEX_DIM], std::function< void(int[])> &proc) const |
| |
|
void | processLayerBuckets2D (const int curMin[GMP_MAX_INDEX_DIM], const int curMax[GMP_MAX_INDEX_DIM], const int newMin[GMP_MAX_INDEX_DIM], const int newMax[GMP_MAX_INDEX_DIM], std::function< void(int[])> &proc) const |
| |
|
void | processLayerBuckets3D (const int curMin[GMP_MAX_INDEX_DIM], const int curMax[GMP_MAX_INDEX_DIM], const int newMin[GMP_MAX_INDEX_DIM], const int newMax[GMP_MAX_INDEX_DIM], std::function< void(int[])> &proc) const |
| |
|
void | getLayerBucketIds (const int gridCrd[GMP_MAX_INDEX_DIM], int layer, ISet &bucketIds, int min[GMP_MAX_INDEX_DIM], int max[GMP_MAX_INDEX_DIM], const int minBound[GMP_MAX_INDEX_DIM], const int maxBound[GMP_MAX_INDEX_DIM]) const |
| |
|
virtual const GmLogCategory & | logger () const |
| |
|
GmSimulationData * | simulationData () const |
| |
|
bool | _activeOnly |
| |
|
bool | _info |
| |
|
bool | _maxRefineReached |
| |
|
int | _ruleSet |
| |
|
double | _step [GMP_MAX_INDEX_DIM] |
| |
|
double | _maxStep |
| |
|
QVector< GmpMmBIBucket< GmpMmGaussData > > | _bucketList |
| |
|
QVector< int > | _gridIdList |
| |
|
GmMesh * | _mesh |
| | The mesh.
|
| |
|
const GmCellGroupSet * | _cellGroup |
| | The cell group filter or NULL if there is none.
|
| |
|
const GmNodeSet * | _nodeGroup |
| | The node group filter or NULL if there is none.
|
| |
|
const GmValueAccessor * | _crdAcc |
| | The mesh accessor used for retrieving point coordinates.
|
| |
|
int | _nDim |
| |
|
GSBIType | _type |
| |