ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
toW90 Class Reference

#include <to_w90.h>

Inheritance diagram for toW90:
Collaboration diagram for toW90:

Public Member Functions

 toW90 ()
 toW90 (const bool &out_wannier_mmn, const bool &out_wannier_amn, const bool &out_wannier_unk, const bool &out_wannier_eig, const bool &out_wannier_wvfn_formatted, const std::string &nnkpfile, const std::string &wannier_spin, const int &nspin, const int &nbands, const int &nqx, const double &dq, const int &npol)
 ~toW90 ()
void calculate ()
void read_nnkp (const UnitCell &ucell, const K_Vectors &kv)
void out_eig (const ModuleBase::matrix &ekb)
void cal_Amn ()
void cal_Mmn ()
void out_unk ()

Protected Member Functions

bool try_read_nnkp (const UnitCell &ucell, const K_Vectors &kv)

Protected Attributes

int num_kpts =0
int cal_num_kpts =0
std::vector< std::vector< int > > nnlist
std::vector< std::vector< ModuleBase::Vector3< double > > > nncell
int nntot = 0
int start_k_index = 0
int num_wannier =0
std::vector< ModuleBase::Vector3< double > > R_centre
std::vector< int > L
std::vector< int > m
std::vector< int > rvalue
std::vector< ModuleBase::Vector3< double > > z_axis
std::vector< ModuleBase::Vector3< double > > x_axis
std::vector< double > alfa
std::vector< int > spin_eig
std::vector< ModuleBase::Vector3< double > > spin_qaxis
std::vector< std::complex< double > > up_con
std::vector< std::complex< double > > dn_con
bool out_wannier_mmn = true
bool out_wannier_amn = true
bool out_wannier_unk = true
bool out_wannier_eig = true
bool out_wannier_wvfn_formatted = true
std::string nnkpfile = ""
std::string wannier_file_name = "seedname"
std::string wannier_spin = "up"
int nspin_ = 1
int nbands_ = 0
int nqx_ = 0
double dq_ = 0.0
int npol_ = 1
int num_exclude_bands = 0
std::unordered_set< int > exclude_bands
int num_bands = 0
std::vector< int > cal_band_index
bool gamma_only_wannier = false

Constructor & Destructor Documentation

◆ toW90() [1/2]

toW90::toW90 ( )
Here is the caller graph for this function:

◆ toW90() [2/2]

toW90::toW90 ( const bool & out_wannier_mmn,
const bool & out_wannier_amn,
const bool & out_wannier_unk,
const bool & out_wannier_eig,
const bool & out_wannier_wvfn_formatted,
const std::string & nnkpfile,
const std::string & wannier_spin,
const int & nspin,
const int & nbands,
const int & nqx,
const double & dq,
const int & npol )
Here is the call graph for this function:

◆ ~toW90()

toW90::~toW90 ( )

Member Function Documentation

◆ cal_Amn()

void toW90::cal_Amn ( )
Here is the caller graph for this function:

◆ cal_Mmn()

void toW90::cal_Mmn ( )
Here is the caller graph for this function:

◆ calculate()

void toW90::calculate ( )

◆ out_eig()

void toW90::out_eig ( const ModuleBase::matrix & ekb)
Here is the caller graph for this function:

◆ out_unk()

void toW90::out_unk ( )
Here is the caller graph for this function:

◆ read_nnkp()

void toW90::read_nnkp ( const UnitCell & ucell,
const K_Vectors & kv )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ try_read_nnkp()

bool toW90::try_read_nnkp ( const UnitCell & ucell,
const K_Vectors & kv )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ alfa

std::vector<double> toW90::alfa
protected

◆ cal_band_index

std::vector<int> toW90::cal_band_index
protected

◆ cal_num_kpts

int toW90::cal_num_kpts =0
protected

◆ dn_con

std::vector<std::complex<double> > toW90::dn_con
protected

◆ dq_

double toW90::dq_ = 0.0
protected

◆ exclude_bands

std::unordered_set<int> toW90::exclude_bands
protected

◆ gamma_only_wannier

bool toW90::gamma_only_wannier = false
protected

◆ L

std::vector<int> toW90::L
protected

◆ m

std::vector<int> toW90::m
protected

◆ nbands_

int toW90::nbands_ = 0
protected

◆ nncell

std::vector<std::vector<ModuleBase::Vector3<double> > > toW90::nncell
protected

◆ nnkpfile

std::string toW90::nnkpfile = ""
protected

◆ nnlist

std::vector<std::vector<int> > toW90::nnlist
protected

◆ nntot

int toW90::nntot = 0
protected

◆ npol_

int toW90::npol_ = 1
protected

◆ nqx_

int toW90::nqx_ = 0
protected

◆ nspin_

int toW90::nspin_ = 1
protected

◆ num_bands

int toW90::num_bands = 0
protected

◆ num_exclude_bands

int toW90::num_exclude_bands = 0
protected

◆ num_kpts

int toW90::num_kpts =0
protected

◆ num_wannier

int toW90::num_wannier =0
protected

◆ out_wannier_amn

bool toW90::out_wannier_amn = true
protected

◆ out_wannier_eig

bool toW90::out_wannier_eig = true
protected

◆ out_wannier_mmn

bool toW90::out_wannier_mmn = true
protected

◆ out_wannier_unk

bool toW90::out_wannier_unk = true
protected

◆ out_wannier_wvfn_formatted

bool toW90::out_wannier_wvfn_formatted = true
protected

◆ R_centre

std::vector<ModuleBase::Vector3<double> > toW90::R_centre
protected

◆ rvalue

std::vector<int> toW90::rvalue
protected

◆ spin_eig

std::vector<int> toW90::spin_eig
protected

◆ spin_qaxis

std::vector<ModuleBase::Vector3<double> > toW90::spin_qaxis
protected

◆ start_k_index

int toW90::start_k_index = 0
protected

◆ up_con

std::vector<std::complex<double> > toW90::up_con
protected

◆ wannier_file_name

std::string toW90::wannier_file_name = "seedname"
protected

◆ wannier_spin

std::string toW90::wannier_spin = "up"
protected

◆ x_axis

std::vector<ModuleBase::Vector3<double> > toW90::x_axis
protected

◆ z_axis

std::vector<ModuleBase::Vector3<double> > toW90::z_axis
protected

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