This derived type encapsulates the definition of the matrix

Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|

real(kind=rk), | public, | allocatable | :: | A(:,:) |
inverted matrix to solve linear system of equation |
||

integer, | public | :: | nEntries(2) |
how many entries are in the 2d matrix? |

```
type tem_matrix_type
!> inverted matrix to solve linear system of equation
real(kind=rk), allocatable :: A(:,:)
!> how many entries are in the 2d matrix?
integer :: nEntries(2)
end type tem_matrix_type
```