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 47 48 49 50 51 52 53
|
! Possibilité #1
CALL dfonc3dxd(rhoE_inter(XXor:XXfin,YYor:YYfin,ZZor:ZZfin),&
rhoE(XXor:XXfin,YYor:YYfin,ZZor:ZZfin),&
Nbx, Nby, Nbz, dx)
...
subroutine dfonc3dxd(fd,foncad,DimX, DimY,DimZ,da)
implicit none
integer, intent(in) :: DimX, DimY, DimZ
real(real64), dimension(:,:,:),intent(inout) :: fd
real(real64), dimension(:,:,:), intent(in) :: foncad
real(real64), intent(in) :: da
! Possibilité #2
CALL dfonc3dxd(rhoE_inter, rhoE,Nbx, Nby, Nbz, dx)
...
subroutine dfonc3dxd(fd,foncad,DimX, DimY,DimZ,da)
implicit none
integer, intent(in) :: DimX, DimY, DimZ
real(real64), dimension(:,:,:),intent(inout) :: fd
real(real64), dimension(:,:,:), intent(in) :: foncad
real(real64), intent(in) :: da
! Possibilité #3
CALL dfonc3dxd(rhoE_inter, rhoE, dx)
...
subroutine dfonc3dxd(fd,foncad,DimX, DimY,DimZ,da)
implicit none
real(real64), dimension(:,:,:),intent(inout) :: fd
real(real64), dimension(:,:,:), intent(in) :: foncad
real(real64), intent(in) :: d
integer :: DimX, DimY, DimZ
DimX = size(fd,1)
DimY = size(fd,2)
DimZ = size(fd,3)
! Possibilité #4
CALL dfonc3dxd(rhoE_inter(XXor:XXfin,YYor:YYfin,ZZor:ZZfin),&
rhoE(XXor:XXfin,YYor:YYfin,ZZor:ZZfin), dx)
...
subroutine dfonc3dxd(fd,foncad,da)
implicit none
real(real64), dimension(:,:,:),intent(inout) :: fd
real(real64), dimension(:,:,:), intent(in) :: foncad
real(real64), intent(in) :: da
integer :: DimX, DimY, DimZ
DimX = size(fd,1)
DimY = size(fd,2)
DimZ = size(fd,3)
! Autre combinaison ? |
Partager