Télécharger topoevol.procedur

Retour à la liste

Numérotation des lignes :

  1. * TOPOEVOL PROCEDUR FD218221 25/12/18 21:15:06 12429
  2.  
  3. ************************************************************************
  4. ** Procedure called by TOPOPTIM to update parameter values from their
  5. ** associated evolutions.
  6. **
  7. ** Author:
  8. ** Guenhael Le Quilliec (LaMe - Polytech Tours)
  9. **
  10. ** Version:
  11. ** 2.0 2025/11/17 Made compatible with TOPOPTIM V4.
  12. ** 1.0 2021/04/15 Initial version
  13. ************************************************************************
  14.  
  15. DEBP TOPOEVOL tab*'TABLE' ;
  16.  
  17. * Input data
  18. * **********
  19.  
  20. Wtab = tab.'WTABLE' ;
  21. Ltab = Wtab.'LOGIQUE' ;
  22.  
  23. * Update parameters from their corresponding evolutions
  24. * *****************************************************
  25.  
  26. * Loop over evolutions
  27. REPE itr (DIME Wtab.'EVOLUTIONS') ;
  28.  
  29. * Get the name of the parameter
  30. evonam = EXTR Wtab.'EVOLUTIONS' &itr ;
  31.  
  32. * If this parameter exists
  33. SI (EXIS tab evonam) ;
  34.  
  35. * If it is an evolution
  36. SI (EGA (TYPE tab.evonam) 'EVOLUTIO') ;
  37.  
  38. * Update the value of this parameter for the current cycle
  39. Wtab.evonam = IPOL (FLOT Wtab.'CYCLE') tab.evonam ;
  40.  
  41. SINO ;
  42.  
  43. * Otherwise, simply save its value in the work table
  44. Wtab.evonam = tab.evonam ;
  45.  
  46. FINS ;
  47.  
  48. FINS ;
  49.  
  50. FIN itr ;
  51.  
  52. FINP ;
  53.  
  54.  
  55.  

© Cast3M 2003 - Tous droits réservés.
Mentions légales