OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Functor for finding triangles whose circumscribed circles contains given node. More...
#include <octreelocalizert.h>
Public Member Functions | |
ElementCircumCirclesContainingNode (FloatArray *pos, Domain *d) | |
Constructor. More... | |
~ElementCircumCirclesContainingNode () | |
bool | evaluate (DelaunayTriangle *&DTptr) |
Evaluates a triangle upon its circumscribed cricle. More... | |
void | giveStartingPosition (FloatArray &answer) |
Gives the starting position of the search. More... | |
void | giveResult (std::list< DelaunayTriangle * > &answer) |
Gives the triangles containing the node. More... | |
bool | isBBXStage1Defined (BoundingBox &BBXStage1) |
Stage1 means, we are looking for objects in a distance given by some boundingBox (e.g. More... | |
bool | isBBXStage2Defined (BoundingBox &BBXStage2) |
Stage2BBX is given by results of a prior search. More... | |
Protected Attributes | |
FloatArray * | startingPosition |
Domain * | domain |
std::list< DelaunayTriangle * > | result |
Functor for finding triangles whose circumscribed circles contains given node.
Definition at line 744 of file octreelocalizert.h.
|
inline |
Constructor.
pos | Starting position of the search |
d | Domain containing nodes the triangles are defined by |
Definition at line 757 of file octreelocalizert.h.
|
inline |
Definition at line 762 of file octreelocalizert.h.
|
inlinevirtual |
Evaluates a triangle upon its circumscribed cricle.
DTptr | Delaunay triangle. nodeNr Number of the node in the domain list |
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 769 of file octreelocalizert.h.
References oofem::FloatArray::at(), oofem::FloatArray::distance(), oofem::DelaunayTriangle::giveCircumRadius(), oofem::DelaunayTriangle::giveXCenterCoordinate(), and oofem::DelaunayTriangle::giveYCenterCoordinate().
|
inlinevirtual |
Gives the triangles containing the node.
answer | List containing Delaunay triangles |
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 798 of file octreelocalizert.h.
|
inlinevirtual |
Gives the starting position of the search.
position | startingPosition |
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 789 of file octreelocalizert.h.
|
inlinevirtual |
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< DelaunayTriangle * >.
Definition at line 804 of file octreelocalizert.h.
|
inlinevirtual |
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< DelaunayTriangle * >.
Definition at line 805 of file octreelocalizert.h.
|
protected |
Definition at line 748 of file octreelocalizert.h.
|
protected |
Definition at line 749 of file octreelocalizert.h.
|
protected |
Definition at line 747 of file octreelocalizert.h.