28 #ifndef _mpqc_src_lib_extern_moinfo_moinfo_h
29 #define _mpqc_src_lib_extern_moinfo_moinfo_h
33 #include <chemistry/qc/basis/basis.h>
34 #include <chemistry/qc/wfn/rdm.h>
35 #include <math/scmat/abstract.h>
49 std::string basisname = std::string());
58 const std::vector<unsigned int>&
indexmap()
const;
64 const std::vector<unsigned int>& fzcpi()
const;
65 const std::vector<unsigned int>& fzvpi()
const;
66 const std::vector<unsigned int>& inactpi()
const;
67 const std::vector<unsigned int>& actpi()
const;
68 const std::vector<unsigned int>& corrpi()
const;
69 const std::vector<unsigned int>& mopi()
const;
74 std::vector<unsigned int> indexmap_;
75 std::vector<unsigned int> occindexmap_occ_;
76 std::vector<unsigned int> actindexmap_occ_;
80 std::vector<unsigned int> mopi_;
81 std::vector<unsigned int> fzcpi_;
82 std::vector<unsigned int> fzvpi_;
83 std::vector<unsigned int> inactpi_;
84 std::vector<unsigned int> actpi_;
85 std::vector<unsigned int> corrpi_;
104 const std::vector<unsigned int>& indexmap,
133 const std::vector<unsigned int>& indexmap,
154 std::string filename_;
156 void init_from_rdm2_occspace(
const std::vector<unsigned int>& indexmap,
158 void init_from_rdm2_actspace(
const std::vector<unsigned int>& indexmap,
166 #endif // end of header guard
ExternSpinFreeRDMOne(const std::string &filename, const std::vector< unsigned int > &indexmap, const Ref< OrbitalSpace > &orbs)
reads 1-rdm from filename assumes that 1-rdm is expressed in orbs_sb
const std::vector< unsigned int > & occindexmap_occ() const
same as occindexmap_sb(), except it maps the occupied subset of orbs only
void compute()
already computed
Definition: moinfo.h:140
const Ref< SymmOrbitalSpace > & orbs() const
This object reports orbitals in symmetry-blocked order.
Definition: moinfo.h:55
Reads 2-RDM from a text file.
Definition: moinfo.h:128
The RefSymmSCMatrix class is a smart pointer to an SCSymmSCMatrix specialization.
Definition: matrix.h:265
Ref< SpinFreeRDM< One > > rdm_m_1() const
RDM of rank decreased by 1.
A template class that maintains references counts.
Definition: ref.h:361
Reads 1-RDM from a text file.
Definition: moinfo.h:89
This class is used to contain information about classes.
Definition: class.h:147
Ref< OrbitalSpace > orbs() const
the orbital space in which the density is reported
Definition: moinfo.h:117
const std::vector< unsigned int > & actindexmap_occ() const
same as actindexmap_sb(), except it maps the active subset of orbs only
void obsolete()
cannot be obsoleted
Definition: moinfo.h:138
ExternSpinFreeRDMTwo(const std::string &filename, const std::vector< unsigned int > &indexmap, const Ref< OrbitalSpace > &occ_orbs)
this assumes that the file reports 2-rdm in the entire occupied space.
RefSymmSCMatrix scmat() const
density matrix
Definition: moinfo.h:119
static Integral * get_default_integral()
Returns the default Integral factory.
SpinFreeRDM<R> is a spin-free reduced density matrix of rank R.
Definition: rdm.h:226
const std::vector< unsigned int > & indexmap() const
maps the MO indices assumed by the contents of the data file to that of orbs()
Reads MO information from a text file Note that the MO ordering in the external file may not be the s...
Definition: moinfo.h:45
void obsolete()
cannot be obsoleted
Definition: moinfo.h:113
RefSymmSCMatrix scmat() const
density matrix
Definition: moinfo.h:144
Ref< OrbitalSpace > orbs() const
the orbital space of spincase s in which the density is reported
Definition: moinfo.h:142
Classes which need runtime information about themselves and their relationship to other classes can v...
Definition: class.h:233
void compute()
already computed
Definition: moinfo.h:115
This is an OrbitalSpace ordered according to the Order type.
Definition: orbitalspace.h:701
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
const Ref< DistArray4 > & da4() const
density matrix in DistArray4 format
Generated at Sun Jan 26 2020 23:23:57 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.