OOFEM 3.0
Loading...
Searching...
No Matches
oofem::ElementCircumCirclesContainingNode Class Reference

#include <octreelocalizertutil.h>

Inheritance diagram for oofem::ElementCircumCirclesContainingNode:
Collaboration diagram for oofem::ElementCircumCirclesContainingNode:

Public Member Functions

 ElementCircumCirclesContainingNode (FloatArray pos, Domain *d)
 ~ElementCircumCirclesContainingNode ()
bool evaluate (DelaunayTriangle *&DTptr) override
void giveStartingPosition (FloatArray &answer) override
void giveResult (std ::list< DelaunayTriangle * > &answer) override
bool isBBXStage1Defined (BoundingBox &BBXStage1) override
bool isBBXStage2Defined (BoundingBox &BBXStage2) override

Protected Attributes

FloatArray startingPosition
Domaindomain
std ::list< DelaunayTriangle * > result

Detailed Description

Functor for finding triangles whose circumscribed circles contains given node

Author
David Krybus

Definition at line 255 of file octreelocalizertutil.h.

Constructor & Destructor Documentation

◆ ElementCircumCirclesContainingNode()

oofem::ElementCircumCirclesContainingNode::ElementCircumCirclesContainingNode ( FloatArray pos,
Domain * d )
inline

Constructor

Parameters
posStarting position of the search
dDomain containing nodes the triangles are defined by

Definition at line 268 of file octreelocalizertutil.h.

References domain, and startingPosition.

◆ ~ElementCircumCirclesContainingNode()

oofem::ElementCircumCirclesContainingNode::~ElementCircumCirclesContainingNode ( )
inline

Definition at line 272 of file octreelocalizertutil.h.

Member Function Documentation

◆ evaluate()

bool oofem::ElementCircumCirclesContainingNode::evaluate ( DelaunayTriangle *& DTptr)
inlineoverridevirtual

Evaluates a triangle upon its circumscribed cricle.

Parameters
DTptrDelaunay triangle. nodeNr Number of the node in the domain list
Returns
true if the circumscribed circle of the Delaunay triangle contains the point, false otherwise

Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.

Definition at line 279 of file octreelocalizertutil.h.

References oofem::FloatArray::at(), oofem::distance(), oofem::DelaunayTriangle::giveCircumRadius(), oofem::DelaunayTriangle::giveXCenterCoordinate(), oofem::DelaunayTriangle::giveYCenterCoordinate(), result, and startingPosition.

◆ giveResult()

void oofem::ElementCircumCirclesContainingNode::giveResult ( std ::list< DelaunayTriangle * > & answer)
inlineoverridevirtual

Gives the triangles containing the node

Parameters
answerList containing Delaunay triangles

Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.

Definition at line 308 of file octreelocalizertutil.h.

References result.

◆ giveStartingPosition()

void oofem::ElementCircumCirclesContainingNode::giveStartingPosition ( FloatArray & answer)
inlineoverridevirtual

Gives the starting position of the search

Parameters
positionstartingPosition

Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.

Definition at line 299 of file octreelocalizertutil.h.

References startingPosition.

◆ isBBXStage1Defined()

bool oofem::ElementCircumCirclesContainingNode::isBBXStage1Defined ( BoundingBox & BBXStage1)
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< DelaunayTriangle * >.

Definition at line 314 of file octreelocalizertutil.h.

◆ isBBXStage2Defined()

bool oofem::ElementCircumCirclesContainingNode::isBBXStage2Defined ( BoundingBox & BBXStage2)
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< DelaunayTriangle * >.

Definition at line 315 of file octreelocalizertutil.h.

Member Data Documentation

◆ domain

Domain* oofem::ElementCircumCirclesContainingNode::domain
protected

Definition at line 259 of file octreelocalizertutil.h.

Referenced by ElementCircumCirclesContainingNode().

◆ result

std :: list< DelaunayTriangle * > oofem::ElementCircumCirclesContainingNode::result
protected

Definition at line 260 of file octreelocalizertutil.h.

Referenced by evaluate(), and giveResult().

◆ startingPosition

FloatArray oofem::ElementCircumCirclesContainingNode::startingPosition
protected

The documentation for this class was generated from the following file:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011