FLASH-X
Doxygen Generated Documentation From Interface Source Code
Gravity_init.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 Gravity_init ()
36
39
40 implicit none
41
42
43 logical, save :: testUseGravity
44
45!==============================================================================
46
47 !! It is a failure to invoke the stub when useGravity is set TRUE.
48
49 call RuntimeParameters_get("useGravity", testUseGravity)
50 if (testUseGravity) then
51 call Driver_abort("Gravity unit seems not to be compiled in, and the Gravity_init stub does not &
52 &allow the value of useGravity to be TRUE.")
53 end if
54
55end subroutine Gravity_init
subroutine Gravity_init()