OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::SL_Evaluation_Functor< T > Class Template Referenceabstract

Functor base class for evaluating search tasks on the octree according given condition. More...

#include <octreelocalizert.h>

Public Member Functions

virtual bool evaluate (T &obj)=0
 Evaluates wether the search condition is accomplished or not. More...
 
virtual void giveStartingPosition (FloatArray &answer)=0
 Gives the starting position of the search. More...
 
virtual void giveResult (std::list< T > &answer)=0
 Gives a container with found objects. More...
 
virtual bool isBBXStage1Defined (BoundingBox &BBXStage1)=0
 Stage1 means, we are looking for objects in a distance given by some boundingBox (e.g. More...
 
virtual bool isBBXStage2Defined (BoundingBox &BBXStage2)=0
 Stage2BBX is given by results of a prior search. More...
 

Detailed Description

template<class T>
class oofem::SL_Evaluation_Functor< T >

Functor base class for evaluating search tasks on the octree according given condition.

Author
David Krybus

Definition at line 624 of file octreelocalizert.h.

Member Function Documentation

template<class T>
virtual bool oofem::SL_Evaluation_Functor< T >::isBBXStage1Defined ( BoundingBox BBXStage1)
pure virtual
template<class T>
virtual bool oofem::SL_Evaluation_Functor< T >::isBBXStage2Defined ( BoundingBox BBXStage2)
pure virtual

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.

Implemented in oofem::ElementCircumCirclesContainingNode, oofem::ClosestNode, and oofem::UnstructuredGridField::CellContainingPointFunctor.

Referenced by oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::proceedDataOnFilterAndRemoveFromOctree().


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:41 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011