28#ifndef _MPQC_CHEMISTRY_WFN_TAWFN_HPP_
29#define _MPQC_CHEMISTRY_WFN_TAWFN_HPP_
31#include <tiledarray_fwd.h>
32#include <util/madness/world.h>
33#include <chemistry/qc/basis/integral.h>
34#include <chemistry/qc/basis/tiledbasisset.hpp>
35#include <chemistry/molecule/energy.h>
36#include <chemistry/qc/wfn/spin.h>
59 typedef TiledArray::TensorD TATensor;
81 return tbs_->molecule();
158 return rdm1_.result_noupdate();
162 ResultMatrix rdm1_alpha_;
163 ResultMatrix rdm1_beta_;
170 ResultMatrix overlap_;
173 mutable double magnetic_moment_;
176 bool nonzero_efield_supported()
const;
Wavefunction represents an electronic wave function expressed in terms of a basis set of atomic orbit...
Definition tawfn.hpp:49
Wavefunction(const sc::Ref< sc::KeyVal > &kval)
The KeyVal constructor.
TiledArray::TArray2D TAMatrix
Matrix of reals.
Definition tawfn.hpp:54
virtual TAMatrix & ao_density()
Returns reference to rdm1_.result_noupdate(), but guarantees nothing about its computed status.
Definition tawfn.hpp:157
const sc::Ref< TiledBasisSet > & basis() const
Definition tawfn.hpp:71
TiledArray::TArray1D TAVector
Vector of reals.
Definition tawfn.hpp:53
virtual const TAMatrix & ao_overlap()
Returns the AO overlap.
const sc::Ref< sc::Integral > & integral() const
Definition tawfn.hpp:75
virtual const TAMatrix & rdm1(sc::SpinCase1 s)=0
Returns expression to the AO density matrix.
void print(std::ostream &os=sc::ExEnv::out0()) const
Print information about the object.
sc::Ref< sc::Molecule > molecule() const override
Definition tawfn.hpp:80
virtual const TAMatrix & rdm1()=0
Returns electron 1-body reduced density matrix (1-RDM) in AO basis.
unsigned debug() const
Returns expression to the AO hcore matrix.
Definition tawfn.hpp:138
double total_charge() const
Definition tawfn.hpp:85
void obsolete()
makes this object obsolete, next call to compute() will recompute
bool spin_polarized()
Definition tawfn.hpp:104
virtual double magnetic_moment() const
Computes the S (or J) magnetic moment of the target state(s), in units of .
virtual size_t nelectron() const =0
virtual const TAMatrix & ao_hcore()
Returns expression to the AO overlap matrix.
This associates a result datum with an accuracy.
Definition comptmpl.h:88
This class is used to contain information about classes.
Definition class.h:147
static std::ostream & out0()
Return an ostream that writes from node 0.
The MolecularEnergy abstract class inherits from the Function class.
Definition energy.h:54
double total_charge() const
Returns the total nuclear charge.
A template class that maintains references counts.
Definition ref.h:361
Result are members of Compute specializations that keep track of whether or not a particular result s...
Definition comptmpl.h:37
Contains new MPQC code since version 3.
Definition integralenginepool.hpp:37