-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dense_Mod.f90
35 lines (28 loc) · 1.07 KB
/
Dense_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
27
28
29
30
31
32
33
34
35
#include "Assert.h90"
!==============================================================================!
module Dense_Mod
!------------------------------------------------------------------------------!
!----------------------------------[Modules]-----------------------------------!
use Matrix_Mod
use Grid_Mod
!------------------------------------------------------------------------------!
implicit none
!------------------------------------------------------------------------------!
! Dense (full) matrix type !
!==============================================================================!
!----------------!
! !
! Dense Type !
! !
!----------------!
type, extends(Matrix_Type) :: Dense_Type
integer :: bw ! band width
real, allocatable :: val(:,:) ! value
contains
procedure :: Dense_Allocate
procedure :: Dense_Deallocate
end type
contains
# include "Dense_Mod/Allocate.f90"
# include "Dense_Mod/Deallocate.f90"
end module