autopdex.SimState.add_temporal_discretization

SimState.add_temporal_discretization(temporal_discretizations: Dict[str, Any])[source]

Assign a time-integration scheme to each field.

Parameters:

temporal_discretizations – Mapping {field: integrator} where integrator is a dae time discretization (e.g. dae.NoTimeDerivative() for a stationary field, or a Backward/Forward Euler integrator). Each field is routed to the primary or internal-variable integrator set depending on how it was discretized; an unknown field name raises KeyError.