jf1uids.time_stepping._timestep_estimator

jf1uids.time_stepping._timestep_estimator#

Module Contents#

Functions#

get_wave_speeds

Returns the conservative fluxes.

API#

jf1uids.time_stepping._timestep_estimator.get_wave_speeds(primitives_left: jf1uids.option_classes.simulation_config.STATE_TYPE, primitives_right: jf1uids.option_classes.simulation_config.STATE_TYPE, gamma: Union[float, jaxtyping.Float[jaxtyping.Array]], registered_variables: jf1uids.fluid_equations.registered_variables.RegisteredVariables, flux_direction_index: int) Union[float, jaxtyping.Float[jaxtyping.Array]][source]#

Returns the conservative fluxes.

Args:

primitives_left: States left of the interfaces. primitives_right: States right of the interfaces. gamma: The adiabatic index.

Returns:

The conservative fluxes at the interfaces.