FLASH-X
Doxygen Generated Documentation From Interface Source Code
Grid_ascReleaseBlkPtr.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!!
34
35subroutine Grid_ascReleaseBlkPtr(blockId, dataPtr, gridDataStruct)
36
37#include "Simulation.h"
38#ifdef Grid_ascReleaseBlkPtr
39! disabling drift macro expansion, see: drift
40#undef Grid_ascReleaseBlkPtr
41#endif
42
43
44 implicit none
45
46 integer,intent(in) :: blockId
47 real, pointer :: dataPtr(:,:,:,:)
48 integer,optional, intent(in) :: gridDataStruct
49
50 nullify(dataPtr)
51
52end subroutine Grid_ascReleaseBlkPtr
53
54subroutine Grid_ascReleaseBlk5Ptr(blockId, data5Ptr, gridDataStruct)
55
56#include "FortranLangFeatures.fh"
57
58 implicit none
59
60 integer,intent(in) :: blockId
61 real, POINTER_INTENT_OUT :: data5Ptr(:,:,:,:,:)
62 integer,optional, intent(in) :: gridDataStruct
63
64 nullify(data5Ptr)
65
66end subroutine Grid_ascReleaseBlk5Ptr
subroutine Grid_ascReleaseBlkPtr(blockId, dataPtr, gridDataStruct)
subroutine Grid_ascReleaseBlk5Ptr(blockId, data5Ptr, gridDataStruct)