![]()  | 
  
    Octopus
    
   | 
 
Go to the source code of this file.
Modules | |
| module | states_elec_dim_oct_m | 
| This module handles spin dimensions of the states and the k-point distribution.  | |
Data Types | |
| type | states_elec_dim_oct_m::states_elec_dim_t | 
| class for organizing spins and k-points  More... | |
Functions/Subroutines | |
| subroutine, public | states_elec_dim_oct_m::states_elec_dim_copy (dout, din) | 
| subroutine, public | states_elec_dim_oct_m::states_elec_dim_end (dim) | 
| logical pure function, public | states_elec_dim_oct_m::is_spin_up (ik) | 
| Returns true if k-point ik denotes spin-up, in spin-polarized case.  More... | |
| logical pure function, public | states_elec_dim_oct_m::is_spin_down (ik) | 
| Returns true if k-point ik denotes spin-down, in spin-polarized case.  More... | |
| integer pure function | states_elec_dim_oct_m::states_elec_dim_get_spin_index (this, iq) | 
| extract the spin index from the combined spin and k index  More... | |
| integer pure function | states_elec_dim_oct_m::states_elec_dim_get_kpoint_index (this, iq) | 
| extract the k-point index from the combined spin and k index  More... | |
Variables | |
| integer, parameter, public | states_elec_dim_oct_m::spin_down = 1 | 
| Spin-polarized k-indices for non-periodic systems.  More... | |
| integer, parameter, public | states_elec_dim_oct_m::spin_up = 2 |