![]() |
(git:07c9450)
|
Public Member Functions | |
| subroutine | dbt_create_new (tensor, name, dist, map1_2d, map2_2d, blk_size_1, blk_size_2, blk_size_3, blk_size_4) |
| create a tensor. For performance, the arguments map1_2d and map2_2d (controlling matrix representation of tensor) should be consistent with the the contraction to be performed (see documentation of dbt_contract). | |
| subroutine | dbt_create_template (tensor_in, tensor, name, dist, map1_2d, map2_2d) |
| create a tensor from template | |
| subroutine | dbt_create_matrix (matrix_in, tensor, order, name) |
| Create 2-rank tensor from matrix. | |
Definition at line 166 of file dbt_types.F.
| subroutine dbt_types::dbt_create::dbt_create_new | ( | type(dbt_type), intent(out) | tensor, |
| character(len=*), intent(in) | name, | ||
| type(dbt_distribution_type), intent(inout) | dist, | ||
| integer, dimension(:), intent(in) | map1_2d, | ||
| integer, dimension(:), intent(in) | map2_2d, | ||
| integer, dimension(:), intent(in), optional | blk_size_1, | ||
| integer, dimension(:), intent(in), optional | blk_size_2, | ||
| integer, dimension(:), intent(in), optional | blk_size_3, | ||
| integer, dimension(:), intent(in), optional | blk_size_4 | ||
| ) |
create a tensor. For performance, the arguments map1_2d and map2_2d (controlling matrix representation of tensor) should be consistent with the the contraction to be performed (see documentation of dbt_contract).
| map1_2d | which nd-indices to map to first 2d index and in which order |
| map2_2d | which nd-indices to map to first 2d index and in which order |
| blk_size_i | blk sizes in each dimension |
Definition at line 1016 of file dbt_types.F.
| subroutine dbt_types::dbt_create::dbt_create_template | ( | type(dbt_type), intent(inout) | tensor_in, |
| type(dbt_type), intent(out) | tensor, | ||
| character(len=*), intent(in), optional | name, | ||
| type(dbt_distribution_type), intent(inout), optional | dist, | ||
| integer, dimension(:), intent(in), optional | map1_2d, | ||
| integer, dimension(:), intent(in), optional | map2_2d | ||
| ) |
create a tensor from template
Definition at line 1239 of file dbt_types.F.
| subroutine dbt_types::dbt_create::dbt_create_matrix | ( | type(dbcsr_type), intent(in) | matrix_in, |
| type(dbt_type), intent(out) | tensor, | ||
| integer, dimension(2), intent(in), optional | order, | ||
| character(len=*), intent(in), optional | name | ||
| ) |
Create 2-rank tensor from matrix.
Definition at line 1338 of file dbt_types.F.