28 #include <util/state/state.h>
29 #include <util/state/statein.h>
30 #include <util/state/stateout.h>
32 #ifndef _chemistry_qc_mbptr12_twoparticlecontraction_h
33 #define _chemistry_qc_mbptr12_twoparticlecontraction_h
51 unsigned int nrow()
const;
52 unsigned int ncol()
const;
55 virtual double contract(
const double* A,
const double* B)
const =0;
58 double dot_prod(
const double* A,
const double* B)
const;
76 double contract(
const double* A,
const double* B)
const;
95 double contract(
const double* A,
const double* B)
const;
114 double contract(
const double* A,
const double* B)
const;
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
ABS_OBS_Contraction(unsigned int nobs, unsigned int nocc1, unsigned int nocc2)
nobs = rank of OBS (number of all orbitals), nocc1 and nocc2 are number of occupied orbitals for spac...
CABS_OBS_Contraction(unsigned int nobs)
CABS OBS contraction does not depend on the occupied spaces.
virtual double contract(const double *A, const double *B) const =0
Computes contraction of blocks A and B.
Direct_Contraction is a straight scalar (dot) product of 2 rectangular blocks, scaled by scale.
Definition: twoparticlecontraction.h:68
double contract(const double *A, const double *B) const
Computes contraction of blocks A and B.
CABS_OBS_Contraction contracts 2 square nobs-by-nobs blocks for the CABS approach.
Definition: twoparticlecontraction.h:106
Definition: stateout.h:71
TwoParticleContraction contracts nrow-by-ncol bra- or ket-blocks of two 2-particle tensors i....
Definition: twoparticlecontraction.h:43
double contract(const double *A, const double *B) const
Computes contraction of blocks A and B.
Base class for objects that can save/restore state.
Definition: state.h:45
ABS_OBS_Contraction contracts 2 square nobs-by-nobs blocks for the ABS approach.
Definition: twoparticlecontraction.h:87
double contract(const double *A, const double *B) const
Computes contraction of blocks A and B.
void save_data_state(StateOut &so)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
void save_data_state(StateOut &so)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
Generated at Sun Jan 26 2020 23:23:59 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.