polaris.ocean.tasks.barotropic_gyre.forward.compute_max_time_step

polaris.ocean.tasks.barotropic_gyre.forward.compute_max_time_step(config)[source]

Compute the approximate maximum time step for stability

Parameters:

config (polaris.config.PolarisConfigParser) – Config options for test case

Returns:

dt_max (float) – The approximate maximum time step for stability