-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsim_interfaces.F90
46 lines (33 loc) · 1.15 KB
/
sim_interfaces.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
36
37
38
39
40
41
42
43
44
45
46
module sim_interfaces
#include "definition.h"
abstract interface
subroutine recon1D(dt, Nx, stencil, vL, vR, dir)
integer, intent(IN) :: Nx, dir
real , intent(IN) :: dt
real, dimension(NUMB_VAR), intent(INOUT ) :: vL, vR
real, dimension(Nx, NUMB_VAR), intent(IN) :: stencil
end subroutine recon1D
end interface
abstract interface
subroutine reconMD(dt, Npts, stencil, vL, vR)
integer, intent(IN) :: Npts
real , intent(IN) :: dt
real, dimension(Npts , NUMB_VAR) :: stencil
real, dimension(NUMB_VAR, NDIM ) :: vL, vR
end subroutine reconMD
end interface
abstract interface
subroutine rmn_slvr(vR, vL, flux, dir)
integer, intent(IN) :: dir
real, dimension(NUMB_VAR), intent(IN ) :: vL, vR
real, dimension(NSYS_VAR), intent(OUT) :: flux
end subroutine rmn_slvr
end interface
abstract interface
subroutine num_flux(F, Npts, Fiph)
integer, intent(IN) :: Npts
real, dimension(NSYS_VAR, Npts), intent(IN) :: F
real, dimension(NSYS_VAR) :: Fiph
end subroutine num_flux
end interface
end module sim_interfaces