20 #ifndef TWOINDEX_CHEMPS2_H
21 #define TWOINDEX_CHEMPS2_H
39 TwoIndex(
const int nGroup,
const int * IrrepSizes);
51 void set(
const int irrep,
const int i,
const int j,
const double val);
58 double get(
const int irrep,
const int i,
const int j)
const;
62 void save(
const std::string name)
const;
64 void save2(
const std::string name)
const;
68 void read(
const std::string name);
70 void read2(
const std::string name);
void reset()
set everything to zero
virtual ~TwoIndex()
Destructor.
void read(const std::string name)
Load the TwoIndex object.
TwoIndex(const int nGroup, const int *IrrepSizes)
Constructor.
void read2(const std::string name)
void set(const int irrep, const int i, const int j, const double val)
Set an element.
void save2(const std::string name) const
void save(const std::string name) const
Save the TwoIndex object.