|
OOFEM 3.0
|
#include <unstructuredgridfield.h>
Public Member Functions | |
| CellContainingPointFunctor (const FloatArray &pos) | |
| ~CellContainingPointFunctor () | |
| bool | evaluate (Cell &c) override |
| void | giveStartingPosition (FloatArray &answer) override |
| void | giveResult (std::list< Cell > &answer) override |
| bool | isBBXStage1Defined (BoundingBox &BBXStage1) override |
| bool | isBBXStage2Defined (BoundingBox &BBXStage2) override |
| Public Member Functions inherited from oofem::SL_Evaluation_Functor< Cell > | |
| virtual bool | evaluate (Cell &obj)=0 |
| Evaluates wether the search condition is accomplished or not. | |
| virtual void | giveResult (std ::list< Cell > &answer)=0 |
| Gives a container with found objects. | |
Protected Attributes | |
| FloatArray | position |
| std::list< Cell > | cells |
Definition at line 240 of file unstructuredgridfield.h.
|
inline |
Constructor
| pos | Starting position of the search |
| d | Domain containing nodes the triangles are defined by |
Definition at line 251 of file unstructuredgridfield.h.
References position.
|
inline |
Definition at line 252 of file unstructuredgridfield.h.
|
inlineoverride |
Evaluates a triangle upon its circumscribed cricle.
| DTptr | Delaunay triangle. nodeNr Number of the node in the domain list |
Definition at line 259 of file unstructuredgridfield.h.
References cells, oofem::UnstructuredGridField::Cell::containsPoint(), and position.
|
inlineoverride |
Gives the triangles containing the node
| answer | List containing Delaunay triangles |
Definition at line 282 of file unstructuredgridfield.h.
References cells.
|
inlineoverridevirtual |
Gives the starting position of the search
| position | startingPosition |
Implements oofem::SL_Evaluation_Functor< Cell >.
Definition at line 273 of file unstructuredgridfield.h.
References position.
|
inlineoverridevirtual |
Stage1 means, we are looking for objects in a distance given by some boundingBox (e.g. IPs around some given coordinates)
Implements oofem::SL_Evaluation_Functor< Cell >.
Definition at line 285 of file unstructuredgridfield.h.
|
inlineoverridevirtual |
Stage2BBX is given by results of a prior search. e.g. We found a closest point to another point in an octant, BBX is defined by the distance from each other and the found closest point. Now we have to check surrounding octants whithin this bounding, which may contain points closer to starting point.
Implements oofem::SL_Evaluation_Functor< Cell >.
Definition at line 286 of file unstructuredgridfield.h.
|
protected |
Definition at line 244 of file unstructuredgridfield.h.
Referenced by evaluate(), and giveResult().
|
protected |
Definition at line 243 of file unstructuredgridfield.h.
Referenced by CellContainingPointFunctor(), evaluate(), and giveStartingPosition().