multigrid_intermediate_data_t Derived Type

type, public :: multigrid_intermediate_data_t

Data type needed to expose multigrid_t data to C/C++. Objects of this type shall hold arrays of types mesh_cart_data_t and csrmat_data_t. These are strictly required for the exposure (we cannot use the arrays of type mesh_cart_t and csrmat_t that exist within multigrid_t). In princple this data type could be merged into multigrid_t, but keeping it separate should simplify maintenance.


Components

Type Visibility Attributes Name Initial
type(mesh_cart_data_t), public :: mesh_finest_ptr_data
type(mesh_cart_data_t), public, allocatable, dimension(:) :: mesh_coarse_array_data
type(csrmat_data_t), public, allocatable, dimension(:) :: mrcsr_data
type(csrmat_data_t), public, allocatable, dimension(:) :: mrcsr_inner_data
type(csrmat_data_t), public, allocatable, dimension(:) :: mpcsr_data

Finalization Procedures

final :: destructor_multigrid_intermediate_data