|
MPQC
3.0.0-alpha
|
Block CI Vector, with 1-d (vector) and 2-d (matrix) access. More...
#include <mpqc/ci/vector.hpp>
Classes | |
| struct | Block1d |
| 1-d vector sub-block More... | |
| struct | Block2d |
| 2-d vector sub-block More... | |
Public Member Functions | |
| Vector (std::string name, const SubspaceGrid &G, MPI::Comm comm, bool incore) | |
| Construct vector. More... | |
| Block1d | operator() (range r) |
| Returns 1-d sub-block of vector. More... | |
| Block2d | operator() (mpqc::range A, mpqc::range B) |
| Returns 2-d sub-block of vector. | |
| void | sync () |
|
inline |
Construct vector.
| name | vector name |
| G | vector grid (blocking and sparsity) |
| comm | MPI communicator |
| incore | store vector in core (incore=true) or in file |
References mpqc::ci::SubspaceGrid::allowed(), mpqc::ci::SubspaceGrid::alpha(), mpqc::ci::SubspaceGrid::beta(), and mpqc::ci::SubspaceGrid::dets().
Returns 1-d sub-block of vector.
| r | sub-block range |