218 template <
typename T,
typename F>
224 , density_(density__)
225 , potential_(potential__)
364 return stress_ewald_;
380 template <
typename T>
394 return stress_nonloc_;
441 inline auto stress_us()
const
446 inline auto stress_us_nl()
const
448 return stress_nonloc_ + stress_us_;
461 inline auto stress_xc()
const
469 inline auto stress_core()
const
476 inline auto stress_hubbard()
const
478 return stress_hubbard_;
483 inline auto stress_total()
const
485 return stress_total_;
488 void print_info(std::ostream& out__,
int verbosity__)
const;
Generate charge density and magnetization from occupied spinor wave-functions.
Generate effective potential from charge density and magnetization.
Simulation context is a set of parameters and objects describing a single simulation.
r3::matrix< double > calc_stress_xc()
XC contribution to stress.
r3::matrix< double > calc_stress_ewald()
Ewald energy contribution to stress.
r3::matrix< double > calc_stress_us()
Contribution to the stress tensor from the augmentation operator.
r3::matrix< double > calc_stress_vloc()
Local potential contribution to stress.
r3::matrix< double > calc_stress_har()
Hartree energy contribution to stress.
void calc_stress_kin_aux()
Kinetic energy contribution to stress.
void calc_stress_nonloc_aux()
Non-local contribution to stress.
r3::matrix< double > calc_stress_core()
Non-linear core correction to stress tensor.
Namespace of the SIRIUS library.
Contains declaration and partial implementation of sirius::Potential class.