Octopus
states_elec_oct_m::states_elec_set_state Interface Reference

Detailed Description

Definition at line 343 of file states_elec.F90.

Private Member Functions

subroutine dstates_elec_set_state1 (st, mesh, idim, ist, iqn, psi)
 get one dimension of local wave function for given k-point and states index from a states_elec_t object More...
 
subroutine zstates_elec_set_state1 (st, mesh, idim, ist, iqn, psi)
 get one dimension of local wave function for given k-point and states index from a states_elec_t object More...
 
subroutine dstates_elec_set_state2 (st, mesh, ist, iqn, psi)
 get local wave function for given k-point and states index from a states_elec_t object More...
 
subroutine zstates_elec_set_state2 (st, mesh, ist, iqn, psi)
 get local wave function for given k-point and states index from a states_elec_t object More...
 
subroutine dstates_elec_set_state3 (st, mesh, iqn, psi)
 set local wave functions for given k-point in a states_elec_t object More...
 
subroutine zstates_elec_set_state3 (st, mesh, iqn, psi)
 set local wave functions for given k-point in a states_elec_t object More...
 
subroutine dstates_elec_set_state4 (st, mesh, psi)
 set all local wave functions in a states_elec_t object More...
 
subroutine zstates_elec_set_state4 (st, mesh, psi)
 set all local wave functions in a states_elec_t object More...
 

Member Function/Subroutine Documentation

◆ dstates_elec_set_state1()

subroutine states_elec_oct_m::states_elec_set_state::dstates_elec_set_state1 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  idim,
integer, intent(in)  ist,
integer, intent(in)  iqn,
real(real64), dimension(:), intent(in), contiguous  psi 
)
private

get one dimension of local wave function for given k-point and states index from a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]idimcurrent dimension
[in]istcurrent state
[in]iqncurrent k-point
[in]psiresult: the wave function; dimension (1:mesh%np_part)

Definition at line 3064 of file states_elec.F90.

◆ zstates_elec_set_state1()

subroutine states_elec_oct_m::states_elec_set_state::zstates_elec_set_state1 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  idim,
integer, intent(in)  ist,
integer, intent(in)  iqn,
complex(real64), dimension(:), intent(in), contiguous  psi 
)
private

get one dimension of local wave function for given k-point and states index from a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]idimcurrent dimension
[in]istcurrent state
[in]iqncurrent k-point
[in]psiresult: the wave function; dimension (1:mesh%np_part)

Definition at line 3409 of file states_elec.F90.

◆ dstates_elec_set_state2()

subroutine states_elec_oct_m::states_elec_set_state::dstates_elec_set_state2 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  ist,
integer, intent(in)  iqn,
real(real64), dimension(:, :), intent(in), contiguous  psi 
)
private

get local wave function for given k-point and states index from a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]istcurrent state
[in]iqncurrent k-point
[in]psiresult: the wave function; dimension (1:mesh%np_part, 1:st%d%dim)

Definition at line 3042 of file states_elec.F90.

◆ zstates_elec_set_state2()

subroutine states_elec_oct_m::states_elec_set_state::zstates_elec_set_state2 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  ist,
integer, intent(in)  iqn,
complex(real64), dimension(:, :), intent(in), contiguous  psi 
)
private

get local wave function for given k-point and states index from a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]istcurrent state
[in]iqncurrent k-point
[in]psiresult: the wave function; dimension (1:mesh%np_part, 1:st%d%dim)

Definition at line 3387 of file states_elec.F90.

◆ dstates_elec_set_state3()

subroutine states_elec_oct_m::states_elec_set_state::dstates_elec_set_state3 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  iqn,
real(real64), dimension(:, :, st%st_start:), intent(in), contiguous  psi 
)
private

set local wave functions for given k-point in a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]iqnthe k-point index
[in]psithe wave function dimension (1:mesh%np_part, 1:st%d%dim, st%st_start:st%st_end)

Definition at line 3082 of file states_elec.F90.

◆ zstates_elec_set_state3()

subroutine states_elec_oct_m::states_elec_set_state::zstates_elec_set_state3 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  iqn,
complex(real64), dimension(:, :, st%st_start:), intent(in), contiguous  psi 
)
private

set local wave functions for given k-point in a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]iqnthe k-point index
[in]psithe wave function dimension (1:mesh%np_part, 1:st%d%dim, st%st_start:st%st_end)

Definition at line 3427 of file states_elec.F90.

◆ dstates_elec_set_state4()

subroutine states_elec_oct_m::states_elec_set_state::dstates_elec_set_state4 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:, :, st%st_start:, st%d%kpt%start:), intent(in), contiguous  psi 
)
private

set all local wave functions in a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]psithe wave functions; dimension (1:mesh%np_part, 1:st%d%dim, st%st_start:st%st_end, st%d%kpt%start:st%d%kpt%end)

Definition at line 3104 of file states_elec.F90.

◆ zstates_elec_set_state4()

subroutine states_elec_oct_m::states_elec_set_state::zstates_elec_set_state4 ( type(states_elec_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh,
complex(real64), dimension(:, :, st%st_start:, st%d%kpt%start:), intent(in), contiguous  psi 
)
private

set all local wave functions in a states_elec_t object

Parameters
[in,out]stthe states object
[in]meshthe underlying mesh
[in]psithe wave functions; dimension (1:mesh%np_part, 1:st%d%dim, st%st_start:st%st_end, st%d%kpt%start:st%d%kpt%end)

Definition at line 3449 of file states_elec.F90.


The documentation for this interface was generated from the following file: