MADNESS  version 0.9
Classes | Functions
Periodic Solver

The Periodic Solver group is a group that contains the software objects that are needed to solve a periodic Kohn-Sham hamiltonian. More...

Collaboration diagram for Periodic Solver:

Classes

class  madness::SubspaceK< T, NDIM >
 The SubspaceK class is a container class holding previous orbitals and residuals. More...
 
class  madness::Subspace< T, NDIM >
 The SubspaceK class is a container class holding previous orbitals and residuals. More...
 
class  madness::Solver< T, NDIM >
 The main class of the periodic DFT solver

\[ z = frac{x}{1 - y^2} \]

. More...

 
struct  madness::Solver< T, NDIM >::GuessDensity
 

Functions

template<typename T >
madness::stheta_fd (const T &x)
 
rfunctionT madness::Solver< T, NDIM >::compute_rho_slow (const vecfuncT &phis, std::vector< KPoint > kpoints, std::vector< double > occs)
 Compute the electronic density for either a molecular or periodic system. More...
 
void madness::Solver< T, NDIM >::apply_potential (vecfuncT &pfuncsa, vecfuncT &pfuncsb, const vecfuncT &phisa, const vecfuncT &phisb, const rfunctionT &rhoa, const rfunctionT &rhob, const rfunctionT &rho)
 Applies the LDA effective potential to each orbital. Currently only lda and spin-polarized is not implemented. More...
 

Detailed Description

The Periodic Solver group is a group that contains the software objects that are needed to solve a periodic Kohn-Sham hamiltonian.

Function Documentation

template<typename T, int NDIM>
void madness::Solver< T, NDIM >::apply_potential ( vecfuncT &  pfuncsa,
vecfuncT &  pfuncsb,
const vecfuncT &  phisa,
const vecfuncT &  phisb,
const rfunctionT rhoa,
const rfunctionT rhob,
const rfunctionT rho 
)
inline
template<typename T, int NDIM>
rfunctionT madness::Solver< T, NDIM >::compute_rho_slow ( const vecfuncT &  phis,
std::vector< KPoint kpoints,
std::vector< double >  occs 
)
inline
template<typename T >
T madness::stheta_fd ( const T &  x)

-Dirac distribution function for fixing the occupation numbers

References mpfr::exp().

Referenced by madness::Solver< T, NDIM >::fix_occupations().