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

#include <nonlinsol.h>

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

Public Member Functions

 vector_function_allocator (World &world, const int nn)
 
std::vector< Function< T, NDIM > > operator() ()
 allocate a vector of n empty functions
 

Public Attributes

const int n =-1
 
Worldworld
 

Constructor & Destructor Documentation

◆ vector_function_allocator()

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

Member Function Documentation

◆ operator()()

template<typename T , std::size_t NDIM>
std::vector< Function< T, NDIM > > madness::vector_function_allocator< T, NDIM >::operator() ( )
inline

Member Data Documentation

◆ n

template<typename T , std::size_t NDIM>
const int madness::vector_function_allocator< T, NDIM >::n =-1

◆ world

template<typename T , std::size_t NDIM>
World& madness::vector_function_allocator< T, NDIM >::world

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