-
Notifications
You must be signed in to change notification settings - Fork 0
/
Matrix_Mod.f90
26 lines (22 loc) · 1021 Bytes
/
Matrix_Mod.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
!==============================================================================!
module Matrix_Mod
!------------------------------------------------------------------------------!
use Grid_Mod
!------------------------------------------------------------------------------!
implicit none
!------------------------------------------------------------------------------!
! Mother of all matrices !
!==============================================================================!
!-----------------!
! !
! Matrix Type !
! !
!-----------------!
type, public :: Matrix_Type
type(Grid_Type), pointer :: pnt_grid ! pointer to grid
integer :: n = 0 ! matrix dimension
integer :: nonzeros ! number of nonzero entries
character(4) :: text_u = "" ! text to put in the upper righ corner
character(4) :: text_l = "" ! text to put in the lower left corent
end type
end module