(git:c5411e0)
Loading...
Searching...
No Matches
dbt_types::dbt_create Interface Reference

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.
 

Detailed Description

Definition at line 166 of file dbt_types.F.

Member Function/Subroutine Documentation

◆ dbt_create_new()

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).

Parameters
map1_2dwhich nd-indices to map to first 2d index and in which order
map2_2dwhich nd-indices to map to first 2d index and in which order
blk_size_iblk sizes in each dimension
Author
Patrick Seewald

Definition at line 1027 of file dbt_types.F.

Here is the call graph for this function:

◆ dbt_create_template()

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

Author
Patrick Seewald

Definition at line 1250 of file dbt_types.F.

Here is the call graph for this function:

◆ dbt_create_matrix()

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.

Author
Patrick Seewald

Definition at line 1349 of file dbt_types.F.

Here is the call graph for this function:

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