FLASH-X
Doxygen Generated Documentation From Interface Source Code
source
physics
Gravity
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
35
subroutine
Gravity_init
()
36
37
use
RuntimeParameters_interface
,
ONLY
:
RuntimeParameters_get
38
use
Driver_interface
,
ONLY
:
Driver_abort
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
55
end subroutine
Gravity_init
Gravity_init
subroutine Gravity_init()
Definition:
Gravity_init.F90:36
Driver_interface::Driver_abort
Definition:
Driver_interface.F90:26
RuntimeParameters_interface::RuntimeParameters_get
Definition:
RuntimeParameters_interface.F90:58
Driver_interface
Definition:
Driver_interface.F90:18
RuntimeParameters_interface
Definition:
RuntimeParameters_interface.F90:15
Generated on Fri Feb 4 2022 17:05:05 for FLASH-X by
1.9.3