Octopus
|
Data Types | |
interface | wfs_elec_init |
type | wfs_elec_t |
batches of electronic states More... | |
Functions/Subroutines | |
subroutine | wfs_elec_clone_to (this, dest, pack, copy_data, new_np) |
clone to another wfs_elec_t object More... | |
subroutine | wfs_elec_clone_to_array (this, dest, n_batches, pack, copy_data) |
clone the data to multipe wfs_elec_t objects More... | |
subroutine | wfs_elec_copy_to (this, dest, pack, copy_data, new_np, special) |
copy the data of teh contained batch to another (existing) wfs_elec_t object More... | |
subroutine | wfs_elec_check_compatibility_with (this, target, only_check_dim) |
check whether the object is compatible with a target object More... | |
subroutine | wfs_elec_end (this, copy) |
finalze the object and the contained batch More... | |
subroutine | dwfs_elec_init_with_memory_3 (this, dim, st_start, st_end, psi, ik) |
initialize a wfs_elec_t object with given memory More... | |
subroutine | dwfs_elec_init_with_memory_2 (this, dim, st_start, st_end, psi, ik) |
initialize a wfs_elec_t object with given memory More... | |
subroutine, public | dwfs_elec_init (this, dim, st_start, st_end, np, ik, special, packed) |
initialize an empty wfs_elec_t object More... | |
subroutine | zwfs_elec_init_with_memory_3 (this, dim, st_start, st_end, psi, ik) |
initialize a wfs_elec_t object with given memory More... | |
subroutine | zwfs_elec_init_with_memory_2 (this, dim, st_start, st_end, psi, ik) |
initialize a wfs_elec_t object with given memory More... | |
subroutine, public | zwfs_elec_init (this, dim, st_start, st_end, np, ik, special, packed) |
initialize an empty wfs_elec_t object More... | |
|
private |
clone to another wfs_elec_t object
[in] | this | source data |
[out] | dest | destination (currently only wfs_elec_t) |
[in] | pack | optional flag whether to pack |
[in] | copy_data | optional flag whether to copy the data (deep copy) |
[in] | new_np | optional number of points to copy |
Definition at line 170 of file wfs_elec.F90.
|
private |
clone the data to multipe wfs_elec_t objects
[in] | this | source |
[out] | dest | multiple destinations; dimension (1:n_batches) |
[in] | n_batches | number of batches to create |
[in] | pack | optional flag whether to pack |
[in] | copy_data | optional flag whether to copy the data (deep copy) |
Definition at line 200 of file wfs_elec.F90.
|
private |
copy the data of teh contained batch to another (existing) wfs_elec_t object
[in] | this | source |
[out] | dest | destination (currently only wfs_elec_t) |
[in] | pack | optional flag whether to pack |
[in] | copy_data | optional flag whether to copy the data (deep copy) |
[in] | new_np | optional number of points to copy |
[in] | special | allocate on GPU if needed |
Definition at line 234 of file wfs_elec.F90.
|
private |
check whether the object is compatible with a target object
Compatibility here means that k-point and phase information agree, as well as the dimensions and optionally the data type
Definition at line 262 of file wfs_elec.F90.
|
private |
finalze the object and the contained batch
[in,out] | this | object to finalize |
[in] | copy | copy the data back to the external memory, used to initialize the batch |
Definition at line 285 of file wfs_elec.F90.
|
private |
initialize a wfs_elec_t object with given memory
wrapper to batch_oct_m::dbatch_init_with_memory_3
[out] | this | the wfs_elec_t object |
[in] | dim | spinor dimensions |
[in] | st_start | start index for states |
[in] | st_end | end index for states |
[in] | ik | k point index |
[in,out] | psi | states to use for the object |
Definition at line 347 of file wfs_elec.F90.
|
private |
initialize a wfs_elec_t object with given memory
wrapper to batch_oct_m::dbatch_init_with_memory_2
[out] | this | the wfs_elec_t object |
[in] | dim | spinor dimensions |
[in] | st_start | start index for states |
[in] | st_end | end index for states |
[in] | ik | k point index |
[in,out] | psi | states to use for the object |
Definition at line 369 of file wfs_elec.F90.
subroutine, public wfs_elec_oct_m::dwfs_elec_init | ( | type(wfs_elec_t), intent(inout) | this, |
integer, intent(in) | dim, | ||
integer, intent(in) | st_start, | ||
integer, intent(in) | st_end, | ||
integer, intent(in) | np, | ||
integer, intent(in) | ik, | ||
logical, intent(in), optional | special, | ||
logical, intent(in), optional | packed | ||
) |
initialize an empty wfs_elec_t object
wrapper to batch_oct_m::batch_init
[in,out] | this | the wfs_elec_t object |
[in] | dim | spinor dimensions |
[in] | st_start | start index for states |
[in] | st_end | end index for states |
[in] | np | number of points |
[in] | ik | k point index |
[in] | special | optional flag; If .true., the allocation will be handled in C (to use pinned memory for GPUs) |
[in] | packed | optional flag whether to pack the batch |
Definition at line 393 of file wfs_elec.F90.
|
private |
initialize a wfs_elec_t object with given memory
wrapper to batch_oct_m::zbatch_init_with_memory_3
[out] | this | the wfs_elec_t object |
[in] | dim | spinor dimensions |
[in] | st_start | start index for states |
[in] | st_end | end index for states |
[in] | ik | k point index |
[in,out] | psi | states to use for the object |
Definition at line 490 of file wfs_elec.F90.
|
private |
initialize a wfs_elec_t object with given memory
wrapper to batch_oct_m::zbatch_init_with_memory_2
[out] | this | the wfs_elec_t object |
[in] | dim | spinor dimensions |
[in] | st_start | start index for states |
[in] | st_end | end index for states |
[in] | ik | k point index |
[in,out] | psi | states to use for the object |
Definition at line 512 of file wfs_elec.F90.
subroutine, public wfs_elec_oct_m::zwfs_elec_init | ( | type(wfs_elec_t), intent(inout) | this, |
integer, intent(in) | dim, | ||
integer, intent(in) | st_start, | ||
integer, intent(in) | st_end, | ||
integer, intent(in) | np, | ||
integer, intent(in) | ik, | ||
logical, intent(in), optional | special, | ||
logical, intent(in), optional | packed | ||
) |
initialize an empty wfs_elec_t object
wrapper to batch_oct_m::batch_init
[in,out] | this | the wfs_elec_t object |
[in] | dim | spinor dimensions |
[in] | st_start | start index for states |
[in] | st_end | end index for states |
[in] | np | number of points |
[in] | ik | k point index |
[in] | special | optional flag; If .true., the allocation will be handled in C (to use pinned memory for GPUs) |
[in] | packed | optional flag whether to pack the batch |
Definition at line 536 of file wfs_elec.F90.