FLASH-X
Doxygen Generated Documentation From Interface Source Code
Grid_getBlkCornerID.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!!
89
90subroutine Grid_getBlkCornerID(blockId, cornerID, stride,cornerIDHigh, inRegion)
91
92 implicit none
93
94#include "constants.h"
95
96 integer,intent(IN) :: blockId
97 integer,dimension(MDIM), intent(OUT) :: cornerID, stride
98 integer,dimension(MDIM),optional,intent(OUT) :: cornerIDHigh
99 logical, optional, intent(IN) :: inRegion
100 cornerID=1
101 stride=1
102 if(present(cornerIDHigh))cornerIDHigh=1
103end subroutine Grid_getBlkCornerID
subroutine Grid_getBlkCornerID(blockId, cornerID, stride, cornerIDHigh, inRegion)