mus_time_module Module

This module contains time definition needed for musubi


Uses

  • module~~mus_time_module~~UsesGraph module~mus_time_module mus_time_module module~tem_logging_module tem_logging_module module~mus_time_module->module~tem_logging_module module~env_module env_module module~mus_time_module->module~env_module module~tem_time_module tem_time_module module~mus_time_module->module~tem_time_module module~tem_timecontrol_module tem_timeControl_module module~mus_time_module->module~tem_timecontrol_module

Used by

  • module~~mus_time_module~~UsedByGraph module~mus_time_module mus_time_module module~mus_aux_module mus_aux_module module~mus_aux_module->module~mus_time_module module~mus_tracking_module mus_tracking_module module~mus_aux_module->module~mus_tracking_module module~mus_ibm_module mus_IBM_module module~mus_aux_module->module~mus_ibm_module module~mus_geomincr_module mus_geomIncr_module module~mus_aux_module->module~mus_geomincr_module module~mus_geom_module mus_geom_module module~mus_aux_module->module~mus_geom_module module~mus_tools_module mus_tools_module module~mus_aux_module->module~mus_tools_module module~mus_tracking_module->module~mus_time_module module~mus_tracking_module->module~mus_geom_module module~mus_tracking_module->module~mus_tools_module module~mus_ibm_module->module~mus_time_module module~mus_dynloadbal_module mus_dynLoadBal_module module~mus_dynloadbal_module->module~mus_time_module module~mus_dynloadbal_module->module~mus_tracking_module module~mus_dynloadbal_module->module~mus_ibm_module module~mus_dynloadbal_module->module~mus_geom_module module~mus_construction_module mus_construction_module module~mus_dynloadbal_module->module~mus_construction_module module~mus_dynloadbal_module->module~mus_tools_module module~mus_hvs_aux_module mus_hvs_aux_module module~mus_hvs_aux_module->module~mus_time_module module~mus_hvs_aux_module->module~mus_tracking_module module~mus_hvs_aux_module->module~mus_geom_module module~mus_hvs_aux_module->module~mus_tools_module module~mus_geomincr_module->module~mus_time_module module~mus_geomincr_module->module~mus_geom_module module~mus_control_module mus_control_module module~mus_control_module->module~mus_aux_module module~mus_control_module->module~mus_ibm_module module~mus_control_module->module~mus_geom_module module~mus_program_module mus_program_module module~mus_program_module->module~mus_aux_module module~mus_program_module->module~mus_ibm_module module~mus_program_module->module~mus_dynloadbal_module module~mus_program_module->module~mus_control_module module~mus_program_module->module~mus_geom_module module~mus_program_module->module~mus_construction_module module~mus_program_module->module~mus_tools_module module~mus_geom_module->module~mus_ibm_module module~mus_construction_module->module~mus_ibm_module module~mus_construction_module->module~mus_geom_module module~mus_tools_module->module~mus_ibm_module program~mus_harvesting mus_harvesting program~mus_harvesting->module~mus_hvs_aux_module program~mus_harvesting->module~mus_geom_module program~mus_harvesting->module~mus_construction_module program~musubi musubi program~musubi->module~mus_aux_module program~musubi->module~mus_control_module program~musubi->module~mus_program_module program~musubi->module~mus_geom_module module~mus_hvs_construction_module mus_hvs_construction_module module~mus_hvs_construction_module->module~mus_geom_module module~mus_hvs_construction_module->module~mus_construction_module module~mus_debug_module mus_debug_module module~mus_debug_module->module~mus_geom_module module~mus_hvs_config_module mus_hvs_config_module module~mus_hvs_config_module->module~mus_geom_module module~mus_scheme_module mus_scheme_module module~mus_scheme_module->module~mus_geom_module module~mus_mesh_adaptation_module mus_mesh_adaptation_module module~mus_mesh_adaptation_module->module~mus_geom_module module~mus_config_module mus_config_module module~mus_config_module->module~mus_geom_module module~mus_config_module->module~mus_tools_module module~mus_varsys_module mus_varSys_module module~mus_varsys_module->module~mus_geom_module

Contents


Functions

public pure function mus_time_modulo(now, reqInt) result(triggered)

Check for multilevel cycle complete by modulo of nIters by scaleFactor depends on acoustic or diffusive scaling. Acoustic scaling: scale factor = 2 Diffusive scaling: scale factor = 4

Arguments

TypeIntentOptionalAttributesName
type(tem_time_type), intent(in) :: now

current simulation time

integer, intent(in) :: reqInt

Required interval, in which the update MUST occur. This is required for the musubi multilevel, where the time step should only be determined active, when the end of the largest cycle is reached.

Return Value logical


Subroutines

public subroutine mus_time_homogenize(me, dt, readRestart)

Convert itime from restart to real time

Arguments

TypeIntentOptionalAttributesName
type(tem_time_type), intent(inout) :: me
real(kind=rk), intent(in) :: dt
logical, intent(in) :: readRestart

public subroutine mus_timeControl_homogenize(me, dt, reqInt)

Converts sim time to iter and vice versa depends on which one is defined in the configuration file

Arguments

TypeIntentOptionalAttributesName
type(tem_timeControl_type), intent(inout) :: me

simulation time control

real(kind=rk), intent(in) :: dt

dt of maxlevel or smallest dt

integer, intent(in) :: reqInt

Required interval, in which the update MUST occur. This is required for the musubi multilevel, where the time step should only be determined active, when the end of the largest cycle is reached.