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
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