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

read-only environment for building the nonlocal <psi|beta><beta|psi> matrix elements. More...

#include <lcao_domain.h>

Collaboration diagram for LCAO_domain::NL_env:

Public Attributes

const Parallel_Orbitals & pv
const UnitCell & ucell
const int nspin
const int npol
const bool gamma_only_local
const bool calc_deri

Detailed Description

read-only environment for building the nonlocal <psi|beta><beta|psi> matrix elements.

Everything here is fixed for the duration of one build_Nonlocal_mu_new call: the parallel layout, the unit cell and the spin/polarization configuration, plus whether derivatives (forces) are requested. Passed by const reference into the per-element accumulation helpers so they no longer read global INPUT state.

Member Data Documentation

◆ calc_deri

const bool LCAO_domain::NL_env::calc_deri

◆ gamma_only_local

const bool LCAO_domain::NL_env::gamma_only_local

◆ npol

const int LCAO_domain::NL_env::npol

◆ nspin

const int LCAO_domain::NL_env::nspin

◆ pv

const Parallel_Orbitals& LCAO_domain::NL_env::pv

◆ ucell

const UnitCell& LCAO_domain::NL_env::ucell

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