28 #ifndef _chemistry_qc_wfn_obwfn_h
29 #define _chemistry_qc_wfn_obwfn_h
32 #include <chemistry/qc/wfn/wfn.h>
33 #ifdef MPQC_NEW_FEATURES
34 # include <util/misc/xml.h>
52 double *alpha_occupations_;
53 double *beta_occupations_;
62 int form_occupations(
int *&newocc,
const int *oldocc);
137 virtual double occupation(
int irrep,
int vectornum) = 0;
193 void orbitals(
const std::vector<SCVector3> & r, std::vector<double>& values,
194 unsigned int first,
unsigned int last,
195 bool energy_ordered =
false);
197 double orbital_density(
const SCVector3& r,
int iorb,
double* orbval = 0);
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
double orbital(const SCVector3 &r, int iorb)
returns the value of MO iorb at point r. To compute several MOs at several points use orbitals() inst...
int nelectron()
Returns the number of electrons.
RefSCMatrix oso_eigenvectors()
Returns the orthogonal MO (columns) to orthogonal-SO (rows) transformation matrix.
virtual RefSCMatrix oso_eigenvectors()=0
Returns the orthogonal MO (columns) to orthogonal-SO (rows) transformation matrix.
The RefSymmSCMatrix class is a smart pointer to an SCSymmSCMatrix specialization.
Definition: matrix.h:265
A OneBodyWavefunction is a MolecularEnergy that solves an effective one-body problem.
Definition: obwfn.h:44
The RefSCMatrix class is a smart pointer to an SCMatrix specialization.
Definition: matrix.h:135
void set_desired_value_accuracy(double eps)
Overload of Function::set_desired_value_accuracy().
A template class that maintains references counts.
Definition: ref.h:361
void symmetry_changed()
Call this if you have changed the molecular symmetry of the molecule contained by this MolecularEnerg...
virtual double alpha_occupation(int irrep, int vectornum)
Returns the alpha occupation.
A Wavefunction is a MolecularEnergy that utilizies a GaussianBasisSet.
Definition: wfn.h:52
The RefDiagSCMatrix class is a smart pointer to an DiagSCMatrix specialization.
Definition: matrix.h:389
RefSCMatrix mo_to_orthog_so()
/ Returns the SO to MO transformation matrix.
RefSCMatrix eigenvectors()
Deprecated.
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
This is useful as an initial guess for other one body wavefunctions. Produces high-spin electron conf...
Definition: obwfn.h:205
virtual RefDiagSCMatrix projected_eigenvalues(const Ref< OneBodyWavefunction > &guess_wfn, int alp=1)
Imports the eigenvalues of guess_wfn.
virtual double occupation(int irrep, int vectornum)=0
Returns the occupation.
virtual RefSCMatrix hcore_guess()
Return a guess vector.
double magnetic_moment() const
Computes the S (or J) magnetic moment of the target state(s), in units of .
int spin_unrestricted()
Return 1 if the alpha orbitals are not equal to the beta orbitals.
RefSymmSCMatrix density()
Returns the SO density.
RefDiagSCMatrix eigenvalues()
Returns the MO basis eigenvalues.
virtual int spin_unrestricted()=0
Return 1 if the alpha orbitals are not equal to the beta orbitals.
virtual RefSCMatrix projected_eigenvectors(const Ref< OneBodyWavefunction > &guess_wfn, int alp=1)
Projects the density (not eigenvalues) of guess_wfn into the current basis set.
Definition: stateout.h:71
int value_implemented() const
a 3-element version of SCVector
Definition: vector3.h:43
static std::ostream & out0()
Return an ostream that writes from node 0.
void print(std::ostream &o=ExEnv::out0()) const
Print information about the object.
virtual double beta_occupation(int irrep, int vectornum)
Returns the beta occupation.
void orbitals(const std::vector< SCVector3 > &r, std::vector< double > &values, unsigned int first, unsigned int last, bool energy_ordered=false)
computes values of MOs in range [first,last] at points r and store them in an array values
double occupation(int irrep, int vectornum)
Returns the occupation.
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
virtual RefDiagSCMatrix eigenvalues()=0
Returns the MO basis eigenvalues.
Generated at Sun Jan 26 2020 23:24:00 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.