Exceptions
Module edelweissfe.utils.exceptions
This module contains a collection of commonly used exceptions.
- exception edelweissfe.utils.exceptions.CutbackRequest(message, cutbackSize)[source]
The evaluation of the residuel fails due to a too large time increment.
- exception edelweissfe.utils.exceptions.DivergingSolution[source]
The solutions seems to be diverging within the nonlinear solving scheme.
- exception edelweissfe.utils.exceptions.IncrementFailed(message, cutbackFactor)[source]
An increment could not be solved; it is retried smaller by
cutbackFactor.- Parameters:
message – Why the increment failed.
cutbackFactor – The factor the time stepper scales the increment size by for the retry.
- exception edelweissfe.utils.exceptions.MeshChangedSinceCheckpoint(firstChange)[source]
The model’s mesh has changed since the checkpoint was written, and a mesh change cannot be undone: the model cannot go back to the checkpoint.
- Parameters:
firstChange – The first topology decision the model applied after the checkpoint was written, a
TopologyRecord.
- exception edelweissfe.utils.exceptions.ReachedMaxIncrements[source]
The maximum number of incremeents within a step as attained.
- exception edelweissfe.utils.exceptions.ReachedMaxIterations[source]
The maximum number of nonlinear iterations as attained.
- exception edelweissfe.utils.exceptions.ReachedMinIncrementSize[source]
The minimum size of a incremeent within a step as attained.
- exception edelweissfe.utils.exceptions.RestartError[source]
A checkpoint cannot be restored into this model: an unsupported format version, or a replayed topology that does not match the one the checkpoint was written from.
- exception edelweissfe.utils.exceptions.StepFailed[source]
Is thrown when the computation of a step fails.