FLASH-X
Doxygen Generated Documentation From Interface Source Code
Simulation_wantsRebalance.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!!
26
27logical function Simulation_wantsRebalance(nstep,time)
28
29 implicit none
30 integer, intent(in) :: nstep
31 real, intent(in) :: time
32
34
35 ! User can customize requirement for requesting a rebalance.
36 ! For example, request rebalance every 10 timesteps:
37 ! if(mod(nstep, 10) == 0) Simulation_wantsRebalance = .TRUE.
38
logical function Simulation_wantsRebalance(nstep, time)