Psi4
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
psi::mcscf::BlockVector Class Reference

#include <block_vector.h>

Public Member Functions

 BlockVector ()
 
 BlockVector (std::string label, int nirreps, size_t *&rows_size)
 
 BlockVector (std::string label, int nirreps, int *&rows_size)
 
 BlockVector (std::string label, int nirreps, vecint &rows_size)
 
 ~BlockVector ()
 
void print ()
 
void copy (BlockVector &source)
 
void set (int h, int i, double value)
 
void add (int h, int i, double value)
 
double get (int h, int i)
 
VectorBasegetVectorBase (int h)
 
size_t ref () const
 
void add_reference ()
 
bool subtract_reference ()
 

Public Attributes

size_t ref_
 

Private Member Functions

void startup (std::string label, int nirreps, size_t *&rows_size)
 
void startup (std::string label, int nirreps, int *&rows_size)
 
void startup (std::string label, int nirreps, vecint &rows_size)
 
void cleanup ()
 

Private Attributes

std::string label_
 
VectorBase ** vector_base_
 
size_t * rows_size_
 
size_t * rows_offset_
 
int nirreps_
 

Constructor & Destructor Documentation

psi::mcscf::BlockVector::BlockVector ( )
psi::mcscf::BlockVector::BlockVector ( std::string  label,
int  nirreps,
size_t *&  rows_size 
)
psi::mcscf::BlockVector::BlockVector ( std::string  label,
int  nirreps,
int *&  rows_size 
)
psi::mcscf::BlockVector::BlockVector ( std::string  label,
int  nirreps,
vecint rows_size 
)
psi::mcscf::BlockVector::~BlockVector ( )

Member Function Documentation

void psi::mcscf::BlockVector::add ( int  h,
int  i,
double  value 
)
inline
void psi::mcscf::BlockVector::add_reference ( )
inline
void psi::mcscf::BlockVector::cleanup ( void  )
private
void psi::mcscf::BlockVector::copy ( BlockVector source)
double psi::mcscf::BlockVector::get ( int  h,
int  i 
)
inline
VectorBase* psi::mcscf::BlockVector::getVectorBase ( int  h)
inline
void psi::mcscf::BlockVector::print ( void  )
size_t psi::mcscf::BlockVector::ref ( ) const
inline
void psi::mcscf::BlockVector::set ( int  h,
int  i,
double  value 
)
inline
void psi::mcscf::BlockVector::startup ( std::string  label,
int  nirreps,
size_t *&  rows_size 
)
private
void psi::mcscf::BlockVector::startup ( std::string  label,
int  nirreps,
int *&  rows_size 
)
private
void psi::mcscf::BlockVector::startup ( std::string  label,
int  nirreps,
vecint rows_size 
)
private
bool psi::mcscf::BlockVector::subtract_reference ( )
inline

Member Data Documentation

std::string psi::mcscf::BlockVector::label_
private
int psi::mcscf::BlockVector::nirreps_
private
size_t psi::mcscf::BlockVector::ref_
size_t* psi::mcscf::BlockVector::rows_offset_
private
size_t* psi::mcscf::BlockVector::rows_size_
private
VectorBase** psi::mcscf::BlockVector::vector_base_
private

The documentation for this class was generated from the following files: