MADNESS 0.10.1
madness::vector_function_allocator< T, NDIM > Struct Template Reference

#include <nonlinsol.h>

Collaboration diagram for madness::vector_function_allocator< T, NDIM >:

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
World & world

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

References n, and world.

Member Function Documentation

◆ operator()()

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

allocate a vector of n empty functions

References n, world, and madness::zero_functions().

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: