ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ModuleDFPT::DFPT_PW_InitContext Struct Reference

#include <dfpt_pw.h>

Collaboration diagram for ModuleDFPT::DFPT_PW_InitContext:

Public Attributes

UnitCell * ucell
const psi::Psi< std::complex< double > > * psi
ModulePW::PW_Basis * pw_rho
ModulePW::PW_Basis_K * pw_wfc
Structure_Factor * sf
const std::vector< double > * veff_r
const ModuleBase::matrix * wg
const ModuleBase::matrix * eig
const XC_First_Order * xc
double nelec
double ecutwfc
const Plus_U_Base * dftu
int myrank
const std::vector< double > * vxc_r

Detailed Description

Bundled initialisation context for DFPT_PW (see dfpt_pw_impl.h for the full field-level doxygen). Forward-declared here so callers can build a struct aggregate without pulling the heavy impl header; the detailed field docs live alongside the private impl header that actually uses each field.

Member Data Documentation

◆ dftu

const Plus_U_Base* ModuleDFPT::DFPT_PW_InitContext::dftu

◆ ecutwfc

double ModuleDFPT::DFPT_PW_InitContext::ecutwfc

◆ eig

const ModuleBase::matrix* ModuleDFPT::DFPT_PW_InitContext::eig

◆ myrank

int ModuleDFPT::DFPT_PW_InitContext::myrank

MPI rank of the running process (from the runtime context, not read from any global inside module_dfpt); consumed by the dyn file writer for the rank-0 output gate. No default member initializer: C++11 aggregate rules require it.

◆ nelec

double ModuleDFPT::DFPT_PW_InitContext::nelec

◆ psi

const psi::Psi<std::complex<double> >* ModuleDFPT::DFPT_PW_InitContext::psi

◆ pw_rho

ModulePW::PW_Basis* ModuleDFPT::DFPT_PW_InitContext::pw_rho

◆ pw_wfc

ModulePW::PW_Basis_K* ModuleDFPT::DFPT_PW_InitContext::pw_wfc

◆ sf

Structure_Factor* ModuleDFPT::DFPT_PW_InitContext::sf

◆ ucell

UnitCell* ModuleDFPT::DFPT_PW_InitContext::ucell

◆ veff_r

const std::vector<double>* ModuleDFPT::DFPT_PW_InitContext::veff_r

◆ vxc_r

const std::vector<double>* ModuleDFPT::DFPT_PW_InitContext::vxc_r

ground-state XC potential on the rho grid (valence + core charge input, the same density the kernel linearizes around); consumed by the nlcc diagonal 2n+1 term (QE dynmatcc). Null disables that term. No default member initializer: C++11 aggregate rules require it.

◆ wg

const ModuleBase::matrix* ModuleDFPT::DFPT_PW_InitContext::wg

◆ xc

const XC_First_Order* ModuleDFPT::DFPT_PW_InitContext::xc

The documentation for this struct was generated from the following file: