20 #ifndef TWOINDEX_CHEMPS2_H 21 #define TWOINDEX_CHEMPS2_H 39 TwoIndex(
const int nGroup,
const int * IrrepSizes);
52 void set(
const int irrep,
const int i,
const int j,
const double val);
59 double get(
const int irrep,
const int i,
const int j)
const;
63 void save(
const std::string name)
const;
67 void read(
const std::string name);
void Clear()
Set all one-body matrix elements to zero.
virtual ~TwoIndex()
Destructor.
void read(const std::string name)
Load the TwoIndex object.
TwoIndex(const int nGroup, const int *IrrepSizes)
Constructor.
void save(const std::string name) const
Save the TwoIndex object.