LIBINT
2.1.0-stable
|
VectorBraket is a std::vector-based type that can be used as a BraSetType or a KetSetType parameter to construct an instance of GenIntegralSet. More...
#include <braket.h>
Classes | |
struct | parent_type |
Public Types | |
typedef BFS | bfs_type |
typedef BFS | bfs_stor |
typedef bfs_stor & | bfs_ref |
typedef const bfs_stor & | bfs_cref |
typedef vector< bfs_stor > | BFSVector |
typedef vector< BFSVector > | BFSMatrix |
typedef VectorBraket< typename BFS::iter_type > | iter_type |
![]() | |
typedef KeyTraits< LIBINT2_UINT_LEAST64 >::ReturnType | KeyReturnType |
Public Member Functions | |
VectorBraket () | |
This one is a very dangerous constructor – do not to use it if at all possible. More... | |
VectorBraket (const BFSMatrix &) | |
VectorBraket (const VectorBraket &) | |
bool | operator== (const VectorBraket &) const |
Comparison function. | |
bfs_ref | member (unsigned int p, unsigned int i) |
Returns pointer to the i-th function for particle p. | |
bfs_cref | member (unsigned int p, unsigned int i) const |
Returns pointer to the i-th function for particle p. | |
SubIterator * | member_subiter (unsigned int p, unsigned int i) const |
Returns pointer to the SubIterator for i-th BFS of particle p. | |
void | set_member (bfs_cref, unsigned int p, unsigned int i) |
Sets i-th function for particle p. | |
void | set_member (const ConstructablePolymorphically &, unsigned int p, unsigned int i) |
Sets i-th function for particle p (does a dynamic cast inside) | |
unsigned int | num_members (unsigned int p) const |
Returns the number of BFS for particle p. | |
unsigned int | num_part () const |
Returns the number of particles. | |
LIBINT2_UINT_LEAST64 | key () const |
Implements Hashable::key() | |
LIBINT2_UINT_LEAST64 | max_key () const |
key lies in range [0,max_key()) | |
Additional Inherited Members | |
![]() | |
KeyStore< LIBINT2_UINT_LEAST64, OwnKey< KeyMP >::result > | key_ |
VectorBraket is a std::vector-based type that can be used as a BraSetType or a KetSetType parameter to construct an instance of GenIntegralSet.
VectorBraket is the most general implementation of Braket concept, but is fairly heavy. For better efficiency use ArrayBraket.
libint2::VectorBraket< BFS >::VectorBraket | ( | ) |
This one is a very dangerous constructor – do not to use it if at all possible.
Provided only for compatibility for generic subiterator algorithms