![]() |
QMCPACK
|
a group of bands More...
Public Member Functions | |
BandInfoGroup () | |
constructor More... | |
int | getNumDistinctOrbitals () const |
return the size of this band More... | |
int | getFirstSPO () const |
return the indext of the first SPO set More... | |
int | getLastSPO () const |
return the indext of the last SPO set More... | |
int | getNumSPOs () const |
return the number of SPOs More... | |
void | selectBands (const std::vector< BandInfo > &bigspace, double emin, double emax) |
select the bands within an energy range [emin,emax) More... | |
void | selectBands (const std::vector< BandInfo > &bigspace, int first_orb, int num_spos, bool relative) |
get the bands within [first_spo,first_spo+num_spos) More... | |
Public Attributes | |
int | GroupID |
index of the group More... | |
int | FirstSPO |
starting SPO More... | |
int | NumSPOs |
number of SPOs handled by this object More... | |
int | FirstBand |
starting band More... | |
int | TwistIndex |
twist index set by the full band not by the subset More... | |
std::vector< BandInfo > | myBands |
Bands that belong to this group. More... | |
std::string | myName |
name of this band More... | |
a group of bands
Definition at line 66 of file BandInfo.h.
BandInfoGroup | ( | ) |
constructor
Definition at line 20 of file BandInfo.cpp.
|
inline |
return the indext of the first SPO set
Definition at line 87 of file BandInfo.h.
References BandInfoGroup::FirstSPO.
Referenced by BsplineReader::check_twists().
|
inline |
return the indext of the last SPO set
Definition at line 89 of file BandInfo.h.
References BandInfoGroup::FirstSPO, and BandInfoGroup::NumSPOs.
Referenced by BsplineReader::check_twists().
|
inline |
return the size of this band
Definition at line 85 of file BandInfo.h.
References BandInfoGroup::myBands.
Referenced by BsplineReader::check_twists(), HybridRepSetReader< SA >::initialize_hybrid_pio_gather(), and SplineSetReader< typename SA::SplineBase >::initialize_spline_pio_gather().
|
inline |
return the number of SPOs
Definition at line 91 of file BandInfo.h.
References BandInfoGroup::NumSPOs.
Referenced by BsplineReader::check_twists().
void selectBands | ( | const std::vector< BandInfo > & | bigspace, |
double | emin, | ||
double | emax | ||
) |
select the bands within an energy range [emin,emax)
bigspace | a set of sorted bands |
emin | minimum energy |
emax | maxmimum energy |
Definition at line 22 of file BandInfo.cpp.
References APP_ABORT, qmcplusplus::app_log(), BandInfoGroup::FirstBand, BandInfoGroup::FirstSPO, BandInfoGroup::myBands, qmcplusplus::Units::force::N, and BandInfoGroup::NumSPOs.
Referenced by BsplineReader::create_spline_set().
void selectBands | ( | const std::vector< BandInfo > & | bigspace, |
int | first_orb, | ||
int | num_spos, | ||
bool | relative | ||
) |
get the bands within [first_spo,first_spo+num_spos)
bigspace | a set of sorted bands |
first_orb | index of the first uniquie orbitals |
num_spos | number of SPOs to be created |
relative | if(relative) FirstSPO is set to any valid state index ![]() |
Definition at line 67 of file BandInfo.cpp.
References APP_ABORT, qmcplusplus::app_log(), BandInfoGroup::FirstBand, BandInfoGroup::FirstSPO, BandInfoGroup::myBands, qmcplusplus::Units::force::N, and BandInfoGroup::NumSPOs.
int FirstBand |
int FirstSPO |
starting SPO
Definition at line 71 of file BandInfo.h.
Referenced by BandInfoGroup::getFirstSPO(), BandInfoGroup::getLastSPO(), and BandInfoGroup::selectBands().
int GroupID |
index of the group
Definition at line 69 of file BandInfo.h.
Referenced by BsplineReader::create_spline_set().
std::vector<BandInfo> myBands |
Bands that belong to this group.
Definition at line 79 of file BandInfo.h.
Referenced by BsplineReader::check_twists(), BandInfoGroup::getNumDistinctOrbitals(), HybridRepSetReader< SA >::initialize_hybrid_pio_gather(), SplineSetReader< typename SA::SplineBase >::initialize_spline_pio_gather(), and BandInfoGroup::selectBands().
std::string myName |
name of this band
Definition at line 81 of file BandInfo.h.
Referenced by BsplineReader::create_spline_set(), and BsplineReader::getSplineDumpFileName().
int NumSPOs |
number of SPOs handled by this object
Definition at line 73 of file BandInfo.h.
Referenced by BandInfoGroup::getLastSPO(), BandInfoGroup::getNumSPOs(), and BandInfoGroup::selectBands().
int TwistIndex |
twist index set by the full band not by the subset
Definition at line 77 of file BandInfo.h.
Referenced by BsplineReader::check_twists(), and BsplineReader::create_spline_set().