FLASH-X
Doxygen Generated Documentation From Interface Source Code
Grid_getFluxCorrData_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!!
79
80!!REORDER(4): fluxBuf[XYZ],fluxCorr[XYZ]
81
82subroutine Grid_getFluxCorrData_xtra(blockDesc,fluxBufX,fluxBufY,fluxBufZ, lo, fluxCorrX,fluxCorrY,fluxCorrZ, isFluxDensity)
83 use Grid_tile, ONLY : Grid_tile_t
84
85 implicit none
86
87#include "FortranLangFeatures.fh"
88
89 type(Grid_tile_t), intent(in) :: blockDesc
90 integer,intent(in) :: lo(3)
91 real,intent(in) ,dimension(: ,lo(1): ,lo(2): ,lo(3): ),TARGET :: fluxBufX, fluxBufY, fluxBufZ
92 real,intent(OUT) ,dimension(: ,lo(1): ,lo(2): ,lo(3): ),TARGET :: fluxCorrX, fluxCorrY, fluxCorrZ
93 CONTIGUOUS_FSTMT(fluxBufX)
94 CONTIGUOUS_FSTMT(fluxBufY)
95 CONTIGUOUS_FSTMT(fluxBufZ)
96 CONTIGUOUS_FSTMT(fluxCorrX)
97 CONTIGUOUS_FSTMT(fluxCorrY)
98 CONTIGUOUS_FSTMT(fluxCorrZ)
99 logical, intent(IN), OPTIONAL :: isFluxDensity(:) !maybe eliminate
100
101 fluxCorrX(:,:,:,:) = 0.0
102 fluxCorrY(:,:,:,:) = 0.0
103 fluxCorrZ(:,:,:,:) = 0.0
104
105end subroutine Grid_getFluxCorrData_xtra
subroutine Grid_getFluxCorrData_xtra(blockDesc, fluxBufX, fluxBufY, fluxBufZ, lo, fluxCorrX, fluxCorrY, fluxCorrZ, isFluxDensity)