MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_stage_hooks Module Reference

The hooks applied to the conservative state after each RK stage update, as one ordered list shared by the coarse grid (m_time_steppers) and the AMR fine blocks (m_amr_advance), so the two levels cannot run them in different orders. More...

Functions/Subroutines

impure subroutine, public s_stage_hooks_pre_ib (q_cons, q_prim, rhs, ldt, on_block, q_t_sf)
 Sources and closures, before the IB correction. on_block: q_cons is an AMR fine block in its own frame, where the azimuthal filter does not apply (it is a whole-ring transform; case_validator rejects cylindrical grids with amr). q_prim is read by the synthetic turbulence forcing only.
impure subroutine, public s_stage_hooks_post_ib (q_cons, lvl)
 Clamps, after the IB correction. lvl: the AMR level of the frame (0 = the coarse grid), for the species cleanup's report.
pure logical function, public f_stage_hooks_pre_ib_on_block ()
 Whether s_stage_hooks_pre_ib does anything on a fine block (it costs a frame swap there).
pure logical function, public f_stage_hooks_post_ib ()
 Whether s_stage_hooks_post_ib does anything.

Detailed Description

The hooks applied to the conservative state after each RK stage update, as one ordered list shared by the coarse grid (m_time_steppers) and the AMR fine blocks (m_amr_advance), so the two levels cannot run them in different orders.

Function/Subroutine Documentation

◆ f_stage_hooks_post_ib()

pure logical function, public m_stage_hooks::f_stage_hooks_post_ib

Whether s_stage_hooks_post_ib does anything.

Definition at line 428 of file m_stage_hooks.fpp.f90.

Here is the caller graph for this function:

◆ f_stage_hooks_pre_ib_on_block()

pure logical function, public m_stage_hooks::f_stage_hooks_pre_ib_on_block

Whether s_stage_hooks_pre_ib does anything on a fine block (it costs a frame swap there).

Definition at line 421 of file m_stage_hooks.fpp.f90.

Here is the caller graph for this function:

◆ s_stage_hooks_post_ib()

impure subroutine, public m_stage_hooks::s_stage_hooks_post_ib ( type(scalar_field), dimension(1:sys_size), intent(inout) q_cons,
integer, intent(in) lvl )

Clamps, after the IB correction. lvl: the AMR level of the frame (0 = the coarse grid), for the species cleanup's report.

Definition at line 410 of file m_stage_hooks.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_stage_hooks_pre_ib()

impure subroutine, public m_stage_hooks::s_stage_hooks_pre_ib ( type(scalar_field), dimension(1:sys_size), intent(inout) q_cons,
type(scalar_field), dimension(1:sys_size), intent(in) q_prim,
type(scalar_field), dimension(1:sys_size), intent(inout) rhs,
real(wp), intent(in) ldt,
logical, intent(in) on_block,
type(scalar_field), intent(inout), optional q_t_sf )

Sources and closures, before the IB correction. on_block: q_cons is an AMR fine block in its own frame, where the azimuthal filter does not apply (it is a whole-ring transform; case_validator rejects cylindrical grids with amr). q_prim is read by the synthetic turbulence forcing only.

Parameters
[in]ldtthe stage's rk_coef(s, 3)*dt/rk_coef(s, 4)

Definition at line 393 of file m_stage_hooks.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function: