40 friend std::ostream &
operator<<(std::ostream &output,
PHM &phm);
46 PHM(
const PHM &) =
default;
50 virtual ~PHM() =
default;
56 using BlockMatrix::operator=;
58 using BlockMatrix::operator();
60 double operator()(
int a,
int b,
int c,
int d)
const;
99 static std::unique_ptr<helpers::tmatrix<int>>
s2ph;
102 static std::unique_ptr<helpers::tmatrix<int>>
ph2s;
105 static std::unique_ptr<helpers::tmatrix<int>>
s2b;
108 static std::unique_ptr<helpers::tmatrix<int>>
b2s;
static std::unique_ptr< helpers::tmatrix< int > > s2b
table translating single particles indices to the correct 2x2 block
static std::unique_ptr< helpers::tmatrix< int > > s2ph
table translating single particles indices to two particle indices
void WriteToFile(hid_t &group_id) const
void WriteFullToFile(hid_t &group_id) const
Matrix Gimg(const TPM &) const
const Matrix & getBlock(int a, int b) const
void ReadFromFile(hid_t &group_id)
void sep_pm(BlockMatrix &, BlockMatrix &)
double operator()(int a, int b, int c, int d) const
static std::unique_ptr< helpers::tmatrix< int > > b2s
table translating the block index to the single particle indices
static std::unique_ptr< helpers::tmatrix< int > > ph2s
table translating two particles indices to single particle indices
PHM & operator=(const PHM &)=default
void L_map(const BlockMatrix &, const BlockMatrix &)
friend std::ostream & operator<<(std::ostream &output, PHM &phm)