MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
ci.h
1#ifndef _chemistry_qc_ci_ci_h
2#define _chemistry_qc_ci_ci_h
3
4#include <chemistry/qc/nbody/nbwfn.h>
5#include "mpqc/ci/ci.hpp"
6
7namespace sc {
8
11
15 class CI: public ManyBodyWavefunction {
16 public:
17
44 CI(const Ref<KeyVal> &kv);
45 CI(StateIn&);
47 virtual ~CI();
48
49 void print(std::ostream& os=ExEnv::out0()) const;
50
51 int value_implemented() const;
52
53 void compute();
54
55 int nelectron();
56 double magnetic_moment() const;
58
59 private:
60 mpqc::ci::Config config_;
61 std::vector<double> E_;
62 static std::vector<double> compute(const Ref<RefWavefunction> &ref,
63 const mpqc::ci::Config& config);
64 };
65
67 // end of addtogroup ChemistryElectronicStructureNBody
68
69}
70
71#endif
72
73// Local Variables:
74// mode: c++
75// c-file-style: "CLJ"
76// End:
CI is a configuration interaction ManyBodyWavefunction.
Definition ci.h:15
double magnetic_moment() const
Computes the S (or J) magnetic moment of the target state(s), in units of .
RefSymmSCMatrix density()
Returns the SO density.
int value_implemented() const
void compute()
Recompute at least the results that have compute true and are not already computed.
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 print(std::ostream &os=ExEnv::out0()) const
Print information about the object.
CI(const Ref< KeyVal > &kv)
A KeyVal constructor is used to generate a CI object from the input.
int nelectron()
Returns the number of electrons.
Ref< DescribedClass > ref()
Return this object wrapped up in a Ref smart pointer.
Definition class.h:251
static std::ostream & out0()
Return an ostream that writes from node 0.
ManyBodyWavefunction is a Wavefunction obtained from a reference OneBodyWavefunction (its orbitals or...
Definition nbwfn.h:46
The RefSymmSCMatrix class is a smart pointer to an SCSymmSCMatrix specialization.
Definition matrix.h:265
A template class that maintains references counts.
Definition ref.h:361
Restores fundamental and user-defined types from images created with StateOut.
Definition statein.h:79
Serializes fundamental and user-defined types.
Definition stateout.h:71
Contains all MPQC code up to version 3.
Definition mpqcin.h:14
CI configuration.
Definition ci.hpp:21

Generated at Wed Sep 25 2024 02:45:29 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.