pisces.extensions.simulation.core.initial_conditions.InitialConditions1DCartesian.update_model#

InitialConditions1DCartesian.update_model(model_name: str, **parameters) None#

Update parameters of an existing model in the initial conditions.

Parameters:
  • model_name (str) – The name/identifier of the model to update.

  • parameters (dict) – Key-value pairs of parameters to update.

Raises:
  • KeyError – If no model with the given model_name exists.

  • ValueError – If provided parameters are invalid or inconsistent with expected dimensions/units.