ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/cas_test/opttopo/vasy
Revision: 847
Committed: Thu Oct 27 14:39:02 2016 UTC (8 years, 10 months ago) by francois
File size: 2142 byte(s)
Log Message:
ajustement des cas tests au changement sur la reconstruction de l'optimisation de topologie

File Contents

# User Rev Content
1 francois 449 #!/bin/bash
2    
3     function executer
4     {
5     $*
6 francois 452 VAR=$?
7     if (( $VAR )) ; then
8 francois 449 STATUSTXT="ERREUR dans les tests";
9 francois 452 STAT=$VAR;
10 francois 449 fi
11     }
12 francois 269 CHEMINCOMPILE=../../exe/app
13 francois 449 STATUSTXT="Test sans ERREUR"
14 francois 269 echo "*****************************************"
15     echo " OPTIMISATION DE TOPOLOGIE"
16     echo "*****************************************"
17 francois 449 STAT=$?
18 francois 706 executer $CHEMINCOMPILE/topo_optis/topo_optis.exe -optimise -design bielle.magic -nondesign bielle_bloc.magic -out bielle_resu.magic -param params.txt -paramaster aster_general.txt
19     executer $CHEMINCOMPILE/topo_optis/post_optis.exe -creepeau -in bielle_resu.magic -out bielle_resu_peau.magic -param postparam.txt
20 nana 563
21     echo "**************************************************"
22     echo " OPTIMISATION ADAPTATIVE DE TOPOLOGIE"
23     echo "**************************************************"
24     # SIMP adaptative
25 francois 706 executer $CHEMINCOMPILE/topo_optis/topo_optis.exe -adapte -design bielle.magic -nondesign bielle_bloc.magic -out bielle_resu_adapte.magic -param params_adap.txt -paramaster aster_general.txt
26 francois 568 #executer $CHEMINCOMPILE/topo_optis/post_optis.exe -creepeau -in bielle_resu_adapte.magic -out bielle_resu_adapte_peau.magic -param postparam.txt
27 nana 813
28     echo "***************************************************************"
29     echo " SQUELETTISATION DE RESULTAT D'OPTIMISATION"
30     echo "***************************************************************"
31     # Squelettisation de SIMP
32 nana 815 executer $CHEMINCOMPILE/topo_optis/topo_optis.exe -optimise -design bielle.magic -nondesign bielle_bloc.magic -out bielle_resu.magic -param params.txt -paramaster aster_general.txt
33     executer $CHEMINCOMPILE/topo_optis/post_optis.exe -creepeau -in bielle_resu.magic -out bielle_lisse.magic -param postparam.txt
34 francois 847 executer $CHEMINCOMPILE/topo_optis/skeleton.exe -construire_squelette -in bielle_resu.magic -out bielle -inpoints bielle_points.txt -incorres bielle_corres.txt -infilelisse bielle_lisse.magic -param_lissage postparam.txt
35 francois 817 executer $CHEMINCOMPILE/mgoperation/mgoperation.exe -calculaster -in bielle_squelette3.magic -elastique -param aster_general.txt
36 francois 449 echo "**********************"
37     echo $STATUSTXT
38     echo "**********************"
39     exit $STAT
40 francois 269
41    

Properties

Name Value
svn:executable *