|
| Wave_functions (std::shared_ptr< fft::Gvec > gkvec__, num_mag_dims num_md__, num_bands num_wf__, sddk::memory_t default_mem__) |
| Constructor for pure plane-wave functions. More...
|
|
| Wave_functions (std::shared_ptr< fft::Gvec > gkvec__, std::vector< int > num_mt_coeffs__, num_mag_dims num_md__, num_bands num_wf__, sddk::memory_t default_mem__) |
| Constructor for wave-functions with plane-wave and muffin-tin parts (LAPW case). More...
|
|
auto & | pw_coeffs (int ig__, spin_index ispn__, band_index i__) |
| Return reference to the plane-wave coefficient for a given plane-wave, spin and band indices. More...
|
|
auto & | pw_coeffs (spin_index ispn__) |
|
const auto & | pw_coeffs (spin_index ispn__) const |
|
auto | grid_layout_pw (spin_index ispn__, band_range b__) const |
| Return COSTA layout for the plane-wave part for a given spin index and band range. More...
|
|
auto const & | gkvec () const |
|
auto | gkvec_sptr () const |
|
auto | checksum_pw (sddk::memory_t mem__, spin_index s__, band_range b__) const |
|
auto | checksum (sddk::memory_t mem__, spin_index s__, band_range b__) const |
|
auto | checksum (sddk::memory_t mem__, band_range b__) const |
|
| Wave_functions_mt () |
| Constructor. More...
|
|
| Wave_functions_mt (mpi::Communicator const &comm__, std::vector< int > num_mt_coeffs__, num_mag_dims num_md__, num_bands num_wf__, sddk::memory_t default_mem__, int num_pw__=0) |
| Constructor. More...
|
|
auto & | mt_coeffs (int xi__, atom_index_t::local ia__, spin_index ispn__, band_index i__) |
| Return reference to the coefficient by atomic orbital index, atom, spin and band indices. More...
|
|
auto const & | mt_coeffs (int xi__, atom_index_t::local ia__, spin_index ispn__, band_index i__) const |
| Return const reference to the coefficient by atomic orbital index, atom, spin and band indices. More...
|
|
std::complex< T > const * | at (sddk::memory_t mem__, int xi__, atom_index_t::local ia__, spin_index s__, band_index b__) const |
| Return const pointer to the coefficient by atomic orbital index, atom, spin and band indices. More...
|
|
auto | at (sddk::memory_t mem__, int xi__, atom_index_t::local ia__, spin_index s__, band_index b__) |
| Return pointer to the coefficient by atomic orbital index, atom, spin and band indices. More...
|
|
auto const & | spl_num_atoms () const |
| Return a split index for the number of atoms. More...
|
|
void | copy_mt_to (sddk::memory_t mem__, spin_index s__, band_range br__) |
| Copy muffin-tin coefficients to host or GPU memory. More...
|
|
auto | grid_layout_mt (spin_index ispn__, band_range b__) |
| Return COSTA layout for the muffin-tin part for a given spin index and band range. More...
|
|
auto | checksum_mt (sddk::memory_t mem__, spin_index s__, band_range br__) const |
| Compute checksum of the muffin-tin coefficients. More...
|
|
auto | num_mt_coeffs () const |
| Return vector of muffin-tin coefficients for all atoms. More...
|
|
auto const & | comm () const |
| Return const reference to the communicator. More...
|
|
auto const & | mt_coeffs_distr () const |
|
| Wave_functions_base () |
| Constructor. More...
|
|
| Wave_functions_base (int num_pw__, int num_mt__, num_mag_dims num_md__, num_bands num_wf__, sddk::memory_t default_mem__) |
| Constructor. More...
|
|
auto | memory_guard (sddk::memory_t mem__, wf::copy_to copy_to__=copy_to::none) const |
| Return an instance of the memory guard. More...
|
|
auto | num_sc () const |
| Return number of spin components. More...
|
|
auto | num_md () const |
| Return number of magnetic dimensions. More...
|
|
auto | num_wf () const |
| Return number of wave-functions. More...
|
|
auto | ld () const |
| Return leading dimensions of the wave-functions coefficients array. More...
|
|
auto | actual_spin_index (spin_index s__) const |
| Return the actual spin index of the wave-functions. More...
|
|
void | zero (sddk::memory_t mem__, spin_index s__, band_range br__) |
| Zero a spin component of the wave-functions in a band range. More...
|
|
void | zero (sddk::memory_t mem__) |
| Zero all wave-functions. More...
|
|
std::complex< T > const * | at (sddk::memory_t mem__, int i__, spin_index s__, band_index b__) const |
| Return const pointer to the wave-function coefficient at a given index, spin and band. More...
|
|
auto | at (sddk::memory_t mem__, int i__, spin_index s__, band_index b__) |
| Return pointer to the wave-function coefficient at a given index, spin and band. More...
|
|
void | allocate (sddk::memory_t mem__) |
| Allocate wave-functions. More...
|
|
void | deallocate (sddk::memory_t mem__) |
| Deallocate wave-functions. More...
|
|
void | copy_to (sddk::memory_t mem__) |
| Copy date to host or device. More...
|
|
template<typename T>
class sirius::wf::Wave_functions< T >
Wave-functions representation.
Wave-functions consist of two parts: plane-wave part and mufin-tin part. Wave-functions have one or two spin components. In case of collinear magnetism each component represents a pure (up- or dn-) spinor state and they are independent. In non-collinear case the two components represent a full spinor state.
- Template Parameters
-
T | Precision type of the wave-functions (double or float). |
Definition at line 690 of file wave_functions.hpp.