WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.dt_calc.convergence_dt.convergence_dt Class Reference
Inheritance diagram for warpy.dt_calc.convergence_dt.convergence_dt:
warpy.host_actions.host_action.host_action

Public Member Functions

def __init__ (self, init_dt=1e-2, max_dt=None, growth_rate=None)
 Chooses a time step based on implicit time step convergence.
 
- Public Member Functions inherited from warpy.host_actions.host_action.host_action
def __init__ (self, name, req_attrs, opt_attrs=None, variables=None)
 
def variables (self)
 

Additional Inherited Members

- Public Attributes inherited from warpy.host_actions.host_action.host_action
 vars_
 

Constructor & Destructor Documentation

◆ __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_dtinitial time step
max_dtmaximum allowed time step
growth_ratewhat 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: