* TOPOSAUV PROCEDUR FD218221 23/11/29 21:15:15 11799 ************************************************************************ ** Procedure called by TOPOPTIM for saving some data. ** ** Author: ** Guenhael Le Quilliec (LaMe - Polytech Tours) ** ** Version: ** 3.0 2021/04/15 Make it compatible with TOPOPTIM V3.0 ** 2.0 2018/02/09 Always save the last cycle data in case of early ** stop of the optimization process to allow restarting ** it back and delete the previous cycle data if it had ** not to be saved ** 1.0 2017/04/18 ************************************************************************ SI (tab0.'MES_SAUVEGARDES'.'TOPOLOGIE' OU tab0.'MES_SAUVEGARDES'.'MAILLAGE' OU tab0.'MES_SAUVEGARDES'.'RESOLUTION') ; * 1) We save the data from the last cycle (in case the * optimization process is stopped prematurely) cy0 = tab0.'WTABLE'.'CYCLE' ; tab0.'TOPOLOGIE'.cy0 = tab0.'WTABLE'.'TOPOLOGIE' ; SI froz0 ; tab0.'TOPOLOGIE'.cy0 = tab0.'TOPOLOGIE'.cy0 + tab0.'WTABLE'.'UN'.(2) ; FINS ; SI tab0.'MES_SAUVEGARDES'.'MAILLAGE' ; tab0.'MAILLAGE'.cy0 = tab0.'WTABLE'.'MAILLAGE'.'A' ; FINS ; SI tab0.'MES_SAUVEGARDES'.'RESOLUTION' ; tab0.'RESOLUTION'.cy0 = tab0.'WTABLE'.'RESOLUTION'.'A' ; FINS ; * 2) Delete the previous cycle if it is not in * CYCLES_SAUVEGARDES cy1 = cy0 - 1 ; SI (NEG cy1 0) ; SI (NON tab0.'MES_SAUVEGARDES'.'TOPOLOGIE') ; FINS ; FINS ; FINS ; FINS ; FINS ; FINS ; FINS ; FINS ; FINP ;
© Cast3M 2003 - Tous droits réservés.
Mentions légales