FLASH-X
Doxygen Generated Documentation From Interface Source Code
Grid_getCellCoords.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!!
121
122!! Variables that start with "gr_" are variables of Grid unit scope
123!! and are stored in the Fortran module Grid_data. Variables that are not
124!! starting with gr_ are local variables or arguments passed to the
125!! routine.
126
127#include "constants.h"
128
129subroutine Grid_getCellCoords(axis, edge, level, lo, hi, coordinates)
130
131 implicit none
132
133 integer, intent(in) :: axis
134 integer, intent(in) :: edge
135 integer, intent(in) :: level
136 integer, intent(in) :: lo(1:MDIM)
137 integer, intent(in) :: hi(1:MDIM)
138 real, intent(out) :: coordinates(:)
139
140 coordinates(:) = 0.0
141end subroutine Grid_getCellCoords
142
subroutine Grid_getCellCoords(axis, edge, level, lo, hi, coordinates)