Octopus
states_elec_group_oct_m Module Reference

This module handles groups of electronic batches and their parallel distribution. More...

Detailed Description

This module handles groups of electronic batches and their parallel distribution.

Data Types

type  states_elec_group_t
 Group of electronic states. More...
 

Functions/Subroutines

subroutine, public states_elec_group_end (this, d)
 finalize the local blocks of wave functions and release local arrays More...
 
subroutine, public states_elec_group_copy (d, group_in, group_out, copy_data, special, dest_type)
 make a copy of a group More...
 

Function/Subroutine Documentation

◆ states_elec_group_end()

subroutine, public states_elec_group_oct_m::states_elec_group_end ( type(states_elec_group_t), intent(inout)  this,
type(states_elec_dim_t), intent(in)  d 
)

finalize the local blocks of wave functions and release local arrays

Parameters
[in,out]thisthe group to end
[in]ddimensions of the wave functions (spin and k-points)

Definition at line 168 of file states_elec_group.F90.

◆ states_elec_group_copy()

subroutine, public states_elec_group_oct_m::states_elec_group_copy ( type(states_elec_dim_t), intent(in)  d,
type(states_elec_group_t), intent(in)  group_in,
type(states_elec_group_t), intent(inout)  group_out,
logical, intent(in), optional  copy_data,
logical, intent(in), optional  special,
type(type_t), intent(in), optional  dest_type 
)

make a copy of a group

Parameters
[in]ddimensions of the wave functions (spin and k-points)
[in]group_inoriginal group
[in,out]group_outdestination group
[in]copy_dataoptional flag whether to perform a deep copy; default=.true.
[in]specialallocate on GPU if possible
[in]dest_typeif present, allocate the batches in this type/precision

Definition at line 202 of file states_elec_group.F90.