You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A desired convergence criteria can be composed of many elements. For example, a user may want to check a residual criteria and a variable step criteria.
Design
Have an object called CombinationConvergence that could do something like this:
which can combine other Convergence objects using and/or statements and parentheses, at a minimum.
Note: if any return "diverged", then this would diverge. Alternatively, this could just be the default behavior and allow the user to specify:
diverged_expression = 'conv1 || conv2'
If we wanted a little more convenience/flexibility, we could ParsedConvergence instead, which would additionally allow boolean expressions instead of just boolean values:
converged_expression = 'conv1 || (ppA < tol)'
Impact
New object.
The text was updated successfully, but these errors were encountered:
The class currently assumes that the deriving object has
just a single parsed expression or uses the same values,
but the new evaluate allows the symbol values to be passed in,
allowing for multiple sets of values.
Refs idaholab#28844
Motivation
A desired convergence criteria can be composed of many elements. For example, a user may want to check a residual criteria and a variable step criteria.
Design
Have an object called
CombinationConvergence
that could do something like this:which can combine other Convergence objects using and/or statements and parentheses, at a minimum.
Note: if any return "diverged", then this would diverge. Alternatively, this could just be the default behavior and allow the user to specify:
If we wanted a little more convenience/flexibility, we could
ParsedConvergence
instead, which would additionally allow boolean expressions instead of just boolean values:Impact
New object.
The text was updated successfully, but these errors were encountered: