timestep_subcycle

Module

Description

$Id$

** AUTOMATIC CPARAM.INC GENERATION ************************ CPARAM logical, parameter :: lcourant_dt = .true. ***********************************************************

MODULE_DOC: This is a highly specified timestep module currently only working MODULE_DOC: together with the special module coronae.f90.

Quick access

Variables:

a21, a31, a32, advance_substeps, after_substep_sum_time, b1, b2, b3, b4, beta_hat, c21, c31, c32, c41, c42, c43, calc_pencils_sub_cycle, dt_alpha_ts, dt_beta_hat, dt_decrease, dt_increase, dt_major, e1, e2, e3, e4, errcon, errdf, errmax, errmaxs, f1, farr, farraymin, gam, grow, itter, maxtry, ode, ode_timestep_first, ode_timestep_second, pde_energy_only, rk3, rkck, rkck3, rkl_coeff, safety, shrnk, split_update, stiff, substeps, swap, update_after_substep

Routines:

initialize_timestep(), time_step()

Needed modules

Variables

  • timestep/after_substep_sum_time [real,public/optional/default=0.0]
  • timestep/calc_pencils_sub_cycle [private]
  • timestep/pde_energy_only [private]
  • timestep/rkl_coeff [private]

Subroutines and functions

subroutine  timestep/initialize_timestep()

Coefficients for order 3.

Use :

messages (not_implemented()), general (itoa())

Called from:

helper_loop(), reload(), gen_output(), timeloop(), check_tspec_crit_log_interval(), check_tsnap_crit_log_interval(), check_tvid_crit_log_interval(), setup_signal_files(), print_metrics(), run_start()

Call to:

not_implemented(), pde(), shift_dt(), border_quenching(), special_after_timestep(), boundconds_x(), initiate_isendrcv_bdry(), finalize_isendrcv_bdry(), boundconds_y(), boundconds_z(), special_before_boundary(), get_grid_mn(), get_bext(), gij(), curl_mn(), dot2_mn(), gij_etc()

subroutine  timestep/time_step(f, df, p)

2-apr-01/axel: coded

14-sep-01/axel: moved itorder to cdata

Parameters:
  • f (,,*,*) [real,contiguous] :: inout due to lshift_datacube_x,

  • df (,,*,*) [real,contiguous] :: (could be subsumed into pde, but is dangerous!)

  • p [pencil_case]

Use :

boundcond, borderprofiles (border_quenching()), equ (pde()), mpicomm (mpiallreduce_max()), shear (advance_shear()), sub (shift_dt()), energy, special, general (notanumber())

Called from:

read_testperturb_init_pars(), write_testperturb_init_pars(), helper_loop(), reload(), gen_output(), timeloop()

Call to:

pde(), shift_dt(), border_quenching(), special_after_timestep(), boundconds_x(), initiate_isendrcv_bdry(), finalize_isendrcv_bdry(), boundconds_y(), boundconds_z(), special_before_boundary(), get_grid_mn(), get_bext(), gij(), curl_mn(), dot2_mn(), gij_etc()