SG++
sgpp::combigrid::TreeStorageContext< T > Class Template Reference

Context for the TreeStorage class. More...

#include <TreeStorageContext.hpp>

Public Types

typedef std::function< T(MultiIndex const &)> function_type
 

Public Member Functions

 TreeStorageContext (size_t numDimensions, function_type func)
 

Public Attributes

function_type func
 
size_t numDimensions
 

Detailed Description

template<typename T>
class sgpp::combigrid::TreeStorageContext< T >

Context for the TreeStorage class.

Contains context information about the number of dimensions and the function to generate default entries for the storage. The context is referenced by all nodes.

Member Typedef Documentation

template<typename T>
typedef std::function<T(MultiIndex const &)> sgpp::combigrid::TreeStorageContext< T >::function_type

Constructor & Destructor Documentation

template<typename T>
sgpp::combigrid::TreeStorageContext< T >::TreeStorageContext ( size_t  numDimensions,
function_type  func 
)
inline

Member Data Documentation


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