FLASH-X
Doxygen Generated Documentation From Interface Source Code
Grid_correctFluxData_xtra.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!!
91
92!!REORDER(4): fluxOld[XYZ]
93
94subroutine Grid_correctFluxData_xtra(blockDesc, scaleF, fluxBufX,fluxBufY,fluxBufZ, lo, &
95 scaleC, fluxOldX,fluxOldY,fluxOldZ, &
96 isFluxDensity)
97 use Grid_tile, ONLY : Grid_tile_t
98 implicit none
99
100#include "FortranLangFeatures.fh"
101 type(Grid_tile_t), intent(in) :: blockDesc
102 integer,intent(in) :: lo(3)
103 real,intent(in) :: scaleF,scaleC
104 real,intent(in) ,dimension(: ,lo(1): ,lo(2): ,lo(3): ),TARGET :: fluxOldX, fluxOldY, fluxOldZ
105 CONTIGUOUS_FSTMT(fluxOldX)
106 CONTIGUOUS_FSTMT(fluxOldY)
107 CONTIGUOUS_FSTMT(fluxOldZ)
108 real,INTENT(INOUT),dimension(size(fluxOldX,1),size(fluxOldX,2),size(fluxOldX,3),size(fluxOldX,4)),TARGET :: fluxBufX
109 real,INTENT(INOUT),dimension(size(fluxOldY,1),size(fluxOldY,2),size(fluxOldY,3),size(fluxOldY,4)),TARGET :: fluxBufY
110 real,INTENT(INOUT),dimension(size(fluxOldZ,1),size(fluxOldZ,2),size(fluxOldZ,3),size(fluxOldZ,4)),TARGET :: fluxBufZ
111 logical, intent(IN), OPTIONAL :: isFluxDensity(:) !maybe eliminate
112
113end subroutine Grid_correctFluxData_xtra
subroutine Grid_correctFluxData_xtra(blockDesc, scaleF, fluxBufX, fluxBufY, fluxBufZ, lo, scaleC, fluxOldX, fluxOldY, fluxOldZ, isFluxDensity)