FLASH-X
Doxygen Generated Documentation From Interface Source Code
source
Particles
Particles_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
!!
38
39
subroutine
Particles_init
( restart)
40
41
use
RuntimeParameters_interface
,
ONLY
:
RuntimeParameters_get
42
use
Driver_interface
,
ONLY
:
Driver_abort
43
44
implicit none
45
46
logical
,
INTENT(in)
:: restart
47
48
logical
,
save
:: testUseParticles
49
50
!! It is a failure to invoke the stub when useParticles is set TRUE.
51
52
call
RuntimeParameters_get
(
"useParticles"
, testUseParticles)
53
if
(testUseParticles)
then
54
call
Driver_abort
(
"Particles unit seems not to be compiled in, and the Particles_init stub does not &
55
&allow the value of useParticles to be TRUE."
)
56
end if
57
58
end subroutine
Particles_init
59
Particles_init
subroutine Particles_init(restart)
Definition:
Particles_init.F90:40
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