ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
elecstate::efermi Struct Reference

Fermi energies. More...

#include <fp_energy.h>

Collaboration diagram for elecstate::efermi:

Public Member Functions

void set_efval (const int &is, const double &ef_in)
 set efermi of a specific spin
 
double get_efval (const int &is) const
 get the value of fermi of a specific spin
 
std::vector< double > get_all_ef () const
 get all fermi energies for all spins
 

Public Attributes

double ef = 0.0
 Fermi energy.
 
double ef_up = 0.0
 spin up Fermi energy
 
double ef_dw = 0.0
 spin down Fermi energy
 
bool two_efermi = false
 

Detailed Description

Fermi energies.

Member Function Documentation

◆ get_all_ef()

std::vector< double > elecstate::efermi::get_all_ef ( ) const

get all fermi energies for all spins

Returns
all fermi energies for all spins

◆ get_efval()

double elecstate::efermi::get_efval ( const int &  is) const

get the value of fermi of a specific spin

Parameters
isSPIN
Returns
value of fermi(is)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_efval()

void elecstate::efermi::set_efval ( const int &  is,
const double &  ef_in 
)

set efermi of a specific spin

Parameters
isSPIN
ef_infermi(is)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ef

double elecstate::efermi::ef = 0.0

Fermi energy.

◆ ef_dw

double elecstate::efermi::ef_dw = 0.0

spin down Fermi energy

◆ ef_up

double elecstate::efermi::ef_up = 0.0

spin up Fermi energy

◆ two_efermi

bool elecstate::efermi::two_efermi = false

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