(git:6a2e663)
dbt_block Module Reference

Methods to operate on n-dimensional tensor blocks. More...

Functions/Subroutines

subroutine, public dbt_iterator_start (iterator, tensor)
 Generalization of block_iterator_start for tensors. More...
 
subroutine, public dbt_iterator_stop (iterator)
 Generalization of block_iterator_stop for tensors. More...
 
pure integer function, public ndims_iterator (iterator)
 Number of dimensions. More...
 
subroutine, public dbt_iterator_next_block (iterator, ind_nd, blk_size, blk_offset)
 iterate over nd blocks of an nd rank tensor, index only (blocks must be retrieved by calling dbt_get_block on tensor). More...
 
integer function, public dbt_iterator_num_blocks (iterator)
 Generalization of block_iterator_num_blocks for tensors. More...
 
logical function, public dbt_iterator_blocks_left (iterator)
 Generalization of block_iterator_blocks_left for tensors. More...
 
subroutine, public destroy_block (block)
 
elemental logical function, public checker_tr (row, column)
 Determines whether a transpose must be applied. More...
 

Detailed Description

Methods to operate on n-dimensional tensor blocks.

Author
Patrick Seewald

Function/Subroutine Documentation

◆ dbt_iterator_start()

subroutine, public dbt_block::dbt_iterator_start ( type(dbt_iterator_type), intent(out)  iterator,
type(dbt_type), intent(in), target  tensor 
)

Generalization of block_iterator_start for tensors.

Author
Patrick Seewald

Definition at line 120 of file dbt_block.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dbt_iterator_stop()

subroutine, public dbt_block::dbt_iterator_stop ( type(dbt_iterator_type), intent(inout)  iterator)

Generalization of block_iterator_stop for tensors.

Author
Patrick Seewald

Definition at line 133 of file dbt_block.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ndims_iterator()

pure integer function, public dbt_block::ndims_iterator ( type(dbt_iterator_type), intent(in)  iterator)

Number of dimensions.

Note
specification function below must be defined before it is used in the source due to a bug in the IBM XL Fortran compiler (compilation fails)
Author
Patrick Seewald

Definition at line 145 of file dbt_block.F.

◆ dbt_iterator_next_block()

subroutine, public dbt_block::dbt_iterator_next_block ( type(dbt_iterator_type), intent(inout)  iterator,
integer, dimension(ndims_iterator(iterator)), intent(out)  ind_nd,
integer, dimension(ndims_iterator(iterator)), intent(out), optional  blk_size,
integer, dimension(ndims_iterator(iterator)), intent(out), optional  blk_offset 
)

iterate over nd blocks of an nd rank tensor, index only (blocks must be retrieved by calling dbt_get_block on tensor).

Parameters
ind_ndnd index of block
blk_sizeblk size in each dimension
blk_offsetblk offset in each dimension
Author
Patrick Seewald

Definition at line 160 of file dbt_block.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dbt_iterator_num_blocks()

integer function, public dbt_block::dbt_iterator_num_blocks ( type(dbt_iterator_type), intent(in)  iterator)

Generalization of block_iterator_num_blocks for tensors.

Author
Ole Schuett

Definition at line 184 of file dbt_block.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dbt_iterator_blocks_left()

logical function, public dbt_block::dbt_iterator_blocks_left ( type(dbt_iterator_type), intent(in)  iterator)

Generalization of block_iterator_blocks_left for tensors.

Author
Patrick Seewald

Definition at line 196 of file dbt_block.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroy_block()

subroutine, public dbt_block::destroy_block ( type(block_nd), intent(inout)  block)
Author
Patrick Seewald

Definition at line 434 of file dbt_block.F.

Here is the caller graph for this function:

◆ checker_tr()

elemental logical function, public dbt_block::checker_tr ( integer, intent(in)  row,
integer, intent(in)  column 
)

Determines whether a transpose must be applied.

Parameters
rowThe absolute matrix row.
columnThe absolute matrix column

Definition at line 452 of file dbt_block.F.

Here is the call graph for this function:
Here is the caller graph for this function: