dbcsr_block_buffer_type Derived Type

type, private :: dbcsr_block_buffer_type

Buffer for blocks


Components

Type Visibility Attributes Name Initial
integer, public :: refcount = 0

Reference counter

logical, public, DIMENSION(:), POINTER :: dirty => Null()

Whether any buffers are dirty

type(dbcsr_data_obj), public, DIMENSION(:), POINTER :: buffers => Null()

Buffers

integer, public, DIMENSION(:, :), POINTER :: rcb => Null()

Row and column and offset and dimensions of data in the buffer

type(dbcsr_data_obj), public :: main

Main memory

type(dbcsr_data_obj), public, DIMENSION(:), POINTER :: backing => Null()

Backing memory (in lieu of main memory)

integer, public :: data_type = -1

Data type used for the buffers


Source Code

   TYPE dbcsr_block_buffer_type
      !! Buffer for blocks

      INTEGER                                     :: refcount = 0
         !! Reference counter
      LOGICAL, DIMENSION(:), POINTER              :: dirty => Null()
         !! Whether any buffers are dirty
      TYPE(dbcsr_data_obj), DIMENSION(:), POINTER :: buffers => Null()
         !! Buffers
      INTEGER, DIMENSION(:, :), POINTER           :: rcb => Null()
         !! Row and column and offset and dimensions of data in the buffer
      TYPE(dbcsr_data_obj)                        :: main
         !! Main memory
      TYPE(dbcsr_data_obj), DIMENSION(:), POINTER :: backing => Null()
         !! Backing memory (in lieu of main memory)
      INTEGER                                     :: data_type = -1
         !! Data type used for the buffers
   END TYPE dbcsr_block_buffer_type