FLASH-X
Doxygen Generated Documentation From Interface Source Code
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
39subroutine Particles_init( restart)
40
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
58end subroutine Particles_init
59
subroutine Particles_init(restart)