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.
| 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 |
Frees memory associated with multigrid_intermediate_data
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(multigrid_intermediate_data_t), | intent(inout) | :: | self |
Instance of the type |