Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=MPIArg), | private | :: | shm_win | ||||
real(kind=dp), | private, | pointer | :: | kMat_p(:) | |||
integer(kind=int64), | private | :: | kMatSize |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kMat_t) | :: | this | ||||
character(len=*) | :: | filename |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kMat_t) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kMat_t) | :: | this | ||||
integer, | intent(in) | :: | i | |||
integer, | intent(in) | :: | j | |||
integer, | intent(in) | :: | k | |||
integer, | intent(in) | :: | l |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kMat_t) | :: | this | ||||
integer, | intent(in) | :: | i | |||
integer, | intent(in) | :: | j | |||
integer, | intent(in) | :: | k | |||
integer, | intent(in) | :: | l |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kMat_t) | :: | this | ||||
integer(kind=int64), | intent(in) | :: | index |
type :: kMat_t
private
! mpi shared memory window
integer(MPIArg) :: shm_win
! pointer to the allocated array
real(dp), pointer :: kMat_p(:)
! size of the array
integer(int64) :: kMatSize
! member functions
contains
! initialization routines
procedure, public :: readKMatFromFile
procedure, public :: setupKMat
! finalization routine (should be a destructor)
procedure, public :: freeMemory
! exchange/direct matrix elements
procedure, public :: directElement
procedure, public :: exchElement
! getter for elements of kMat_p
procedure, public :: elementAccess
end type kMat_t