OOFEM 3.0
Loading...
Searching...
No Matches
oofem::SL_Evaluation_Functor< T > Class Template Referenceabstract

#include <octreelocalizert.h>

Public Member Functions

virtual bool evaluate (T &obj)=0
 Evaluates wether the search condition is accomplished or not.
virtual void giveStartingPosition (FloatArray &answer)=0
 Gives the starting position of the search.
virtual void giveResult (std ::list< T > &answer)=0
 Gives a container with found objects.
virtual bool isBBXStage1Defined (BoundingBox &BBXStage1)=0
virtual bool isBBXStage2Defined (BoundingBox &BBXStage2)=0

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 508 of file octreelocalizert.h.

Member Function Documentation

◆ evaluate()

template<class T>
virtual bool oofem::SL_Evaluation_Functor< T >::evaluate ( T & obj)
pure virtual

◆ giveResult()

template<class T>
virtual void oofem::SL_Evaluation_Functor< T >::giveResult ( std ::list< T > & answer)
pure virtual

◆ giveStartingPosition()

◆ isBBXStage1Defined()

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

Stage1 means, we are looking for objects in a distance given by some boundingBox (e.g. IPs around some given coordinates)

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

Referenced by oofem::OctreeSpatialLocalizerT< T > *::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< T > *::proceedDataOnFilterAndRemoveFromOctree().

◆ isBBXStage2Defined()

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::ClosestNode, oofem::ElementCircumCirclesContainingNode, and oofem::UnstructuredGridField::CellContainingPointFunctor.

Referenced by oofem::OctreeSpatialLocalizerT< T > *::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< T > *::proceedDataOnFilterAndRemoveFromOctree().


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