SG++-Doxygen-Documentation
|
Implementation of the AbstractFullGridLinearEvaluator class using a callback function that takes a single point and returns a function value at that point. More...
#include <FullGridCallbackEvaluator.hpp>
Additional Inherited Members | |
Protected Attributes inherited from sgpp::combigrid::AbstractFullGridEvaluationStrategy< V > | |
std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > | evaluatorPrototypes |
std::shared_ptr< AbstractFullGridSummationStrategy< V > > | summationStrategy |
FullGridSummationStrategyType | summationStrategyType |
Protected Attributes inherited from sgpp::combigrid::AbstractFullGridEvaluator< V > | |
std::shared_ptr< std::recursive_mutex > | mutexPtr |
Pointer to a mutex that is locked when doing critical operations on data. More... | |
std::vector< std::shared_ptr< AbstractPointHierarchy > > | pointHierarchies |
std::shared_ptr< AbstractCombigridStorage > | storage |
Provides access to the function values (stored or computed on demand) More... | |
Implementation of the AbstractFullGridLinearEvaluator class using a callback function that takes a single point and returns a function value at that point.
|
inline |
Constructor.
storage | Storage that stores and provides the function values for each grid point. |
evaluatorPrototypes | prototype objects for the evaluators that are cloned to get an evaluator for each dimension and each level. |
pointHierarchies | PointHierarchy objects for each dimension providing the points for each level and information about their ordering. |
summationStrategyType | strategy to gather the results of the univariate evaluators on each anisotropic full grid |
|
inlinevirtual |
|
inlineoverridevirtual |
Evaluates the function given through the storage for a certain level-multi-index (see class description).
Implements sgpp::combigrid::AbstractFullGridEvaluator< V >.
References sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::summationStrategy.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity().
|
inlinevirtual |
level | the level which one wants to compute |
callback | This callback is called (with already locked mutex) from inside one of the returned tasks when all tasks for the given level are completed and the level can be added. |
Implements sgpp::combigrid::AbstractFullGridEvaluator< V >.
References python.classifier::callback, CGLOG, CGLOG_SURROUND, analyse_erg::counter, python.statsfileInfo::i, sgpp::combigrid::AbstractFullGridEvaluator< V >::mutexPtr, sgpp::combigrid::AbstractFullGridEvaluator< V >::pointHierarchies, and sgpp::combigrid::AbstractFullGridEvaluator< V >::storage.