ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/microstructure/src/mstruct_parametres.cpp
Revision: 1133
Committed: Fri Feb 16 16:47:11 2024 UTC (15 months ago) by francois
File size: 366974 byte(s)
Log Message:
correction commit precedent

File Contents

# User Rev Content
1 couturad 919 #include "mstruct_parametres.h"
2 couturad 968 #include "mstruct_definition.h"
3 couturad 919 #include "mstruct_generateur_rsa.h"
4 couturad 926 #include "mg_export.h"
5 couturad 919 #include <string.h>
6     #include <fstream>
7     #include <cstdlib>
8    
9    
10 couturad 951 void PARAMETRES::ini_param_generateur_rsa(OT_PARAMETRES* params, int type_inclusion)
11 couturad 919 {
12 couturad 951 params->ajouter("Type_generateur","0",OT_PARAMETRES::DOUBLE,"Type de generateur : RSA [0], DCR [1]");
13 couturad 919 params->ajouter("Nom_mgcg_modele","VES",OT_PARAMETRES::STRING,"Nom du MG_CG_MODELE");
14 couturad 951 params->ajouter("Nom_groupe_inclusion","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion (Ex: Particule)");
15 couturad 919 params->ajouter("Boite3D_distribution_Xmin","-0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D de distribution d'inclusion");
16     params->ajouter("Boite3D_distribution_Ymin","-0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D de distribution d'inclusion");
17     params->ajouter("Boite3D_distribution_Zmin","-0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D de distribution d'inclusion");
18     params->ajouter("Boite3D_distribution_Xmax","1.1",OT_PARAMETRES::DOUBLE,"Xmax boite3D de distribution d'inclusion");
19     params->ajouter("Boite3D_distribution_Ymax","1.1",OT_PARAMETRES::DOUBLE,"Ymax boite3D de distribution d'inclusion");
20     params->ajouter("Boite3D_distribution_Zmax","1.1",OT_PARAMETRES::DOUBLE,"Zmax boite3D de distribution d'inclusion");
21     params->ajouter("Nb_pas_X","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon X pout la creation d'un octree");
22     params->ajouter("Nb_pas_Y","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Y pout la creation d'un octree");
23     params->ajouter("Nb_pas_Z","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Z pout la creation d'un octree");
24 couturad 951 params->ajouter("Fraction_volumique_cible","0.1",OT_PARAMETRES::DOUBLE,"Fraction volumique cible d'inclusion [0.0, 1.0]");
25     params->ajouter("Eps_fraction_volumique","0.001",OT_PARAMETRES::DOUBLE,"Epsilon fraction volumique");
26     params->ajouter("Avec_intersections","1",OT_PARAMETRES::DOUBLE,"Avec ou sans intersections avec le bord du VES : Sans [0] Avec [1]");
27 ghazal 1092 //-----------------------------------------------------------------------------------------------
28    
29 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::SPHERE)
30 couturad 919 {
31 ghazal 1092 params->ajouter("Type_inclusion","0",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1], Ellipsoide [2] , Torus [3] ");
32 couturad 951 params->ajouter("Mu_rayon","0.09",OT_PARAMETRES::DOUBLE,"Moyenne du rayon de la sphere");
33 couturad 919 params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon de la sphere");
34 couturad 951 params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
35 couturad 919 }
36 ghazal 1092 //-------------------------------------------------------------------------------------------------
37 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
38 couturad 919 {
39 ghazal 1092 params->ajouter("Type_inclusion","1",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1],Ellipsoide [2] , Torus [3]");
40 couturad 926 params->ajouter("Mu_rayon","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon du cylindre");
41 couturad 919 params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon du cylindre");
42 couturad 951 params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
43 couturad 926 params->ajouter("Mu_longueur","0.4",OT_PARAMETRES::DOUBLE,"Moyenne de la longueur du cylindre");
44 couturad 919 params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la longueur du cylindre");
45 couturad 951 params->ajouter("Type_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la longueur : Fixe[0], Uniforme[1], Normale[2]");
46 couturad 929 params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta");
47 couturad 951 params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta");
48     params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]");
49 couturad 929 params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi");
50 couturad 951 params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi");
51     params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]");
52 couturad 919 }
53 ghazal 1092 //-------------------------------------------------------------------------------------------
54     if(type_inclusion==MSTRUCT::TYPE_INCLUSION::TORUS)
55     {
56     params->ajouter("Type_inclusion","3",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1], Ellipsoide [2], Torus [3] ");
57     params->ajouter("Mu_rayon_cercle","0.5411",OT_PARAMETRES::DOUBLE,"Moyenne du rayon_cercle du Torus");
58     params->ajouter("Sigma_rayon_cercle","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon_cercle du Torus");
59     params->ajouter("Type_distribution_rayon_cercle","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon_cercle : Fixe[0], Uniforme[1], Normale[2]");
60 francois 1095 params->ajouter("Mu_rayon_tore","0.0425",OT_PARAMETRES::DOUBLE,"Moyenne de la rayon_tore du Tore");
61     params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la rayon_tore du Tore");
62     params->ajouter("ype_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la rayon_tore : Fixe[0], Uniforme[1], Normale[2]");
63     params->ajouter("Mu_longueur","0.425",OT_PARAMETRES::DOUBLE,"Moyenne de la longueur du Tore");
64     params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la longueur du Tore");
65     params->ajouter("Type_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la longueur du Tore : Fixe[0], Uniforme[1], Normale[2]");
66 ghazal 1092 params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta");
67     params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta");
68     params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]");
69     params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi");
70     params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi");
71     params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]");
72     //=============================================================================
73     /*
74     params->ajouter("Mu_angle_begin","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle angle_begin");
75     params->ajouter("Sigma_angle_begin","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle angle_begin");
76     params->ajouter("Type_distribution_angle_begin","0",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle angle_begin : Fixe[0], Uniforme[1], Normale[2]");
77     params->ajouter("Mu_angle_end","0.78",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle angle_end");
78     params->ajouter("Sigma_angle_end","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle angle_end");
79     params->ajouter("Type_distribution_angle_end","0",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle angle_end : Fixe[0], Uniforme[1], Normale[2]");
80     */
81     }
82     //-------------------------------------------------------------------------------------------------
83 couturad 993 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::ELLIPSOIDE)
84     {
85 ghazal 1092 params->ajouter("Type_inclusion","2",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1], Ellipsoide [2], Torus [3]");
86 couturad 993 params->ajouter("Mu_rayon_majeur","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon majeur de l'ellipsoide");
87     params->ajouter("Sigma_rayon_majeur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon majeur de l'ellipsoide");
88     params->ajouter("Type_distribution_rayon_majeur","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
89     params->ajouter("Mu_rayon_mineur","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon mineur de l'ellipsoide");
90     params->ajouter("Sigma_rayon_mineur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon mineur de l'ellipsoide");
91     params->ajouter("Type_distribution_rayon_mineur","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
92     params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta");
93     params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta");
94     params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]");
95     params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi");
96     params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi");
97     params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]");
98     }
99 couturad 919 params->ajouter("Porosite","0",OT_PARAMETRES::DOUBLE,"Considerer l'inclusion comme etant une porosite (vide) [1]");
100 couturad 951 params->ajouter("Multicouche","0,(0.01,0.01)",OT_PARAMETRES::DOUBLE,"Generer une inclusion avec une ou plusieurs couches [1,2,3,etc] et d'epaisseurs (0.01,0.02,etc)");
101 couturad 926 params->ajouter("Distance_min_inter_volume","0.04",OT_PARAMETRES::DOUBLE,"Distance minimale qui separe deux inclusions");
102     params->ajouter("Volume_min","0.0008",OT_PARAMETRES::DOUBLE,"Volume minimal admissible de l'inclusion");
103     params->ajouter("Aire_min","0.001963",OT_PARAMETRES::DOUBLE,"Aire minimal admissible d'une face de l'inclusion");
104 couturad 919 params->ajouter("Longueur_min","0.02",OT_PARAMETRES::DOUBLE,"Longueur minimal admissible d'une arete ");
105     params->ajouter("Angle_min","0.7854",OT_PARAMETRES::DOUBLE,"Angle minimal admissible entre deux faces");
106     params->ajouter("Nb_iteration_max","2000",OT_PARAMETRES::DOUBLE,"Nombre maximal d'iteration");
107     }
108    
109 couturad 951 void PARAMETRES::ini_param_generateur_dcr(OT_PARAMETRES* params, int type_inclusion)
110     {
111     params->ajouter("Type_generateur","1",OT_PARAMETRES::DOUBLE,"Type de generateur : RSA [0], DCR [1]");
112     params->ajouter("Nom_mgcg_modele","VES",OT_PARAMETRES::STRING,"Nom du MG_CG_MODELE");
113 ghazal 1130 params->ajouter("Nom_groupe_inclusion","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion (Ex: Particule)");
114 francois 1132 params->ajouter("Avec_decoup","0",OT_PARAMETRES::DOUBLE,"0. maillage de la geometrie 1. decoupage au coeur de l'echantillon");
115 ghazal 1130 params->ajouter("Boite3D_ves_Xmin","-0.25",OT_PARAMETRES::DOUBLE,"Xmin boite3D de ves d'inclusion");
116     params->ajouter("Boite3D_ves_Ymin","-0.25",OT_PARAMETRES::DOUBLE,"Ymin boite3D de ves d'inclusion");
117     params->ajouter("Boite3D_ves_Zmin","-0.25",OT_PARAMETRES::DOUBLE,"Zmin boite3D de ves d'inclusion");
118     params->ajouter("Boite3D_ves_Xmax","1.25",OT_PARAMETRES::DOUBLE,"Xmax boite3D de ves d'inclusion");
119     params->ajouter("Boite3D_ves_Ymax","1.25",OT_PARAMETRES::DOUBLE,"Ymax boite3D de ves d'inclusion");
120     params->ajouter("Boite3D_ves_Zmax","1.25",OT_PARAMETRES::DOUBLE,"Zmax boite3D de ves d'inclusion");
121     params->ajouter("Boite3D_distribution_Xmin","-0.5",OT_PARAMETRES::DOUBLE,"Xmin boite3D de distribution d'inclusion");
122     params->ajouter("Boite3D_distribution_Ymin","-0.5",OT_PARAMETRES::DOUBLE,"Ymin boite3D de distribution d'inclusion");
123     params->ajouter("Boite3D_distribution_Zmin","-0.5",OT_PARAMETRES::DOUBLE,"Zmin boite3D de distribution d'inclusion");
124     params->ajouter("Boite3D_distribution_Xmax","1.5",OT_PARAMETRES::DOUBLE,"Xmax boite3D de distribution d'inclusion");
125     params->ajouter("Boite3D_distribution_Ymax","1.5",OT_PARAMETRES::DOUBLE,"Ymax boite3D de distribution d'inclusion");
126     params->ajouter("Boite3D_distribution_Zmax","1.5",OT_PARAMETRES::DOUBLE,"Zmax boite3D de distribution d'inclusion");
127 couturad 951 params->ajouter("Nb_pas_X","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon X pout la creation d'un octree");
128     params->ajouter("Nb_pas_Y","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Y pout la creation d'un octree");
129     params->ajouter("Nb_pas_Z","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Z pout la creation d'un octree");
130     params->ajouter("Fraction_volumique_cible","0.1",OT_PARAMETRES::DOUBLE,"Fraction volumique cible d'inclusion [0.0, 1.0]");
131     params->ajouter("Eps_fraction_volumique","0.001",OT_PARAMETRES::DOUBLE,"Epsilon fraction volumique");
132     params->ajouter("Avec_intersections","1",OT_PARAMETRES::DOUBLE,"Avec ou sans intersections avec le bord du VES : Sans [0] Avec [1]");
133 couturad 960 params->ajouter("Avec_interface_graphique","0",OT_PARAMETRES::DOUBLE,"Avec l'interface graphique : Sans [0] Avec [1]");
134     params->ajouter("Facteur_reduction_vitesse","0.75",OT_PARAMETRES::DOUBLE,"Facteur de reduction de la vitesse des particules");
135     params->ajouter("Eps_vitesse","0.0001",OT_PARAMETRES::DOUBLE,"Eps vitesse");
136     params->ajouter("Friction","0.0",OT_PARAMETRES::DOUBLE,"Friction entre les particules");
137     params->ajouter("Pas_temps_sim","0.01",OT_PARAMETRES::DOUBLE,"Pas de temps pour la simulation");
138 couturad 964 params->ajouter("Temps_max_sim","60.0",OT_PARAMETRES::DOUBLE,"Temps maximal de la simulation");
139 couturad 966 params->ajouter("Avec_post_RSA","0",OT_PARAMETRES::DOUBLE,"Effectuer un RSA pour tenter de remplir les vides au bord du VES : Sans [0] Avec [1]");
140     params->ajouter("Nb_iteration_max","2000",OT_PARAMETRES::DOUBLE,"Nombre maximal d'iteration");
141 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::SPHERE)
142 couturad 951 {
143     params->ajouter("Type_inclusion","0",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]");
144     params->ajouter("Mu_rayon","0.09",OT_PARAMETRES::DOUBLE,"Moyenne du rayon de la sphere");
145     params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon de la sphere");
146     params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
147     }
148 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
149 couturad 951 {
150     params->ajouter("Type_inclusion","1",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]");
151     params->ajouter("Mu_rayon","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon du cylindre");
152     params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon du cylindre");
153     params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
154     params->ajouter("Mu_longueur","0.4",OT_PARAMETRES::DOUBLE,"Moyenne de la longueur du cylindre");
155     params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la longueur du cylindre");
156     params->ajouter("Type_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la longueur : Fixe[0], Uniforme[1], Normale[2]");
157     params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta");
158     params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta");
159     params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]");
160     params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi");
161     params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi");
162     params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]");
163     }
164     params->ajouter("Porosite","0",OT_PARAMETRES::DOUBLE,"Considerer l'inclusion comme etant une porosite (vide) [1]");
165     params->ajouter("Multicouche","0,(0.01,0.01)",OT_PARAMETRES::DOUBLE,"Generer une inclusion avec une ou plusieurs couches [1,2,3,etc] et d'epaisseurs (0.01,0.02,etc)");
166     params->ajouter("Distance_min_inter_volume","0.04",OT_PARAMETRES::DOUBLE,"Distance minimale qui separe deux inclusions");
167     params->ajouter("Volume_min","0.0008",OT_PARAMETRES::DOUBLE,"Volume minimal admissible de l'inclusion");
168     params->ajouter("Aire_min","0.001963",OT_PARAMETRES::DOUBLE,"Aire minimal admissible d'une face de l'inclusion");
169     params->ajouter("Longueur_min","0.02",OT_PARAMETRES::DOUBLE,"Longueur minimal admissible d'une arete ");
170     params->ajouter("Angle_min","0.7854",OT_PARAMETRES::DOUBLE,"Angle minimal admissible entre deux faces");
171     }
172    
173    
174 couturad 971 void PARAMETRES::ini_param_materiau(OT_PARAMETRES* params,char* nom_groupe_forme,bool etude_mecanique,bool etude_thermique)
175 couturad 919 {
176 couturad 951 params->ajouter("Nom_groupe_forme",nom_groupe_forme,OT_PARAMETRES::STRING,"Nom du groupe de forme (Ex: Particule, Matrice)");
177 couturad 971 if(etude_mecanique) params->ajouter("Etude_mecanique","1",OT_PARAMETRES::DOUBLE,"Etude mecanique");
178     else params->ajouter("Etude_mecanique","0",OT_PARAMETRES::DOUBLE,"Etude mecanique");
179 couturad 919 params->ajouter("Mu_E","69.0e9",OT_PARAMETRES::DOUBLE,"Moyenne du module d'elasticite");
180     params->ajouter("Sigma_E","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du module d'elasticite");
181 couturad 971 params->ajouter("Type_distribution_E","0",OT_PARAMETRES::DOUBLE,"Type de distribution du module d'elasticite : Fixe[0], Uniforme[1], Normale[2]");
182 couturad 919 params->ajouter("Mu_nu","0.3",OT_PARAMETRES::DOUBLE,"Moyenne du coefficient de Poisson");
183 couturad 971 params->ajouter("Sigma_nu","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du coefficient de Poisson");
184     params->ajouter("Type_distribution_nu","0",OT_PARAMETRES::DOUBLE,"Type de distribution du coefficient de Poisson : Fixe[0], Uniforme[1], Normale[2]");
185     if(etude_thermique) params->ajouter("Etude_thermique","1",OT_PARAMETRES::DOUBLE,"Etude thermique");
186     else params->ajouter("Etude_thermique","0",OT_PARAMETRES::DOUBLE,"Etude thermique");
187     params->ajouter("Mu_Lambda","0.14",OT_PARAMETRES::DOUBLE,"Moyenne de la conductivite thermique");
188     params->ajouter("Sigma_Lambda","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la conductivite thermique");
189     params->ajouter("Type_distribution_Lambda","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la conductivite thermique : Fixe[0], Uniforme[1], Normale[2]");
190     params->ajouter("Mu_Ro","1.0",OT_PARAMETRES::DOUBLE,"Moyenne de la masse volumique");
191     params->ajouter("Sigma_Ro","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la masse volumique");
192     params->ajouter("Type_distribution_Ro","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la masse volumique : Fixe[0], Uniforme[1], Normale[2]");
193     params->ajouter("Mu_Cp","1.0",OT_PARAMETRES::DOUBLE,"Moyenne de capacite thermique massique");
194     params->ajouter("Sigma_Cp","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la capacite thermique massique");
195     params->ajouter("Type_distribution_Cp","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la capacite thermique massique : Fixe[0], Uniforme[1], Normale[2]");
196 couturad 919 }
197    
198     void PARAMETRES::ini_param_carte_taille(OT_PARAMETRES* params)
199     {
200 couturad 951 params->ajouter("Ecart_nodal","0.08",OT_PARAMETRES::DOUBLE,"Ecart nodal");
201 francois 1096 params->ajouter("Ecart_eps_face_particule","0.03",OT_PARAMETRES::DOUBLE,"Rapport entre la distance d'erreur de discrétisation et le rayon");
202 couturad 974 params->ajouter("Nb_couche_min","2",OT_PARAMETRES::DOUBLE,"Nombre de couches entre chaque solide");
203 couturad 919 params->ajouter("Fechantillonnage","20",OT_PARAMETRES::DOUBLE,"Nombre d'échantillon par entité");
204 couturad 926 params->ajouter("Nb_cellule_direction","50",OT_PARAMETRES::DOUBLE,"Nombre de cellules de la FEM_SOLUTION dans les directions x,y,z");
205 couturad 974 params->ajouter("Nom_carte","carte",OT_PARAMETRES::STRING,"Nom de la carte de taille");
206     params->ajouter("Nom_fem_solution","solcarte",OT_PARAMETRES::STRING,"Nom de la FEM_SOLUTION");
207 couturad 919 params->ajouter("Nb_pas","32",OT_PARAMETRES::DOUBLE,"Nombre de pas de balayage");
208     params->ajouter("Facteur_augmentation","25",OT_PARAMETRES::DOUBLE,"Facteur d'augmentation de l'ecart nodal d'une cellule a l'autre");
209     }
210    
211     void PARAMETRES::ini_param_mailleur(OT_PARAMETRES* params)
212     {
213     params->ajouter("Niveau","3",OT_PARAMETRES::DOUBLE,"Niveau du maillage : 1D [1], 2D [2], 3D [3]");
214     params->ajouter("Niveau_opt_2d","5",OT_PARAMETRES::DOUBLE,"Limite supérieure des mailles à optimiser");
215 couturad 966 params->ajouter("Niveau_opt_3d","2",OT_PARAMETRES::DOUBLE,"Limite supérieure des mailles à optimiser");
216 couturad 919 params->ajouter("Priorite_metrique","0.65",OT_PARAMETRES::DOUBLE,"Valeur de la prise en compte de la métrique versus la qualité");
217 couturad 1029 params->ajouter("Grille_reguliere","0.0",OT_PARAMETRES::DOUBLE,"Maillage en elements hexaedriques");
218     params->ajouter("Gr_nx","20",OT_PARAMETRES::DOUBLE,"Nombre d'element dans la direction x");
219     params->ajouter("Gr_ny","20",OT_PARAMETRES::DOUBLE,"Nombre d'element dans la direction x");
220     params->ajouter("Gr_nz","20",OT_PARAMETRES::DOUBLE,"Nombre d'element dans la direction x");
221 francois 1133 params->ajouter("../../parametre/geometrie/param_geo_particule.txt");
222 couturad 919 }
223    
224     void PARAMETRES::ini_param_mailleur_fem(OT_PARAMETRES* params)
225     {
226     params->ajouter("Degre","2",OT_PARAMETRES::DOUBLE,"Degre du maillage a creer");
227     params->ajouter("Analyse","0",OT_PARAMETRES::DOUBLE,"Analyse de la qualité du maillage après le maillage : Analyse [1]");
228     params->ajouter("Optimisation_num_noeud","0",OT_PARAMETRES::DOUBLE,"Optimisation de la numerotation des noeuds : Optimisation [1]");
229     }
230    
231     void PARAMETRES::ini_param_etude(OT_PARAMETRES* params, int type_etude)
232     {
233     params->ajouter("Fichier_param_aster","param_aster.txt",OT_PARAMETRES::STRING,"Nom du fichier de parametres aster");
234     params->ajouter("Type_etude",type_etude,OT_PARAMETRES::DOUBLE,"Type d'etude : Mecanique [0], Thermique [1]");
235     params->ajouter("Code_resu","11111111",OT_PARAMETRES::STRING,"Code de resolution");
236 ghazal 1130 params->ajouter("boite3D_ves_Xmin","0.0",OT_PARAMETRES::DOUBLE,"Xmin boite3D de ves d'inclusion");
237     params->ajouter("boite3D_ves_Ymin","0.0",OT_PARAMETRES::DOUBLE,"Ymin boite3D de ves d'inclusion");
238     params->ajouter("boite3D_ves_Zmin","0.0",OT_PARAMETRES::DOUBLE,"Zmin boite3D de ves d'inclusion");
239     params->ajouter("boite3D_ves_Xmax","1.0",OT_PARAMETRES::DOUBLE,"Xmax boite3D de ves d'inclusion");
240     params->ajouter("boite3D_ves_Ymax","1.0",OT_PARAMETRES::DOUBLE,"Ymax boite3D de ves d'inclusion");
241     params->ajouter("boite3D_ves_Zmax","1.0",OT_PARAMETRES::DOUBLE,"Zmax boite3D de ves d'inclusion");
242 couturad 968 if(type_etude==MSTRUCT::TYPE_ETUDE::MECANIQUE)
243 couturad 919 {
244 ghazal 1130
245     params->ajouter("Type_Chargement","0",OT_PARAMETRES::DOUBLE,"Type de chargement : Spherique [0], Deviatorique [1]");
246     params->ajouter("Type_CL","0",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : CLDH [0], CLCH[1]");
247     params->ajouter("Valeur_CL","0.0001",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites");
248    
249     /*
250 couturad 919 params->ajouter("Type_Chargement","0",OT_PARAMETRES::DOUBLE,"Type de chargement : Spherique [0], Deviatorique [1]");
251     params->ajouter("Type_CL","0",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : CLDH [0], CLCH[1]");
252 ghazal 1130 params->ajouter("Direction","0",OT_PARAMETRES::DOUBLE,"Direction du CL : X[0], Y[1], Z[2] SPH[3]");
253 couturad 919 params->ajouter("Valeur_CL","0.0001",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites");
254 ghazal 1130 */
255 couturad 919 }
256 ghazal 1130
257     /* if(type_etude==MSTRUCT::TYPE_ETUDE::MECANIQUE)
258     {
259     params->ajouter("Type_Chargement","0",OT_PARAMETRES::DOUBLE,"Type de chargement : Spherique [0], Deviatorique [1], F_x [2]");
260     params->ajouter("Type_CL","0",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : CLDH [0], CLCH[1], CLXD [2]");
261     params->ajouter("Valeur_CL","0.0001",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites");
262     } */
263    
264 couturad 971 else if(type_etude==MSTRUCT::TYPE_ETUDE::THERMIQUE)
265     {
266 ghazal 1130 params->ajouter("Type_CL","2",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : Gradient de temperature[3], Flux de chaleur[4]");
267 couturad 971 params->ajouter("Direction","0",OT_PARAMETRES::DOUBLE,"Direction du gradient ou flux : X[0], Y[1], Z[2]");
268     params->ajouter("Valeur_CL","1.0",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites");
269     }
270 couturad 919 }
271    
272 couturad 971 void PARAMETRES::ini_param_post_traitement(OT_PARAMETRES* params, int type_post_traitement, int nb_couche_erosion, double epaisseur_couche_erosion)
273 couturad 919 {
274 couturad 968 bool erosion;
275 couturad 971 if(nb_couche_erosion>0) erosion=true;
276 couturad 968 else erosion=false;
277     if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP)
278 couturad 926 {
279     params->ajouter("Identifiant","Champ_SIGMA",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
280 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
281 couturad 926 params->ajouter("Num_solution",2,OT_PARAMETRES::DOUBLE,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
282     params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet");
283 couturad 968 params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
284     params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]");
285     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
286     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
287     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
288     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
289     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
290     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
291 couturad 926 }
292 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION)
293 couturad 926 {
294 couturad 951 params->ajouter("Identifiant","Orientation_Particule",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
295 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
296 couturad 951 params->ajouter("Nom_groupe_forme","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion.");
297     params->ajouter("Avec_fem_maillage","1",OT_PARAMETRES::DOUBLE,"Analyser le volume des particules avec le FEM_MAILLAGE");
298 couturad 968 params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]");
299     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
300     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
301     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
302     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
303     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
304     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
305 couturad 938 }
306 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO)
307 couturad 926 {
308     params->ajouter("Identifiant","Cao",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
309 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
310 couturad 926 params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [NULL] prend le ves au complet");
311     params->ajouter("Largeur_colonne_distribution_nb_volume","1.0",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
312     params->ajouter("Largeur_colonne_distribution_nb_forme","1.0",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
313 couturad 966 params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
314     params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
315 couturad 926 params->ajouter("Largeur_colonne_distribution_volume_forme","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
316 ghazal 1130 params->ajouter("Boite3D_ves_Xmin","-0.25",OT_PARAMETRES::DOUBLE,"Xmin boite3D de ves d'inclusion");
317     params->ajouter("Boite3D_ves_Ymin","-0.25",OT_PARAMETRES::DOUBLE,"Ymin boite3D de ves d'inclusion");
318     params->ajouter("Boite3D_ves_Zmin","-0.25",OT_PARAMETRES::DOUBLE,"Zmin boite3D de ves d'inclusion");
319     params->ajouter("Boite3D_ves_Xmax","0.75",OT_PARAMETRES::DOUBLE,"Xmax boite3D de ves d'inclusion");
320     params->ajouter("Boite3D_ves_Ymax","0.75",OT_PARAMETRES::DOUBLE,"Ymax boite3D de ves d'inclusion");
321     params->ajouter("Boite3D_ves_Zmax","0.75",OT_PARAMETRES::DOUBLE,"Zmax boite3D de ves d'inclusion");
322 couturad 926 }
323 couturad 971 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE)
324     {
325     params->ajouter("Identifiant","Prop_mass",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
326     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
327     params->ajouter("Nom_groupe_forme","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [NULL] prend le ves au complet");
328     }
329 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG)
330 couturad 926 {
331     params->ajouter("Identifiant","Maillage_MG",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
332 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
333 couturad 926 params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet");
334     params->ajouter("Largeur_colonne_distribution_nb_element_2D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
335     params->ajouter("Largeur_colonne_distribution_nb_element_3D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
336     params->ajouter("Largeur_colonne_distribution_qualite_2D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
337     params->ajouter("Largeur_colonne_distribution_qualite_3D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
338     params->ajouter("Largeur_colonne_distribution_taille_2D","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
339     params->ajouter("Largeur_colonne_distribution_taille_3D","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
340 couturad 968 params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
341     params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
342     params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]");
343     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
344     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
345     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
346     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
347     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
348     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
349 couturad 926 }
350 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM)
351 couturad 926 {
352     params->ajouter("Identifiant","Maillage_FEM",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
353 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
354 couturad 926 params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet");
355     params->ajouter("Largeur_colonne_distribution_nb_element_2D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
356     params->ajouter("Largeur_colonne_distribution_nb_element_3D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
357     params->ajouter("Largeur_colonne_distribution_jacobien_2D_min","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
358     params->ajouter("Largeur_colonne_distribution_jacobien_2D_max","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
359     params->ajouter("Largeur_colonne_distribution_jacobien_3D_min","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
360     params->ajouter("Largeur_colonne_distribution_jacobien_3D_max","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
361     params->ajouter("Largeur_colonne_distribution_distortion_2D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
362     params->ajouter("Largeur_colonne_distribution_distortion_3D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
363 couturad 968 params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
364     params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
365     params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]");
366     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
367     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
368     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
369     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
370     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
371     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
372     }
373     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS)
374     {
375 couturad 993 params->ajouter("Identifiant","Temps",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
376 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
377     }
378     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE)
379     {
380     params->ajouter("Identifiant","Modules_elasticite",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
381     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
382     params->ajouter("Identifiant_epsilon","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ epsilon");
383     params->ajouter("Identifiant_sigma","Champ_SIGMA",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ sigma");
384     params->ajouter("Largeur_colonne_distribution_module_Kapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
385     params->ajouter("Largeur_colonne_distribution_module_Gapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
386     params->ajouter("Largeur_colonne_distribution_module_Eapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
387     params->ajouter("Largeur_colonne_distribution_module_Nuapp","0.00001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
388 ghazal 1130 // params->ajouter("Largeur_colonne_distribution_module_Ecom","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
389 couturad 968 }
390     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE)
391     {
392     params->ajouter("Identifiant","Champ_EPSILON_normalise",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
393     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
394     params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ epsilon");
395 couturad 982 params->ajouter("Identifiant_champ_reference","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant du champ de reference pour la normalisation");
396 couturad 968 params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
397     }
398     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART)
399     {
400     params->ajouter("Identifiant","Champ_EPSILON_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
401     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
402     params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ");
403     params->ajouter("Identifiant_champ_compare","Champ_EPSILON_compare",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ a comparer");
404     params->ajouter("Num_couche","0",OT_PARAMETRES::DOUBLE,"Numero de la couche a comparer");
405     params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]");
406     params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
407     }
408     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT)
409     {
410     params->ajouter("Identifiant","Champ_EPSILON_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
411     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
412     params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ");
413     params->ajouter("Type_chargement","0",OT_PARAMETRES::STRING,"Spherique [0], deviatorique [1]");
414 ghazal 1130 // params->ajouter("Type_chargement","0",OT_PARAMETRES::STRING,"Spherique [0], deviatorique [1], F_x [2]");
415 couturad 968 params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]");
416     params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
417     }
418     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART)
419     {
420     params->ajouter("Identifiant","Orientation_Particule_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
421     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
422     params->ajouter("Identifiant_orientation","Orientation_Particule",OT_PARAMETRES::STRING,"Identifiant de l'analyse de l'orientation");
423     params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]");
424     params->ajouter("a_11","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
425     params->ajouter("a_22","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
426     params->ajouter("a_33","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
427     params->ajouter("a_12","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
428     params->ajouter("a_23","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
429     params->ajouter("a_13","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
430     }
431 couturad 971 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE)
432     {
433     params->ajouter("Identifiant","Conductivite_thermique",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
434     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
435 couturad 982 params->ajouter("Num_solution_temp","0",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
436     params->ajouter("Num_solution_flux","1",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
437     params->ajouter("Direction","0",OT_PARAMETRES::STRING,"Direction X[0], Y[1], Z[2]");
438 couturad 971 params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
439     }
440 couturad 930 if(erosion)
441     {
442     params->ajouter("Analyse_erosion","1",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]");
443 couturad 971 params->ajouter("Nb_couche",nb_couche_erosion+1,OT_PARAMETRES::DOUBLE,"Nombre de couche d'erosion");
444     params->ajouter("Epaisseur_couche",epaisseur_couche_erosion,OT_PARAMETRES::DOUBLE,"Epaisseur d'une couche d'erosion");
445 couturad 926 }
446 couturad 930 if(!erosion)
447     {
448     params->ajouter("Analyse_erosion","0",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]");
449     }
450 couturad 1029 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ENERGIE_HILL)
451     {
452     params->ajouter("Identifiant","Energie_hill",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
453     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ENERGIE_HILL,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
454     params->ajouter("Num_solution_epsilon","1",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
455     params->ajouter("Num_solution_sigma","2",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
456     params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
457     }
458     if(erosion)
459     {
460     params->ajouter("Analyse_erosion","1",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]");
461     params->ajouter("Nb_couche",nb_couche_erosion+1,OT_PARAMETRES::DOUBLE,"Nombre de couche d'erosion");
462     params->ajouter("Epaisseur_couche",epaisseur_couche_erosion,OT_PARAMETRES::DOUBLE,"Epaisseur d'une couche d'erosion");
463     }
464     if(!erosion)
465     {
466     params->ajouter("Analyse_erosion","0",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]");
467     }
468 couturad 926 }
469    
470    
471 couturad 971 int PARAMETRES::generer_fichier_parametres(bool etude_mecanique,
472     bool etude_thermique,
473 couturad 968 int type_generateur,
474     int type_inclusion,
475     bool fem_maill_lin,
476     bool fem_maill_quad,
477 couturad 971 int nb_couche_erosion,
478     double epaisseur_couche_erosion,
479 couturad 968 fonction_affiche *fonc_affiche)
480 couturad 919 {
481 couturad 968 bool erosion;
482 couturad 971 if(nb_couche_erosion>0) erosion=true;
483 couturad 968 else erosion=false;
484 couturad 919 int mkdir_err=0;
485 ghazal 1130 //-----------------------------Creating empty files in paramtre file---------------------------------------------------------------------
486 couturad 933 std::string sys_command = "mkdir parametre";
487 couturad 919 mkdir_err = system(sys_command.c_str());
488     if(mkdir_err !=0)
489     {
490     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres! ***" << std::endl;
491     return FAIL;
492     }
493 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/geometrie");
494 couturad 919 mkdir_err = system(sys_command.c_str());
495     if(mkdir_err !=0)
496     {
497     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres/geometrie ! ***" << std::endl;
498     return FAIL;
499     }
500 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/materiau");
501 couturad 919 mkdir_err = system(sys_command.c_str());
502     if(mkdir_err !=0)
503     {
504     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/materiau ! ***" << std::endl;
505     return FAIL;
506     }
507 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/carte");
508 couturad 919 mkdir_err = system(sys_command.c_str());
509     if(mkdir_err !=0)
510     {
511     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres/carte ! ***" << std::endl;
512     return FAIL;
513     }
514 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/maillage");
515 couturad 919 mkdir_err = system(sys_command.c_str());
516     if(mkdir_err !=0)
517     {
518     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/maillage ! ***" << std::endl;
519     return FAIL;
520     }
521 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/fem_maillage");
522 couturad 919 mkdir_err = system(sys_command.c_str());
523     if(mkdir_err !=0)
524     {
525     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/fem_maillage ! ***" << std::endl;
526     return FAIL;
527     }
528 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/etude");
529 couturad 919 mkdir_err = system(sys_command.c_str());
530     if(mkdir_err !=0)
531     {
532     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/etude ! ***" << std::endl;
533     return FAIL;
534     }
535 couturad 968 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/post_traitement");
536 couturad 919 mkdir_err = system(sys_command.c_str());
537     if(mkdir_err !=0)
538     {
539 couturad 968 std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/post_traitement ! ***" << std::endl;
540 couturad 919 return FAIL;
541     }
542 ghazal 1092
543     //-----------------finished Creating empty files in paramtre file------------------
544     //___________________________________________________________________________________
545     //-------------Important: we go to another function in here and also another class
546 couturad 919 std::ofstream f;
547 couturad 951
548 couturad 968 if(type_generateur==MSTRUCT::TYPE_GENERATEUR::RSA)
549 couturad 951 {
550     OT_PARAMETRES params_geo_1;
551     ini_param_generateur_rsa(&params_geo_1,type_inclusion);
552     sys_command.clear(); sys_command.append("parametre/geometrie/param_geo_particule.txt");
553     params_geo_1.enregistrer((char*)sys_command.c_str());
554 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
555 couturad 951 }
556 couturad 968 else if(type_generateur==MSTRUCT::TYPE_GENERATEUR::DCR)
557 ghazal 1092 {
558 couturad 951 OT_PARAMETRES params_geo_1;
559     ini_param_generateur_dcr(&params_geo_1,type_inclusion);
560     sys_command.clear(); sys_command.append("parametre/geometrie/param_geo_particule.txt");
561     params_geo_1.enregistrer((char*)sys_command.c_str());
562 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
563 couturad 951 }
564 couturad 933 sys_command.clear(); sys_command.append("parametre/geometrie/lstparam_geo.txt");
565 couturad 951 f.open(sys_command.c_str(),std::ios::out);
566 couturad 919 f << "// Fichier de parametres GEOMETRIE" << std::endl;
567 couturad 951 f << "param_geo_particule.txt" << std::endl;
568 couturad 919 f.close();
569 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
570 couturad 951
571     OT_PARAMETRES params_mat_particule;
572 couturad 971 ini_param_materiau(&params_mat_particule,(char*)"Particule",etude_mecanique,etude_thermique);
573     if(etude_mecanique)
574     {
575 couturad 974 params_mat_particule.change_valeur("Mu_E",72.3e09);
576     params_mat_particule.change_valeur("Mu_nu",0.22);
577 couturad 971 }
578     if(etude_thermique)
579     {
580 couturad 974 params_mat_particule.change_valeur("Mu_Lambda",1.2);
581     params_mat_particule.change_valeur("Mu_Ro",2550);
582     params_mat_particule.change_valeur("Mu_Cp",800);
583 couturad 971 }
584 couturad 951 sys_command.clear(); sys_command.append("parametre/materiau/param_mat_particule.txt");
585     params_mat_particule.enregistrer((char*)sys_command.c_str());
586 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
587 couturad 971
588 couturad 919 OT_PARAMETRES params_mat_matrice;
589 couturad 971 ini_param_materiau(&params_mat_matrice,(char*)"Matrice",etude_mecanique,etude_thermique);
590     if(etude_mecanique)
591     {
592 couturad 974 params_mat_matrice.change_valeur("Mu_E",3.5e09);
593     params_mat_matrice.change_valeur("Mu_nu",0.33);
594 couturad 971 }
595     if(etude_thermique)
596     {
597 couturad 974 params_mat_particule.change_valeur("Mu_Lambda",0.2);
598     params_mat_particule.change_valeur("Mu_Ro",1200);
599     params_mat_particule.change_valeur("Mu_Cp",1300);
600 couturad 971 }
601 couturad 933 sys_command.clear(); sys_command.append("parametre/materiau/param_mat_matrice.txt");
602 couturad 919 params_mat_matrice.enregistrer((char*)sys_command.c_str());
603 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
604 couturad 919
605 couturad 951 sys_command.clear(); sys_command.append("parametre/materiau/lstparam_mat.txt");
606     f.open(sys_command.c_str(),std::ios::out);
607     f << "// Fichier de parametres MATERIAU" << std::endl;
608     f << "param_mat_particule.txt" << std::endl;
609     f << "param_mat_matrice.txt" << std::endl;
610     f.close();
611 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
612 couturad 951
613    
614 couturad 919 OT_PARAMETRES params_carte;
615     ini_param_carte_taille(&params_carte);
616 couturad 933 sys_command.clear(); sys_command.append("parametre/carte/param_carte.txt");
617 couturad 919 params_carte.enregistrer((char*)sys_command.c_str());
618 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
619 couturad 919
620     OT_PARAMETRES params_maill;
621     ini_param_mailleur(&params_maill);
622 couturad 933 sys_command.clear(); sys_command.append("parametre/maillage/param_maill.txt");
623 couturad 919 params_maill.enregistrer((char*)sys_command.c_str());
624 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
625 couturad 951
626     if(fem_maill_lin)
627     {
628     OT_PARAMETRES params_fem_maillage_lin;
629     ini_param_mailleur_fem(&params_fem_maillage_lin);
630     params_fem_maillage_lin.change_valeur("Degre",1);
631     sys_command.clear(); sys_command.append("parametre/fem_maillage/param_fem_maill_lin.txt");
632     params_fem_maillage_lin.enregistrer((char*)sys_command.c_str());
633 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
634 couturad 951 }
635 couturad 919
636 couturad 951 if(fem_maill_quad)
637     {
638     OT_PARAMETRES params_fem_maillage_quad;
639     ini_param_mailleur_fem(&params_fem_maillage_quad);
640     params_fem_maillage_quad.change_valeur("Degre",2);
641     sys_command.clear(); sys_command.append("parametre/fem_maillage/param_fem_maill_quad.txt");
642     params_fem_maillage_quad.enregistrer((char*)sys_command.c_str());
643 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
644 couturad 951 }
645 couturad 919
646 couturad 971 if(etude_mecanique)
647     {
648 ghazal 1130
649     //=============================================Default===========================================
650    
651     OT_PARAMETRES params_etude_CLDH_sph;
652 couturad 971 ini_param_etude(&params_etude_CLDH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
653     params_etude_CLDH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
654     params_etude_CLDH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
655     params_etude_CLDH_sph.change_valeur("Valeur_CL",0.0001);
656     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_sph.txt");
657     params_etude_CLDH_sph.enregistrer((char*)sys_command.c_str());
658     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
659    
660     OT_PARAMETRES params_etude_CLCH_sph;
661     ini_param_etude(&params_etude_CLCH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
662     params_etude_CLCH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
663     params_etude_CLCH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::CONTRAINTE_HOMOGENE);
664 couturad 974 params_etude_CLCH_sph.change_valeur("Valeur_CL",1000000);
665 couturad 971 sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_sph.txt");
666     params_etude_CLCH_sph.enregistrer((char*)sys_command.c_str());
667     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
668 ghazal 1130
669    
670     //=============================================================================================
671     //========================================Added another CL==================================================
672     /*
673     OT_PARAMETRES params_etude_CLDH_x_sph;
674     ini_param_etude(&params_etude_CLDH_x_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
675     params_etude_CLDH_x_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
676     params_etude_CLDH_x_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
677     params_etude_CLDH_x_sph.change_valeur("Valeur_CL",0.0001);
678     params_etude_CLDH_x_sph.change_valeur("Direction",0);
679     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_x_sph.txt");
680     params_etude_CLDH_x_sph.enregistrer((char*)sys_command.c_str());
681     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
682 couturad 971
683 ghazal 1130 OT_PARAMETRES params_etude_CLDH_y_sph;
684     ini_param_etude(&params_etude_CLDH_y_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
685     params_etude_CLDH_y_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
686     params_etude_CLDH_y_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
687     params_etude_CLDH_y_sph.change_valeur("Valeur_CL",0.0001);
688     params_etude_CLDH_y_sph.change_valeur("Direction",1);
689     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_y_sph.txt");
690     params_etude_CLDH_y_sph.enregistrer((char*)sys_command.c_str());
691     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
692    
693     OT_PARAMETRES params_etude_CLDH_z_sph;
694     ini_param_etude(&params_etude_CLDH_z_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
695     params_etude_CLDH_z_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
696     params_etude_CLDH_z_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
697     params_etude_CLDH_z_sph.change_valeur("Valeur_CL",0.0001);
698     params_etude_CLDH_z_sph.change_valeur("Direction",2);
699     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_z_sph.txt");
700     params_etude_CLDH_z_sph.enregistrer((char*)sys_command.c_str());
701     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
702    
703     OT_PARAMETRES params_etude_CLDH_sph;
704     ini_param_etude(&params_etude_CLDH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
705     params_etude_CLDH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
706     params_etude_CLDH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
707     params_etude_CLDH_sph.change_valeur("Valeur_CL",0.0001);
708     params_etude_CLDH_sph.change_valeur("Direction",3);
709     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_sph.txt");
710     params_etude_CLDH_sph.enregistrer((char*)sys_command.c_str());
711     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
712    
713     OT_PARAMETRES params_etude_CLCH_x_sph;
714     ini_param_etude(&params_etude_CLCH_x_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
715     params_etude_CLCH_x_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
716     params_etude_CLCH_x_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
717     params_etude_CLCH_x_sph.change_valeur("Valeur_CL",0.0001);
718     params_etude_CLCH_x_sph.change_valeur("Direction",0);
719     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_x_sph.txt");
720     params_etude_CLCH_x_sph.enregistrer((char*)sys_command.c_str());
721     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
722    
723     OT_PARAMETRES params_etude_CLCH_y_sph;
724     ini_param_etude(&params_etude_CLCH_y_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
725     params_etude_CLCH_y_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
726     params_etude_CLCH_y_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
727     params_etude_CLCH_y_sph.change_valeur("Valeur_CL",0.0001);
728     params_etude_CLCH_y_sph.change_valeur("Direction",1);
729     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_y_sph.txt");
730     params_etude_CLCH_y_sph.enregistrer((char*)sys_command.c_str());
731     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
732    
733     OT_PARAMETRES params_etude_CLCH_z_sph;
734     ini_param_etude(&params_etude_CLCH_z_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
735     params_etude_CLCH_z_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
736     params_etude_CLCH_z_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
737     params_etude_CLCH_z_sph.change_valeur("Valeur_CL",0.0001);
738     params_etude_CLCH_z_sph.change_valeur("Direction",2);
739     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_z_sph.txt");
740     params_etude_CLCH_z_sph.enregistrer((char*)sys_command.c_str());
741     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
742    
743     OT_PARAMETRES params_etude_CLCH_sph;
744     ini_param_etude(&params_etude_CLCH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
745     params_etude_CLCH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
746     params_etude_CLCH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
747     params_etude_CLCH_sph.change_valeur("Valeur_CL",0.0001);
748     params_etude_CLCH_sph.change_valeur("Direction",3);
749     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_sph.txt");
750     params_etude_CLCH_sph.enregistrer((char*)sys_command.c_str());
751     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());*/
752     //--------------------------------------------------------------------------------------------
753    
754    
755 couturad 971 OT_PARAMETRES params_etude_CLDH_dev;
756     ini_param_etude(&params_etude_CLDH_dev,MSTRUCT::TYPE_ETUDE::MECANIQUE);
757     params_etude_CLDH_dev.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::DEVIATORIQUE);
758     params_etude_CLDH_dev.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
759     params_etude_CLDH_dev.change_valeur("Valeur_CL",0.0001);
760     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_dev.txt");
761     params_etude_CLDH_dev.enregistrer((char*)sys_command.c_str());
762     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
763    
764     OT_PARAMETRES params_etude_CLCH_dev;
765     ini_param_etude(&params_etude_CLCH_dev,MSTRUCT::TYPE_ETUDE::MECANIQUE);
766     params_etude_CLCH_dev.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::DEVIATORIQUE);
767     params_etude_CLCH_dev.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::CONTRAINTE_HOMOGENE);
768 couturad 974 params_etude_CLCH_dev.change_valeur("Valeur_CL",1000000);
769 couturad 971 sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_dev.txt");
770     params_etude_CLCH_dev.enregistrer((char*)sys_command.c_str());
771     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
772 ghazal 1130
773     //==========================added another etude=======================================
774     //=====================================================================================
775     /* OT_PARAMETRES params_etude_CLXD_fx;
776     ini_param_etude(&params_etude_CLXD_fx,MSTRUCT::TYPE_ETUDE::MECANIQUE);
777     params_etude_CLXD_fx.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::F_X);
778     params_etude_CLXD_fx.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::X_DIRECTION);
779     params_etude_CLXD_fx.change_valeur("Valeur_CL",1000000);
780     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLXD_fx.txt");
781     params_etude_CLXD_fx.enregistrer((char*)sys_command.c_str());
782     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
783     */
784     //============================================================================================
785     //================================================================================================
786 couturad 971 }
787     if(etude_thermique)
788     {
789     OT_PARAMETRES params_etude_CLG_x;
790     ini_param_etude(&params_etude_CLG_x,MSTRUCT::TYPE_ETUDE::THERMIQUE);
791     params_etude_CLG_x.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE);
792     params_etude_CLG_x.change_valeur("Valeur_CL",1.0);
793     params_etude_CLG_x.change_valeur("Direction",0);
794     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_x.txt");
795     params_etude_CLG_x.enregistrer((char*)sys_command.c_str());
796     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
797    
798     OT_PARAMETRES params_etude_CLG_y;
799     ini_param_etude(&params_etude_CLG_y,MSTRUCT::TYPE_ETUDE::THERMIQUE);
800     params_etude_CLG_y.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE);
801     params_etude_CLG_y.change_valeur("Valeur_CL",1.0);
802     params_etude_CLG_y.change_valeur("Direction",1);
803     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_y.txt");
804     params_etude_CLG_y.enregistrer((char*)sys_command.c_str());
805     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
806    
807     OT_PARAMETRES params_etude_CLG_z;
808     ini_param_etude(&params_etude_CLG_z,MSTRUCT::TYPE_ETUDE::THERMIQUE);
809     params_etude_CLG_z.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE);
810     params_etude_CLG_z.change_valeur("Valeur_CL",1.0);
811     params_etude_CLG_z.change_valeur("Direction",2);
812     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_z.txt");
813     params_etude_CLG_z.enregistrer((char*)sys_command.c_str());
814     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
815    
816     OT_PARAMETRES params_etude_CLF_x;
817     ini_param_etude(&params_etude_CLF_x,MSTRUCT::TYPE_ETUDE::THERMIQUE);
818     params_etude_CLF_x.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR);
819     params_etude_CLF_x.change_valeur("Valeur_CL",1.0);
820     params_etude_CLF_x.change_valeur("Direction",0);
821     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_x.txt");
822     params_etude_CLF_x.enregistrer((char*)sys_command.c_str());
823     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
824    
825     OT_PARAMETRES params_etude_CLF_y;
826     ini_param_etude(&params_etude_CLF_y,MSTRUCT::TYPE_ETUDE::THERMIQUE);
827     params_etude_CLF_y.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR);
828     params_etude_CLF_y.change_valeur("Valeur_CL",1.0);
829     params_etude_CLF_y.change_valeur("Direction",1);
830     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_y.txt");
831     params_etude_CLF_y.enregistrer((char*)sys_command.c_str());
832     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
833    
834     OT_PARAMETRES params_etude_CLF_z;
835     ini_param_etude(&params_etude_CLF_z,MSTRUCT::TYPE_ETUDE::THERMIQUE);
836     params_etude_CLF_z.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR);
837     params_etude_CLF_z.change_valeur("Valeur_CL",1.0);
838     params_etude_CLF_z.change_valeur("Direction",2);
839     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_z.txt");
840     params_etude_CLF_z.enregistrer((char*)sys_command.c_str());
841     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
842     }
843 couturad 968
844 couturad 926 MG_EXPORT exp;
845     OT_PARAMETRES *params_aster=exp.get_param_aster();
846 couturad 964 params_aster->change_valeur("Memoire",1024);
847 couturad 926 params_aster->change_valeur("Temps_max",250000);
848     params_aster->change_valeur("Nb_CPU",8);
849     params_aster->change_valeur("Noeud_ele",2);
850 couturad 929 params_aster->change_valeur("Base_num_mail",36);
851 couturad 971 params_aster->change_valeur("Pas",0);
852 couturad 933 sys_command.clear(); sys_command.append("parametre/etude/param_aster.txt");
853 couturad 964 params_aster->enregistrer((char*)sys_command.c_str());
854     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
855 couturad 926
856 couturad 993 OT_PARAMETRES params_post_temps;
857     ini_param_post_traitement(&params_post_temps,MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS,false);
858     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_temps.txt");
859     params_post_temps.enregistrer((char*)sys_command.c_str());
860     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
861    
862 couturad 968 OT_PARAMETRES params_post_cao_all;
863     ini_param_post_traitement(&params_post_cao_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO);
864     params_post_cao_all.change_valeur("Identifiant","Cao_ALL");
865     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_all.txt");
866     params_post_cao_all.enregistrer((char*)sys_command.c_str());
867 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
868 couturad 968 OT_PARAMETRES params_post_cao_particule;
869     ini_param_post_traitement(&params_post_cao_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO);
870     params_post_cao_particule.change_valeur("Identifiant","Cao_Particule");
871     params_post_cao_particule.change_valeur("Nom_groupe_forme","Particule");
872     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_particule.txt");
873     params_post_cao_particule.enregistrer((char*)sys_command.c_str());
874 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
875 couturad 968 OT_PARAMETRES params_post_cao_matrice;
876     ini_param_post_traitement(&params_post_cao_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO);
877     params_post_cao_matrice.change_valeur("Identifiant","Cao_Matrice");
878     params_post_cao_matrice.change_valeur("Nom_groupe_forme","Matrice");
879     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_matrice.txt");
880     params_post_cao_matrice.enregistrer((char*)sys_command.c_str());
881 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
882 couturad 971 OT_PARAMETRES params_post_prop_mass_particule;
883     ini_param_post_traitement(&params_post_prop_mass_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE);
884     params_post_prop_mass_particule.change_valeur("Identifiant","Prop_mass_Particule");
885     params_post_prop_mass_particule.change_valeur("Nom_groupe_forme","Particule");
886     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_prop_mass_particule.txt");
887     params_post_prop_mass_particule.enregistrer((char*)sys_command.c_str());
888     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
889 couturad 926
890 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
891 couturad 951 {
892 couturad 968 OT_PARAMETRES params_post_orientation_cao;
893     ini_param_post_traitement(&params_post_orientation_cao,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION);
894     params_post_orientation_cao.change_valeur("Identifiant","Orientation_Particule");
895     params_post_orientation_cao.change_valeur("Avec_fem_maillage","0");
896     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_cao.txt");
897     params_post_orientation_cao.enregistrer((char*)sys_command.c_str());
898 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
899 couturad 968
900     OT_PARAMETRES params_post_orientation_ecart;
901     ini_param_post_traitement(&params_post_orientation_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART);
902     params_post_orientation_ecart.change_valeur("Identifiant","Orientation_Particule_ecart");
903     params_post_orientation_ecart.change_valeur("Identifiant_orientation","Orientation_Particule");
904     params_post_orientation_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_ABSOLUE);
905     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ecart.txt");
906     params_post_orientation_ecart.enregistrer((char*)sys_command.c_str());
907     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
908 couturad 951 }
909    
910 couturad 968 sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_geometrie.txt");
911 couturad 971 f.open(sys_command.c_str(),std::ios::out);
912     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
913     f << "params_post_cao_all.txt" << std::endl;
914     f << "params_post_cao_particule.txt" << std::endl;
915     f << "params_post_cao_matrice.txt" << std::endl;
916     f << "params_post_prop_mass_particule.txt" << std::endl;
917 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
918 couturad 951 {
919 couturad 968 f << "params_post_orientation_cao.txt" << std::endl;
920     f << "params_post_orientation_ecart.txt" << std::endl;
921 couturad 951 }
922 couturad 971
923 couturad 964 f.close();
924     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
925 couturad 951
926 couturad 968 OT_PARAMETRES params_post_mg_maillage_all;
927 couturad 971 ini_param_post_traitement(&params_post_mg_maillage_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG);
928 couturad 968 params_post_mg_maillage_all.change_valeur("Identifiant","MG_maillage_ALL");
929     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_all.txt");
930     params_post_mg_maillage_all.enregistrer((char*)sys_command.c_str());
931 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
932 couturad 971
933 couturad 968 OT_PARAMETRES params_post_mg_maillage_particule;
934 couturad 971 ini_param_post_traitement(&params_post_mg_maillage_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG);
935 couturad 968 params_post_mg_maillage_particule.change_valeur("Identifiant","MG_maillage_Particule");
936     params_post_mg_maillage_particule.change_valeur("Nom_groupe_forme","Particule");
937     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_particule.txt");
938     params_post_mg_maillage_particule.enregistrer((char*)sys_command.c_str());
939 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
940 couturad 971
941 couturad 968 OT_PARAMETRES params_post_mg_maillage_matrice;
942 couturad 971 ini_param_post_traitement(&params_post_mg_maillage_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG);
943 couturad 968 params_post_mg_maillage_matrice.change_valeur("Identifiant","MG_maillage_Matrice");
944     params_post_mg_maillage_matrice.change_valeur("Nom_groupe_forme","Matrice");
945     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_matrice.txt");
946     params_post_mg_maillage_matrice.enregistrer((char*)sys_command.c_str());
947 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
948 couturad 926
949 couturad 971
950 couturad 968 sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_mg_maillage.txt");
951 couturad 951 f.open(sys_command.c_str(),std::ios::out);
952 couturad 968 f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
953     f << "params_post_mg_maillage_all.txt" << std::endl;
954     f << "params_post_mg_maillage_particule.txt" << std::endl;
955     f << "params_post_mg_maillage_matrice.txt" << std::endl;
956 couturad 964 f.close();
957 couturad 971 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
958    
959 couturad 968 OT_PARAMETRES params_post_fem_maillage_all;
960 couturad 971 ini_param_post_traitement(&params_post_fem_maillage_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion);
961 couturad 968 params_post_fem_maillage_all.change_valeur("Identifiant","FEM_maillage_ALL");
962     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_all.txt");
963     params_post_fem_maillage_all.enregistrer((char*)sys_command.c_str());
964 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
965 couturad 971
966 couturad 968 OT_PARAMETRES params_post_fem_maillage_particule;
967 couturad 971 ini_param_post_traitement(&params_post_fem_maillage_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion);
968 couturad 968 params_post_fem_maillage_particule.change_valeur("Identifiant","FEM_maillage_Particule");
969     params_post_fem_maillage_particule.change_valeur("Nom_groupe_forme","Particule");
970     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_particule.txt");
971     params_post_fem_maillage_particule.enregistrer((char*)sys_command.c_str());
972     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
973 couturad 971
974 couturad 968 OT_PARAMETRES params_post_fem_maillage_matrice;
975 couturad 971 ini_param_post_traitement(&params_post_fem_maillage_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion);
976 couturad 968 params_post_fem_maillage_matrice.change_valeur("Identifiant","FEM_maillage_Matrice");
977     params_post_fem_maillage_matrice.change_valeur("Nom_groupe_forme","Matrice");
978     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_matrice.txt");
979     params_post_fem_maillage_matrice.enregistrer((char*)sys_command.c_str());
980     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
981 couturad 926
982 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
983 couturad 951 {
984 couturad 968 OT_PARAMETRES params_post_orientation_ponderee;
985 couturad 971 ini_param_post_traitement(&params_post_orientation_ponderee,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION,nb_couche_erosion,epaisseur_couche_erosion);
986 couturad 968 params_post_orientation_ponderee.change_valeur("Identifiant","Orientation_Particule_ponderee");
987     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ponderee.txt");
988     params_post_orientation_ponderee.enregistrer((char*)sys_command.c_str());
989 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
990 couturad 951
991 couturad 968 OT_PARAMETRES params_post_orientation_ponderee_ecart;
992 couturad 971 ini_param_post_traitement(&params_post_orientation_ponderee_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART,nb_couche_erosion,epaisseur_couche_erosion);
993 couturad 968 params_post_orientation_ponderee_ecart.change_valeur("Identifiant","Orientation_Particule_ponderee_ecart");
994     params_post_orientation_ponderee_ecart.change_valeur("Identifiant_orientation","Orientation_Particule_ponderee");
995     params_post_orientation_ponderee_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_ABSOLUE);
996     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ponderee_ecart.txt");
997     params_post_orientation_ponderee_ecart.enregistrer((char*)sys_command.c_str());
998 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
999 couturad 971 }
1000     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_fem_maillage.txt");
1001     f.open(sys_command.c_str(),std::ios::out);
1002     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1003     f << "params_post_fem_maillage_all.txt" << std::endl;
1004     f << "params_post_fem_maillage_particule.txt" << std::endl;
1005     f << "params_post_fem_maillage_matrice.txt" << std::endl;
1006     if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
1007     {
1008 couturad 968 f << "params_post_orientation_ponderee.txt" << std::endl;
1009     f << "params_post_orientation_ponderee_ecart.txt" << std::endl;
1010 couturad 951 }
1011 couturad 971 f.close();
1012     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1013    
1014     if(etude_mecanique)
1015 couturad 951 {
1016 couturad 971 OT_PARAMETRES params_post_champ_sigma;
1017     ini_param_post_traitement(&params_post_champ_sigma,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1018     params_post_champ_sigma.change_valeur("Identifiant","Champ_SIGMA");
1019     params_post_champ_sigma.change_valeur("Num_solution",2);
1020 couturad 974 params_post_champ_sigma.change_valeur("Largeur_colonne_distribution","1000.0");
1021 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma.txt");
1022     params_post_champ_sigma.enregistrer((char*)sys_command.c_str());
1023     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1024 couturad 982 // Nom_groupe_forme
1025 couturad 971 OT_PARAMETRES params_post_champ_sigma_normalise;
1026     ini_param_post_traitement(&params_post_champ_sigma_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1027     params_post_champ_sigma_normalise.change_valeur("Identifiant","Champ_SIGMA_normalise");
1028     params_post_champ_sigma_normalise.change_valeur("Identifiant_champ","Champ_SIGMA");
1029 couturad 982 params_post_champ_sigma_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA");
1030     params_post_champ_sigma_normalise.change_valeur("Largeur_colonne_distribution","0.02");
1031 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_normalise.txt");
1032     params_post_champ_sigma_normalise.enregistrer((char*)sys_command.c_str());
1033     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1034    
1035     OT_PARAMETRES params_post_champ_epsilon;
1036     ini_param_post_traitement(&params_post_champ_epsilon,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1037     params_post_champ_epsilon.change_valeur("Identifiant","Champ_EPSILON");
1038     params_post_champ_epsilon.change_valeur("Num_solution",1);
1039 couturad 974 params_post_champ_epsilon.change_valeur("Largeur_colonne_distribution","1.0e-6");
1040 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon.txt");
1041     params_post_champ_epsilon.enregistrer((char*)sys_command.c_str());
1042     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1043    
1044     OT_PARAMETRES params_post_champ_epsilon_normalise;
1045     ini_param_post_traitement(&params_post_champ_epsilon_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1046     params_post_champ_epsilon_normalise.change_valeur("Identifiant","Champ_EPSILON_normalise");
1047     params_post_champ_epsilon_normalise.change_valeur("Identifiant_champ","Champ_EPSILON");
1048 couturad 982 params_post_champ_epsilon_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON");
1049     params_post_champ_epsilon_normalise.change_valeur("Largeur_colonne_distribution","0.02");
1050 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_normalise.txt");
1051     params_post_champ_epsilon_normalise.enregistrer((char*)sys_command.c_str());
1052     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1053    
1054 couturad 982 OT_PARAMETRES params_post_champ_sigma_particule;
1055     ini_param_post_traitement(&params_post_champ_sigma_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1056     params_post_champ_sigma_particule.change_valeur("Identifiant","Champ_SIGMA_particule");
1057     params_post_champ_sigma_particule.change_valeur("Nom_groupe_forme","Particule");
1058     params_post_champ_sigma_particule.change_valeur("Num_solution",2);
1059     params_post_champ_sigma_particule.change_valeur("Largeur_colonne_distribution","1000.0");
1060     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_particule.txt");
1061     params_post_champ_sigma_particule.enregistrer((char*)sys_command.c_str());
1062     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1063     OT_PARAMETRES params_post_champ_sigma_particule_normalise;
1064     ini_param_post_traitement(&params_post_champ_sigma_particule_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1065     params_post_champ_sigma_particule_normalise.change_valeur("Identifiant","Champ_SIGMA_particule_normalise");
1066     params_post_champ_sigma_particule_normalise.change_valeur("Identifiant_champ","Champ_SIGMA_particule");
1067     params_post_champ_sigma_particule_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA");
1068     params_post_champ_sigma_particule_normalise.change_valeur("Largeur_colonne_distribution","0.02");
1069     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_particule_normalise.txt");
1070     params_post_champ_sigma_particule_normalise.enregistrer((char*)sys_command.c_str());
1071     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1072    
1073     OT_PARAMETRES params_post_champ_epsilon_particule;
1074     ini_param_post_traitement(&params_post_champ_epsilon_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1075     params_post_champ_epsilon_particule.change_valeur("Identifiant","Champ_EPSILON_particule");
1076     params_post_champ_epsilon_particule.change_valeur("Nom_groupe_forme","Particule");
1077     params_post_champ_epsilon_particule.change_valeur("Num_solution",1);
1078     params_post_champ_epsilon_particule.change_valeur("Largeur_colonne_distribution","1.0e-6");
1079     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_particule.txt");
1080     params_post_champ_epsilon_particule.enregistrer((char*)sys_command.c_str());
1081     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1082    
1083     OT_PARAMETRES params_post_champ_epsilon_particule_normalise;
1084     ini_param_post_traitement(&params_post_champ_epsilon_particule_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1085     params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant","Champ_EPSILON_particule_normalise");
1086     params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant_champ","Champ_EPSILON_particule");
1087     params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON");
1088     params_post_champ_epsilon_particule_normalise.change_valeur("Largeur_colonne_distribution","0.02");
1089     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_particule_normalise.txt");
1090     params_post_champ_epsilon_particule_normalise.enregistrer((char*)sys_command.c_str());
1091     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1092    
1093     OT_PARAMETRES params_post_champ_sigma_matrice;
1094     ini_param_post_traitement(&params_post_champ_sigma_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1095     params_post_champ_sigma_matrice.change_valeur("Identifiant","Champ_SIGMA_matrice");
1096     params_post_champ_sigma_matrice.change_valeur("Nom_groupe_forme","Matrice");
1097     params_post_champ_sigma_matrice.change_valeur("Num_solution",2);
1098     params_post_champ_sigma_matrice.change_valeur("Largeur_colonne_distribution","1000.0");
1099     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_matrice.txt");
1100     params_post_champ_sigma_matrice.enregistrer((char*)sys_command.c_str());
1101     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1102     OT_PARAMETRES params_post_champ_sigma_matrice_normalise;
1103     ini_param_post_traitement(&params_post_champ_sigma_matrice_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1104     params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant","Champ_SIGMA_matrice_normalise");
1105     params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant_champ","Champ_SIGMA_matrice");
1106     params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA");
1107     params_post_champ_sigma_matrice_normalise.change_valeur("Largeur_colonne_distribution","0.02");
1108     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_matrice_normalise.txt");
1109     params_post_champ_sigma_matrice_normalise.enregistrer((char*)sys_command.c_str());
1110     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1111    
1112     OT_PARAMETRES params_post_champ_epsilon_matrice;
1113     ini_param_post_traitement(&params_post_champ_epsilon_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1114     params_post_champ_epsilon_matrice.change_valeur("Identifiant","Champ_EPSILON_matrice");
1115     params_post_champ_epsilon_matrice.change_valeur("Nom_groupe_forme","Matrice");
1116     params_post_champ_epsilon_matrice.change_valeur("Num_solution",1);
1117     params_post_champ_epsilon_matrice.change_valeur("Largeur_colonne_distribution","1.0e-6");
1118     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_matrice.txt");
1119     params_post_champ_epsilon_matrice.enregistrer((char*)sys_command.c_str());
1120     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1121    
1122     OT_PARAMETRES params_post_champ_epsilon_matrice_normalise;
1123     ini_param_post_traitement(&params_post_champ_epsilon_matrice_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1124     params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant","Champ_EPSILON_matrice_normalise");
1125     params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant_champ","Champ_EPSILON_matrice");
1126     params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON");
1127     params_post_champ_epsilon_matrice_normalise.change_valeur("Largeur_colonne_distribution","0.02");
1128     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_matrice_normalise.txt");
1129     params_post_champ_epsilon_matrice_normalise.enregistrer((char*)sys_command.c_str());
1130     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1131 couturad 1029
1132     OT_PARAMETRES params_post_champ_energie_hill;
1133     ini_param_post_traitement(&params_post_champ_energie_hill,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ENERGIE_HILL,nb_couche_erosion,epaisseur_couche_erosion);
1134     params_post_champ_energie_hill.change_valeur("Identifiant","Champ_ENERGIE_hill");
1135     params_post_champ_energie_hill.change_valeur("Num_solution_epsilon",1);
1136     params_post_champ_energie_hill.change_valeur("Num_solution_sigma",2);
1137     params_post_champ_energie_hill.change_valeur("Largeur_colonne_distribution","1");
1138     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_hill.txt");
1139     params_post_champ_energie_hill.enregistrer((char*)sys_command.c_str());
1140     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1141    
1142    
1143    
1144    
1145 couturad 971 OT_PARAMETRES params_post_champ_energie;
1146     ini_param_post_traitement(&params_post_champ_energie,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1147     params_post_champ_energie.change_valeur("Identifiant","Champ_ENERGIE");
1148     params_post_champ_energie.change_valeur("Num_solution",5);
1149 couturad 974 params_post_champ_energie.change_valeur("Largeur_colonne_distribution","1e-04");
1150 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie.txt");
1151     params_post_champ_energie.enregistrer((char*)sys_command.c_str());
1152     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1153    
1154     OT_PARAMETRES params_post_champ_energie_normalise;
1155     ini_param_post_traitement(&params_post_champ_energie_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1156     params_post_champ_energie_normalise.change_valeur("Identifiant","Champ_ENERGIE_normalise");
1157     params_post_champ_energie_normalise.change_valeur("Identifiant_champ","Champ_ENERGIE");
1158 couturad 982 params_post_champ_energie_normalise.change_valeur("Identifiant_champ_reference","Champ_ENERGIE");
1159     params_post_champ_energie_normalise.change_valeur("Largeur_colonne_distribution","0.025");
1160 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_normalise.txt");
1161     params_post_champ_energie_normalise.enregistrer((char*)sys_command.c_str());
1162     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1163    
1164     OT_PARAMETRES params_post_champ_energie_ecart;
1165     ini_param_post_traitement(&params_post_champ_energie_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART,nb_couche_erosion,epaisseur_couche_erosion);
1166     params_post_champ_energie_ecart.change_valeur("Identifiant","Champ_ENERGIE_ecart");
1167     params_post_champ_energie_ecart.change_valeur("Identifiant_champ","Champ_ENERGIE");
1168     params_post_champ_energie_ecart.change_valeur("Identifiant_champ_compare","Champ_ENERGIE");
1169     params_post_champ_energie_ecart.change_valeur("Num_couche","0");
1170 couturad 982 params_post_champ_energie_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF);
1171 couturad 974 params_post_champ_energie_ecart.change_valeur("Largeur_colonne_distribution","1e-04");
1172 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_ecart.txt");
1173     params_post_champ_energie_ecart.enregistrer((char*)sys_command.c_str());
1174     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1175    
1176     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca.txt");
1177     f.open(sys_command.c_str(),std::ios::out);
1178 couturad 968 f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1179 couturad 971 f << "params_post_champ_sigma.txt" << std::endl;
1180 couturad 982 f << "params_post_champ_sigma_normalise.txt" << std::endl;
1181     f << "params_post_champ_sigma_particule.txt" << std::endl;
1182     f << "params_post_champ_sigma_particule_normalise.txt" << std::endl;
1183     f << "params_post_champ_sigma_matrice.txt" << std::endl;
1184     f << "params_post_champ_sigma_matrice_normalise.txt" << std::endl;
1185 couturad 971 f << "params_post_champ_epsilon.txt" << std::endl;
1186 couturad 982 f << "params_post_champ_epsilon_normalise.txt" << std::endl;
1187     f << "params_post_champ_epsilon_particule.txt" << std::endl;
1188     f << "params_post_champ_epsilon_particule_normalise.txt" << std::endl;
1189     f << "params_post_champ_epsilon_matrice.txt" << std::endl;
1190     f << "params_post_champ_epsilon_matrice_normalise.txt" << std::endl;
1191 couturad 1029 f << "params_post_champ_energie_hill.txt" << std::endl;
1192 couturad 971 f << "params_post_champ_energie.txt" << std::endl;
1193     f << "params_post_champ_energie_normalise.txt" << std::endl;
1194     f << "params_post_champ_energie_ecart.txt" << std::endl;
1195 couturad 993 f << "params_post_temps.txt" << std::endl;
1196 couturad 971 f.close();
1197     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1198 ghazal 1130 //============================================================================SPH==========================================
1199 couturad 971 OT_PARAMETRES params_post_champ_sigma_ecart_chargement_sph;
1200     ini_param_post_traitement(&params_post_champ_sigma_ecart_chargement_sph,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion);
1201     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Identifiant","Champ_SIGMA_ecart_chargement_sph");
1202     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Identifiant_champ","Champ_SIGMA");
1203     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Type_chargement","0");
1204     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1205     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Largeur_colonne_distribution","0.1");
1206     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_ecart_chargement_sph.txt");
1207     params_post_champ_sigma_ecart_chargement_sph.enregistrer((char*)sys_command.c_str());
1208     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1209    
1210     OT_PARAMETRES params_post_champ_epsilon_ecart_chargement_sph;
1211     ini_param_post_traitement(&params_post_champ_epsilon_ecart_chargement_sph,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion);
1212     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Identifiant","Champ_EPSILON_ecart_chargement_sph");
1213     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Identifiant_champ","Champ_EPSILON");
1214     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Type_chargement","0");
1215     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1216     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Largeur_colonne_distribution","0.1");
1217     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_ecart_chargement_sph.txt");
1218     params_post_champ_epsilon_ecart_chargement_sph.enregistrer((char*)sys_command.c_str());
1219     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1220    
1221     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt");
1222     f.open(sys_command.c_str(),std::ios::out);
1223     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1224     f << "params_post_champ_sigma_ecart_chargement_sph.txt" << std::endl;
1225     f << "params_post_champ_epsilon_ecart_chargement_sph.txt" << std::endl;
1226     f.close();
1227     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1228 ghazal 1130 //============================================================================DEV=========================================
1229 couturad 971 OT_PARAMETRES params_post_champ_sigma_ecart_chargement_dev;
1230     ini_param_post_traitement(&params_post_champ_sigma_ecart_chargement_dev,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion);
1231     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Identifiant","Champ_SIGMA_ecart_chargement_dev");
1232     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Identifiant_champ","Champ_SIGMA");
1233     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Type_chargement","1");
1234     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1235     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Largeur_colonne_distribution","0.1");
1236     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_ecart_chargement_dev.txt");
1237     params_post_champ_sigma_ecart_chargement_dev.enregistrer((char*)sys_command.c_str());
1238     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1239    
1240     OT_PARAMETRES params_post_champ_epsilon_ecart_chargement_dev;
1241     ini_param_post_traitement(&params_post_champ_epsilon_ecart_chargement_dev,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion);
1242     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Identifiant","Champ_EPSILON_ecart_chargement_dev");
1243     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Identifiant_champ","Champ_EPSILON");
1244     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Type_chargement","1");
1245     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1246     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Largeur_colonne_distribution","0.1");
1247     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_ecart_chargement_dev.txt");
1248     params_post_champ_epsilon_ecart_chargement_dev.enregistrer((char*)sys_command.c_str());
1249     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1250    
1251     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt");
1252     f.open(sys_command.c_str(),std::ios::out);
1253     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1254     f << "params_post_champ_sigma_ecart_chargement_dev.txt" << std::endl;
1255     f << "params_post_champ_epsilon_ecart_chargement_dev.txt" << std::endl;
1256     f.close();
1257     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1258 ghazal 1130 //============================================================================FX==========================================
1259     /* OT_PARAMETRES params_post_champ_sigma_ecart_chargement_fx;
1260     ini_param_post_traitement(&params_post_champ_sigma_ecart_chargement_fx,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion);
1261     params_post_champ_sigma_ecart_chargement_fx.change_valeur("Identifiant","Champ_SIGMA_ecart_chargement_fx");
1262     params_post_champ_sigma_ecart_chargement_fx.change_valeur("Identifiant_champ","Champ_SIGMA");
1263     params_post_champ_sigma_ecart_chargement_fx.change_valeur("Type_chargement","2");
1264     params_post_champ_sigma_ecart_chargement_fx.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1265     params_post_champ_sigma_ecart_chargement_fx.change_valeur("Largeur_colonne_distribution","0.1");
1266     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_ecart_chargement_fx.txt");
1267     params_post_champ_sigma_ecart_chargement_fx.enregistrer((char*)sys_command.c_str());
1268     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1269 couturad 971
1270 ghazal 1130 OT_PARAMETRES params_post_champ_epsilon_ecart_chargement_fx;
1271     ini_param_post_traitement(&params_post_champ_epsilon_ecart_chargement_fx,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion);
1272     params_post_champ_epsilon_ecart_chargement_fx.change_valeur("Identifiant","Champ_EPSILON_ecart_chargement_fx");
1273     params_post_champ_epsilon_ecart_chargement_fx.change_valeur("Identifiant_champ","Champ_EPSILON");
1274     params_post_champ_epsilon_ecart_chargement_fx.change_valeur("Type_chargement","2");
1275     params_post_champ_epsilon_ecart_chargement_fx.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1276     params_post_champ_epsilon_ecart_chargement_fx.change_valeur("Largeur_colonne_distribution","0.1");
1277     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_ecart_chargement_fx.txt");
1278     params_post_champ_epsilon_ecart_chargement_fx.enregistrer((char*)sys_command.c_str());
1279     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1280    
1281     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_fx.txt");
1282     f.open(sys_command.c_str(),std::ios::out);
1283     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1284     f << "params_post_champ_sigma_ecart_chargement_fx.txt" << std::endl;
1285     f << "params_post_champ_epsilon_ecart_chargement_fx.txt" << std::endl;
1286     f.close();
1287     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1288     */
1289     //===========================================================================================================================
1290 couturad 971 OT_PARAMETRES params_post_modules_elasticite;
1291     ini_param_post_traitement(&params_post_modules_elasticite,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE,nb_couche_erosion,epaisseur_couche_erosion);
1292     params_post_modules_elasticite.change_valeur("Identifiant_epsilon","Champ_EPSILON");
1293     params_post_modules_elasticite.change_valeur("Identifiant_sigma","Champ_SIGMA");
1294     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_modules_elasticite.txt");
1295     params_post_modules_elasticite.enregistrer((char*)sys_command.c_str());
1296     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1297     }
1298     if(etude_thermique)
1299     {
1300     OT_PARAMETRES params_post_champ_temp;
1301     ini_param_post_traitement(&params_post_champ_temp,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1302     params_post_champ_temp.change_valeur("Identifiant","Champ_TEMP");
1303     params_post_champ_temp.change_valeur("Num_solution",0);
1304     params_post_champ_temp.change_valeur("Largeur_colonne_distribution","0.01");
1305     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_temp.txt");
1306     params_post_champ_temp.enregistrer((char*)sys_command.c_str());
1307     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1308    
1309     OT_PARAMETRES params_post_champ_temp_normalise;
1310     ini_param_post_traitement(&params_post_champ_temp_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1311     params_post_champ_temp_normalise.change_valeur("Identifiant","Champ_TEMP_normalise");
1312     params_post_champ_temp_normalise.change_valeur("Identifiant_champ","Champ_TEMP");
1313 couturad 982 params_post_champ_temp_normalise.change_valeur("Identifiant_champ_reference","Champ_TEMP");
1314 couturad 971 params_post_champ_temp_normalise.change_valeur("Num_solution",0);
1315     params_post_champ_temp_normalise.change_valeur("Largeur_colonne_distribution","1e-06");
1316     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_temp_normalise.txt");
1317     params_post_champ_temp_normalise.enregistrer((char*)sys_command.c_str());
1318     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1319    
1320     OT_PARAMETRES params_post_champ_flux;
1321     ini_param_post_traitement(&params_post_champ_flux,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1322     params_post_champ_flux.change_valeur("Identifiant","Champ_FLUX");
1323     params_post_champ_flux.change_valeur("Num_solution",1);
1324     params_post_champ_flux.change_valeur("Largeur_colonne_distribution","0.01");
1325     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_flux.txt");
1326     params_post_champ_flux.enregistrer((char*)sys_command.c_str());
1327     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1328    
1329     OT_PARAMETRES params_post_champ_flux_normalise;
1330     ini_param_post_traitement(&params_post_champ_flux_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1331     params_post_champ_flux_normalise.change_valeur("Identifiant","Champ_FLUX_normalise");
1332     params_post_champ_flux_normalise.change_valeur("Identifiant_champ","Champ_FLUX");
1333 couturad 982 params_post_champ_flux_normalise.change_valeur("Identifiant_champ_reference","Champ_FLUX");
1334 couturad 971 params_post_champ_flux_normalise.change_valeur("Num_solution",0);
1335     params_post_champ_flux_normalise.change_valeur("Largeur_colonne_distribution","1e-06");
1336     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_flux_normalise.txt");
1337     params_post_champ_flux_normalise.enregistrer((char*)sys_command.c_str());
1338     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1339    
1340 couturad 982 OT_PARAMETRES params_post_conductivite_thermique_x;
1341     ini_param_post_traitement(&params_post_conductivite_thermique_x,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1342     params_post_conductivite_thermique_x.change_valeur("Identifiant","Conductivite_thermique");
1343     params_post_conductivite_thermique_x.change_valeur("Num_solution_temp","0");
1344     params_post_conductivite_thermique_x.change_valeur("Num_solution_flux","1");
1345     params_post_conductivite_thermique_x.change_valeur("Direction","0");
1346     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_x.txt");
1347     params_post_conductivite_thermique_x.enregistrer((char*)sys_command.c_str());
1348     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1349    
1350     OT_PARAMETRES params_post_conductivite_thermique_y;
1351     ini_param_post_traitement(&params_post_conductivite_thermique_y,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1352     params_post_conductivite_thermique_y.change_valeur("Identifiant","Conductivite_thermique");
1353     params_post_conductivite_thermique_y.change_valeur("Num_solution_temp","0");
1354     params_post_conductivite_thermique_y.change_valeur("Num_solution_flux","1");
1355     params_post_conductivite_thermique_y.change_valeur("Direction","1");
1356     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_y.txt");
1357     params_post_conductivite_thermique_y.enregistrer((char*)sys_command.c_str());
1358     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1359    
1360     OT_PARAMETRES params_post_conductivite_thermique_z;
1361     ini_param_post_traitement(&params_post_conductivite_thermique_z,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1362     params_post_conductivite_thermique_z.change_valeur("Identifiant","Conductivite_thermique");
1363     params_post_conductivite_thermique_z.change_valeur("Num_solution_temp","0");
1364     params_post_conductivite_thermique_z.change_valeur("Num_solution_flux","1");
1365     params_post_conductivite_thermique_z.change_valeur("Direction","2");
1366     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_z.txt");
1367     params_post_conductivite_thermique_z.enregistrer((char*)sys_command.c_str());
1368     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1369    
1370 couturad 971 OT_PARAMETRES params_post_conductivite_thermique;
1371     ini_param_post_traitement(&params_post_conductivite_thermique,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1372 couturad 982 params_post_conductivite_thermique.change_valeur("Identifiant","Conductivite_thermique");
1373 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique.txt");
1374     params_post_conductivite_thermique.enregistrer((char*)sys_command.c_str());
1375 couturad 982 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1376 couturad 971
1377     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_ther.txt");
1378     f.open(sys_command.c_str(),std::ios::out);
1379     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1380     f << "params_post_champ_temp.txt" << std::endl;
1381     f << "params_post_champ_temp_normalise.txt" << std::endl;
1382     f << "params_post_champ_flux.txt" << std::endl;
1383     f << "params_post_champ_flux_normalise.txt" << std::endl;
1384 couturad 993 f << "params_post_temps.txt" << std::endl;
1385 couturad 971 f.close();
1386     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1387     }
1388 couturad 993
1389 couturad 968
1390 couturad 919 return OK;
1391     }
1392    
1393 couturad 971 int PARAMETRES::generer_script_ves(bool etude_mecanique,
1394     bool etude_thermique,
1395     int type_inclusion,
1396     bool fem_maill_lin,
1397     bool fem_maill_quad,
1398     fonction_affiche *fonc_affiche)
1399 couturad 929 {
1400 couturad 951 std::ofstream ofstrm((char*)"generer_nb_ves",std::ios::out|std::ios::trunc);
1401 couturad 929 ofstrm.precision(16);
1402     ofstrm.setf(std::ios::showpoint);
1403     ofstrm << "#!/bin/bash" << std::endl;
1404     ofstrm << "INDEX_DEPART=$1" << std::endl;
1405     ofstrm << "INDEX_FIN=$2" << std::endl;
1406 couturad 968 ofstrm << "CHEMINCOMPILE=$3" << std::endl;
1407 couturad 929 ofstrm << "if [ -z ${INDEX_DEPART// } ]" << std::endl;
1408     ofstrm << "then" << std::endl;
1409     ofstrm << " echo \"Erreur : Numero du ves de depart manquant\"" << std::endl;
1410     ofstrm << " exit" << std::endl;
1411     ofstrm << "fi" << std::endl;
1412     ofstrm << "if [ -z ${INDEX_FIN// } ]" << std::endl;
1413     ofstrm << "then" << std::endl;
1414     ofstrm << " echo \"Erreur : Numero du ves de fin manquant\"" << std::endl;
1415     ofstrm << " exit" << std::endl;
1416     ofstrm << "fi" << std::endl;
1417     ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl;
1418     ofstrm << "then" << std::endl;
1419 couturad 958 ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl;
1420     ofstrm << " then" << std::endl;
1421 francois 1095 ofstrm << " echo \"Erreur : Chemin vers exe/app manquant. Initialiser la variable PATHMAGICEXEAPP\"" << std::endl;
1422 couturad 958 ofstrm << " exit" << std::endl;
1423     ofstrm << " else" << std::endl;
1424     ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl;
1425     ofstrm << " fi" << std::endl;
1426 couturad 929 ofstrm << "fi" << std::endl;
1427     ofstrm << "function executer" << std::endl;
1428     ofstrm << "{" << std::endl;
1429     ofstrm << "OPERATION_REUSSIE=1;" << std::endl;
1430     ofstrm << "$*" << std::endl;
1431     ofstrm << "VAR=$?" << std::endl;
1432     ofstrm << "if (( $VAR )) ; then " << std::endl;
1433     ofstrm << " OPERATION_REUSSIE=0; " << std::endl;
1434     ofstrm << " STAT=$VAR;" << std::endl;
1435     ofstrm << "fi" << std::endl;
1436     ofstrm << "}" << std::endl;
1437     ofstrm << "" << std::endl;
1438     ofstrm << "echo \"*********************************************************\"" << std::endl;
1439     ofstrm << "echo \"Generation des microstructures $INDEX_DEPART - $INDEX_FIN\"" << std::endl;
1440     ofstrm << "echo \"*********************************************************\"" << std::endl;
1441     ofstrm << "STAT=$?" << std::endl;
1442     ofstrm << "" << std::endl;
1443     ofstrm << "if [ $INDEX_DEPART -eq 1 ]" << std::endl;
1444     ofstrm << "then" << std::endl;
1445     ofstrm << "mkdir etude" << std::endl;
1446     ofstrm << "fi" << std::endl;
1447     ofstrm << "cd etude" << std::endl;
1448     ofstrm << "for (( k=$INDEX_DEPART; k<=$INDEX_FIN; k++ ))" << std::endl;
1449     ofstrm << "do" << std::endl;
1450     ofstrm << " echo \"Microstructure #$k\"" << std::endl;
1451     ofstrm << " mkdir e$k" << std::endl;
1452     ofstrm << " cd e$k" << std::endl;
1453     ofstrm << " OPERATION_REUSSIE=0" << std::endl;
1454     ofstrm << " until [ $OPERATION_REUSSIE -eq 1 ]; do" << std::endl;
1455 couturad 968 ofstrm << " executer ../../ves $CHEMINCOMPILE" << std::endl;
1456 couturad 929 ofstrm << " done" << std::endl;
1457 couturad 968 ofstrm << " DOSSIER_ACTUEL=$(pwd)" << std::endl;
1458 couturad 929 ofstrm << " cd .." << std::endl;
1459     ofstrm << "done" << std::endl;
1460     ofstrm << "cd .." << std::endl;
1461     ofstrm << "echo \"**********************\"" << std::endl;
1462     ofstrm << "echo \" FIN \"" << std::endl;
1463     ofstrm << "echo \"**********************\"" << std::endl;
1464     ofstrm << "exit $STAT" << std::endl;
1465     ofstrm.close();
1466 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)"generer_nb_ves");
1467 couturad 929 system((char*)"chmod 744 generer_nb_ves");
1468    
1469 couturad 1029
1470     ofstrm.open((char*)"generer_ves_para",std::ios::out|std::ios::trunc);
1471     ofstrm.precision(16);
1472     ofstrm.setf(std::ios::showpoint);
1473     ofstrm << "#!/bin/bash" << std::endl;
1474     ofstrm << "CHEMINCOMPILE=$1" << std::endl;
1475     ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl;
1476     ofstrm << "then" << std::endl;
1477     ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl;
1478     ofstrm << " then" << std::endl;
1479     ofstrm << " echo \"Erreur : Chemin vers exe/app manquant\"" << std::endl;
1480     ofstrm << " exit" << std::endl;
1481     ofstrm << " else" << std::endl;
1482     ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl;
1483     ofstrm << " fi" << std::endl;
1484     ofstrm << "fi" << std::endl;
1485     ofstrm << "" << std::endl;
1486     ofstrm << "function executer" << std::endl;
1487     ofstrm << "{" << std::endl;
1488     ofstrm << "OPERATION_REUSSIE=1;" << std::endl;
1489     ofstrm << "$*" << std::endl;
1490     ofstrm << "VAR=$?" << std::endl;
1491     ofstrm << "if (( $VAR )) ; then " << std::endl;
1492     ofstrm << " OPERATION_REUSSIE=0; " << std::endl;
1493     ofstrm << " STAT=$VAR;" << std::endl;
1494     ofstrm << "fi" << std::endl;
1495     ofstrm << "}" << std::endl;
1496     ofstrm << "" << std::endl;
1497     ofstrm << "OPERATION_REUSSIE=0" << std::endl;
1498     ofstrm << "until [ $OPERATION_REUSSIE -eq 1 ]; do" << std::endl;
1499     ofstrm << "executer ../../ves $CHEMINCOMPILE" << std::endl;
1500     ofstrm << "done" << std::endl;
1501     ofstrm << "exit $STAT" << std::endl;
1502     ofstrm.close();
1503     if(fonc_affiche!=NULL) fonc_affiche((char*)"generer_ves_para");
1504     system((char*)"chmod 744 generer_ves_para");
1505    
1506    
1507 couturad 929 ofstrm.open((char*)"ves",std::ios::out|std::ios::trunc);
1508     ofstrm.precision(16);
1509     ofstrm.setf(std::ios::showpoint);
1510     ofstrm << "#!/bin/bash" << std::endl;
1511 couturad 968 ofstrm << "CHEMINCOMPILE=$1" << std::endl;
1512 couturad 929 ofstrm << "function executer" << std::endl;
1513     ofstrm << "{" << std::endl;
1514 couturad 993 ofstrm << "op=$*" << std::endl;
1515 couturad 929 ofstrm << "$*" << std::endl;
1516     ofstrm << "VAR=$?" << std::endl;
1517     ofstrm << "if (( $VAR )) ; then " << std::endl;
1518     ofstrm << " STATUSTXT=\"ERREUR dans les tests\"; " << std::endl;
1519     ofstrm << " STAT=$VAR;" << std::endl;
1520 couturad 993 ofstrm << " echo $op $(date) >> ../../log_erreur.txt" << std::endl;
1521 couturad 929 ofstrm << " exit $STAT" << std::endl;
1522     ofstrm << "fi" << std::endl;
1523     ofstrm << "}" << std::endl;
1524     ofstrm << "STATUSTXT=\"Test sans ERREUR\"" << std::endl;
1525     ofstrm << "echo \"*******************************\"" << std::endl;
1526     ofstrm << "echo \"Generation d'une microstructure\"" << std::endl;
1527     ofstrm << "echo \"*******************************\"" << std::endl;
1528     ofstrm << "STAT=$?" << std::endl;
1529 couturad 951 ofstrm << "" << std::endl;
1530     ofstrm << "#Geometrie" << std::endl;
1531 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_geo -ves_out ves_geo.ves -lstparam ../../parametre/geometrie/lstparam_geo.txt" << std::endl;
1532 couturad 951 ofstrm << "executer $CHEMINCOMPILE/mgoperation/mgoperation.exe -brep_out -in ves_geo.magic -out ves_brep.brep" << std::endl;
1533 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_geo.ves -ves_out ves_geo_post.ves -lstparam ../../parametre/post_traitement/lstparam_post_geometrie.txt" << std::endl;
1534 couturad 951 ofstrm << "" << std::endl;
1535     ofstrm << "#Materiau" << std::endl;
1536 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_mat -ves_in ves_geo.ves -ves_out ves_mat.ves -lstparam ../../parametre/materiau/lstparam_mat.txt" << std::endl;
1537 couturad 951 ofstrm << "" << std::endl;
1538     ofstrm << "#Carte" << std::endl;
1539 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_carte -ves_in ves_mat.ves -ves_out ves_carte.ves -param ../../parametre/carte/param_carte.txt" << std::endl;
1540 couturad 929 ofstrm << "" << std::endl;
1541 couturad 951 ofstrm << "#MG Maillage" << std::endl;
1542 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_mg_maill -ves_in ves_carte.ves -ves_out ves_mg_maill.ves -param ../../parametre/maillage/param_maill.txt -carte carte.ctt" << std::endl;
1543     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_mg_maill.ves -ves_out ves_mg_maill_post.ves -lstparam ../../parametre/post_traitement/lstparam_post_mg_maillage.txt" << std::endl;
1544 couturad 951 ofstrm << "executer $CHEMINCOMPILE/mgoperation/mgoperation.exe -gmsh -in ves_mg_maill.magic" << std::endl;
1545 couturad 929 ofstrm << "" << std::endl;
1546 couturad 951 ofstrm << "#Fem Maillage" << std::endl;
1547     if(fem_maill_lin)
1548     {
1549 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_fem_maill -ves_in ves_mg_maill.ves -ves_out ves_fem_maill_lin.ves -param ../../parametre/fem_maillage/param_fem_maill_lin.txt" << std::endl;
1550     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_fem_maill_lin.ves -ves_out ves_fem_maill_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_fem_maillage.txt" << std::endl;
1551 couturad 951 }
1552     if(fem_maill_quad)
1553     {
1554 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_fem_maill -ves_in ves_mg_maill.ves -ves_out ves_fem_maill_quad.ves -param ../../parametre/fem_maillage/param_fem_maill_quad.txt" << std::endl;
1555     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_fem_maill_quad.ves -ves_out ves_fem_maill_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_fem_maillage.txt" << std::endl;
1556 couturad 951 }
1557 couturad 929 ofstrm << "" << std::endl;
1558 couturad 951 ofstrm << "#Etude" << std::endl;
1559     if(fem_maill_lin)
1560     {
1561 couturad 971 if(etude_mecanique)
1562     {
1563     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLDH_sph_lin.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt" << std::endl;
1564     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLCH_sph_lin.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt" << std::endl;
1565     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLDH_dev_lin.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt" << std::endl;
1566     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLCH_dev_lin.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt" << std::endl;
1567 ghazal 1130 // ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLXD_fx_lin.ves -param ../../parametre/etude/param_etude_CLXD_fx.txt" << std::endl;
1568 couturad 971 }
1569     if(etude_thermique)
1570     {
1571     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLG_x_lin.ves -param ../../parametre/etude/params_etude_CLG_x.txt" << std::endl;
1572     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLG_y_lin.ves -param ../../parametre/etude/params_etude_CLG_y.txt" << std::endl;
1573     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLG_z_lin.ves -param ../../parametre/etude/params_etude_CLG_z.txt" << std::endl;
1574     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLF_x_lin.ves -param ../../parametre/etude/params_etude_CLF_x.txt" << std::endl;
1575     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLF_y_lin.ves -param ../../parametre/etude/params_etude_CLF_y.txt" << std::endl;
1576     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLF_z_lin.ves -param ../../parametre/etude/params_etude_CLF_z.txt" << std::endl;
1577     }
1578 couturad 951 }
1579     if(fem_maill_quad)
1580     {
1581 couturad 971 if(etude_mecanique)
1582     {
1583     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLDH_sph_quad.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt" << std::endl;
1584     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLCH_sph_quad.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt" << std::endl;
1585     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLDH_dev_quad.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt" << std::endl;
1586     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLCH_dev_quad.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt" << std::endl;
1587     }
1588     if(etude_thermique)
1589     {
1590     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLG_x_quad.ves -param ../../parametre/etude/params_etude_CLG_x.txt" << std::endl;
1591     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLG_y_quad.ves -param ../../parametre/etude/params_etude_CLG_y.txt" << std::endl;
1592     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLG_z_quad.ves -param ../../parametre/etude/params_etude_CLG_z.txt" << std::endl;
1593     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLF_x_quad.ves -param ../../parametre/etude/params_etude_CLF_x.txt" << std::endl;
1594     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLF_y_quad.ves -param ../../parametre/etude/params_etude_CLF_y.txt" << std::endl;
1595     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLF_z_quad.ves -param ../../parametre/etude/params_etude_CLF_z.txt" << std::endl;
1596    
1597     }
1598 couturad 951 }
1599 couturad 929 ofstrm << "" << std::endl;
1600 couturad 951 ofstrm << "#Calcul" << std::endl;
1601     if(fem_maill_lin)
1602     {
1603 couturad 971 if(etude_mecanique)
1604     {
1605     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_sph_lin.ves -ves_out ves_calcul_CLDH_sph_lin.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1606 ghazal 1130
1607    
1608 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_lin.ves -ves_out ves_calcul_CLDH_sph_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1609 ghazal 1130
1610    
1611 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_post_lin.ves -ves_out ves_calcul_CLDH_sph_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl;
1612 ghazal 1130 //=================================================================================================-===========================
1613    
1614 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_sph_lin.ves -ves_out ves_calcul_CLCH_sph_lin.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1615 ghazal 1130
1616    
1617 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_lin.ves -ves_out ves_calcul_CLCH_sph_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1618 ghazal 1130
1619    
1620 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_post_lin.ves -ves_out ves_calcul_CLCH_sph_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl;
1621 ghazal 1130 //=================================================================================================-===========================
1622    
1623 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_dev_lin.ves -ves_out ves_calcul_CLDH_dev_lin.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1624 ghazal 1130
1625    
1626 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_lin.ves -ves_out ves_calcul_CLDH_dev_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1627 ghazal 1130
1628    
1629     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_post_lin.ves -ves_out ves_calcul_CLDH_dev_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl;
1630    
1631     //=================================================================================================-===========================
1632 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_dev_lin.ves -ves_out ves_calcul_CLCH_dev_lin.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1633 ghazal 1130
1634    
1635     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_lin.ves -ves_out ves_calcul_CLCH_dev_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1636    
1637    
1638     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_post_lin.ves -ves_out ves_calcul_CLCH_dev_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl;
1639    
1640     //=================================================================================================-===========================
1641    
1642     /* ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLXD_fx_lin.ves -ves_out ves_calcul_CLXD_fx_lin.ves -param ../../parametre/etude/param_etude_CLXD_fx.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1643    
1644    
1645     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLXD_fx_lin.ves -ves_out ves_calcul_CLXD_fx_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1646    
1647    
1648     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLXD_fx_post_lin.ves -ves_out ves_calcul_CLXD_fx_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_fx.txt" << std::endl;*/
1649     //=================================================================================================================================
1650     //====================================================================================================================================
1651    
1652 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLDH_sph_post_lin.ves -ves_dev ves_calcul_CLDH_dev_post_lin.ves -ves_out ves_CLDH_modules_elasticite_post_lin.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl;
1653 ghazal 1130
1654    
1655 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLCH_sph_post_lin.ves -ves_dev ves_calcul_CLCH_dev_post_lin.ves -ves_out ves_CLCH_modules_elasticite_post_lin.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl;
1656 ghazal 1130
1657     // ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_fix ves_calcul_CLXD_fx_post_lin.ves -ves_out ves_CLXD_modules_elasticite_post_lin.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl;
1658     //===================================================================================================================================
1659 couturad 971 }
1660     if(etude_thermique)
1661     {
1662     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_x_lin.ves -ves_out ves_calcul_CLG_x_lin.ves -param ../../parametre/etude/params_etude_CLG_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1663     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_lin.ves -ves_out ves_calcul_CLG_x_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1664 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_post_lin.ves -ves_out ves_calcul_CLG_x_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl;
1665 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_y_lin.ves -ves_out ves_calcul_CLG_y_lin.ves -param ../../parametre/etude/params_etude_CLG_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1666     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_lin.ves -ves_out ves_calcul_CLG_y_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1667 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_post_lin.ves -ves_out ves_calcul_CLG_y_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl;
1668 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_z_lin.ves -ves_out ves_calcul_CLG_z_lin.ves -param ../../parametre/etude/params_etude_CLG_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1669     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_lin.ves -ves_out ves_calcul_CLG_z_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1670 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_post_lin.ves -ves_out ves_calcul_CLG_z_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl;
1671 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_x_lin.ves -ves_out ves_calcul_CLF_x_lin.ves -param ../../parametre/etude/params_etude_CLF_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1672     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_lin.ves -ves_out ves_calcul_CLF_x_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1673 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_post_lin.ves -ves_out ves_calcul_CLF_x_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl;
1674 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_y_lin.ves -ves_out ves_calcul_CLF_y_lin.ves -param ../../parametre/etude/params_etude_CLF_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1675     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_lin.ves -ves_out ves_calcul_CLF_y_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1676 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_post_lin.ves -ves_out ves_calcul_CLF_y_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl;
1677 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_z_lin.ves -ves_out ves_calcul_CLF_z_lin.ves -param ../../parametre/etude/params_etude_CLF_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1678     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_lin.ves -ves_out ves_calcul_CLF_z_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1679 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_post_lin.ves -ves_out ves_calcul_CLF_z_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl;
1680 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLG_x_post_lin.ves "
1681     "-ves_lambda_y ves_calcul_CLG_y_post_lin.ves "
1682     "-ves_lambda_z ves_calcul_CLG_z_post_lin.ves "
1683     "-ves_out ves_CLG_conductivite_thermique_post_lin.ves "
1684     "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1685     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLF_x_post_lin.ves "
1686     "-ves_lambda_y ves_calcul_CLF_y_post_lin.ves "
1687     "-ves_lambda_z ves_calcul_CLF_z_post_lin.ves "
1688     "-ves_out ves_CLF_conductivite_thermique_post_lin.ves "
1689     "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1690     }
1691 couturad 951 }
1692 couturad 968
1693 couturad 951 if(fem_maill_quad)
1694     {
1695 couturad 971 if(etude_mecanique)
1696     {
1697     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_sph_quad.ves -ves_out ves_calcul_CLDH_sph_quad.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1698     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_quad.ves -ves_out ves_calcul_CLDH_sph_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1699     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_post_quad.ves -ves_out ves_calcul_CLDH_sph_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl;
1700     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_sph_quad.ves -ves_out ves_calcul_CLCH_sph_quad.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1701     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_quad.ves -ves_out ves_calcul_CLCH_sph_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1702     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_post_quad.ves -ves_out ves_calcul_CLCH_sph_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl;
1703     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_dev_quad.ves -ves_out ves_calcul_CLDH_dev_quad.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1704     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_quad.ves -ves_out ves_calcul_CLDH_dev_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1705     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_post_quad.ves -ves_out ves_calcul_CLDH_dev_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl;
1706     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_dev_quad.ves -ves_out ves_calcul_CLCH_dev_quad.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1707     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_quad.ves -ves_out ves_calcul_CLCH_dev_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl;
1708     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_post_quad.ves -ves_out ves_calcul_CLCH_dev_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl;
1709     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLDH_sph_post_quad.ves -ves_dev ves_calcul_CLDH_dev_post_quad.ves -ves_out ves_CLDH_modules_elasticite_post_quad.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl;
1710     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLCH_sph_post_quad.ves -ves_dev ves_calcul_CLCH_dev_post_quad.ves -ves_out ves_CLCH_modules_elasticite_post_quad.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl;
1711     }
1712     if(etude_thermique)
1713     {
1714     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_x_quad.ves -ves_out ves_calcul_CLG_x_quad.ves -param ../../parametre/etude/params_etude_CLG_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1715     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_quad.ves -ves_out ves_calcul_CLG_x_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1716 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_post_quad.ves -ves_out ves_calcul_CLG_x_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl;
1717 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_y_quad.ves -ves_out ves_calcul_CLG_y_quad.ves -param ../../parametre/etude/params_etude_CLG_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1718     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_quad.ves -ves_out ves_calcul_CLG_y_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1719 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_post_quad.ves -ves_out ves_calcul_CLG_y_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl;
1720 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_z_quad.ves -ves_out ves_calcul_CLG_z_quad.ves -param ../../parametre/etude/params_etude_CLG_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1721     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_quad.ves -ves_out ves_calcul_CLG_z_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1722 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_post_quad.ves -ves_out ves_calcul_CLG_z_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl;
1723 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_x_quad.ves -ves_out ves_calcul_CLF_x_quad.ves -param ../../parametre/etude/params_etude_CLF_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1724     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_quad.ves -ves_out ves_calcul_CLF_x_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1725 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_post_quad.ves -ves_out ves_calcul_CLF_x_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl;
1726 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_y_quad.ves -ves_out ves_calcul_CLF_y_quad.ves -param ../../parametre/etude/params_etude_CLF_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1727     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_quad.ves -ves_out ves_calcul_CLF_y_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1728 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_post_quad.ves -ves_out ves_calcul_CLF_y_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl;
1729 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_z_quad.ves -ves_out ves_calcul_CLF_z_quad.ves -param ../../parametre/etude/params_etude_CLF_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl;
1730     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_quad.ves -ves_out ves_calcul_CLF_z_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl;
1731 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_post_quad.ves -ves_out ves_calcul_CLF_z_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl;
1732 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLG_x_post_quad.ves "
1733     "-ves_lambda_y ves_calcul_CLG_y_post_quad.ves "
1734     "-ves_lambda_z ves_calcul_CLG_z_post_quad.ves "
1735     "-ves_out ves_CLG_conductivite_thermique_post_quad.ves "
1736     "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1737     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLF_x_post_quad.ves "
1738     "-ves_lambda_y ves_calcul_CLF_y_post_quad.ves "
1739     "-ves_lambda_z ves_calcul_CLF_z_post_quad.ves "
1740     "-ves_out ves_CLF_conductivite_thermique_post_quad.ves "
1741 couturad 982 "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1742 couturad 971 }
1743 couturad 951 }
1744     ofstrm << "" << std::endl;
1745     ofstrm << "rm *.msh" << std::endl;
1746     ofstrm << "rm *.sol" << std::endl;
1747     ofstrm << "rm *.resu" << std::endl;
1748     ofstrm << "rm *.comm" << std::endl;
1749     ofstrm << "rm *.mail" << std::endl;
1750     ofstrm << "rm *.retour" << std::endl;
1751     ofstrm << "rm *.export" << std::endl;
1752     ofstrm << "rm *.log" << std::endl;
1753     ofstrm << "rm *.mess" << std::endl;
1754 couturad 993 ofstrm << "rm *.magic" << std::endl;
1755 couturad 968 ofstrm << "#find . ! -name '*.ves' -type f -exec rm -f {} +" << std::endl;
1756 couturad 929 ofstrm << "cd .." << std::endl;
1757     ofstrm << "echo \"**********************\"" << std::endl;
1758     ofstrm << "echo $STATUSTXT" << std::endl;
1759     ofstrm << "echo \"**********************\"" << std::endl;
1760     ofstrm << "exit $STAT" << std::endl;
1761 couturad 964 ofstrm.close();
1762     if(fonc_affiche!=NULL) fonc_affiche((char*)"ves");
1763 couturad 929 system((char*)"chmod 744 ves");
1764 couturad 971
1765 couturad 968 return OK;
1766 couturad 929 }
1767    
1768 couturad 971 int PARAMETRES::generer_script_post_traitement(bool etude_mecanique,
1769     bool etude_thermique,
1770     int type_inclusion,
1771     bool fem_maill_lin,
1772     bool fem_maill_quad,
1773     double epaisseur_couche_erosion,
1774     fonction_affiche *fonc_affiche)
1775 couturad 951 {
1776 couturad 968 std::ofstream ofstrm((char*)"post_traitement",std::ios::out|std::ios::trunc);
1777 couturad 951 ofstrm.precision(16);
1778     ofstrm.setf(std::ios::showpoint);
1779     ofstrm << "#!/bin/bash" << std::endl;
1780 couturad 968 ofstrm << "CHEMINCOMPILE=$1" << std::endl;
1781 couturad 958 ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl;
1782     ofstrm << "then" << std::endl;
1783     ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl;
1784     ofstrm << " then" << std::endl;
1785     ofstrm << " echo \"Erreur : Chemin vers exe/app manquant\"" << std::endl;
1786     ofstrm << " exit" << std::endl;
1787     ofstrm << " else" << std::endl;
1788     ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl;
1789     ofstrm << " fi" << std::endl;
1790     ofstrm << "fi" << std::endl;
1791 couturad 951 ofstrm << "function executer" << std::endl;
1792     ofstrm << "{" << std::endl;
1793     ofstrm << "$*" << std::endl;
1794     ofstrm << "VAR=$?" << std::endl;
1795     ofstrm << "if (( $VAR )) ; then " << std::endl;
1796     ofstrm << " STATUSTXT=\"ERREUR dans les tests\"; " << std::endl;
1797     ofstrm << " STAT=$VAR;" << std::endl;
1798     ofstrm << " exit $STAT" << std::endl;
1799     ofstrm << "fi" << std::endl;
1800     ofstrm << "}" << std::endl;
1801     ofstrm << "STATUSTXT=\"Test sans ERREUR\"" << std::endl;
1802     ofstrm << "echo \"*******************************\"" << std::endl;
1803     ofstrm << "echo \"Generation d'une microstructure\"" << std::endl;
1804     ofstrm << "echo \"*******************************\"" << std::endl;
1805     ofstrm << "STAT=$?" << std::endl;
1806     ofstrm << "" << std::endl;
1807     ofstrm << "mkdir resultats" << std::endl;
1808     ofstrm << "" << std::endl;
1809     ofstrm << "#Geometrie" << std::endl;
1810     ofstrm << "mkdir -p resultats/cao" << std::endl;
1811 couturad 1029 ofstrm << "find . -name \"ves_geo_post.ves\" | sort > tmp_lst_ves_geo_post.txt" << std::endl;
1812 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_geo_post.txt -lstparam parametre/post_traitement/lstparam_post_geometrie.txt -dossier resultats/cao" << std::endl;
1813     ofstrm << "rm tmp_lst_ves_geo_post.txt" << std::endl;
1814 couturad 951 ofstrm << "" << std::endl;
1815     ofstrm << "#MG Maillage" << std::endl;
1816     ofstrm << "mkdir -p resultats/maillage_mg" << std::endl;
1817 couturad 1029 ofstrm << "find . -name \"ves_mg_maill_post.ves\" | sort > tmp_lst_ves_mg_maill_post.txt" << std::endl;
1818 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_mg_maill_post.txt -lstparam parametre/post_traitement/lstparam_post_mg_maillage.txt -dossier resultats/maillage_mg" << std::endl;
1819     ofstrm << "rm tmp_lst_ves_mg_maill_post.txt" << std::endl;
1820 couturad 951 ofstrm << "" << std::endl;
1821     ofstrm << "#Fem Maillage" << std::endl;
1822     if(fem_maill_lin)
1823     {
1824 couturad 968 ofstrm << "mkdir -p resultats/maillage_fem/lin" << std::endl;
1825 couturad 1029 ofstrm << "find . -name \"ves_fem_maill_post_lin.ves\" | sort > tmp_lst_ves_fem_maill_post_lin.txt" << std::endl;
1826 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_fem_maill_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_fem_maillage.txt -dossier resultats/maillage_fem/lin" << std::endl;
1827     ofstrm << "rm tmp_lst_ves_fem_maill_post_lin.txt" << std::endl;
1828 couturad 951 }
1829     if(fem_maill_quad)
1830     {
1831 couturad 968 ofstrm << "mkdir -p resultats/maillage_fem/quad" << std::endl;
1832 couturad 1029 ofstrm << "find . -name \"ves_fem_maill_post_quad.ves\" | sort > tmp_lst_ves_fem_maill_post_quad.txt" << std::endl;
1833 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_fem_maill_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_fem_maillage.txt -dossier resultats/maillage_fem/quad" << std::endl;
1834     ofstrm << "rm tmp_lst_ves_fem_maill_post_quad.txt" << std::endl;
1835 couturad 951 }
1836     ofstrm << "" << std::endl;
1837     ofstrm << "#Calculs" << std::endl;
1838     if(fem_maill_lin)
1839 couturad 968 {
1840 couturad 971 if(etude_mecanique)
1841     {
1842     ofstrm << "mkdir -p resultats/champ/DH/sph/lin" << std::endl;
1843     ofstrm << "mkdir -p resultats/champ/DH/dev/lin" << std::endl;
1844     ofstrm << "mkdir -p resultats/champ/CH/sph/lin" << std::endl;
1845     ofstrm << "mkdir -p resultats/champ/CH/dev/lin" << std::endl;
1846 ghazal 1130 // ofstrm << "mkdir -p resultats/champ/XD/fx/lin" << std::endl;
1847     // ofstrm << "mkdir -p resultats/champ/XD/fx/lin" << std::endl;
1848     //===========================================================================
1849 couturad 971 ofstrm << "mkdir -p resultats/modules_elasticite/DH/lin" << std::endl;
1850     ofstrm << "mkdir -p resultats/modules_elasticite/CH/lin" << std::endl;
1851 ghazal 1130 // ofstrm << "mkdir -p resultats/modules_elasticite/XD/lin" << std::endl;
1852     //=============================================================================
1853 couturad 1029 ofstrm << "find . -name \"ves_calcul_CLDH_sph_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_post_lin.txt" << std::endl;
1854     ofstrm << "find . -name \"ves_calcul_CLCH_sph_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_post_lin.txt" << std::endl;
1855 ghazal 1130 // ofstrm << "find . -name \"ves_calcul_CLXD_fx_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLXD_fx_post_lin.txt" << std::endl;
1856 couturad 1029 ofstrm << "find . -name \"ves_calcul_CLDH_dev_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_post_lin.txt" << std::endl;
1857 ghazal 1130 ofstrm << "find . -name \"ves_calcul_CLCH_dev_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_post_lin.txt" << std::endl;
1858     // ofstrm << "find . -name \"ves_calcul_CLXD_fx_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLXD_fx_post_lin.txt" << std::endl;
1859     //================================================================================================================================
1860 couturad 1029 ofstrm << "find . -name \"ves_calcul_CLDH_sph_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt" << std::endl;
1861     ofstrm << "find . -name \"ves_calcul_CLCH_sph_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt" << std::endl;
1862 ghazal 1130 // ofstrm << "find . -name \"ves_calcul_CLXD_fx_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLXD_fx_ecart_chargement_post_lin.txt" << std::endl;
1863 couturad 1029 ofstrm << "find . -name \"ves_calcul_CLDH_dev_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt" << std::endl;
1864 ghazal 1130 ofstrm << "find . -name \"ves_calcul_CLCH_dev_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt" << std::endl;
1865     // ofstrm << "find . -name \"ves_calcul_CLXD_fx_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLXD_fx_ecart_chargement_post_lin.txt" << std::endl;
1866     //=======================================================================================================================================================
1867 couturad 1029 ofstrm << "find . -name \"ves_CLDH_modules_elasticite_post_lin.ves\" | sort > tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt" << std::endl;
1868     ofstrm << "find . -name \"ves_CLCH_modules_elasticite_post_lin.ves\" | sort > tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt" << std::endl;
1869 ghazal 1130 // ofstrm << "find . -name \"ves_CLXD_modules_elasticite_post_lin.ves\" | sort > tmp_lst_ves_CLXD_modules_elasticite_post_lin.txt" << std::endl;
1870     //=======================================================================================================================================================
1871 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/sph/lin" << std::endl;
1872     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/sph/lin" << std::endl;
1873 ghazal 1130 // ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLXD_fx_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/XD/fx/lin" << std::endl;
1874     //===================================================================================================================================
1875 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/dev/lin" << std::endl;
1876 ghazal 1130 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/dev/lin" << std::endl;
1877     // ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLXD_fx_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/XD/fx/lin" << std::endl;
1878     //=========================================================================================================================================
1879 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/DH/sph/lin" << std::endl;
1880     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/CH/sph/lin" << std::endl;
1881 ghazal 1130 // ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLXD_fx_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/XD/fx/lin" << std::endl;
1882     //=================================================================================================================================================
1883 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/DH/dev/lin" << std::endl;
1884 ghazal 1130
1885    
1886 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/CH/dev/lin" << std::endl;
1887 ghazal 1130
1888    
1889     //ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/DH/dev/lin" << std::endl;
1890     //==================================================================================================================================================
1891 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/DH/lin" << std::endl;
1892     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/CH/lin" << std::endl;
1893 ghazal 1130 // ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLXD_modules_elasticite_post_lin.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/XD/lin" << std::endl;
1894     //==========================================================================================================================================
1895 couturad 971 ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_post_lin.txt" << std::endl;
1896     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_post_lin.txt" << std::endl;
1897 ghazal 1130 // ofstrm << "rm tmp_lst_ves_calcul_CLXD_fx_post_lin.txt" << std::endl;
1898     //==========================================================================================================================================
1899 couturad 971 ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_post_lin.txt" << std::endl;
1900 ghazal 1130 ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_post_lin.txt" << std::endl;
1901     // ofstrm << "rm tmp_lst_ves_calcul_CLXD_fx_post_lin.txt" << std::endl;
1902     //==========================================================================================================================================
1903 couturad 971 ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt" << std::endl;
1904     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt" << std::endl;
1905 ghazal 1130 // ofstrm << "rm tmp_lst_ves_calcul_CLXD_fx_ecart_chargement_post_lin.txt" << std::endl;
1906     //==========================================================================================================================================
1907 couturad 971 ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt" << std::endl;
1908     ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt" << std::endl;
1909 ghazal 1130 // ofstrm << "rm tmp_lst_ves_calcul_CLXD_fx_ecart_chargement_post_lin.txt" << std::endl;
1910     //==========================================================================================================================================
1911 couturad 971 ofstrm << "rm tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt" << std::endl;
1912     ofstrm << "rm tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt" << std::endl;
1913 ghazal 1130 // ofstrm << "rm tmp_lst_ves_CLXD_modules_elasticite_post_lin.txt" << std::endl;
1914 couturad 971 }
1915     if(etude_thermique)
1916     {
1917     ofstrm << "mkdir -p resultats/champ/FH/F_x/lin" << std::endl;
1918     ofstrm << "mkdir -p resultats/champ/FH/F_y/lin" << std::endl;
1919     ofstrm << "mkdir -p resultats/champ/FH/F_z/lin" << std::endl;
1920     ofstrm << "mkdir -p resultats/champ/GH/G_x/lin" << std::endl;
1921     ofstrm << "mkdir -p resultats/champ/GH/G_y/lin" << std::endl;
1922     ofstrm << "mkdir -p resultats/champ/GH/G_z/lin" << std::endl;
1923     ofstrm << "mkdir -p resultats/conductivite_thermique/FH/lin" << std::endl;
1924     ofstrm << "mkdir -p resultats/conductivite_thermique/GH/lin" << std::endl;
1925 couturad 1029 ofstrm << "find . -name \"ves_calcul_CLF_x_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_x_post_lin.txt" << std::endl;
1926     ofstrm << "find . -name \"ves_calcul_CLF_y_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_y_post_lin.txt" << std::endl;
1927     ofstrm << "find . -name \"ves_calcul_CLF_z_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_z_post_lin.txt" << std::endl;
1928     ofstrm << "find . -name \"ves_calcul_CLG_x_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_x_post_lin.txt" << std::endl;
1929     ofstrm << "find . -name \"ves_calcul_CLG_y_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_y_post_lin.txt" << std::endl;
1930     ofstrm << "find . -name \"ves_calcul_CLG_z_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_z_post_lin.txt" << std::endl;
1931     ofstrm << "find . -name \"ves_CLF_conductivite_thermique_post_lin.ves\" | sort > tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt" << std::endl;
1932     ofstrm << "find . -name \"ves_CLG_conductivite_thermique_post_lin.ves\" | sort > tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt" << std::endl;
1933 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_x/lin" << std::endl;
1934     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_y/lin" << std::endl;
1935     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_z/lin" << std::endl;
1936     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_x/lin" << std::endl;
1937     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_y/lin" << std::endl;
1938 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_z/lin" << std::endl;
1939    
1940     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/FH/F_x/lin" << std::endl;
1941     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/FH/F_y/lin" << std::endl;
1942     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/FH/F_z/lin" << std::endl;
1943     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/GH/G_x/lin" << std::endl;
1944     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/GH/G_y/lin" << std::endl;
1945     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/GH/G_z/lin" << std::endl;
1946    
1947 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/FH/lin" << std::endl;
1948     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/GH/lin" << std::endl;
1949     ofstrm << "rm tmp_lst_ves_calcul_CLF_x_post_lin.txt" << std::endl;
1950     ofstrm << "rm tmp_lst_ves_calcul_CLF_y_post_lin.txt" << std::endl;
1951     ofstrm << "rm tmp_lst_ves_calcul_CLF_z_post_lin.txt" << std::endl;
1952     ofstrm << "rm tmp_lst_ves_calcul_CLG_x_post_lin.txt" << std::endl;
1953     ofstrm << "rm tmp_lst_ves_calcul_CLG_y_post_lin.txt" << std::endl;
1954     ofstrm << "rm tmp_lst_ves_calcul_CLG_z_post_lin.txt" << std::endl;
1955     ofstrm << "rm tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt" << std::endl;
1956     ofstrm << "rm tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt" << std::endl;
1957     }
1958 couturad 951 }
1959     if(fem_maill_quad)
1960     {
1961 couturad 971 if(etude_mecanique)
1962     {
1963     ofstrm << "mkdir -p resultats/champ/DH/sph/quad" << std::endl;
1964     ofstrm << "mkdir -p resultats/champ/DH/dev/quad" << std::endl;
1965     ofstrm << "mkdir -p resultats/champ/CH/sph/quad" << std::endl;
1966     ofstrm << "mkdir -p resultats/champ/CH/dev/quad" << std::endl;
1967     ofstrm << "mkdir -p resultats/modules_elasticite/DH/quad" << std::endl;
1968     ofstrm << "mkdir -p resultats/modules_elasticite/CH/quad" << std::endl;
1969 couturad 1029 ofstrm << "find . -name \"ves_calcul_CLDH_sph_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_post_quad.txt" << std::endl;
1970     ofstrm << "find . -name \"ves_calcul_CLCH_sph_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_post_quad.txt" << std::endl;
1971     ofstrm << "find . -name \"ves_calcul_CLDH_dev_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_post_quad.txt" << std::endl;
1972     ofstrm << "find . -name \"ves_calcul_CLCH_dev_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_post_quad.txt" << std::endl;
1973     ofstrm << "find . -name \"ves_calcul_CLDH_sph_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt" << std::endl;
1974     ofstrm << "find . -name \"ves_calcul_CLCH_sph_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt" << std::endl;
1975     ofstrm << "find . -name \"ves_calcul_CLDH_dev_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt" << std::endl;
1976     ofstrm << "find . -name \"ves_calcul_CLCH_dev_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt" << std::endl;
1977     ofstrm << "find . -name \"ves_CLDH_modules_elasticite_post_quad.ves\" | sort > tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt" << std::endl;
1978     ofstrm << "find . -name \"ves_CLCH_modules_elasticite_post_quad.ves\" | sort > tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt" << std::endl;
1979 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/sph/quad" << std::endl;
1980     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/sph/quad" << std::endl;
1981     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/dev/quad" << std::endl;
1982     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/dev/quad" << std::endl;
1983     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/DH/sph/quad" << std::endl;
1984     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/CH/sph/quad" << std::endl;
1985     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/DH/dev/quad" << std::endl;
1986     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/CH/dev/quad" << std::endl;
1987     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/DH/quad" << std::endl;
1988     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/CH/quad" << std::endl;
1989     ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_post_quad.txt" << std::endl;
1990     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_post_quad.txt" << std::endl;
1991     ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_post_quad.txt" << std::endl;
1992     ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_post_quad.txt" << std::endl;
1993     ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt" << std::endl;
1994     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt" << std::endl;
1995     ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt" << std::endl;
1996     ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt" << std::endl;
1997     ofstrm << "rm tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt" << std::endl;
1998     ofstrm << "rm tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt" << std::endl;
1999     }
2000     if(etude_thermique)
2001     {
2002     ofstrm << "mkdir -p resultats/champ/FH/F_x/quad" << std::endl;
2003     ofstrm << "mkdir -p resultats/champ/FH/F_y/quad" << std::endl;
2004     ofstrm << "mkdir -p resultats/champ/FH/F_z/quad" << std::endl;
2005     ofstrm << "mkdir -p resultats/champ/GH/G_x/quad" << std::endl;
2006     ofstrm << "mkdir -p resultats/champ/GH/G_y/quad" << std::endl;
2007     ofstrm << "mkdir -p resultats/champ/GH/G_z/quad" << std::endl;
2008     ofstrm << "mkdir -p resultats/conductivite_thermique/FH/quad" << std::endl;
2009     ofstrm << "mkdir -p resultats/conductivite_thermique/GH/quad" << std::endl;
2010 couturad 1029 ofstrm << "find . -name \"ves_calcul_CLF_x_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_x_post_quad.txt" << std::endl;
2011     ofstrm << "find . -name \"ves_calcul_CLF_y_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_y_post_quad.txt" << std::endl;
2012     ofstrm << "find . -name \"ves_calcul_CLF_z_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_z_post_quad.txt" << std::endl;
2013     ofstrm << "find . -name \"ves_calcul_CLG_x_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_x_post_quad.txt" << std::endl;
2014     ofstrm << "find . -name \"ves_calcul_CLG_y_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_y_post_quad.txt" << std::endl;
2015     ofstrm << "find . -name \"ves_calcul_CLG_z_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_z_post_quad.txt" << std::endl;
2016     ofstrm << "find . -name \"ves_CLF_conductivite_thermique_post_quad.ves\" | sort > tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt" << std::endl;
2017     ofstrm << "find . -name \"ves_CLG_conductivite_thermique_post_quad.ves\" | sort > tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt" << std::endl;
2018 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_x/quad" << std::endl;
2019     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_y/quad" << std::endl;
2020     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_z/quad" << std::endl;
2021     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_x/quad" << std::endl;
2022     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_y/quad" << std::endl;
2023 couturad 982 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_z/quad" << std::endl;
2024    
2025     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/FH/F_x/quad" << std::endl;
2026     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/FH/F_y/quad" << std::endl;
2027     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/FH/F_z/quad" << std::endl;
2028     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/GH/G_x/quad" << std::endl;
2029     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/GH/G_y/quad" << std::endl;
2030     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/GH/G_z/quad" << std::endl;
2031    
2032 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/FH/quad" << std::endl;
2033     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/GH/quad" << std::endl;
2034     ofstrm << "rm tmp_lst_ves_calcul_CLF_x_post_quad.txt" << std::endl;
2035     ofstrm << "rm tmp_lst_ves_calcul_CLF_y_post_quad.txt" << std::endl;
2036     ofstrm << "rm tmp_lst_ves_calcul_CLF_z_post_quad.txt" << std::endl;
2037     ofstrm << "rm tmp_lst_ves_calcul_CLG_x_post_quad.txt" << std::endl;
2038     ofstrm << "rm tmp_lst_ves_calcul_CLG_y_post_quad.txt" << std::endl;
2039     ofstrm << "rm tmp_lst_ves_calcul_CLG_z_post_quad.txt" << std::endl;
2040     ofstrm << "rm tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt" << std::endl;
2041     ofstrm << "rm tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt" << std::endl;
2042     }
2043 couturad 951 }
2044     ofstrm << "" << std::endl;
2045 couturad 968 ofstrm << "./produire_figures 0" << std::endl;
2046     ofstrm << "echo \"**********************\"" << std::endl;
2047     ofstrm << "echo \" FIN \"" << std::endl;
2048     ofstrm << "echo \"**********************\"" << std::endl;
2049     ofstrm << "exit $STAT" << std::endl;
2050     ofstrm.close();
2051     if(fonc_affiche!=NULL) fonc_affiche((char*)"post_traitement");
2052     system((char*)"chmod 744 post_traitement");
2053 couturad 951
2054 ghazal 1130 //=======================================================================================
2055     //=========================Figures==================================================
2056     //=======================================================================================
2057 couturad 968
2058    
2059     ofstrm.open((char*)"produire_figures",std::ios::out|std::ios::trunc);
2060     ofstrm.precision(16);
2061     ofstrm.setf(std::ios::showpoint);
2062     ofstrm << "#!/bin/bash" << std::endl;
2063     ofstrm << "COUCHE_REF=\"$1\"" << std::endl;
2064 couturad 951 ofstrm << "#Data pour graph" << std::endl;
2065     ofstrm << "PWD=pwd" << std::endl;
2066 couturad 968 ofstrm << "mkdir -p resultats/data_graph resultats/graph" << std::endl;
2067     if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
2068 couturad 951 {
2069     ofstrm << "#Orientation" << std::endl;
2070 couturad 968 ofstrm << "awk 'NR>=2 {print $1,($2+$3+$4+$5+$6+$7)}' resultats/cao/cumul_Orientation_Particule_ecart.txt > resultats/data_graph/cumul_Err_abs_ori.txt" << std::endl;
2071     ofstrm << "sed -i '1s/^/Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_Err_abs_ori.txt" << std::endl;
2072     if(fem_maill_lin)
2073 couturad 951 {
2074 couturad 968 ofstrm << "awk 'NR>=2 {print $1,$2,($2+$3+$4+$5+$6+$7)}' resultats/maillage_fem/lin/cumul_erosion_Orientation_Particule_ponderee_ecart.txt > resultats/data_graph/cumul_erosion_Err_abs_ori_lin.txt" << std::endl;
2075     ofstrm << "sed -i '1s/^/Couche Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_erosion_Err_abs_ori_lin.txt" << std::endl;
2076 couturad 951 }
2077 couturad 968 if(fem_maill_quad)
2078 couturad 951 {
2079 couturad 968 ofstrm << "awk 'NR>=2 {print $1,$2,($2+$3+$4+$5+$6+$7)}' resultats/maillage_fem/quad/cumul_erosion_Orientation_Particule_ponderee_ecart.txt > resultats/data_graph/cumul_erosion_Err_abs_ori_quad.txt" << std::endl;
2080     ofstrm << "sed -i '1s/^/Couche Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_erosion_Err_abs_ori_quad.txt" << std::endl;
2081 couturad 951 }
2082 couturad 968 }
2083 couturad 951 if(fem_maill_lin)
2084     {
2085 couturad 968 ofstrm << "awk 'NR>=2 {print $1,$2,$7,$8}' resultats/maillage_fem/lin/cumul_erosion_FEM_maillage_Particule.txt > resultats/data_graph/tmp_erosion_fem_maill_lin" << std::endl;
2086 couturad 969 ofstrm << "awk 'NR>=2 {print $1,$3}' resultats/maillage_fem/lin/c_$COUCHE_REF/liste_FEM_maillage_Particule.txt > resultats/data_graph/tmp_liste_fem_maill_lin" << std::endl;
2087 couturad 971 if(etude_mecanique)
2088     {
2089     ofstrm << "#Module elasticite" << std::endl;
2090     ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/CH/lin/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_CH_lin" << std::endl;
2091     ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/DH/lin/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_DH_lin" << std::endl;
2092     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Modules_app_CH_lin > resultats/data_graph/erosion_Modules_app_CH_lin.txt" << std::endl;
2093     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Modules_app_DH_lin > resultats/data_graph/erosion_Modules_app_DH_lin.txt" << std::endl;
2094     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_CH_lin.txt" << std::endl;
2095     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_DH_lin.txt" << std::endl;
2096     ofstrm << "rm resultats/data_graph/tmp_erosion_Modules_app_CH_lin resultats/data_graph/tmp_erosion_Modules_app_DH_lin" << std::endl;
2097     ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/CH/lin/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_CH_lin" << std::endl;
2098     ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/DH/lin/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_DH_lin" << std::endl;
2099     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Modules_app_CH_lin > resultats/data_graph/liste_Modules_app_CH_lin.txt" << std::endl;
2100     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Modules_app_DH_lin > resultats/data_graph/liste_Modules_app_DH_lin.txt" << std::endl;
2101     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_CH_lin.txt" << std::endl;
2102     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_DH_lin.txt" << std::endl;
2103 couturad 974 ofstrm << "rm resultats/data_graph/tmp_Modules_app_CH_lin resultats/data_graph/tmp_Modules_app_DH_lin" << std::endl;
2104 couturad 971 }
2105     if(etude_thermique)
2106     {
2107     ofstrm << "#Conductivite thermique" << std::endl;
2108     ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/FH/lin/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_lin" << std::endl;
2109     ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/GH/lin/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_lin" << std::endl;
2110     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_lin > resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt" << std::endl;
2111     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_lin > resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt" << std::endl;
2112     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt" << std::endl;
2113     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt" << std::endl;
2114     ofstrm << "rm resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_lin resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_lin" << std::endl;
2115     ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/FH/lin/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_FH_lin" << std::endl;
2116     ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/GH/lin/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_GH_lin" << std::endl;
2117     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Conductivite_thermique_app_FH_lin > resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt" << std::endl;
2118     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Conductivite_thermique_app_GH_lin > resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt" << std::endl;
2119     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt" << std::endl;
2120     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt" << std::endl;
2121     ofstrm << "rm resultats/data_graph/tmp_Conductivite_thermique_app_FH_lin resultats/data_graph/tmp_Conductivite_thermique_app_GH_lin" << std::endl;
2122     }
2123     ofstrm << "rm resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_liste_fem_maill_lin" << std::endl;
2124 couturad 951 }
2125     if(fem_maill_quad)
2126     {
2127 couturad 968 ofstrm << "awk 'NR>=2 {print $1,$2,$7,$8}' resultats/maillage_fem/quad/cumul_erosion_FEM_maillage_Particule.txt > resultats/data_graph/tmp_erosion_fem_maill_quad" << std::endl;
2128 couturad 969 ofstrm << "awk 'NR>=2 {print $1,$3}' resultats/maillage_fem/quad/c_$COUCHE_REF/liste_FEM_maillage_Particule.txt > resultats/data_graph/tmp_liste_fem_maill_quad" << std::endl;
2129 couturad 971 if(etude_mecanique)
2130     {
2131     ofstrm << "#Module elasticite" << std::endl;
2132     ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/CH/quad/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_CH_quad" << std::endl;
2133     ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/DH/quad/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_DH_quad" << std::endl;
2134     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Modules_app_CH_quad > resultats/data_graph/erosion_Modules_app_CH_quad.txt" << std::endl;
2135     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Modules_app_DH_quad > resultats/data_graph/erosion_Modules_app_DH_quad.txt" << std::endl;
2136     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_CH_quad.txt" << std::endl;
2137     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_DH_quad.txt" << std::endl;
2138     ofstrm << "rm resultats/data_graph/tmp_erosion_Modules_app_CH_quad resultats/data_graph/tmp_erosion_Modules_app_DH_quad" << std::endl;
2139     ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/CH/quad/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_CH_quad" << std::endl;
2140     ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/DH/quad/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_DH_quad" << std::endl;
2141     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Modules_app_CH_quad > resultats/data_graph/liste_Modules_app_CH_quad.txt" << std::endl;
2142     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Modules_app_DH_quad > resultats/data_graph/liste_Modules_app_DH_quad.txt" << std::endl;
2143     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_CH_quad.txt" << std::endl;
2144     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_DH_quad.txt" << std::endl;
2145     ofstrm << "rm resultats/data_graph/tmp_Modules_app_CH_quad resultats/data_graph/tmp_Modules_app_DH_quad" << std::endl;
2146     }
2147     if(etude_thermique)
2148     {
2149     ofstrm << "#Conductivite thermique" << std::endl;
2150     ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/FH/quad/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_quad" << std::endl;
2151     ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/GH/quad/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_quad" << std::endl;
2152     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_quad > resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt" << std::endl;
2153     ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_quad > resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt" << std::endl;
2154     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt" << std::endl;
2155     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt" << std::endl;
2156     ofstrm << "rm resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_quad resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_quad" << std::endl;
2157     ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/FH/quad/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_FH_quad" << std::endl;
2158     ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/GH/quad/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_GH_quad" << std::endl;
2159     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Conductivite_thermique_app_FH_quad > resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt" << std::endl;
2160     ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Conductivite_thermique_app_GH_quad > resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt" << std::endl;
2161     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt" << std::endl;
2162     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt" << std::endl;
2163     ofstrm << "rm resultats/data_graph/tmp_Conductivite_thermique_app_FH_quad resultats/data_graph/tmp_Conductivite_thermique_app_GH_quad" << std::endl;
2164     }
2165     ofstrm << "rm resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_liste_fem_maill_quad" << std::endl;
2166 couturad 951 }
2167 couturad 974 ofstrm << "gnuplot -e \"couche_ref=0\" fig.gnu" << std::endl;
2168 couturad 968 if(fonc_affiche!=NULL) fonc_affiche((char*)"produire_figures");
2169     system((char*)"chmod 744 produire_figures");
2170 couturad 964 ofstrm.close();
2171    
2172 couturad 951
2173 couturad 968 ofstrm.open((char*)"fig.gnu",std::ios::out|std::ios::trunc);
2174 couturad 951 ofstrm.precision(16);
2175     ofstrm.setf(std::ios::showpoint);
2176 couturad 993 ofstrm << "" << std::endl;
2177     ofstrm << "" << std::endl;
2178 couturad 974 ofstrm << "if (!exists(\"couche_ref\")) couche_ref=0" << std::endl;
2179 francois 1079 ofstrm << "if (!exists(\"sortie\")) sortie=\"svg\"" << std::endl;
2180     ofstrm << "if (sortie eq \"svg\") {term=\"svg\";ext=\"svg\";}" << std::endl;
2181     ofstrm << "if (sortie eq \"pdf\") {term=\"pdf size 10,8 font 'Helvetica,20'\";ext=\"pdf\";}" << std::endl;
2182    
2183     ofstrm << "print sprintf(\"Format de sortie : %s\",sortie)" << std::endl;
2184 couturad 974 ofstrm << "print sprintf(\"couche ref : c_%i\",couche_ref)" << std::endl;
2185 couturad 951 ofstrm << "" << std::endl;
2186 francois 1079 ofstrm << "set terminal term" << std::endl;
2187 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2188     ofstrm << "set rmargin 15 " << std::endl;
2189 couturad 982 ofstrm << "set key outside" << std::endl;
2190 couturad 993 ofstrm << "set grid" << std::endl;
2191 couturad 982 ofstrm << "c1(c)=c" << std::endl;
2192     ofstrm << "c2(c)=1.0-c" << std::endl;
2193     ofstrm << "" << std::endl;
2194 couturad 993 ofstrm << "E1=real(system(sprintf(\"grep 'Mu_E' parametre/materiau/param_mat_particule.txt | awk '{print $3/(1000000000)}'\")))" << std::endl;
2195     ofstrm << "nu1=real(system(sprintf(\"grep 'Mu_nu' parametre/materiau/param_mat_particule.txt | awk '{print $3}'\")))" << std::endl;
2196     ofstrm << "E2=real(system(sprintf(\"grep 'Mu_E' parametre/materiau/param_mat_matrice.txt | awk '{print $3/(1000000000)}'\")))" << std::endl;
2197     ofstrm << "nu2=real(system(sprintf(\"grep 'Mu_nu' parametre/materiau/param_mat_matrice.txt | awk '{print $3}'\")))" << std::endl;
2198     ofstrm << "print sprintf(\"E1 = %f GPa, nu1 = %f\",E1,nu1)" << std::endl;
2199     ofstrm << "print sprintf(\"E2 = %f GPa, nu2 = %f\",E2,nu2)" << std::endl;
2200     ofstrm << "transfk(E,nu)=E/(3.0*(1.0-2.0*nu))" << std::endl;
2201     ofstrm << "transfmu(E,nu)=E*0.5/(1.0+nu)" << std::endl;
2202     ofstrm << "transfE(k,mu)=9.0*mu*k/(3.0*k+mu)" << std::endl;
2203     ofstrm << "transfnu(k,mu)=(3.0*k-2.0*mu)/(6.0*k+2.0*mu)" << std::endl;
2204     ofstrm << "fk(c,mu)=k1+c2(c)*(k2-k1)/(1.0+c1(c)*(k2-k1)/(k1+4.0*mu/3.0))" << std::endl;
2205     ofstrm << "fm(c,k,mu)=mu1+c2(c)*(mu2-mu1)/(1.0+c1(c)*(mu2-mu1)/(mu1+(1.5/((1.0/mu)+(10.0/(9.0*k+8.0*mu))))))" << std::endl;
2206     ofstrm << "mu1=transfmu(E1,nu1)" << std::endl;
2207     ofstrm << "k1=transfk(E1,nu1)" << std::endl;
2208     ofstrm << "mu2=transfmu(E2,nu2)" << std::endl;
2209     ofstrm << "k2=transfk(E2,nu2)" << std::endl;
2210     ofstrm << "k_voigt(c)=c1(c)*k1+c2(c)*k2" << std::endl;
2211     ofstrm << "mu_voigt(c)=c1(c)*mu1+c2(c)*mu2" << std::endl;
2212     ofstrm << "k_reuss(c)=(k1*k2)/(c1(c)*k2+c2(c)*k1)" << std::endl;
2213     ofstrm << "mu_reuss(c)=(mu1*mu2)/(c1(c)*mu2+c2(c)*mu1)" << std::endl;
2214     ofstrm << "E_voigt(c)=transfE(k_voigt(c),mu_voigt(c))" << std::endl;
2215     ofstrm << "nu_voigt(c)=transfnu(k_voigt(c),mu_voigt(c))" << std::endl;
2216     ofstrm << "E_reuss(c)=transfE(k_reuss(c),mu_reuss(c))" << std::endl;
2217     ofstrm << "nu_reuss(c)=transfnu(k_reuss(c),mu_reuss(c))" << std::endl;
2218     ofstrm << "ka(c)=fk(c,mu1)" << std::endl;
2219     ofstrm << "kb(c)=fk(c,mu2)" << std::endl;
2220     ofstrm << "k_hs_inf(c)=ka(c)<kb(c) ? ka(c) : kb(c)" << std::endl;
2221     ofstrm << "k_hs_sup(c)=ka(c)<kb(c) ? kb(c) : ka(c)" << std::endl;
2222     ofstrm << "mua(c)=((mu1-mu2)*(k1-k2))>=0. ? fm(c,k1,mu1) : fm(c,k2,mu1)" << std::endl;
2223     ofstrm << "mub(c)=((mu1-mu2)*(k1-k2))>=0. ? fm(c,k2,mu2) : fm(c,k1,mu2)" << std::endl;
2224     ofstrm << "mu_hs_inf(c)=mua(c)<mub(c) ? mua(c) : mub(c)" << std::endl;
2225     ofstrm << "mu_hs_sup(c)=mua(c)<mub(c) ? mub(c) : mua(c)" << std::endl;
2226     ofstrm << "E_hs_inf(c)=transfE(k_hs_inf(c),mu_hs_inf(c))" << std::endl;
2227     ofstrm << "E_hs_sup(c)=transfE(k_hs_sup(c),mu_hs_sup(c))" << std::endl;
2228     ofstrm << "lambda1=real(system(sprintf(\"grep 'Mu_Lambda' parametre/materiau/param_mat_particule.txt | awk '{print $3}'\")))" << std::endl;
2229     ofstrm << "lambda2=real(system(sprintf(\"grep 'Mu_Lambda' parametre/materiau/param_mat_matrice.txt | awk '{print $3}'\")))" << std::endl;
2230     ofstrm << "print sprintf(\"lambda1 = %f (W/(mK))\",lambda1)" << std::endl;
2231     ofstrm << "print sprintf(\"lambda2 = %f (W/(mK))\",lambda2)" << std::endl;
2232     ofstrm << "lambda_voigt(c)=c1(c)*lambda1+c2(c)*lambda2" << std::endl;
2233     ofstrm << "lambda_reuss(c)=1.0/((c1(c)/lambda1)+(c2(c)/lambda2))" << std::endl;
2234     ofstrm << "lambda_a(c)=lambda1+(c2(c)/((1.0/(lambda2-lambda1))+(c1(c)/(3.0*lambda1))))" << std::endl;
2235     ofstrm << "lambda_b(c)=lambda2+(c1(c)/((1.0/(lambda1-lambda2))+(c2(c)/(3.0*lambda2))))" << std::endl;
2236     ofstrm << "lambda_hs_inf(c)=(lambda_a(c)>lambda_b(c)) ? lambda_b(c) : lambda_a(c)" << std::endl;
2237     ofstrm << "lambda_hs_sup(c)=(lambda_a(c)>lambda_b(c)) ? lambda_a(c) : lambda_b(c)" << std::endl;
2238     ofstrm << "" << std::endl;
2239     ofstrm << "#print sprintf(\"K_voigt = %f\",k_voigt(0.099))" << std::endl;
2240     ofstrm << "#print sprintf(\"K_hs_sup = %f\",k_hs_sup(0.099))" << std::endl;
2241     ofstrm << "#print sprintf(\"K_hs_inf = %f\",k_hs_inf(0.099))" << std::endl;
2242     ofstrm << "#print sprintf(\"K_reuss = %f\",k_reuss(0.099))" << std::endl;
2243     ofstrm << "#print sprintf(\"G_voigt = %f\",mu_voigt(0.099))" << std::endl;
2244     ofstrm << "#print sprintf(\"G_hs_sup = %f\",mu_hs_sup(0.099))" << std::endl;
2245     ofstrm << "#print sprintf(\"G_hs_inf = %f\",mu_hs_inf(0.099))" << std::endl;
2246     ofstrm << "#print sprintf(\"G_reuss = %f\",mu_reuss(0.099))" << std::endl;
2247     ofstrm << "#print sprintf(\"E_voigt = %f\",E_voigt(0.099))" << std::endl;
2248     ofstrm << "#print sprintf(\"E_hs_sup = %f\",E_hs_sup(0.099))" << std::endl;
2249     ofstrm << "#print sprintf(\"E_hs_inf = %f\",E_hs_inf(0.099))" << std::endl;
2250     ofstrm << "#print sprintf(\"E_reuss = %f\",E_reuss(0.099))" << std::endl;
2251     ofstrm << "#print sprintf(\"lambda_voigt = %f\",lambda_voigt(0.099))" << std::endl;
2252     ofstrm << "#print sprintf(\"lambda_hs_sup = %f\",lambda_hs_sup(0.099))" << std::endl;
2253     ofstrm << "#print sprintf(\"lambda_hs_inf = %f\",lambda_hs_inf(0.099))" << std::endl;
2254     ofstrm << "#print sprintf(\"lambda_reuss = %f\",lambda_reuss(0.099))" << std::endl;
2255     ofstrm << "" << std::endl;
2256 couturad 971 if(etude_mecanique)
2257 couturad 951 {
2258 couturad 993 ofstrm << "#Nuage Eapp" << std::endl;
2259     if(fem_maill_lin)
2260 couturad 971 {
2261 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/nuage_Eapp_lin.\",ext)" << std::endl;
2262 couturad 993 ofstrm << "#set xrange [0:100]" << std::endl;
2263     ofstrm << "#set yrange [3:6]" << std::endl;
2264     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2265     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
2266     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2267     ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl;
2268     ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl;
2269     ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2270     ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS-}\" ,\\" << std::endl;
2271     ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2272     ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2273 couturad 971 }
2274 couturad 993 if(fem_maill_quad)
2275 couturad 971 {
2276 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/nuage_Eapp_quad.\",ext)" << std::endl;
2277 couturad 993 ofstrm << "#set xrange [0:100]" << std::endl;
2278     ofstrm << "#set yrange [3:6]" << std::endl;
2279     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2280     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
2281     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2282     ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl;
2283     ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl;
2284     ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2285     ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS-}\" ,\\" << std::endl;
2286     ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2287     ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2288 couturad 971 }
2289 couturad 993 if(fem_maill_lin && fem_maill_quad)
2290 couturad 971 {
2291 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/nuage_Eapp_lin_quad.\",ext)" << std::endl;
2292 couturad 993 ofstrm << "#set xrange [0:100]" << std::endl;
2293     ofstrm << "#set yrange [3:6]" << std::endl;
2294     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2295     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
2296     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2297     ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl;
2298     ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl;
2299     ofstrm << "\"resultats/data_graph/liste_Modules_app_DH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl;
2300     ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH quad\",\\" << std::endl;
2301     ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2302     ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS-}\" ,\\" << std::endl;
2303     ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2304     ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2305 couturad 971 }
2306    
2307     ofstrm << "" << std::endl;
2308 couturad 993 ofstrm << "#Cumul Eapp" << std::endl;
2309     if(fem_maill_lin)
2310 couturad 971 {
2311 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_Eapp_lin.\",ext)" << std::endl;
2312 couturad 993 ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2313     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
2314     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2315     ofstrm << "plot sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl;
2316     ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl;
2317     ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2318     ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" ,\\" << std::endl;
2319     ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2320     ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2321 couturad 971 }
2322 couturad 993 if(fem_maill_quad)
2323 couturad 971 {
2324 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_Eapp_quad.\",ext)" << std::endl;
2325 couturad 993 ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2326     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
2327     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2328     ofstrm << "plot sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl;
2329     ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl;
2330     ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2331     ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" ,\\" << std::endl;
2332     ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2333     ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2334 couturad 971 }
2335     if(fem_maill_lin && fem_maill_quad)
2336     {
2337 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_Eapp_lin_quad.\",ext)" << std::endl;
2338 couturad 993 ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2339     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
2340     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2341     ofstrm << "plot sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl;
2342     ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl;
2343     ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl;
2344     ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH quad\",\\" << std::endl;
2345     ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2346     ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" ,\\" << std::endl;
2347     ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2348     ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2349 couturad 971 }
2350 couturad 982
2351 couturad 993 ofstrm << "" << std::endl;
2352     ofstrm << "#Cumul erosion Eapp" << std::endl;
2353     if(fem_maill_lin)
2354 couturad 971 {
2355 francois 1079 ofstrm << "set terminal term" << std::endl;
2356     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_Eapp_lin.\",ext)" << std::endl;
2357 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2358     ofstrm << "set rmargin 18" << std::endl;
2359     ofstrm << "set multiplot layout 2, 1" << std::endl;
2360     ofstrm << "#set xrange [0:0.41]" << std::endl;
2361     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2362     ofstrm << "unset xlabel" << std::endl;
2363     ofstrm << "unset xtic" << std::endl;
2364     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2365     ofstrm << "set ytics nomirror" << std::endl;
2366     ofstrm << "#set yrange [4.0:5]" << std::endl;
2367     ofstrm << "set size 1,0.7" << std::endl;
2368     ofstrm << "set origin 0,0.3" << std::endl;
2369     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'blue' lw 2 title \"DH\" ,\\" << std::endl;
2370     ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
2371     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'red' lw 2 title \"CH\" axes x1y1 ,\\" << std::endl;
2372     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl;
2373     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_inf($3)) with linespoint pt 9 ps 1.0 lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" #,\\" << std::endl;
2374     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_reuss($3)) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2375     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2376     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2377     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2378     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2379     ofstrm << "unset yrange" << std::endl;
2380     ofstrm << "set size 1,0.3" << std::endl;
2381     ofstrm << "set origin 0,0" << std::endl;
2382     ofstrm << "set xtics" << std::endl;
2383     ofstrm << "#set yrange [9:14]" << std::endl;
2384     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
2385     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl;
2386     ofstrm << "unset yrange" << std::endl;
2387     ofstrm << "#unset lmargin" << std::endl;
2388     ofstrm << "#unset rmargin" << std::endl;
2389     ofstrm << "unset multiplot" << std::endl;
2390 couturad 971 }
2391 couturad 993 if(fem_maill_quad)
2392 couturad 971 {
2393 francois 1079 ofstrm << "set terminal term" << std::endl;
2394     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_Eapp_quad.\",ext)" << std::endl;
2395 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2396     ofstrm << "set rmargin 18" << std::endl;
2397     ofstrm << "set multiplot layout 2, 1" << std::endl;
2398     ofstrm << "#set xrange [0:0.41]" << std::endl;
2399     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2400     ofstrm << "unset xlabel" << std::endl;
2401     ofstrm << "unset xtic" << std::endl;
2402     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2403     ofstrm << "set ytics nomirror" << std::endl;
2404     ofstrm << "#set yrange [4.0:5]" << std::endl;
2405     ofstrm << "set size 1,0.7" << std::endl;
2406     ofstrm << "set origin 0,0.3" << std::endl;
2407     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'blue' lw 2 title \"DH\" ,\\" << std::endl;
2408     ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
2409     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'red' lw 2 title \"CH\" axes x1y1 ,\\" << std::endl;
2410     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl;
2411     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_inf($3)) with linespoint pt 9 ps 1.0 lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" #,\\" << std::endl;
2412     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_reuss($3)) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
2413     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
2414     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
2415     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2416     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2417     ofstrm << "unset yrange" << std::endl;
2418     ofstrm << "set size 1,0.3" << std::endl;
2419     ofstrm << "set origin 0,0" << std::endl;
2420     ofstrm << "set xtics" << std::endl;
2421     ofstrm << "#set yrange [9:14]" << std::endl;
2422     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
2423     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
2424     ofstrm << "unset yrange" << std::endl;
2425     ofstrm << "#unset lmargin" << std::endl;
2426     ofstrm << "#unset rmargin" << std::endl;
2427     ofstrm << "unset multiplot" << std::endl;
2428 couturad 971 }
2429     if(fem_maill_lin && fem_maill_quad)
2430     {
2431 francois 1079 ofstrm << "set terminal term" << std::endl;
2432     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_Eapp_lin_quad.\",ext)" << std::endl;
2433 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2434     ofstrm << "set rmargin 18" << std::endl;
2435     ofstrm << "set multiplot layout 2, 1" << std::endl;
2436     ofstrm << "#set xrange [0:0.41]" << std::endl;
2437     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
2438     ofstrm << "unset xlabel" << std::endl;
2439     ofstrm << "unset xtic" << std::endl;
2440     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
2441     ofstrm << "set ytics nomirror" << std::endl;
2442     ofstrm << "#set yrange [4.0:5]" << std::endl;
2443     ofstrm << "set size 1,0.7" << std::endl;
2444     ofstrm << "set origin 0,0.3" << std::endl;
2445     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'blue' lw 2 title \"DH lin\" ,\\" << std::endl;
2446     ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
2447     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'red' lw 2 title \"CH lin\" axes x1y1 ,\\" << std::endl;
2448     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl;
2449     ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'blue' lw 2 title \"DH quad\" ,\\" << std::endl;
2450     ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
2451     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'red' lw 2 title \"CH quad\" axes x1y1 ,\\" << std::endl;
2452     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle" << std::endl;
2453     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2454     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2455     ofstrm << "unset yrange" << std::endl;
2456     ofstrm << "set size 1,0.3" << std::endl;
2457     ofstrm << "set origin 0,0" << std::endl;
2458     ofstrm << "set xtics" << std::endl;
2459     ofstrm << "#set yrange [9:14]" << std::endl;
2460     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl;
2461     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle ,\\" << std::endl;
2462     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl;
2463     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
2464     ofstrm << "unset yrange" << std::endl;
2465     ofstrm << "unset multiplot" << std::endl;
2466 couturad 971 }
2467 couturad 982
2468 couturad 993 ofstrm << "" << std::endl;
2469     ofstrm << "#Cumul erosion energie" << std::endl;
2470     if(fem_maill_lin)
2471 couturad 982 {
2472 francois 1079 ofstrm << "set terminal term" << std::endl;
2473     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_energie_lin.\",ext)" << std::endl;
2474 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2475     ofstrm << "set rmargin 18" << std::endl;
2476     ofstrm << "set multiplot layout 2, 1" << std::endl;
2477     ofstrm << "#set xrange [0:0.41]" << std::endl;
2478     ofstrm << "unset xlabel" << std::endl;
2479     ofstrm << "unset xtic" << std::endl;
2480     ofstrm << "set ytics nomirror" << std::endl;
2481     ofstrm << "#set yrange [-20:5]" << std::endl;
2482     ofstrm << "set size 1,0.7" << std::endl;
2483     ofstrm << "set origin 0,0.3" << std::endl;
2484     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2485     ofstrm << "set ylabel \"Ecart d'energie relatif (%)\"" << std::endl;
2486     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev\",\\" << std::endl;
2487     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph\",\\" << std::endl;
2488     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev\",\\" << std::endl;
2489     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph\"" << std::endl;
2490     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2491     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2492     ofstrm << "unset yrange" << std::endl;
2493     ofstrm << "set size 1,0.3" << std::endl;
2494     ofstrm << "set origin 0,0" << std::endl;
2495     ofstrm << "set xtics" << std::endl;
2496     ofstrm << "#set yrange [9:14]" << std::endl;
2497     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
2498     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl;
2499     ofstrm << "unset yrange" << std::endl;
2500     ofstrm << "unset multiplot" << std::endl;
2501 couturad 982 }
2502 couturad 993 if(fem_maill_quad)
2503 couturad 982 {
2504 francois 1079 ofstrm << "set terminal term" << std::endl;
2505     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_energie_quad.\",ext)" << std::endl;
2506 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2507     ofstrm << "set rmargin 18" << std::endl;
2508     ofstrm << "set multiplot layout 2, 1" << std::endl;
2509     ofstrm << "#set xrange [0:0.41]" << std::endl;
2510     ofstrm << "unset xlabel" << std::endl;
2511     ofstrm << "unset xtic" << std::endl;
2512     ofstrm << "set ytics nomirror" << std::endl;
2513     ofstrm << "#set yrange [-20:5]" << std::endl;
2514     ofstrm << "set size 1,0.7" << std::endl;
2515     ofstrm << "set origin 0,0.3" << std::endl;
2516     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2517     ofstrm << "set ylabel \"Ecart d'energie relatif (%)\"" << std::endl;
2518     ofstrm << "plot \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev\",\\" << std::endl;
2519     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph\",\\" << std::endl;
2520     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev\",\\" << std::endl;
2521     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph\"" << std::endl;
2522     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2523     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2524     ofstrm << "unset yrange" << std::endl;
2525     ofstrm << "set size 1,0.3" << std::endl;
2526     ofstrm << "set origin 0,0" << std::endl;
2527     ofstrm << "set xtics" << std::endl;
2528     ofstrm << "#set yrange [9:14]" << std::endl;
2529     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
2530     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
2531     ofstrm << "unset yrange" << std::endl;
2532     ofstrm << "unset multiplot" << std::endl;
2533 couturad 982 }
2534 couturad 971 if(fem_maill_lin && fem_maill_quad)
2535     {
2536 francois 1079 ofstrm << "set terminal term" << std::endl;
2537     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_energie_lin_quad.\",ext)" << std::endl;
2538 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2539     ofstrm << "set rmargin 18" << std::endl;
2540     ofstrm << "set multiplot layout 2, 1" << std::endl;
2541     ofstrm << "#set xrange [0:0.41]" << std::endl;
2542     ofstrm << "unset xlabel" << std::endl;
2543     ofstrm << "unset xtic" << std::endl;
2544     ofstrm << "set ytics nomirror" << std::endl;
2545     ofstrm << "#set yrange [-20:5]" << std::endl;
2546     ofstrm << "set size 1,0.7" << std::endl;
2547     ofstrm << "set origin 0,0.3" << std::endl;
2548     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2549     ofstrm << "set ylabel \"Ecart d'energie relatif (%)\"" << std::endl;
2550     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev lin\",\\" << std::endl;
2551     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph lin\",\\" << std::endl;
2552     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev lin\",\\" << std::endl;
2553     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph lin\",\\" << std::endl;
2554     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev quad\",\\" << std::endl;
2555     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph quad\",\\" << std::endl;
2556     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev quad\",\\" << std::endl;
2557     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph quad\"" << std::endl;
2558     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2559     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2560     ofstrm << "unset yrange" << std::endl;
2561     ofstrm << "set size 1,0.3" << std::endl;
2562     ofstrm << "set origin 0,0" << std::endl;
2563     ofstrm << "set xtics" << std::endl;
2564     ofstrm << "#set yrange [9:14]" << std::endl;
2565     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl;
2566     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle ,\\" << std::endl;
2567     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl;
2568     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
2569     ofstrm << "unset yrange" << std::endl;
2570     ofstrm << "unset multiplot" << std::endl;
2571 couturad 971 }
2572 couturad 982
2573 couturad 993 ofstrm << "" << std::endl;
2574     ofstrm << "#Cumul erosion fraction volumique" << std::endl;
2575     if(fem_maill_lin)
2576 couturad 982 {
2577 francois 1079 ofstrm << "set terminal term" << std::endl;
2578     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_erosion_fraction_volumique_lin.\",ext)" << std::endl;
2579 couturad 993 ofstrm << "#set xrange [0:0.41]" << std::endl;
2580     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2581     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2582     ofstrm << "set xtics" << std::endl;
2583     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
2584     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl;
2585 couturad 982 }
2586 couturad 993 if(fem_maill_quad)
2587 couturad 982 {
2588 francois 1079 ofstrm << "set terminal term" << std::endl;
2589     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_erosion_fraction_volumique_quad.\",ext)" << std::endl;
2590 couturad 993 ofstrm << "#set xrange [0:0.41]" << std::endl;
2591     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2592     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2593     ofstrm << "set xtics" << std::endl;
2594     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
2595     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
2596 couturad 982 }
2597 couturad 974 if(fem_maill_lin && fem_maill_quad)
2598     {
2599 francois 1079 ofstrm << "set terminal term" << std::endl;
2600     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_erosion_fraction_volumique_lin_quad.\",ext)" << std::endl;
2601 couturad 993 ofstrm << "#set xrange [0:0.41]" << std::endl;
2602     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
2603     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2604     ofstrm << "set xtics" << std::endl;
2605     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl;
2606     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle ,\\" << std::endl;
2607     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl;
2608     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
2609 couturad 974 }
2610 couturad 993
2611     ofstrm << "" << std::endl;
2612     ofstrm << "#Cumul erosion ecart chargement sph" << std::endl;
2613     if(fem_maill_lin)
2614 couturad 974 {
2615 francois 1079 ofstrm << "set terminal term" << std::endl;
2616     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_ecart_chargement_sph_lin.\",ext)" << std::endl;
2617 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2618     ofstrm << "set rmargin 15" << std::endl;
2619     ofstrm << "set bmargin 2" << std::endl;
2620     ofstrm << "set multiplot layout 2, 1" << std::endl;
2621     ofstrm << "#set xrange [0:0.41]" << std::endl;
2622     ofstrm << "unset xlabel" << std::endl;
2623     ofstrm << "unset xtic" << std::endl;
2624     ofstrm << "set ytics nomirror" << std::endl;
2625     ofstrm << "set size 1,0.5" << std::endl;
2626     ofstrm << "set origin 0,0.5" << std::endl;
2627     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2628     ofstrm << "set xtics" << std::endl;
2629     ofstrm << "set grid" << std::endl;
2630     ofstrm << "plot \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl;
2631     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2632     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl;
2633     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2634     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl;
2635     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2636     ofstrm << "unset yrange" << std::endl;
2637     ofstrm << "set size 1,0.5" << std::endl;
2638     ofstrm << "set origin 0,0.03" << std::endl;
2639     ofstrm << "set bmargin 2" << std::endl;
2640     ofstrm << "plot \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl;
2641     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2642     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl;
2643     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2644     ofstrm << "unset yrange" << std::endl;
2645     ofstrm << "unset tmargin" << std::endl;
2646     ofstrm << "unset bmargin" << std::endl;
2647     ofstrm << "unset multiplot" << std::endl;
2648 couturad 974 }
2649 couturad 993 if(fem_maill_quad)
2650 couturad 974 {
2651 francois 1079 ofstrm << "set terminal term" << std::endl;
2652     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_ecart_chargement_sph_quad.\",ext)" << std::endl;
2653 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2654     ofstrm << "set rmargin 15" << std::endl;
2655     ofstrm << "set bmargin 2" << std::endl;
2656     ofstrm << "set multiplot layout 2, 1" << std::endl;
2657     ofstrm << "#set xrange [0:0.41]" << std::endl;
2658     ofstrm << "unset xlabel" << std::endl;
2659     ofstrm << "unset xtic" << std::endl;
2660     ofstrm << "set ytics nomirror" << std::endl;
2661     ofstrm << "set size 1,0.5" << std::endl;
2662     ofstrm << "set origin 0,0.5" << std::endl;
2663     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2664     ofstrm << "set xtics" << std::endl;
2665     ofstrm << "set grid" << std::endl;
2666     ofstrm << "plot \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl;
2667     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2668     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl;
2669     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2670     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl;
2671     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2672     ofstrm << "unset yrange" << std::endl;
2673     ofstrm << "set size 1,0.5" << std::endl;
2674     ofstrm << "set origin 0,0.03" << std::endl;
2675     ofstrm << "set bmargin 2" << std::endl;
2676     ofstrm << "plot \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl;
2677     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2678     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl;
2679     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2680     ofstrm << "unset yrange" << std::endl;
2681     ofstrm << "unset tmargin" << std::endl;
2682     ofstrm << "unset bmargin" << std::endl;
2683     ofstrm << "unset multiplot" << std::endl;
2684 couturad 982 }
2685     if(fem_maill_lin && fem_maill_quad)
2686     {
2687 francois 1079 ofstrm << "set terminal term" << std::endl;
2688     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_ecart_chargement_sph_lin_quad.\",ext)" << std::endl;
2689 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2690     ofstrm << "set rmargin 15" << std::endl;
2691     ofstrm << "set bmargin 2" << std::endl;
2692     ofstrm << "set multiplot layout 2, 1" << std::endl;
2693     ofstrm << "#set xrange [0:0.41]" << std::endl;
2694     ofstrm << "unset xlabel" << std::endl;
2695     ofstrm << "unset xtic" << std::endl;
2696     ofstrm << "set ytics nomirror" << std::endl;
2697     ofstrm << "set size 1,0.5" << std::endl;
2698     ofstrm << "set origin 0,0.5" << std::endl;
2699     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2700     ofstrm << "set xtics" << std::endl;
2701     ofstrm << "set grid" << std::endl;
2702     ofstrm << "plot \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} lin\",\\" << std::endl;
2703     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2704     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} lin\",\\" << std::endl;
2705     ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl;
2706     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} quad\",\\" << std::endl;
2707     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2708     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} quad\",\\" << std::endl;
2709     ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2710     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl;
2711     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2712     ofstrm << "unset yrange" << std::endl;
2713     ofstrm << "set size 1,0.5" << std::endl;
2714     ofstrm << "set origin 0,0.03" << std::endl;
2715     ofstrm << "set bmargin 2" << std::endl;
2716     ofstrm << "plot \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} lin\",\\" << std::endl;
2717     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2718     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} lin\",\\" << std::endl;
2719     ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl;
2720     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} quad\",\\" << std::endl;
2721     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2722     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} quad\",\\" << std::endl;
2723     ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2724     ofstrm << "unset yrange" << std::endl;
2725     ofstrm << "unset tmargin" << std::endl;
2726     ofstrm << "unset bmargin" << std::endl;
2727     ofstrm << "unset multiplot" << std::endl;
2728 couturad 982 }
2729 couturad 993
2730     ofstrm << "" << std::endl;
2731     ofstrm << "#Cumul erosion ecart chargement dev" << std::endl;
2732     if(fem_maill_lin)
2733 couturad 982 {
2734 francois 1079 ofstrm << "set terminal term" << std::endl;
2735     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_ecart_chargement_dev_lin.\",ext)" << std::endl;
2736 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2737     ofstrm << "set rmargin 15" << std::endl;
2738     ofstrm << "set bmargin 2" << std::endl;
2739     ofstrm << "set multiplot layout 2, 1" << std::endl;
2740     ofstrm << "#set xrange [0:0.41]" << std::endl;
2741     ofstrm << "unset xlabel" << std::endl;
2742     ofstrm << "unset xtic" << std::endl;
2743     ofstrm << "set ytics nomirror" << std::endl;
2744     ofstrm << "set size 1,0.5" << std::endl;
2745     ofstrm << "set origin 0,0.5" << std::endl;
2746     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2747     ofstrm << "set xtics" << std::endl;
2748     ofstrm << "set grid" << std::endl;
2749     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl;
2750     ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2751     ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl;
2752     ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2753     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl;
2754     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2755     ofstrm << "unset yrange" << std::endl;
2756     ofstrm << "set size 1,0.5" << std::endl;
2757     ofstrm << "set origin 0,0.03" << std::endl;
2758     ofstrm << "set bmargin 2" << std::endl;
2759     ofstrm << "plot \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl;
2760     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2761     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl;
2762     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2763     ofstrm << "unset yrange" << std::endl;
2764     ofstrm << "unset tmargin" << std::endl;
2765     ofstrm << "unset bmargin" << std::endl;
2766     ofstrm << "unset multiplot" << std::endl;
2767 couturad 982 }
2768 couturad 993 if(fem_maill_quad)
2769 couturad 982 {
2770 francois 1079 ofstrm << "set terminal term" << std::endl;
2771     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_ecart_chargement_dev_quad.\",ext)" << std::endl;
2772 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2773     ofstrm << "set rmargin 15" << std::endl;
2774     ofstrm << "set bmargin 2" << std::endl;
2775     ofstrm << "set multiplot layout 2, 1" << std::endl;
2776     ofstrm << "#set xrange [0:0.41]" << std::endl;
2777     ofstrm << "unset xlabel" << std::endl;
2778     ofstrm << "unset xtic" << std::endl;
2779     ofstrm << "set ytics nomirror" << std::endl;
2780     ofstrm << "set size 1,0.5" << std::endl;
2781     ofstrm << "set origin 0,0.5" << std::endl;
2782     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2783     ofstrm << "set xtics" << std::endl;
2784     ofstrm << "set grid" << std::endl;
2785     ofstrm << "plot \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl;
2786     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2787     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl;
2788     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2789     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl;
2790     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2791     ofstrm << "unset yrange" << std::endl;
2792     ofstrm << "set size 1,0.5" << std::endl;
2793     ofstrm << "set origin 0,0.03" << std::endl;
2794     ofstrm << "set bmargin 2" << std::endl;
2795     ofstrm << "plot \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl;
2796     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2797     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl;
2798     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2799     ofstrm << "unset yrange" << std::endl;
2800     ofstrm << "unset tmargin" << std::endl;
2801     ofstrm << "unset bmargin" << std::endl;
2802     ofstrm << "unset multiplot" << std::endl;
2803 couturad 982 }
2804     if(fem_maill_lin && fem_maill_quad)
2805     {
2806 francois 1079 ofstrm << "set terminal term" << std::endl;
2807     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_ecart_chargement_dev_lin_quad.\",ext)" << std::endl;
2808 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2809     ofstrm << "set rmargin 15" << std::endl;
2810     ofstrm << "set bmargin 2" << std::endl;
2811     ofstrm << "set multiplot layout 2, 1" << std::endl;
2812     ofstrm << "#set xrange [0:0.41]" << std::endl;
2813     ofstrm << "unset xlabel" << std::endl;
2814     ofstrm << "unset xtic" << std::endl;
2815     ofstrm << "set ytics nomirror" << std::endl;
2816     ofstrm << "set size 1,0.5" << std::endl;
2817     ofstrm << "set origin 0,0.5" << std::endl;
2818     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2819     ofstrm << "set xtics" << std::endl;
2820     ofstrm << "set grid" << std::endl;
2821     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} lin\",\\" << std::endl;
2822     ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2823     ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} lin\",\\" << std::endl;
2824     ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl;
2825     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} quad\",\\" << std::endl;
2826     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2827     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} quad\",\\" << std::endl;
2828     ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2829     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl;
2830     ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl;
2831     ofstrm << "unset yrange" << std::endl;
2832     ofstrm << "set size 1,0.5" << std::endl;
2833     ofstrm << "set origin 0,0.03" << std::endl;
2834     ofstrm << "set bmargin 2" << std::endl;
2835     ofstrm << "plot \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} lin\",\\" << std::endl;
2836     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2837     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} lin\",\\" << std::endl;
2838     ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl;
2839     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} quad\",\\" << std::endl;
2840     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl;
2841     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} quad\",\\" << std::endl;
2842     ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl;
2843     ofstrm << "unset yrange" << std::endl;
2844     ofstrm << "unset tmargin" << std::endl;
2845     ofstrm << "unset bmargin" << std::endl;
2846     ofstrm << "unset multiplot" << std::endl;
2847 couturad 982 }
2848 couturad 993
2849     ofstrm << "" << std::endl;
2850     ofstrm << "#Distribution SIGMA sph xx" << std::endl;
2851     if(fem_maill_lin)
2852 couturad 982 {
2853 francois 1079 ofstrm << "set terminal term" << std::endl;
2854     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xx_lin.\",ext)" << std::endl;
2855 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2856     ofstrm << "set rmargin 25" << std::endl;
2857     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
2858     ofstrm << "set multiplot layout 3, 1" << std::endl;
2859     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
2860     ofstrm << "unset xlabel" << std::endl;
2861     ofstrm << "unset xtic" << std::endl;
2862     ofstrm << "set xtics" << std::endl;
2863     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx}\",\\" << std::endl;
2864     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx}\"" << std::endl;
2865     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl;
2866     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules\"" << std::endl;
2867     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl;
2868     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice\"" << std::endl;
2869     ofstrm << "unset lmargin" << std::endl;
2870     ofstrm << "unset rmargin" << std::endl;
2871     ofstrm << "unset multiplot" << std::endl;
2872 couturad 982 }
2873 couturad 993 if(fem_maill_quad)
2874 couturad 982 {
2875 francois 1079 ofstrm << "set terminal term" << std::endl;
2876     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xx_quad.\",ext)" << std::endl;
2877 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2878     ofstrm << "set rmargin 25" << std::endl;
2879     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
2880     ofstrm << "set multiplot layout 3, 1" << std::endl;
2881     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
2882     ofstrm << "unset xlabel" << std::endl;
2883     ofstrm << "unset xtic" << std::endl;
2884     ofstrm << "set xtics" << std::endl;
2885     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx}\",\\" << std::endl;
2886     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx}\"" << std::endl;
2887     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl;
2888     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules\"" << std::endl;
2889     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl;
2890     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice\"" << std::endl;
2891     ofstrm << "unset lmargin" << std::endl;
2892     ofstrm << "unset rmargin" << std::endl;
2893     ofstrm << "unset multiplot" << std::endl;
2894 couturad 982 }
2895     if(fem_maill_lin && fem_maill_quad)
2896     {
2897 francois 1079 ofstrm << "set terminal term" << std::endl;
2898     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xx_lin_quad.\",ext)" << std::endl;
2899 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2900     ofstrm << "set rmargin 25" << std::endl;
2901     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
2902     ofstrm << "set multiplot layout 3, 1" << std::endl;
2903     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
2904     ofstrm << "unset xlabel" << std::endl;
2905     ofstrm << "unset xtic" << std::endl;
2906     ofstrm << "set xtics" << std::endl;
2907     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} lin\",\\" << std::endl;
2908     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} lin\" ,\\" << std::endl;
2909     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} quad\",\\" << std::endl;
2910     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} quad\"" << std::endl;
2911     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules lin\",\\" << std::endl;
2912     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules lin\" ,\\" << std::endl;
2913     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules quad\",\\" << std::endl;
2914     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules quad\"" << std::endl;
2915     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice lin\",\\" << std::endl;
2916     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice lin\",\\" << std::endl;
2917     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice quad\",\\" << std::endl;
2918     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice quad\"" << std::endl;
2919     ofstrm << "unset lmargin" << std::endl;
2920     ofstrm << "unset rmargin" << std::endl;
2921     ofstrm << "unset multiplot" << std::endl;
2922 couturad 982 }
2923 couturad 974
2924 couturad 993 ofstrm << "" << std::endl;
2925     ofstrm << "#Distribution SIGMA sph yy" << std::endl;
2926     if(fem_maill_lin)
2927 couturad 974 {
2928 francois 1079 ofstrm << "set terminal term" << std::endl;
2929     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_yy_lin.\",ext)" << std::endl;
2930 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2931     ofstrm << "set rmargin 25" << std::endl;
2932     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
2933     ofstrm << "set multiplot layout 3, 1" << std::endl;
2934     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
2935     ofstrm << "unset xlabel" << std::endl;
2936     ofstrm << "unset xtic" << std::endl;
2937     ofstrm << "set xtics" << std::endl;
2938     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy}\",\\" << std::endl;
2939     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy}\"" << std::endl;
2940     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl;
2941     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules\"" << std::endl;
2942     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl;
2943     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice\"" << std::endl;
2944     ofstrm << "unset lmargin" << std::endl;
2945     ofstrm << "unset rmargin" << std::endl;
2946     ofstrm << "unset multiplot" << std::endl;
2947 couturad 974 }
2948 couturad 993 if(fem_maill_quad)
2949 couturad 974 {
2950 francois 1079 ofstrm << "set terminal term" << std::endl;
2951     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_yy_quad.\",ext)" << std::endl;
2952 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2953     ofstrm << "set rmargin 25" << std::endl;
2954     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
2955     ofstrm << "set multiplot layout 3, 1" << std::endl;
2956     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
2957     ofstrm << "unset xlabel" << std::endl;
2958     ofstrm << "unset xtic" << std::endl;
2959     ofstrm << "set xtics" << std::endl;
2960     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy}\",\\" << std::endl;
2961     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy}\"" << std::endl;
2962     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl;
2963     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules\"" << std::endl;
2964     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl;
2965     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice\"" << std::endl;
2966     ofstrm << "unset lmargin" << std::endl;
2967     ofstrm << "unset rmargin" << std::endl;
2968     ofstrm << "unset multiplot" << std::endl;
2969 couturad 974 }
2970     if(fem_maill_lin && fem_maill_quad)
2971     {
2972 francois 1079 ofstrm << "set terminal term" << std::endl;
2973     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_yy_lin_quad.\",ext)" << std::endl;
2974 couturad 993 ofstrm << "set lmargin 10" << std::endl;
2975     ofstrm << "set rmargin 25" << std::endl;
2976     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
2977     ofstrm << "set multiplot layout 3, 1" << std::endl;
2978     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
2979     ofstrm << "unset xlabel" << std::endl;
2980     ofstrm << "unset xtic" << std::endl;
2981     ofstrm << "set xtics" << std::endl;
2982     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} lin\",\\" << std::endl;
2983     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} lin\" ,\\" << std::endl;
2984     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} quad\",\\" << std::endl;
2985     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} quad\"" << std::endl;
2986     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules lin\",\\" << std::endl;
2987     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules lin\" ,\\" << std::endl;
2988     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules quad\",\\" << std::endl;
2989     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules quad\"" << std::endl;
2990     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice lin\",\\" << std::endl;
2991     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice lin\",\\" << std::endl;
2992     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice quad\",\\" << std::endl;
2993     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice quad\"" << std::endl;
2994     ofstrm << "unset lmargin" << std::endl;
2995     ofstrm << "unset rmargin" << std::endl;
2996     ofstrm << "unset multiplot" << std::endl;
2997 couturad 974 }
2998    
2999 couturad 993 ofstrm << "" << std::endl;
3000     ofstrm << "#Distribution SIGMA sph zz" << std::endl;
3001     if(fem_maill_lin)
3002 couturad 974 {
3003 francois 1079 ofstrm << "set terminal term" << std::endl;
3004     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_zz_lin.\",ext)" << std::endl;
3005 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3006     ofstrm << "set rmargin 25" << std::endl;
3007     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3008     ofstrm << "set multiplot layout 3, 1" << std::endl;
3009     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3010     ofstrm << "unset xlabel" << std::endl;
3011     ofstrm << "unset xtic" << std::endl;
3012     ofstrm << "set xtics" << std::endl;
3013     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz}\",\\" << std::endl;
3014     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz}\"" << std::endl;
3015     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl;
3016     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules\"" << std::endl;
3017     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl;
3018     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice\"" << std::endl;
3019     ofstrm << "unset lmargin" << std::endl;
3020     ofstrm << "unset rmargin" << std::endl;
3021     ofstrm << "unset multiplot" << std::endl;
3022 couturad 974 }
3023 couturad 993 if(fem_maill_quad)
3024 couturad 974 {
3025 francois 1079 ofstrm << "set terminal term" << std::endl;
3026     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_zz_quad.\",ext)" << std::endl;
3027 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3028     ofstrm << "set rmargin 25" << std::endl;
3029     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3030     ofstrm << "set multiplot layout 3, 1" << std::endl;
3031     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3032     ofstrm << "unset xlabel" << std::endl;
3033     ofstrm << "unset xtic" << std::endl;
3034     ofstrm << "set xtics" << std::endl;
3035     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz}\",\\" << std::endl;
3036     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz}\"" << std::endl;
3037     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl;
3038     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules\"" << std::endl;
3039     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl;
3040     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice\"" << std::endl;
3041     ofstrm << "unset lmargin" << std::endl;
3042     ofstrm << "unset rmargin" << std::endl;
3043     ofstrm << "unset multiplot" << std::endl;
3044 couturad 974 }
3045 couturad 982 if(fem_maill_lin && fem_maill_quad)
3046     {
3047 francois 1079 ofstrm << "set terminal term" << std::endl;
3048     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_zz_lin_quad.\",ext)" << std::endl;
3049 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3050     ofstrm << "set rmargin 25" << std::endl;
3051     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3052     ofstrm << "set multiplot layout 3, 1" << std::endl;
3053     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3054     ofstrm << "unset xlabel" << std::endl;
3055     ofstrm << "unset xtic" << std::endl;
3056     ofstrm << "set xtics" << std::endl;
3057     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} lin\",\\" << std::endl;
3058     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} lin\" ,\\" << std::endl;
3059     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} quad\",\\" << std::endl;
3060     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} quad\"" << std::endl;
3061     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules lin\",\\" << std::endl;
3062     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules lin\" ,\\" << std::endl;
3063     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules quad\",\\" << std::endl;
3064     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules quad\"" << std::endl;
3065     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice lin\",\\" << std::endl;
3066     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice lin\",\\" << std::endl;
3067     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice quad\",\\" << std::endl;
3068     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice quad\"" << std::endl;
3069     ofstrm << "unset lmargin" << std::endl;
3070     ofstrm << "unset rmargin" << std::endl;
3071     ofstrm << "unset multiplot" << std::endl;
3072 couturad 982 }
3073 couturad 974
3074 couturad 993 ofstrm << "" << std::endl;
3075     ofstrm << "#Distribution SIGMA sph xy" << std::endl;
3076     if(fem_maill_lin)
3077 couturad 974 {
3078 francois 1079 ofstrm << "set terminal term" << std::endl;
3079     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xy_lin.\",ext)" << std::endl;
3080 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3081     ofstrm << "set rmargin 25" << std::endl;
3082     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3083     ofstrm << "set multiplot layout 3, 1" << std::endl;
3084     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3085     ofstrm << "unset xlabel" << std::endl;
3086     ofstrm << "unset xtic" << std::endl;
3087     ofstrm << "set xtics" << std::endl;
3088     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy}\",\\" << std::endl;
3089     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy}\"" << std::endl;
3090     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl;
3091     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules\"" << std::endl;
3092     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl;
3093     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice\"" << std::endl;
3094     ofstrm << "unset lmargin" << std::endl;
3095     ofstrm << "unset rmargin" << std::endl;
3096     ofstrm << "unset multiplot" << std::endl;
3097 couturad 974 }
3098 couturad 993 if(fem_maill_quad)
3099 couturad 974 {
3100 francois 1079 ofstrm << "set terminal term" << std::endl;
3101     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xy_quad.\",ext)" << std::endl;
3102 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3103     ofstrm << "set rmargin 25" << std::endl;
3104     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3105     ofstrm << "set multiplot layout 3, 1" << std::endl;
3106     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3107     ofstrm << "unset xlabel" << std::endl;
3108     ofstrm << "unset xtic" << std::endl;
3109     ofstrm << "set xtics" << std::endl;
3110     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy}\",\\" << std::endl;
3111     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy}\"" << std::endl;
3112     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl;
3113     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules\"" << std::endl;
3114     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl;
3115     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice\"" << std::endl;
3116     ofstrm << "unset lmargin" << std::endl;
3117     ofstrm << "unset rmargin" << std::endl;
3118     ofstrm << "unset multiplot" << std::endl;
3119 couturad 974 }
3120 couturad 982 if(fem_maill_lin && fem_maill_quad)
3121     {
3122 francois 1079 ofstrm << "set terminal term" << std::endl;
3123     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xy_lin_quad.\",ext)" << std::endl;
3124 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3125     ofstrm << "set rmargin 25" << std::endl;
3126     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3127     ofstrm << "set multiplot layout 3, 1" << std::endl;
3128     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3129     ofstrm << "unset xlabel" << std::endl;
3130     ofstrm << "unset xtic" << std::endl;
3131     ofstrm << "set xtics" << std::endl;
3132     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} lin\",\\" << std::endl;
3133     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} lin\" ,\\" << std::endl;
3134     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} quad\",\\" << std::endl;
3135     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} quad\"" << std::endl;
3136     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules lin\",\\" << std::endl;
3137     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules lin\" ,\\" << std::endl;
3138     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules quad\",\\" << std::endl;
3139     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules quad\"" << std::endl;
3140     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice lin\",\\" << std::endl;
3141     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice lin\",\\" << std::endl;
3142     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice quad\",\\" << std::endl;
3143     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice quad\"" << std::endl;
3144     ofstrm << "unset lmargin" << std::endl;
3145     ofstrm << "unset rmargin" << std::endl;
3146     ofstrm << "unset multiplot" << std::endl;
3147 couturad 982 }
3148    
3149 couturad 993 ofstrm << "" << std::endl;
3150     ofstrm << "#Distribution SIGMA sph yz" << std::endl;
3151     if(fem_maill_lin)
3152 couturad 982 {
3153 francois 1079 ofstrm << "set terminal term" << std::endl;
3154     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_yz_lin.\",ext)" << std::endl;
3155 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3156     ofstrm << "set rmargin 25" << std::endl;
3157     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3158     ofstrm << "set multiplot layout 3, 1" << std::endl;
3159     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3160     ofstrm << "unset xlabel" << std::endl;
3161     ofstrm << "unset xtic" << std::endl;
3162     ofstrm << "set xtics" << std::endl;
3163     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz}\",\\" << std::endl;
3164     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz}\"" << std::endl;
3165     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl;
3166     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules\"" << std::endl;
3167     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl;
3168     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice\"" << std::endl;
3169     ofstrm << "unset lmargin" << std::endl;
3170     ofstrm << "unset rmargin" << std::endl;
3171     ofstrm << "unset multiplot" << std::endl;
3172 couturad 982 }
3173 couturad 993 if(fem_maill_quad)
3174 couturad 982 {
3175 francois 1079 ofstrm << "set terminal term" << std::endl;
3176     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_yz_quad.\",ext)" << std::endl;
3177 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3178     ofstrm << "set rmargin 25" << std::endl;
3179     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3180     ofstrm << "set multiplot layout 3, 1" << std::endl;
3181     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3182     ofstrm << "unset xlabel" << std::endl;
3183     ofstrm << "unset xtic" << std::endl;
3184     ofstrm << "set xtics" << std::endl;
3185     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz}\",\\" << std::endl;
3186     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz}\"" << std::endl;
3187     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl;
3188     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules\"" << std::endl;
3189     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl;
3190     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice\"" << std::endl;
3191     ofstrm << "unset lmargin" << std::endl;
3192     ofstrm << "unset rmargin" << std::endl;
3193     ofstrm << "unset multiplot" << std::endl;
3194 couturad 982 }
3195     if(fem_maill_lin && fem_maill_quad)
3196     {
3197 francois 1079 ofstrm << "set terminal term" << std::endl;
3198     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_yz_lin_quad.\",ext)" << std::endl;
3199 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3200     ofstrm << "set rmargin 25" << std::endl;
3201     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3202     ofstrm << "set multiplot layout 3, 1" << std::endl;
3203     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3204     ofstrm << "unset xlabel" << std::endl;
3205     ofstrm << "unset xtic" << std::endl;
3206     ofstrm << "set xtics" << std::endl;
3207     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} lin\",\\" << std::endl;
3208     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} lin\" ,\\" << std::endl;
3209     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} quad\",\\" << std::endl;
3210     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} quad\"" << std::endl;
3211     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules lin\",\\" << std::endl;
3212     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules lin\" ,\\" << std::endl;
3213     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules quad\",\\" << std::endl;
3214     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules quad\"" << std::endl;
3215     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice lin\",\\" << std::endl;
3216     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice lin\",\\" << std::endl;
3217     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice quad\",\\" << std::endl;
3218     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice quad\"" << std::endl;
3219     ofstrm << "unset lmargin" << std::endl;
3220     ofstrm << "unset rmargin" << std::endl;
3221     ofstrm << "unset multiplot" << std::endl;
3222 couturad 982 }
3223 couturad 974
3224 couturad 993 ofstrm << "" << std::endl;
3225     ofstrm << "#Distribution SIGMA sph xz" << std::endl;
3226     if(fem_maill_lin)
3227 couturad 974 {
3228 francois 1079 ofstrm << "set terminal term" << std::endl;
3229     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xz_lin.\",ext)" << std::endl;
3230 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3231     ofstrm << "set rmargin 25" << std::endl;
3232     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3233     ofstrm << "set multiplot layout 3, 1" << std::endl;
3234     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3235     ofstrm << "unset xlabel" << std::endl;
3236     ofstrm << "unset xtic" << std::endl;
3237     ofstrm << "set xtics" << std::endl;
3238     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz}\",\\" << std::endl;
3239     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz}\"" << std::endl;
3240     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl;
3241     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules\"" << std::endl;
3242     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl;
3243     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice\"" << std::endl;
3244     ofstrm << "unset lmargin" << std::endl;
3245     ofstrm << "unset rmargin" << std::endl;
3246     ofstrm << "unset multiplot" << std::endl;
3247 couturad 974 }
3248 couturad 993 if(fem_maill_quad)
3249 couturad 974 {
3250 francois 1079 ofstrm << "set terminal term" << std::endl;
3251     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xz_quad.\",ext)" << std::endl;
3252 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3253     ofstrm << "set rmargin 25" << std::endl;
3254     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3255     ofstrm << "set multiplot layout 3, 1" << std::endl;
3256     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3257     ofstrm << "unset xlabel" << std::endl;
3258     ofstrm << "unset xtic" << std::endl;
3259     ofstrm << "set xtics" << std::endl;
3260     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz}\",\\" << std::endl;
3261     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz}\"" << std::endl;
3262     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl;
3263     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules\"" << std::endl;
3264     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl;
3265     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice\"" << std::endl;
3266     ofstrm << "unset lmargin" << std::endl;
3267     ofstrm << "unset rmargin" << std::endl;
3268     ofstrm << "unset multiplot" << std::endl;
3269 couturad 974 }
3270 couturad 982 if(fem_maill_lin && fem_maill_quad)
3271     {
3272 francois 1079 ofstrm << "set terminal term" << std::endl;
3273     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_sph_xz_lin_quad.\",ext)" << std::endl;
3274 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3275     ofstrm << "set rmargin 25" << std::endl;
3276     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3277     ofstrm << "set multiplot layout 3, 1" << std::endl;
3278     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3279     ofstrm << "unset xlabel" << std::endl;
3280     ofstrm << "unset xtic" << std::endl;
3281     ofstrm << "set xtics" << std::endl;
3282     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} lin\",\\" << std::endl;
3283     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} lin\" ,\\" << std::endl;
3284     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} quad\",\\" << std::endl;
3285     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} quad\"" << std::endl;
3286     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules lin\",\\" << std::endl;
3287     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules lin\" ,\\" << std::endl;
3288     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules quad\",\\" << std::endl;
3289     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules quad\"" << std::endl;
3290     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice lin\",\\" << std::endl;
3291     ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice lin\",\\" << std::endl;
3292     ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice quad\",\\" << std::endl;
3293     ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice quad\"" << std::endl;
3294     ofstrm << "unset lmargin" << std::endl;
3295     ofstrm << "unset rmargin" << std::endl;
3296     ofstrm << "unset multiplot" << std::endl;
3297 couturad 982 }
3298    
3299 couturad 993 ofstrm << "" << std::endl;
3300     ofstrm << "#Distribution SIGMA dev xx" << std::endl;
3301     if(fem_maill_lin)
3302 couturad 982 {
3303 francois 1079 ofstrm << "set terminal term" << std::endl;
3304     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xx_lin.\",ext)" << std::endl;
3305 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3306     ofstrm << "set rmargin 25" << std::endl;
3307     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3308     ofstrm << "set multiplot layout 3, 1" << std::endl;
3309     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3310     ofstrm << "unset xlabel" << std::endl;
3311     ofstrm << "unset xtic" << std::endl;
3312     ofstrm << "set xtics" << std::endl;
3313     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx}\",\\" << std::endl;
3314     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx}\"" << std::endl;
3315     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl;
3316     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules\"" << std::endl;
3317     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl;
3318     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice\"" << std::endl;
3319     ofstrm << "unset lmargin" << std::endl;
3320     ofstrm << "unset rmargin" << std::endl;
3321     ofstrm << "unset multiplot" << std::endl;
3322 couturad 982 }
3323 couturad 993 if(fem_maill_quad)
3324 couturad 982 {
3325 francois 1079 ofstrm << "set terminal term" << std::endl;
3326     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xx_quad.\",ext)" << std::endl;
3327 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3328     ofstrm << "set rmargin 25" << std::endl;
3329     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3330     ofstrm << "set multiplot layout 3, 1" << std::endl;
3331     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3332     ofstrm << "unset xlabel" << std::endl;
3333     ofstrm << "unset xtic" << std::endl;
3334     ofstrm << "set xtics" << std::endl;
3335     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx}\",\\" << std::endl;
3336     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx}\"" << std::endl;
3337     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl;
3338     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules\"" << std::endl;
3339     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl;
3340     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice\"" << std::endl;
3341     ofstrm << "unset lmargin" << std::endl;
3342     ofstrm << "unset rmargin" << std::endl;
3343     ofstrm << "unset multiplot" << std::endl;
3344 couturad 982 }
3345     if(fem_maill_lin && fem_maill_quad)
3346     {
3347 francois 1079 ofstrm << "set terminal term" << std::endl;
3348     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xx_lin_quad.\",ext)" << std::endl;
3349 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3350     ofstrm << "set rmargin 25" << std::endl;
3351     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3352     ofstrm << "set multiplot layout 3, 1" << std::endl;
3353     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3354     ofstrm << "unset xlabel" << std::endl;
3355     ofstrm << "unset xtic" << std::endl;
3356     ofstrm << "set xtics" << std::endl;
3357     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} lin\",\\" << std::endl;
3358     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} lin\" ,\\" << std::endl;
3359     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} quad\",\\" << std::endl;
3360     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} quad\"" << std::endl;
3361     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules lin\",\\" << std::endl;
3362     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules lin\" ,\\" << std::endl;
3363     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules quad\",\\" << std::endl;
3364     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules quad\"" << std::endl;
3365     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice lin\",\\" << std::endl;
3366     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice lin\",\\" << std::endl;
3367     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice quad\",\\" << std::endl;
3368     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice quad\"" << std::endl;
3369     ofstrm << "unset lmargin" << std::endl;
3370     ofstrm << "unset rmargin" << std::endl;
3371     ofstrm << "unset multiplot" << std::endl;
3372 couturad 982 }
3373    
3374 couturad 993 ofstrm << "" << std::endl;
3375     ofstrm << "#Distribution SIGMA dev yy" << std::endl;
3376     if(fem_maill_lin)
3377 couturad 974 {
3378 francois 1079 ofstrm << "set terminal term" << std::endl;
3379     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_yy_lin.\",ext)" << std::endl;
3380 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3381     ofstrm << "set rmargin 25" << std::endl;
3382     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3383     ofstrm << "set multiplot layout 3, 1" << std::endl;
3384     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3385     ofstrm << "unset xlabel" << std::endl;
3386     ofstrm << "unset xtic" << std::endl;
3387     ofstrm << "set xtics" << std::endl;
3388     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy}\",\\" << std::endl;
3389     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy}\"" << std::endl;
3390     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl;
3391     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules\"" << std::endl;
3392     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl;
3393     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice\"" << std::endl;
3394     ofstrm << "unset lmargin" << std::endl;
3395     ofstrm << "unset rmargin" << std::endl;
3396     ofstrm << "unset multiplot" << std::endl;
3397 couturad 974 }
3398 couturad 993 if(fem_maill_quad)
3399 couturad 974 {
3400 francois 1079 ofstrm << "set terminal term" << std::endl;
3401     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_yy_quad.\",ext)" << std::endl;
3402 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3403     ofstrm << "set rmargin 25" << std::endl;
3404     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3405     ofstrm << "set multiplot layout 3, 1" << std::endl;
3406     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3407     ofstrm << "unset xlabel" << std::endl;
3408     ofstrm << "unset xtic" << std::endl;
3409     ofstrm << "set xtics" << std::endl;
3410     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy}\",\\" << std::endl;
3411     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy}\"" << std::endl;
3412     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl;
3413     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules\"" << std::endl;
3414     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl;
3415     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice\"" << std::endl;
3416     ofstrm << "unset lmargin" << std::endl;
3417     ofstrm << "unset rmargin" << std::endl;
3418     ofstrm << "unset multiplot" << std::endl;
3419 couturad 974 }
3420 couturad 982 if(fem_maill_lin && fem_maill_quad)
3421     {
3422 francois 1079 ofstrm << "set terminal term" << std::endl;
3423     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_yy_lin_quad.\",ext)" << std::endl;
3424 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3425     ofstrm << "set rmargin 25" << std::endl;
3426     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3427     ofstrm << "set multiplot layout 3, 1" << std::endl;
3428     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3429     ofstrm << "unset xlabel" << std::endl;
3430     ofstrm << "unset xtic" << std::endl;
3431     ofstrm << "set xtics" << std::endl;
3432     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} lin\",\\" << std::endl;
3433     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} lin\" ,\\" << std::endl;
3434     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} quad\",\\" << std::endl;
3435     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} quad\"" << std::endl;
3436     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules lin\",\\" << std::endl;
3437     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules lin\" ,\\" << std::endl;
3438     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules quad\",\\" << std::endl;
3439     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules quad\"" << std::endl;
3440     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice lin\",\\" << std::endl;
3441     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice lin\",\\" << std::endl;
3442     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice quad\",\\" << std::endl;
3443     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice quad\"" << std::endl;
3444     ofstrm << "unset lmargin" << std::endl;
3445     ofstrm << "unset rmargin" << std::endl;
3446     ofstrm << "unset multiplot" << std::endl;
3447 couturad 982 }
3448    
3449 couturad 993 ofstrm << "" << std::endl;
3450     ofstrm << "#Distribution SIGMA dev zz" << std::endl;
3451     if(fem_maill_lin)
3452 couturad 982 {
3453 francois 1079 ofstrm << "set terminal term" << std::endl;
3454     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_zz_lin.\",ext)" << std::endl;
3455 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3456     ofstrm << "set rmargin 25" << std::endl;
3457     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3458     ofstrm << "set multiplot layout 3, 1" << std::endl;
3459     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3460     ofstrm << "unset xlabel" << std::endl;
3461     ofstrm << "unset xtic" << std::endl;
3462     ofstrm << "set xtics" << std::endl;
3463     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz}\",\\" << std::endl;
3464     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz}\"" << std::endl;
3465     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl;
3466     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules\"" << std::endl;
3467     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl;
3468     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice\"" << std::endl;
3469     ofstrm << "unset lmargin" << std::endl;
3470     ofstrm << "unset rmargin" << std::endl;
3471     ofstrm << "unset multiplot" << std::endl;
3472 couturad 982 }
3473 couturad 993 if(fem_maill_quad)
3474 couturad 982 {
3475 francois 1079 ofstrm << "set terminal term" << std::endl;
3476     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_zz_quad.\",ext)" << std::endl;
3477 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3478     ofstrm << "set rmargin 25" << std::endl;
3479     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3480     ofstrm << "set multiplot layout 3, 1" << std::endl;
3481     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3482     ofstrm << "unset xlabel" << std::endl;
3483     ofstrm << "unset xtic" << std::endl;
3484     ofstrm << "set xtics" << std::endl;
3485     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz}\",\\" << std::endl;
3486     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz}\"" << std::endl;
3487     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl;
3488     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules\"" << std::endl;
3489     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl;
3490     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice\"" << std::endl;
3491     ofstrm << "unset lmargin" << std::endl;
3492     ofstrm << "unset rmargin" << std::endl;
3493     ofstrm << "unset multiplot" << std::endl;
3494 couturad 982 }
3495     if(fem_maill_lin && fem_maill_quad)
3496     {
3497 francois 1079 ofstrm << "set terminal term" << std::endl;
3498     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_zz_lin_quad.\",ext)" << std::endl;
3499 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3500     ofstrm << "set rmargin 25" << std::endl;
3501     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3502     ofstrm << "set multiplot layout 3, 1" << std::endl;
3503     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3504     ofstrm << "unset xlabel" << std::endl;
3505     ofstrm << "unset xtic" << std::endl;
3506     ofstrm << "set xtics" << std::endl;
3507     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} lin\",\\" << std::endl;
3508     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} lin\" ,\\" << std::endl;
3509     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} quad\",\\" << std::endl;
3510     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} quad\"" << std::endl;
3511     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules lin\",\\" << std::endl;
3512     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules lin\" ,\\" << std::endl;
3513     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules quad\",\\" << std::endl;
3514     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules quad\"" << std::endl;
3515     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice lin\",\\" << std::endl;
3516     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice lin\",\\" << std::endl;
3517     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice quad\",\\" << std::endl;
3518     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice quad\"" << std::endl;
3519     ofstrm << "unset lmargin" << std::endl;
3520     ofstrm << "unset rmargin" << std::endl;
3521     ofstrm << "unset multiplot" << std::endl;
3522 couturad 982 }
3523 couturad 974
3524 couturad 993 ofstrm << "" << std::endl;
3525     ofstrm << "#Distribution SIGMA dev xy" << std::endl;
3526     if(fem_maill_lin)
3527 couturad 974 {
3528 francois 1079 ofstrm << "set terminal term" << std::endl;
3529     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xy_lin.\",ext)" << std::endl;
3530 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3531     ofstrm << "set rmargin 25" << std::endl;
3532     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3533     ofstrm << "set multiplot layout 3, 1" << std::endl;
3534     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3535     ofstrm << "unset xlabel" << std::endl;
3536     ofstrm << "unset xtic" << std::endl;
3537     ofstrm << "set xtics" << std::endl;
3538     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy}\",\\" << std::endl;
3539     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy}\"" << std::endl;
3540     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl;
3541     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules\"" << std::endl;
3542     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl;
3543     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice\"" << std::endl;
3544     ofstrm << "unset lmargin" << std::endl;
3545     ofstrm << "unset rmargin" << std::endl;
3546     ofstrm << "unset multiplot" << std::endl;
3547 couturad 974 }
3548 couturad 993 if(fem_maill_quad)
3549 couturad 974 {
3550 francois 1079 ofstrm << "set terminal term" << std::endl;
3551     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xy_quad.\",ext)" << std::endl;
3552 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3553     ofstrm << "set rmargin 25" << std::endl;
3554     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3555     ofstrm << "set multiplot layout 3, 1" << std::endl;
3556     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3557     ofstrm << "unset xlabel" << std::endl;
3558     ofstrm << "unset xtic" << std::endl;
3559     ofstrm << "set xtics" << std::endl;
3560     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy}\",\\" << std::endl;
3561     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy}\"" << std::endl;
3562     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl;
3563     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules\"" << std::endl;
3564     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl;
3565     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice\"" << std::endl;
3566     ofstrm << "unset lmargin" << std::endl;
3567     ofstrm << "unset rmargin" << std::endl;
3568     ofstrm << "unset multiplot" << std::endl;
3569 couturad 974 }
3570 couturad 982 if(fem_maill_lin && fem_maill_quad)
3571     {
3572 francois 1079 ofstrm << "set terminal term" << std::endl;
3573     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xy_lin_quad.\",ext)" << std::endl;
3574 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3575     ofstrm << "set rmargin 25" << std::endl;
3576     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3577     ofstrm << "set multiplot layout 3, 1" << std::endl;
3578     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3579     ofstrm << "unset xlabel" << std::endl;
3580     ofstrm << "unset xtic" << std::endl;
3581     ofstrm << "set xtics" << std::endl;
3582     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} lin\",\\" << std::endl;
3583     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} lin\" ,\\" << std::endl;
3584     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} quad\",\\" << std::endl;
3585     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} quad\"" << std::endl;
3586     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules lin\",\\" << std::endl;
3587     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules lin\" ,\\" << std::endl;
3588     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules quad\",\\" << std::endl;
3589     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules quad\"" << std::endl;
3590     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice lin\",\\" << std::endl;
3591     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice lin\",\\" << std::endl;
3592     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice quad\",\\" << std::endl;
3593     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice quad\"" << std::endl;
3594     ofstrm << "unset lmargin" << std::endl;
3595     ofstrm << "unset rmargin" << std::endl;
3596     ofstrm << "unset multiplot" << std::endl;
3597 couturad 982 }
3598    
3599 couturad 993 ofstrm << "" << std::endl;
3600     ofstrm << "#Distribution SIGMA dev yz" << std::endl;
3601     if(fem_maill_lin)
3602 couturad 982 {
3603 francois 1079 ofstrm << "set terminal term" << std::endl;
3604     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_yz_lin.\",ext)" << std::endl;
3605 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3606     ofstrm << "set rmargin 25" << std::endl;
3607     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3608     ofstrm << "set multiplot layout 3, 1" << std::endl;
3609     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3610     ofstrm << "unset xlabel" << std::endl;
3611     ofstrm << "unset xtic" << std::endl;
3612     ofstrm << "set xtics" << std::endl;
3613     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz}\",\\" << std::endl;
3614     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz}\"" << std::endl;
3615     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl;
3616     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules\"" << std::endl;
3617     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl;
3618     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice\"" << std::endl;
3619     ofstrm << "unset lmargin" << std::endl;
3620     ofstrm << "unset rmargin" << std::endl;
3621     ofstrm << "unset multiplot" << std::endl;
3622 couturad 982 }
3623 couturad 993 if(fem_maill_quad)
3624 couturad 982 {
3625 francois 1079 ofstrm << "set terminal term" << std::endl;
3626     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_yz_quad.\",ext)" << std::endl;
3627 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3628     ofstrm << "set rmargin 25" << std::endl;
3629     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3630     ofstrm << "set multiplot layout 3, 1" << std::endl;
3631     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3632     ofstrm << "unset xlabel" << std::endl;
3633     ofstrm << "unset xtic" << std::endl;
3634     ofstrm << "set xtics" << std::endl;
3635     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz}\",\\" << std::endl;
3636     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz}\"" << std::endl;
3637     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl;
3638     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules\"" << std::endl;
3639     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl;
3640     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice\"" << std::endl;
3641     ofstrm << "unset lmargin" << std::endl;
3642     ofstrm << "unset rmargin" << std::endl;
3643     ofstrm << "unset multiplot" << std::endl;
3644 couturad 982 }
3645     if(fem_maill_lin && fem_maill_quad)
3646     {
3647 francois 1079 ofstrm << "set terminal term" << std::endl;
3648     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_yz_lin_quad.\",ext)" << std::endl;
3649 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3650     ofstrm << "set rmargin 25" << std::endl;
3651     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3652     ofstrm << "set multiplot layout 3, 1" << std::endl;
3653     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3654     ofstrm << "unset xlabel" << std::endl;
3655     ofstrm << "unset xtic" << std::endl;
3656     ofstrm << "set xtics" << std::endl;
3657     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} lin\",\\" << std::endl;
3658     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} lin\" ,\\" << std::endl;
3659     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} quad\",\\" << std::endl;
3660     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} quad\"" << std::endl;
3661     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules lin\",\\" << std::endl;
3662     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules lin\" ,\\" << std::endl;
3663     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules quad\",\\" << std::endl;
3664     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules quad\"" << std::endl;
3665     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice lin\",\\" << std::endl;
3666     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice lin\",\\" << std::endl;
3667     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice quad\",\\" << std::endl;
3668     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice quad\"" << std::endl;
3669     ofstrm << "unset lmargin" << std::endl;
3670     ofstrm << "unset rmargin" << std::endl;
3671     ofstrm << "unset multiplot" << std::endl;
3672 couturad 982 }
3673 couturad 974
3674 couturad 993 ofstrm << "" << std::endl;
3675     ofstrm << "#Distribution SIGMA dev xz" << std::endl;
3676     if(fem_maill_lin)
3677 couturad 982 {
3678 francois 1079 ofstrm << "set terminal term" << std::endl;
3679     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xz_lin.\",ext)" << std::endl;
3680 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3681     ofstrm << "set rmargin 25" << std::endl;
3682     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3683     ofstrm << "set multiplot layout 3, 1" << std::endl;
3684     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3685     ofstrm << "unset xlabel" << std::endl;
3686     ofstrm << "unset xtic" << std::endl;
3687     ofstrm << "set xtics" << std::endl;
3688     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz}\",\\" << std::endl;
3689     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz}\"" << std::endl;
3690     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl;
3691     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules\"" << std::endl;
3692     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl;
3693     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice\"" << std::endl;
3694     ofstrm << "unset lmargin" << std::endl;
3695     ofstrm << "unset rmargin" << std::endl;
3696     ofstrm << "unset multiplot" << std::endl;
3697 couturad 982 }
3698 couturad 993 if(fem_maill_quad)
3699 couturad 982 {
3700 francois 1079 ofstrm << "set terminal term" << std::endl;
3701     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xz_quad.\",ext)" << std::endl;
3702 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3703     ofstrm << "set rmargin 25" << std::endl;
3704     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3705     ofstrm << "set multiplot layout 3, 1" << std::endl;
3706     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3707     ofstrm << "unset xlabel" << std::endl;
3708     ofstrm << "unset xtic" << std::endl;
3709     ofstrm << "set xtics" << std::endl;
3710     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz}\",\\" << std::endl;
3711     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz}\"" << std::endl;
3712     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl;
3713     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules\"" << std::endl;
3714     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl;
3715     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice\"" << std::endl;
3716     ofstrm << "unset lmargin" << std::endl;
3717     ofstrm << "unset rmargin" << std::endl;
3718     ofstrm << "unset multiplot" << std::endl;
3719 couturad 982 }
3720     if(fem_maill_lin && fem_maill_quad)
3721     {
3722 francois 1079 ofstrm << "set terminal term" << std::endl;
3723     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_distribution_SIGMA_dev_xz_lin_quad.\",ext)" << std::endl;
3724 couturad 993 ofstrm << "set lmargin 10" << std::endl;
3725     ofstrm << "set rmargin 25" << std::endl;
3726     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3727     ofstrm << "set multiplot layout 3, 1" << std::endl;
3728     ofstrm << "#set xrange [0.5:2.0]" << std::endl;
3729     ofstrm << "unset xlabel" << std::endl;
3730     ofstrm << "unset xtic" << std::endl;
3731     ofstrm << "set xtics" << std::endl;
3732     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} lin\",\\" << std::endl;
3733     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} lin\" ,\\" << std::endl;
3734     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} quad\",\\" << std::endl;
3735     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} quad\"" << std::endl;
3736     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules lin\",\\" << std::endl;
3737     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules lin\" ,\\" << std::endl;
3738     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules quad\",\\" << std::endl;
3739     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules quad\"" << std::endl;
3740     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice lin\",\\" << std::endl;
3741     ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice lin\",\\" << std::endl;
3742     ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice quad\",\\" << std::endl;
3743     ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice quad\"" << std::endl;
3744     ofstrm << "unset lmargin" << std::endl;
3745     ofstrm << "unset rmargin" << std::endl;
3746     ofstrm << "unset multiplot" << std::endl;
3747 couturad 982 }
3748 couturad 951 }
3749 couturad 993 ofstrm << "" << std::endl;
3750 couturad 971 if(etude_thermique)
3751 couturad 951 {
3752 couturad 971 ofstrm << "" << std::endl;
3753 couturad 993 ofstrm << "#Nuage lambda app" << std::endl;
3754     if(fem_maill_lin)
3755 couturad 971 {
3756 francois 1080 ofstrm << "set terminal term" << std::endl;
3757 couturad 993 ofstrm << "set rmargin 15" << std::endl;
3758 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/nuage_Lambda_app_lin.\",ext)" << std::endl;
3759 couturad 993 ofstrm << "#set xrange [9:11]" << std::endl;
3760     ofstrm << "#set yrange [0.14:0.2]" << std::endl;
3761     ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3762     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3763     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3764     ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl;
3765     ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl;
3766     ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3767     ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3768     ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3769     ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3770 couturad 971 }
3771 couturad 993 if(fem_maill_quad)
3772 couturad 971 {
3773 francois 1080 ofstrm << "set terminal term" << std::endl;
3774 couturad 993 ofstrm << "set rmargin 15" << std::endl;
3775 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/nuage_Lambda_app_quad.\",ext)" << std::endl;
3776 couturad 993 ofstrm << "#set xrange [9:11]" << std::endl;
3777     ofstrm << "#set yrange [0.14:0.2]" << std::endl;
3778     ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3779     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3780     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3781     ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl;
3782     ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl;
3783     ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3784     ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3785     ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3786     ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3787 couturad 971 }
3788 couturad 993 if(fem_maill_lin && fem_maill_quad)
3789 couturad 971 {
3790 francois 1080 ofstrm << "set terminal term'" << std::endl;
3791 couturad 993 ofstrm << "set rmargin 15" << std::endl;
3792 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/nuage_Lambda_app_lin_quad.\",ext)" << std::endl;
3793 couturad 993 ofstrm << "#set xrange [9:11]" << std::endl;
3794     ofstrm << "#set yrange [0.14:0.2]" << std::endl;
3795     ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3796     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3797     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3798     ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl;
3799     ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH lin\" ,\\" << std::endl;
3800     ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl;
3801     ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH quad\" ,\\" << std::endl;
3802 couturad 971 }
3803    
3804     ofstrm << "" << std::endl;
3805 couturad 993 ofstrm << "#Cumul lambda app" << std::endl;
3806     if(fem_maill_lin)
3807 couturad 971 {
3808 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_Lambda_app_lin.\",ext)" << std::endl;
3809 couturad 993 ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3810     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3811     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3812     ofstrm << "plot \"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl;
3813     ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl;
3814     ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3815     ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3816     ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3817     ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3818 couturad 971 }
3819 couturad 993 if(fem_maill_quad)
3820 couturad 971 {
3821 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_Lambda_app_quad.\",ext)" << std::endl;
3822 couturad 993 ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3823     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3824     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3825     ofstrm << "plot \"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl;
3826     ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl;
3827     ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3828     ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3829     ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3830     ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3831 couturad 971 }
3832     if(fem_maill_lin && fem_maill_quad)
3833     {
3834 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cumul_Lambda_app_lin_quad.\",ext)" << std::endl;
3835 couturad 993 ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3836     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3837     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3838     ofstrm << "plot \"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl;
3839     ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH lin\" ,\\" << std::endl;
3840     ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl;
3841     ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH quad\"" << std::endl;
3842 couturad 971 }
3843 couturad 982
3844 couturad 993 ofstrm << "" << std::endl;
3845     ofstrm << "#Cumul erosion lambda app" << std::endl;
3846     if(fem_maill_lin)
3847 couturad 982 {
3848 francois 1079 ofstrm << "set terminal term" << std::endl;
3849     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_Lambda_app_lin.\",ext)" << std::endl;
3850 couturad 993 ofstrm << "unset bmargin" << std::endl;
3851     ofstrm << "set lmargin 10" << std::endl;
3852     ofstrm << "set rmargin 18" << std::endl;
3853     ofstrm << "set multiplot layout 2, 1" << std::endl;
3854     ofstrm << "#set xrange [0:0.41]" << std::endl;
3855     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
3856     ofstrm << "unset xlabel" << std::endl;
3857     ofstrm << "unset xtic" << std::endl;
3858     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\" offset 1" << std::endl;
3859     ofstrm << "set ytics nomirror" << std::endl;
3860     ofstrm << "#set yrange [0.165:0.19]" << std::endl;
3861     ofstrm << "set size 1,0.7" << std::endl;
3862     ofstrm << "set origin 0,0.3" << std::endl;
3863     ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH\" ,\\" << std::endl;
3864     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
3865     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH\" ,\\" << std::endl;
3866     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl;
3867     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3868     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3869     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3870     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3871     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0" << std::endl;
3872     ofstrm << "set ylabel \"Fraction volumique (%)\" offset -2" << std::endl;
3873     ofstrm << "unset yrange" << std::endl;
3874     ofstrm << "set size 1,0.3" << std::endl;
3875     ofstrm << "set origin 0,0" << std::endl;
3876     ofstrm << "set xtics" << std::endl;
3877     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
3878     ofstrm << "#set yrange [9:14]" << std::endl;
3879     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
3880     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl;
3881     ofstrm << "unset yrange" << std::endl;
3882     ofstrm << "unset lmargin" << std::endl;
3883     ofstrm << "unset rmargin" << std::endl;
3884     ofstrm << "unset multiplot" << std::endl;
3885 couturad 982 }
3886 couturad 993 if(fem_maill_quad)
3887 couturad 982 {
3888 francois 1079 ofstrm << "set terminal term" << std::endl;
3889     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_Lambda_app_quad.\",ext)" << std::endl;
3890 couturad 993 ofstrm << "unset bmargin" << std::endl;
3891     ofstrm << "set lmargin 10" << std::endl;
3892     ofstrm << "set rmargin 18" << std::endl;
3893     ofstrm << "set multiplot layout 2, 1" << std::endl;
3894     ofstrm << "#set xrange [0:0.41]" << std::endl;
3895     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
3896     ofstrm << "unset xlabel" << std::endl;
3897     ofstrm << "unset xtic" << std::endl;
3898     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\" offset 1" << std::endl;
3899     ofstrm << "set ytics nomirror" << std::endl;
3900     ofstrm << "#set yrange [0.165:0.19]" << std::endl;
3901     ofstrm << "set size 1,0.7" << std::endl;
3902     ofstrm << "set origin 0,0.3" << std::endl;
3903     ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH\" ,\\" << std::endl;
3904     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
3905     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH\" ,\\" << std::endl;
3906     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl;
3907     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3908     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3909     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3910     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3911     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0" << std::endl;
3912     ofstrm << "set ylabel \"Fraction volumique (%)\" offset -2" << std::endl;
3913     ofstrm << "unset yrange" << std::endl;
3914     ofstrm << "set size 1,0.3" << std::endl;
3915     ofstrm << "set origin 0,0" << std::endl;
3916     ofstrm << "set xtics" << std::endl;
3917     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
3918     ofstrm << "#set yrange [9:14]" << std::endl;
3919     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl;
3920     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
3921     ofstrm << "unset yrange" << std::endl;
3922     ofstrm << "unset lmargin" << std::endl;
3923     ofstrm << "unset rmargin" << std::endl;
3924     ofstrm << "unset multiplot" << std::endl;
3925 couturad 982 }
3926     if(fem_maill_lin && fem_maill_quad)
3927     {
3928 francois 1079 ofstrm << "set terminal term" << std::endl;
3929     ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/multi_cumul_erosion_Lambda_app_lin_quad.\",ext)" << std::endl;
3930 couturad 993 ofstrm << "unset bmargin" << std::endl;
3931     ofstrm << "set lmargin 10" << std::endl;
3932     ofstrm << "set rmargin 18" << std::endl;
3933     ofstrm << "set multiplot layout 2, 1" << std::endl;
3934     ofstrm << "#set xrange [0:0.41]" << std::endl;
3935     ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl;
3936     ofstrm << "unset xlabel" << std::endl;
3937     ofstrm << "unset xtic" << std::endl;
3938     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\" offset 1" << std::endl;
3939     ofstrm << "set ytics nomirror" << std::endl;
3940     ofstrm << "#set yrange [0.165:0.19]" << std::endl;
3941     ofstrm << "set size 1,0.7" << std::endl;
3942     ofstrm << "set origin 0,0.3" << std::endl;
3943     ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH lin\" ,\\" << std::endl;
3944     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
3945     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH lin\" ,\\" << std::endl;
3946     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl;
3947     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH quad\" ,\\" << std::endl;
3948     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl;
3949     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH quad\" ,\\" << std::endl;
3950     ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle" << std::endl;
3951     ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0" << std::endl;
3952     ofstrm << "set ylabel \"Fraction volumique (%)\" offset -2" << std::endl;
3953     ofstrm << "unset yrange" << std::endl;
3954     ofstrm << "set size 1,0.3" << std::endl;
3955     ofstrm << "set origin 0,0" << std::endl;
3956     ofstrm << "set xtics" << std::endl;
3957     ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl;
3958     ofstrm << "#set yrange [9:14]" << std::endl;
3959     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl;
3960     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle ,\\" << std::endl;
3961     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl;
3962     ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl;
3963     ofstrm << "unset yrange" << std::endl;
3964     ofstrm << "unset lmargin" << std::endl;
3965     ofstrm << "unset rmargin" << std::endl;
3966     ofstrm << "unset multiplot" << std::endl;
3967 couturad 982 }
3968 couturad 951 }
3969 couturad 993 ofstrm << "" << std::endl;
3970     ofstrm << "#Nombre de particules" << std::endl;
3971     ofstrm << "unset key" << std::endl;
3972 francois 1080 ofstrm << "set terminal term" << std::endl;
3973 couturad 993 ofstrm << "unset xrange" << std::endl;
3974     ofstrm << "unset yrange" << std::endl;
3975     ofstrm << "set lmargin 10" << std::endl;
3976     ofstrm << "set rmargin 2" << std::endl;
3977 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cao_nb_particule.\",ext)" << std::endl;
3978 couturad 993 ofstrm << "#set title \"Nombre (Particule)\"" << std::endl;
3979     ofstrm << "set xlabel \"Nombre\"" << std::endl;
3980     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3981     ofstrm << "plot 'resultats/cao/histo_Cao_Particule_nb_forme.txt' using 1:4 with impulses notitle lc rgb 'blue' lw 50" << std::endl;
3982    
3983     ofstrm << "" << std::endl;
3984     ofstrm << "#Volume ALL" << std::endl;
3985 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cao_volume.\",ext)" << std::endl;
3986 couturad 993 ofstrm << "#set title \"Volume\"" << std::endl;
3987     ofstrm << "set xlabel \"Volume\"" << std::endl;
3988     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3989     ofstrm << "plot 'resultats/cao/histo_Cao_ALL_volume_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
3990    
3991     ofstrm << "" << std::endl;
3992     ofstrm << "#Volume des particules" << std::endl;
3993 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cao_volume_particule.\",ext)" << std::endl;
3994 couturad 993 ofstrm << "#set title \"Volume (Particule)\"" << std::endl;
3995     ofstrm << "set xlabel \"Volume\"" << std::endl;
3996     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
3997     ofstrm << "plot 'resultats/cao/histo_Cao_Particule_volume_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
3998    
3999     ofstrm << "" << std::endl;
4000     ofstrm << "#Volume de la matrice" << std::endl;
4001 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/cao_volume_matrice.\",ext)" << std::endl;
4002 couturad 993 ofstrm << "#set title \"Volume (Matrice)\"" << std::endl;
4003     ofstrm << "set xlabel \"Volume\"" << std::endl;
4004     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4005     ofstrm << "plot 'resultats/cao/histo_Cao_Matrice_volume_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4006    
4007     ofstrm << "" << std::endl;
4008     ofstrm << "#Nb element 3D" << std::endl;
4009 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_nb_element_3D.\",ext)" << std::endl;
4010 couturad 993 ofstrm << "#set title \"Distribution nombre elements\"" << std::endl;
4011     ofstrm << "set xlabel \"Nombre element\"" << std::endl;
4012     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4013     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_ALL_nb_ele_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4014    
4015     ofstrm << "" << std::endl;
4016     ofstrm << "#Nb element 3D particule" << std::endl;
4017 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_nb_element_3D_particule.\",ext)" << std::endl;
4018 couturad 993 ofstrm << "#set title \"Distribution nombre elements (Particules)\"" << std::endl;
4019     ofstrm << "set xlabel \"Nombre element\"" << std::endl;
4020     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4021     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Particule_nb_ele_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4022    
4023     ofstrm << "" << std::endl;
4024     ofstrm << "#Nb element 3D matrice" << std::endl;
4025 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_nb_element_3D_matrice.\",ext)" << std::endl;
4026 couturad 993 ofstrm << "#set title \"Distribution nombre elements (Matrice)\"" << std::endl;
4027     ofstrm << "set xlabel \"Nombre element\"" << std::endl;
4028     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4029     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Matrice_nb_ele_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4030    
4031     ofstrm << "" << std::endl;
4032     ofstrm << "#Taille element ALL" << std::endl;
4033 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_taille_element.\",ext)" << std::endl;
4034 couturad 993 ofstrm << "#set title \"Distribution taille elements\"" << std::endl;
4035     ofstrm << "set xlabel \"Taille element\"" << std::endl;
4036     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4037     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_ALL_taille_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4038    
4039     ofstrm << "" << std::endl;
4040     ofstrm << "#Taille element particule" << std::endl;
4041 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_taille_element_particule.\",ext)" << std::endl;
4042 couturad 993 ofstrm << "#set title \"Distribution taille elements\"" << std::endl;
4043     ofstrm << "set xlabel \"Taille element\"" << std::endl;
4044     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4045     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Particule_taille_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4046    
4047     ofstrm << "" << std::endl;
4048     ofstrm << "#Taille element matrice" << std::endl;
4049 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_taille_element_matrice.\",ext)" << std::endl;
4050 couturad 993 ofstrm << "#set title \"Distribution taille elements\"" << std::endl;
4051     ofstrm << "set xlabel \"Taille element\"" << std::endl;
4052     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4053     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Matrice_taille_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4054    
4055     ofstrm << "" << std::endl;
4056     ofstrm << "#Qualite element ALL" << std::endl;
4057 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_qualite_element.\",ext)" << std::endl;
4058 couturad 993 ofstrm << "unset xrange" << std::endl;
4059     ofstrm << "#set title \"Distribution qualite elements\"" << std::endl;
4060     ofstrm << "set xlabel \"Qualite element\"" << std::endl;
4061     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4062     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_ALL_qualite_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4063    
4064     ofstrm << "" << std::endl;
4065     ofstrm << "#Qualite element Particule" << std::endl;
4066 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_qualite_element_particule.\",ext)" << std::endl;
4067 couturad 993 ofstrm << "unset xrange" << std::endl;
4068     ofstrm << "#set title \"Distribution qualite elements\"" << std::endl;
4069     ofstrm << "set xlabel \"Qualite element\"" << std::endl;
4070     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4071     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Particule_qualite_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4072    
4073     ofstrm << "" << std::endl;
4074     ofstrm << "#Qualite element Matrice" << std::endl;
4075 francois 1079 ofstrm << "set output sprintf(\"%s%s\",\"resultats/graph/maillage_mg_qualite_element_matrice.\",ext)" << std::endl;
4076 couturad 993 ofstrm << "unset xrange" << std::endl;
4077     ofstrm << "#set title \"Distribution qualite elements\"" << std::endl;
4078     ofstrm << "set xlabel \"Qualite element\"" << std::endl;
4079     ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl;
4080     ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Matrice_qualite_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
4081    
4082    
4083    
4084 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)"fig_Eapp.gnu");
4085 francois 1075 return 0;
4086    
4087 couturad 951 }
4088 couturad 929
4089    
4090 couturad 951
4091 couturad 919 int PARAMETRES::importer_fichier_parametres(char* fichier, OT_PARAMETRES* params)
4092     {
4093 couturad 964 return params->lire(fichier);
4094 couturad 919 }
4095    
4096     int PARAMETRES::importer_fichier_liste_parametres(char* fichier, std::vector< OT_PARAMETRES* >& vector_params)
4097     {
4098     std::string str_fichier = fichier;
4099     std::size_t found = str_fichier.rfind((char*)"/");
4100     std::string chemin;
4101     if(found!=-1)
4102     {
4103     chemin = str_fichier.substr(0,found+1);
4104     }
4105     else chemin = "";
4106     FILE* in=fopen(fichier,"rt");
4107     char ligne[4000];
4108 couturad 968 fgets(ligne,4000,in);
4109 couturad 919 while(!feof(in))
4110     {
4111     char *aide = strstr(ligne,"//");
4112     if(aide==NULL)
4113     {
4114 couturad 968 char sous_fichier[500];
4115     sscanf(ligne,"%s",sous_fichier);
4116     if(strlen(sous_fichier)==0) continue;
4117     OT_PARAMETRES *param = new OT_PARAMETRES;
4118     std::string str_sous_fichier = chemin;
4119     str_sous_fichier.append(sous_fichier);
4120     if(param->lire((char*)str_sous_fichier.c_str())==FAIL) return FAIL;
4121     vector_params.push_back(param);
4122 couturad 919 }
4123 couturad 968 fgets(ligne,4000,in);
4124 couturad 919 }
4125 couturad 964 return OK;
4126 couturad 919 }