|
def | __init__ (self, init_dt=1e-2, max_dt=None, growth_rate=None) |
| Chooses a time step based on implicit time step convergence.
|
|
def | __init__ (self, name, req_attrs, opt_attrs=None, variables=None) |
|
def | variables (self) |
|
◆ __init__()
def warpy.dt_calc.convergence_dt.convergence_dt.__init__ |
( |
|
self, |
|
|
|
init_dt = 1e-2 , |
|
|
|
max_dt = None , |
|
|
|
growth_rate = None |
|
) |
| |
Chooses a time step based on implicit time step convergence.
Grows the time step on successful step, else halves the time step.
- Parameters
-
init_dt | initial time step |
max_dt | maximum allowed time step |
growth_rate | what to multiply dt by on successful time step (> 1) |
Reimplemented from warpy.host_actions.host_action.host_action.
The documentation for this class was generated from the following file: