MADNESS 0.10.1
spinorallocator Struct Reference
Collaboration diagram for spinorallocator:

Public Member Functions

 spinorallocator (World &world, const int n)
std::vector< Spinor > operator() ()
 allocate a vector of n empty functions

Public Attributes

const int n
World & world

Constructor & Destructor Documentation

◆ spinorallocator()

spinorallocator::spinorallocator ( World & world,
const int n )
inline
Parameters
[in]worldthe world
[in]nnthe number of functions in a given vector

References n, and world.

Member Function Documentation

◆ operator()()

std::vector< Spinor > spinorallocator::operator() ( )
inline

allocate a vector of n empty functions

References n, and world.

Member Data Documentation

◆ n

const int spinorallocator::n

Referenced by spinorallocator(), and operator()().

◆ world

World& spinorallocator::world

Referenced by spinorallocator(), and operator()().


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