real field discretized on a grid
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | id | ||||
real(kind=dp), | public, | dimension(:,:,:), pointer | :: | field | => | null() | field values in grid points |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(real_field_grid_type), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | id | |||
real(kind=dp), | intent(in), | dimension(:,:,:), target | :: | field |
type :: real_field_grid_type
private
integer, public :: id
!> field values in grid points
real(dp), dimension(:,:,:), pointer, public :: field => null()
contains
private
procedure, public :: init => init_real_field_grid
end type real_field_grid_type