* TOPOCONV PROCEDUR FD218221 25/12/18 21:15:04 12429 ************************************************************************ ** Procedure called by TOPOPTIM to assess convergence or check if the ** maximum number of iterations has been reached. ** ** Author: ** Guenhael Le Quilliec (LaMe - Polytech Tours) ** ** Version: ** 4.0 2025/11/17 This step was previously defined directly in the ** TOPOPTIM procedure ************************************************************************ DEBP TOPOCONV tab*'TABLE' ; * Input data * ********** Wtab = tab.'WTABLE' ; Ltab = Wtab.'LOGIQUE' ; * Convergence criteria and iteration counters * ******************************************* * Evaluate if the optimization loop has converged * or if the maximum number of iterations has been exceeded SI ((Wtab.'MAX_X_CHANGE' < tab.'CONVERGENCE_CRITERE') OU (Wtab.'CYCLE' >EG tab.'MAX_CYCLES')) ; * Logical for convergence tab.'CONVERGENCE' = Wtab.'MAX_X_CHANGE' < tab.'CONVERGENCE_CRITERE' ; * Stop trigger activated Ltab.'STOP' = VRAI ; FINS ; FINP ;
© Cast3M 2003 - Tous droits réservés.
Mentions légales