FLASH-X
Doxygen Generated Documentation From Interface Source Code
Driver_computeDt.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
40!! NOTES
41!!
42!! The Driver unit uses a few unit scope variables that are
43!! accessible to all routines within the unit, but not to the
44!! routines outside the unit. These variables begin with "dr_"
45!! like, dr_globalMe or dr_dt, dr_beginStep, and are stored in FORTRAN
46!! module Driver_data (in file Driver_data.F90). The other variables
47!! are local to the specific routine and do not have the prefix "dr_"
48
49
50#ifdef DEBUG_ALL
51#define DEBUG_DRIVER
52#endif
53
54subroutine Driver_computeDt(nbegin, nstep, &
55 simTime, dtOld, dtNew)
56
57
58 implicit none
59
60
61 integer, intent(IN) :: nbegin, nstep
62 real, intent(IN) :: simTime !! current simulation time
63 real, intent(IN) :: dtOld !! last time step we used
64 real, intent(OUT):: dtNew !! the new timestep we get. to be returned.
65
66
67 !dummy values for stubs
68
69 dtNew = 0.0
70
71 return
72end subroutine Driver_computeDt
subroutine Driver_computeDt(nbegin, nstep, simTime, dtOld, dtNew)