MADNESS 0.10.1
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::Solver< T, NDIM >
 The main class of the periodic DFT solver. More...
 
class  Subspace
 The Subspace 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::SubspaceK< T, NDIM >
 The SubspaceK class is a container class holding previous orbitals and residuals. More...
 

Functions

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.
 
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.
 
template<typename T >
T madness::stheta_fd (const T &x)
 

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

◆ apply_potential()

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

◆ compute_rho_slow()

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

◆ stheta_fd()

template<typename T >
T madness::stheta_fd ( const T x)

\Fermi-Dirac distribution function for fixing the occupation numbers

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