MADNESS 0.10.1
Public Member Functions | Public Attributes | List of all members
spinorallocator Struct Reference
Collaboration diagram for spinorallocator:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

const int n
 
Worldworld
 

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

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 operator()().

◆ world

World& spinorallocator::world

Referenced by operator()().


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