File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
docs/developers_guide/ocean
polaris/tasks/ocean/barotropic_gyre Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 7474
7575 forward.Forward
7676 forward.Forward.compute_cell_count
77- forward.Forward.compute_max_time_step
7877 forward.Forward.dynamic_model_config
7978 forward.Forward.setup
8079
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ def dynamic_model_config(self, at_setup):
178178
179179 # check whether viscosity suitable for stability
180180 stability_parameter_max = 0.6
181- dt_max = self .compute_max_time_step (config )
181+ dt_max = self ._compute_max_time_step (config )
182182 nu_max = (
183183 stability_parameter_max
184184 * (resolution * 1.0e3 ) ** 2.0
@@ -274,7 +274,7 @@ def setup(self):
274274 if model == 'omega' :
275275 self .add_input_file (filename = 'OmegaMesh.nc' , target = 'init.nc' )
276276
277- def compute_max_time_step (self , config ):
277+ def _compute_max_time_step (self , config ):
278278 """
279279 Compute the approximate maximum time step for stability
280280
You can’t perform that action at this time.
0 commit comments