MatrixMemoryPool_p Derived Type

type, public :: MatrixMemoryPool_p

A memory pool datatype that can be reused for matrix matrix multiplication. this is to prevent excessive alloc/dealloc.


Contents


Components

TypeVisibility AttributesNameInitial
type(MatrixMemoryPool_lr), public, DIMENSION(:,:), ALLOCATABLE:: grid_r

Grid of local pools.

type(MatrixMemoryPool_lc), public, DIMENSION(:,:), ALLOCATABLE:: grid_c

Grid of local pools (complex).


Constructor

public interface MatrixMemoryPool_p

  • private pure function ConstructMatrixMemoryPool_p(matrix) result(this)

    Construct Distributed Matrix Memory Pool object.

    Arguments

    Type IntentOptional AttributesName
    type(Matrix_ps), intent(in) :: matrix

    The associated distributed sparse matrix.

    Return Value type(MatrixMemoryPool_p)

    A constructed Matrix Memory Pool object.