OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::InsertTriangleBasedOnCircumcircle Class Reference

Functor for storing triangles in the octree according to theirs circumscribed circles. More...

#include <octreelocalizert.h>

+ Inheritance diagram for oofem::InsertTriangleBasedOnCircumcircle:
+ Collaboration diagram for oofem::InsertTriangleBasedOnCircumcircle:

Public Member Functions

 InsertTriangleBasedOnCircumcircle (Domain *d)
 Constructor. More...
 
 ~InsertTriangleBasedOnCircumcircle ()
 Destructor. More...
 
bool evaluate (DelaunayTriangle *&DTptr, OctantRecT< DelaunayTriangle * > *cell)
 Evaluates the position of a triangle. More...
 
void registerInsertion (DelaunayTriangle *&TEptr, LocalInsertionData< DelaunayTriangle * >LIdata)
 Stores LocalInsertionData on the member. More...
 
std::list< LocalInsertionData< DelaunayTriangle * > > * giveInsertionList (DelaunayTriangle *&DTptr)
 Returns list of LocalInsertionData stored on the member. More...
 

Protected Attributes

Domaindomain
 

Additional Inherited Members

- Protected Types inherited from oofem::SL_Insertion_Functor< DelaunayTriangle * >
typedef std::list< DelaunayTriangle * >::iterator listIteratorType
 

Detailed Description

Functor for storing triangles in the octree according to theirs circumscribed circles.

Author
David Krybus

Definition at line 576 of file octreelocalizert.h.

Constructor & Destructor Documentation

oofem::InsertTriangleBasedOnCircumcircle::InsertTriangleBasedOnCircumcircle ( Domain d)
inline

Constructor.

Definition at line 583 of file octreelocalizert.h.

oofem::InsertTriangleBasedOnCircumcircle::~InsertTriangleBasedOnCircumcircle ( )
inline

Destructor.

Definition at line 587 of file octreelocalizert.h.

Member Function Documentation

bool oofem::InsertTriangleBasedOnCircumcircle::evaluate ( DelaunayTriangle *&  DTptr,
OctantRecT< DelaunayTriangle * > *  cell 
)
inlinevirtual

Evaluates the position of a triangle.

Parameters
DTptrDelaunay triangle
cellOctant cell to be tested
Returns
true if the cirumscribed circle of the circle lies inside or contains a part of the cell, false otherwise

Implements oofem::SL_Insertion_Functor< DelaunayTriangle * >.

Definition at line 595 of file octreelocalizert.h.

References oofem::FloatArray::at(), oofem::DelaunayTriangle::giveCircumRadius(), oofem::DelaunayTriangle::giveXCenterCoordinate(), oofem::DelaunayTriangle::giveYCenterCoordinate(), oofem::SphereOutsideCell, and oofem::OctantRecT< T >::testBoundingSphere().

std :: list< LocalInsertionData< DelaunayTriangle * > >* oofem::InsertTriangleBasedOnCircumcircle::giveInsertionList ( DelaunayTriangle *&  member)
inlinevirtual

Returns list of LocalInsertionData stored on the member.

Implements oofem::SL_Insertion_Functor< DelaunayTriangle * >.

Definition at line 613 of file octreelocalizert.h.

References oofem::DelaunayTriangle::giveListOfCellsAndPosition().

void oofem::InsertTriangleBasedOnCircumcircle::registerInsertion ( DelaunayTriangle *&  member,
LocalInsertionData< DelaunayTriangle * >  LIdata 
)
inlinevirtual

Member Data Documentation

Domain* oofem::InsertTriangleBasedOnCircumcircle::domain
protected

Definition at line 579 of file octreelocalizert.h.


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:36 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011