MADNESS  version 0.9
Public Member Functions | Public Attributes | List of all members
madness::allocator< T, NDIM > Struct Template Reference

#include <nemo.h>

Collaboration diagram for madness::allocator< T, NDIM >:
Collaboration graph
[legend]

Public Member Functions

 allocator (World &world, const int nn)
 
vecfunc< T, NDIMoperator() ()
 allocate a vector of n empty functions More...
 
 allocator (World &world, const int nnoct)
 
xfunction operator() ()
 
allocator operator= (const allocator &other)
 

Public Attributes

Worldworld
 
const int n
 
const int noct
 

Constructor & Destructor Documentation

template<typename T , std::size_t NDIM>
madness::allocator< T, NDIM >::allocator ( World world,
const int  nn 
)
inline
Parameters
[in]worldthe world
[in]nnthe number of functions in a given vector
template<typename T , std::size_t NDIM>
madness::allocator< T, NDIM >::allocator ( World world,
const int  nnoct 
)
inline
Parameters
[in]worldthe world
[in]nnthe number of functions in a given vector

Member Function Documentation

template<typename T , std::size_t NDIM>
vecfunc<T, NDIM> madness::allocator< T, NDIM >::operator() ( )
inline

allocate a vector of n empty functions

References madness::allocator< T, NDIM >::n, and madness::allocator< T, NDIM >::world.

template<typename T , std::size_t NDIM>
xfunction madness::allocator< T, NDIM >::operator() ( )
inline
template<typename T , std::size_t NDIM>
allocator madness::allocator< T, NDIM >::operator= ( const allocator< T, NDIM > &  other)
inline

Member Data Documentation

template<typename T , std::size_t NDIM>
const int madness::allocator< T, NDIM >::n
template<typename T , std::size_t NDIM>
const int madness::allocator< T, NDIM >::noct
template<typename T , std::size_t NDIM>
World & allocator::world

The documentation for this struct was generated from the following files: