rce icon indicating copy to clipboard operation
rce copied to clipboard

Consistant output of converger component

Open LucasKugler opened this issue 1 year ago • 0 comments

The output of the converger component is completely different between the converged and not converged state, which makes it difficult to trigger logic depending on this condition: for example, "done:", "converged", "converged relative" and "converged absolute" are only written once convergence is reached, while "_is_converged:false" is only written when it is not converged, and then becomes "_converged:value".

If I want to save the output of a component inside the convergence loop only if that iteration led to a converged state, I cannot use a switch triggered by the converger because the number of values sent to the switch will never match the number of iterations.

Writing "Converged:false" while convergence is not reached would be enough to solve the problem, although If there is a workaround I haven't thought of I'd be thankful for any idea

LucasKugler avatar May 15 '24 09:05 LucasKugler