FLASH-X
Doxygen Generated Documentation From Interface Source Code
Interpolate_cubic3DmonoDerv.F90
Go to the documentation of this file.
1!! NOTICE
2!! Copyright 2022 UChicago Argonne, LLC and contributors
3!!
4!! Licensed under the Apache License, Version 2.0 (the "License");
5!! you may not use this file except in compliance with the License.
6!!
7!! Unless required by applicable law or agreed to in writing, software
8!! distributed under the License is distributed on an "AS IS" BASIS,
9!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10!! See the License for the specific language governing permissions and
11!! limitations under the License.
12!!
83
84subroutine Interpolate_cubic3DmonoDerv (nx, ny, nz, &
85 f, &
86 fx,fy,fz, &
87 fxy,fxz,fyz, &
88 fxyz )
89
90 implicit none
91
92 integer, intent (in) :: nx, ny, nz
93 real, intent (in) :: f (-2:nx+3 , -2:ny+3 , -2:nz+3)
94 real, intent (out) :: fx (-1:nx+2 , -1:ny+2 , -1:nz+2)
95 real, intent (out) :: fy (-1:nx+2 , -1:ny+2 , -1:nz+2)
96 real, intent (out) :: fz (-1:nx+2 , -1:ny+2 , -1:nz+2)
97 real, intent (out) :: fxy ( 0:nx+1 , 0:ny+1 , 0:nz+1)
98 real, intent (out) :: fxz ( 0:nx+1 , 0:ny+1 , 0:nz+1)
99 real, intent (out) :: fyz ( 0:nx+1 , 0:ny+1 , 0:nz+1)
100 real, intent (out) :: fxyz ( 1:nx , 1:ny , 1:nz )
101
102 fx(-1:nx+2 , -1:ny+2 , -1:nz+2) = 0.0
103 fy(-1:nx+2 , -1:ny+2 , -1:nz+2) = 0.0
104 fz(-1:nx+2 , -1:ny+2 , -1:nz+2) = 0.0
105 fxy( 0:nx+1 , 0:ny+1 , 0:nz+1) = 0.0
106 fxz( 0:nx+1 , 0:ny+1 , 0:nz+1) = 0.0
107 fyz( 0:nx+1 , 0:ny+1 , 0:nz+1) = 0.0
108 fxyz( 1:nx , 1:ny , 1:nz ) = 0.0
109
110 return
111end subroutine Interpolate_cubic3DmonoDerv
subroutine Interpolate_cubic3DmonoDerv(nx, ny, nz, f, fx, fy, fz, fxy, fxz, fyz, fxyz)