ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/microstructure/src/mstruct_parametres.cpp
Revision: 982
Committed: Tue Oct 23 07:12:40 2018 UTC (6 years, 6 months ago) by couturad
File size: 409579 byte(s)
Log Message:
Microstructure :
-> Correction du calcul de la conductivité thermique
-> Déplacement de la procédure d'application des conditions aux limites vers mstruct_outils
-> Correction bugs
occ_fonction_v2017 : 
-> Ajout d'une condition d'enregistrement du fichier .ocaf

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 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::SPHERE)
28 couturad 919 {
29     params->ajouter("Type_inclusion","0",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]");
30 couturad 951 params->ajouter("Mu_rayon","0.09",OT_PARAMETRES::DOUBLE,"Moyenne du rayon de la sphere");
31 couturad 919 params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon de la sphere");
32 couturad 951 params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
33 couturad 919 }
34 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
35 couturad 919 {
36     params->ajouter("Type_inclusion","1",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]");
37 couturad 926 params->ajouter("Mu_rayon","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon du cylindre");
38 couturad 919 params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon du cylindre");
39 couturad 951 params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
40 couturad 926 params->ajouter("Mu_longueur","0.4",OT_PARAMETRES::DOUBLE,"Moyenne de la longueur du cylindre");
41 couturad 919 params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la longueur du cylindre");
42 couturad 951 params->ajouter("Type_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la longueur : Fixe[0], Uniforme[1], Normale[2]");
43 couturad 929 params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta");
44 couturad 951 params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta");
45     params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]");
46 couturad 929 params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi");
47 couturad 951 params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi");
48     params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]");
49 couturad 919 }
50     params->ajouter("Porosite","0",OT_PARAMETRES::DOUBLE,"Considerer l'inclusion comme etant une porosite (vide) [1]");
51 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)");
52 couturad 926 params->ajouter("Distance_min_inter_volume","0.04",OT_PARAMETRES::DOUBLE,"Distance minimale qui separe deux inclusions");
53     params->ajouter("Volume_min","0.0008",OT_PARAMETRES::DOUBLE,"Volume minimal admissible de l'inclusion");
54     params->ajouter("Aire_min","0.001963",OT_PARAMETRES::DOUBLE,"Aire minimal admissible d'une face de l'inclusion");
55 couturad 919 params->ajouter("Longueur_min","0.02",OT_PARAMETRES::DOUBLE,"Longueur minimal admissible d'une arete ");
56     params->ajouter("Angle_min","0.7854",OT_PARAMETRES::DOUBLE,"Angle minimal admissible entre deux faces");
57     params->ajouter("Nb_iteration_max","2000",OT_PARAMETRES::DOUBLE,"Nombre maximal d'iteration");
58     }
59    
60 couturad 951 void PARAMETRES::ini_param_generateur_dcr(OT_PARAMETRES* params, int type_inclusion)
61     {
62     params->ajouter("Type_generateur","1",OT_PARAMETRES::DOUBLE,"Type de generateur : RSA [0], DCR [1]");
63     params->ajouter("Nom_mgcg_modele","VES",OT_PARAMETRES::STRING,"Nom du MG_CG_MODELE");
64     params->ajouter("Nom_groupe_inclusion","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion (Ex: Particule)");
65     params->ajouter("Boite3D_distribution_Xmin","-0.25",OT_PARAMETRES::DOUBLE,"Xmin boite3D de distribution d'inclusion");
66     params->ajouter("Boite3D_distribution_Ymin","-0.25",OT_PARAMETRES::DOUBLE,"Ymin boite3D de distribution d'inclusion");
67     params->ajouter("Boite3D_distribution_Zmin","-0.25",OT_PARAMETRES::DOUBLE,"Zmin boite3D de distribution d'inclusion");
68     params->ajouter("Boite3D_distribution_Xmax","1.25",OT_PARAMETRES::DOUBLE,"Xmax boite3D de distribution d'inclusion");
69     params->ajouter("Boite3D_distribution_Ymax","1.25",OT_PARAMETRES::DOUBLE,"Ymax boite3D de distribution d'inclusion");
70     params->ajouter("Boite3D_distribution_Zmax","1.25",OT_PARAMETRES::DOUBLE,"Zmax boite3D de distribution d'inclusion");
71     params->ajouter("Nb_pas_X","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon X pout la creation d'un octree");
72     params->ajouter("Nb_pas_Y","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Y pout la creation d'un octree");
73     params->ajouter("Nb_pas_Z","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Z pout la creation d'un octree");
74     params->ajouter("Fraction_volumique_cible","0.1",OT_PARAMETRES::DOUBLE,"Fraction volumique cible d'inclusion [0.0, 1.0]");
75     params->ajouter("Eps_fraction_volumique","0.001",OT_PARAMETRES::DOUBLE,"Epsilon fraction volumique");
76     params->ajouter("Avec_intersections","1",OT_PARAMETRES::DOUBLE,"Avec ou sans intersections avec le bord du VES : Sans [0] Avec [1]");
77 couturad 960 params->ajouter("Avec_interface_graphique","0",OT_PARAMETRES::DOUBLE,"Avec l'interface graphique : Sans [0] Avec [1]");
78     params->ajouter("Facteur_reduction_vitesse","0.75",OT_PARAMETRES::DOUBLE,"Facteur de reduction de la vitesse des particules");
79     params->ajouter("Eps_vitesse","0.0001",OT_PARAMETRES::DOUBLE,"Eps vitesse");
80     params->ajouter("Friction","0.0",OT_PARAMETRES::DOUBLE,"Friction entre les particules");
81     params->ajouter("Pas_temps_sim","0.01",OT_PARAMETRES::DOUBLE,"Pas de temps pour la simulation");
82 couturad 964 params->ajouter("Temps_max_sim","60.0",OT_PARAMETRES::DOUBLE,"Temps maximal de la simulation");
83 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]");
84     params->ajouter("Nb_iteration_max","2000",OT_PARAMETRES::DOUBLE,"Nombre maximal d'iteration");
85 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::SPHERE)
86 couturad 951 {
87     params->ajouter("Type_inclusion","0",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]");
88     params->ajouter("Mu_rayon","0.09",OT_PARAMETRES::DOUBLE,"Moyenne du rayon de la sphere");
89     params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon de la sphere");
90     params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
91     }
92 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
93 couturad 951 {
94     params->ajouter("Type_inclusion","1",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]");
95     params->ajouter("Mu_rayon","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon du cylindre");
96     params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon du cylindre");
97     params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]");
98     params->ajouter("Mu_longueur","0.4",OT_PARAMETRES::DOUBLE,"Moyenne de la longueur du cylindre");
99     params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la longueur du cylindre");
100     params->ajouter("Type_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la longueur : Fixe[0], Uniforme[1], Normale[2]");
101     params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta");
102     params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta");
103     params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]");
104     params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi");
105     params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi");
106     params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]");
107     }
108     params->ajouter("Porosite","0",OT_PARAMETRES::DOUBLE,"Considerer l'inclusion comme etant une porosite (vide) [1]");
109     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)");
110     params->ajouter("Distance_min_inter_volume","0.04",OT_PARAMETRES::DOUBLE,"Distance minimale qui separe deux inclusions");
111     params->ajouter("Volume_min","0.0008",OT_PARAMETRES::DOUBLE,"Volume minimal admissible de l'inclusion");
112     params->ajouter("Aire_min","0.001963",OT_PARAMETRES::DOUBLE,"Aire minimal admissible d'une face de l'inclusion");
113     params->ajouter("Longueur_min","0.02",OT_PARAMETRES::DOUBLE,"Longueur minimal admissible d'une arete ");
114     params->ajouter("Angle_min","0.7854",OT_PARAMETRES::DOUBLE,"Angle minimal admissible entre deux faces");
115     }
116    
117    
118 couturad 971 void PARAMETRES::ini_param_materiau(OT_PARAMETRES* params,char* nom_groupe_forme,bool etude_mecanique,bool etude_thermique)
119 couturad 919 {
120 couturad 951 params->ajouter("Nom_groupe_forme",nom_groupe_forme,OT_PARAMETRES::STRING,"Nom du groupe de forme (Ex: Particule, Matrice)");
121 couturad 971 if(etude_mecanique) params->ajouter("Etude_mecanique","1",OT_PARAMETRES::DOUBLE,"Etude mecanique");
122     else params->ajouter("Etude_mecanique","0",OT_PARAMETRES::DOUBLE,"Etude mecanique");
123 couturad 919 params->ajouter("Mu_E","69.0e9",OT_PARAMETRES::DOUBLE,"Moyenne du module d'elasticite");
124     params->ajouter("Sigma_E","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du module d'elasticite");
125 couturad 971 params->ajouter("Type_distribution_E","0",OT_PARAMETRES::DOUBLE,"Type de distribution du module d'elasticite : Fixe[0], Uniforme[1], Normale[2]");
126 couturad 919 params->ajouter("Mu_nu","0.3",OT_PARAMETRES::DOUBLE,"Moyenne du coefficient de Poisson");
127 couturad 971 params->ajouter("Sigma_nu","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du coefficient de Poisson");
128     params->ajouter("Type_distribution_nu","0",OT_PARAMETRES::DOUBLE,"Type de distribution du coefficient de Poisson : Fixe[0], Uniforme[1], Normale[2]");
129     if(etude_thermique) params->ajouter("Etude_thermique","1",OT_PARAMETRES::DOUBLE,"Etude thermique");
130     else params->ajouter("Etude_thermique","0",OT_PARAMETRES::DOUBLE,"Etude thermique");
131     params->ajouter("Mu_Lambda","0.14",OT_PARAMETRES::DOUBLE,"Moyenne de la conductivite thermique");
132     params->ajouter("Sigma_Lambda","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la conductivite thermique");
133     params->ajouter("Type_distribution_Lambda","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la conductivite thermique : Fixe[0], Uniforme[1], Normale[2]");
134     params->ajouter("Mu_Ro","1.0",OT_PARAMETRES::DOUBLE,"Moyenne de la masse volumique");
135     params->ajouter("Sigma_Ro","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la masse volumique");
136     params->ajouter("Type_distribution_Ro","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la masse volumique : Fixe[0], Uniforme[1], Normale[2]");
137     params->ajouter("Mu_Cp","1.0",OT_PARAMETRES::DOUBLE,"Moyenne de capacite thermique massique");
138     params->ajouter("Sigma_Cp","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la capacite thermique massique");
139     params->ajouter("Type_distribution_Cp","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la capacite thermique massique : Fixe[0], Uniforme[1], Normale[2]");
140 couturad 919 }
141    
142     void PARAMETRES::ini_param_carte_taille(OT_PARAMETRES* params)
143     {
144 couturad 951 params->ajouter("Ecart_nodal","0.08",OT_PARAMETRES::DOUBLE,"Ecart nodal");
145 couturad 937 params->ajouter("Ecart_nodal_face_particule","0.04",OT_PARAMETRES::DOUBLE,"Ecart nodal des faces des particules");
146 couturad 974 params->ajouter("Nb_couche_min","2",OT_PARAMETRES::DOUBLE,"Nombre de couches entre chaque solide");
147 couturad 919 params->ajouter("Fechantillonnage","20",OT_PARAMETRES::DOUBLE,"Nombre d'échantillon par entité");
148 couturad 926 params->ajouter("Nb_cellule_direction","50",OT_PARAMETRES::DOUBLE,"Nombre de cellules de la FEM_SOLUTION dans les directions x,y,z");
149 couturad 974 params->ajouter("Nom_carte","carte",OT_PARAMETRES::STRING,"Nom de la carte de taille");
150     params->ajouter("Nom_fem_solution","solcarte",OT_PARAMETRES::STRING,"Nom de la FEM_SOLUTION");
151 couturad 919 params->ajouter("Nb_pas","32",OT_PARAMETRES::DOUBLE,"Nombre de pas de balayage");
152     params->ajouter("Facteur_augmentation","25",OT_PARAMETRES::DOUBLE,"Facteur d'augmentation de l'ecart nodal d'une cellule a l'autre");
153     }
154    
155     void PARAMETRES::ini_param_mailleur(OT_PARAMETRES* params)
156     {
157     params->ajouter("Niveau","3",OT_PARAMETRES::DOUBLE,"Niveau du maillage : 1D [1], 2D [2], 3D [3]");
158     params->ajouter("Niveau_opt_2d","5",OT_PARAMETRES::DOUBLE,"Limite supérieure des mailles à optimiser");
159 couturad 966 params->ajouter("Niveau_opt_3d","2",OT_PARAMETRES::DOUBLE,"Limite supérieure des mailles à optimiser");
160 couturad 919 params->ajouter("Priorite_metrique","0.65",OT_PARAMETRES::DOUBLE,"Valeur de la prise en compte de la métrique versus la qualité");
161     }
162    
163     void PARAMETRES::ini_param_mailleur_fem(OT_PARAMETRES* params)
164     {
165     params->ajouter("Degre","2",OT_PARAMETRES::DOUBLE,"Degre du maillage a creer");
166     params->ajouter("Analyse","0",OT_PARAMETRES::DOUBLE,"Analyse de la qualité du maillage après le maillage : Analyse [1]");
167     params->ajouter("Optimisation_num_noeud","0",OT_PARAMETRES::DOUBLE,"Optimisation de la numerotation des noeuds : Optimisation [1]");
168     }
169    
170     void PARAMETRES::ini_param_etude(OT_PARAMETRES* params, int type_etude)
171     {
172     params->ajouter("Fichier_param_aster","param_aster.txt",OT_PARAMETRES::STRING,"Nom du fichier de parametres aster");
173     params->ajouter("Type_etude",type_etude,OT_PARAMETRES::DOUBLE,"Type d'etude : Mecanique [0], Thermique [1]");
174     params->ajouter("Code_resu","11111111",OT_PARAMETRES::STRING,"Code de resolution");
175 couturad 968 if(type_etude==MSTRUCT::TYPE_ETUDE::MECANIQUE)
176 couturad 919 {
177     params->ajouter("Type_Chargement","0",OT_PARAMETRES::DOUBLE,"Type de chargement : Spherique [0], Deviatorique [1]");
178     params->ajouter("Type_CL","0",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : CLDH [0], CLCH[1]");
179     params->ajouter("Valeur_CL","0.0001",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites");
180     }
181 couturad 971 else if(type_etude==MSTRUCT::TYPE_ETUDE::THERMIQUE)
182     {
183     params->ajouter("Type_CL","2",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : Gradient de temperature[2], Flux de chaleur[3]");
184     params->ajouter("Direction","0",OT_PARAMETRES::DOUBLE,"Direction du gradient ou flux : X[0], Y[1], Z[2]");
185     params->ajouter("Valeur_CL","1.0",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites");
186     }
187 couturad 919 }
188    
189 couturad 971 void PARAMETRES::ini_param_post_traitement(OT_PARAMETRES* params, int type_post_traitement, int nb_couche_erosion, double epaisseur_couche_erosion)
190 couturad 919 {
191 couturad 968 bool erosion;
192 couturad 971 if(nb_couche_erosion>0) erosion=true;
193 couturad 968 else erosion=false;
194     if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP)
195 couturad 926 {
196     params->ajouter("Identifiant","Champ_SIGMA",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
197 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
198 couturad 926 params->ajouter("Num_solution",2,OT_PARAMETRES::DOUBLE,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
199     params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet");
200 couturad 968 params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
201     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]");
202     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
203     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
204     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
205     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
206     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
207     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
208 couturad 926 }
209 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION)
210 couturad 926 {
211 couturad 951 params->ajouter("Identifiant","Orientation_Particule",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
212 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
213 couturad 951 params->ajouter("Nom_groupe_forme","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion.");
214     params->ajouter("Avec_fem_maillage","1",OT_PARAMETRES::DOUBLE,"Analyser le volume des particules avec le FEM_MAILLAGE");
215 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]");
216     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
217     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
218     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
219     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
220     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
221     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
222 couturad 938 }
223 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO)
224 couturad 926 {
225     params->ajouter("Identifiant","Cao",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
226 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
227 couturad 926 params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [NULL] prend le ves au complet");
228     params->ajouter("Largeur_colonne_distribution_nb_volume","1.0",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
229     params->ajouter("Largeur_colonne_distribution_nb_forme","1.0",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
230 couturad 966 params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
231     params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
232 couturad 926 params->ajouter("Largeur_colonne_distribution_volume_forme","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
233     }
234 couturad 971 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE)
235     {
236     params->ajouter("Identifiant","Prop_mass",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
237     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
238     params->ajouter("Nom_groupe_forme","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [NULL] prend le ves au complet");
239     }
240 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG)
241 couturad 926 {
242     params->ajouter("Identifiant","Maillage_MG",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
243 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
244 couturad 926 params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet");
245     params->ajouter("Largeur_colonne_distribution_nb_element_2D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
246     params->ajouter("Largeur_colonne_distribution_nb_element_3D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
247     params->ajouter("Largeur_colonne_distribution_qualite_2D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
248     params->ajouter("Largeur_colonne_distribution_qualite_3D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
249     params->ajouter("Largeur_colonne_distribution_taille_2D","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
250     params->ajouter("Largeur_colonne_distribution_taille_3D","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
251 couturad 968 params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
252     params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
253     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]");
254     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
255     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
256     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
257     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
258     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
259     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
260 couturad 926 }
261 couturad 968 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM)
262 couturad 926 {
263     params->ajouter("Identifiant","Maillage_FEM",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
264 couturad 968 params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
265 couturad 926 params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet");
266     params->ajouter("Largeur_colonne_distribution_nb_element_2D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
267     params->ajouter("Largeur_colonne_distribution_nb_element_3D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
268     params->ajouter("Largeur_colonne_distribution_jacobien_2D_min","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
269     params->ajouter("Largeur_colonne_distribution_jacobien_2D_max","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
270     params->ajouter("Largeur_colonne_distribution_jacobien_3D_min","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
271     params->ajouter("Largeur_colonne_distribution_jacobien_3D_max","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
272     params->ajouter("Largeur_colonne_distribution_distortion_2D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
273     params->ajouter("Largeur_colonne_distribution_distortion_3D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
274 couturad 968 params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
275     params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
276     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]");
277     params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse");
278     params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse");
279     params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse");
280     params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse");
281     params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse");
282     params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse");
283     }
284     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS)
285     {
286     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
287     params->ajouter("Largeur_colonne_temps_geometrie","1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
288     params->ajouter("Largeur_colonne_temps_materiau","1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
289     params->ajouter("Largeur_colonne_temps_carte","1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
290     params->ajouter("Largeur_colonne_temps_mg_maillage","1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
291     params->ajouter("Largeur_colonne_temps_fem_maillage","1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
292     params->ajouter("Largeur_colonne_temps_etude","1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
293     params->ajouter("Largeur_colonne_temps_calcul","1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
294     }
295     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE)
296     {
297     params->ajouter("Identifiant","Modules_elasticite",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
298     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
299     params->ajouter("Identifiant_epsilon","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ epsilon");
300     params->ajouter("Identifiant_sigma","Champ_SIGMA",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ sigma");
301     params->ajouter("Largeur_colonne_distribution_module_Kapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
302     params->ajouter("Largeur_colonne_distribution_module_Gapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
303     params->ajouter("Largeur_colonne_distribution_module_Eapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
304     params->ajouter("Largeur_colonne_distribution_module_Nuapp","0.00001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
305     }
306     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE)
307     {
308     params->ajouter("Identifiant","Champ_EPSILON_normalise",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
309     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
310     params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ epsilon");
311 couturad 982 params->ajouter("Identifiant_champ_reference","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant du champ de reference pour la normalisation");
312 couturad 968 params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
313     }
314     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART)
315     {
316     params->ajouter("Identifiant","Champ_EPSILON_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
317     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
318     params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ");
319     params->ajouter("Identifiant_champ_compare","Champ_EPSILON_compare",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ a comparer");
320     params->ajouter("Num_couche","0",OT_PARAMETRES::DOUBLE,"Numero de la couche a comparer");
321     params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]");
322     params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
323     }
324     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT)
325     {
326     params->ajouter("Identifiant","Champ_EPSILON_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
327     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
328     params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ");
329     params->ajouter("Type_chargement","0",OT_PARAMETRES::STRING,"Spherique [0], deviatorique [1]");
330     params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]");
331     params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
332     }
333     else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART)
334     {
335     params->ajouter("Identifiant","Orientation_Particule_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
336     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
337     params->ajouter("Identifiant_orientation","Orientation_Particule",OT_PARAMETRES::STRING,"Identifiant de l'analyse de l'orientation");
338     params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]");
339     params->ajouter("a_11","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
340     params->ajouter("a_22","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
341     params->ajouter("a_33","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
342     params->ajouter("a_12","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
343     params->ajouter("a_23","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
344     params->ajouter("a_13","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation");
345     }
346 couturad 971 else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE)
347     {
348     params->ajouter("Identifiant","Conductivite_thermique",OT_PARAMETRES::STRING,"Identifiant de l'analyse");
349     params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,OT_PARAMETRES::DOUBLE,"Type de post_traitement");
350 couturad 982 params->ajouter("Num_solution_temp","0",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
351     params->ajouter("Num_solution_flux","1",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)");
352     params->ajouter("Direction","0",OT_PARAMETRES::STRING,"Direction X[0], Y[1], Z[2]");
353 couturad 971 params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution");
354     }
355 couturad 930 if(erosion)
356     {
357     params->ajouter("Analyse_erosion","1",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]");
358 couturad 971 params->ajouter("Nb_couche",nb_couche_erosion+1,OT_PARAMETRES::DOUBLE,"Nombre de couche d'erosion");
359     params->ajouter("Epaisseur_couche",epaisseur_couche_erosion,OT_PARAMETRES::DOUBLE,"Epaisseur d'une couche d'erosion");
360 couturad 926 }
361 couturad 930 if(!erosion)
362     {
363     params->ajouter("Analyse_erosion","0",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]");
364     }
365 couturad 926 }
366    
367    
368 couturad 971 int PARAMETRES::generer_fichier_parametres(bool etude_mecanique,
369     bool etude_thermique,
370 couturad 968 int type_generateur,
371     int type_inclusion,
372     bool fem_maill_lin,
373     bool fem_maill_quad,
374 couturad 971 int nb_couche_erosion,
375     double epaisseur_couche_erosion,
376 couturad 968 fonction_affiche *fonc_affiche)
377 couturad 919 {
378 couturad 968 bool erosion;
379 couturad 971 if(nb_couche_erosion>0) erosion=true;
380 couturad 968 else erosion=false;
381 couturad 919 int mkdir_err=0;
382 couturad 933 std::string sys_command = "mkdir parametre";
383 couturad 919 mkdir_err = system(sys_command.c_str());
384     if(mkdir_err !=0)
385     {
386     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres! ***" << std::endl;
387     return FAIL;
388     }
389 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/geometrie");
390 couturad 919 mkdir_err = system(sys_command.c_str());
391     if(mkdir_err !=0)
392     {
393     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres/geometrie ! ***" << std::endl;
394     return FAIL;
395     }
396 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/materiau");
397 couturad 919 mkdir_err = system(sys_command.c_str());
398     if(mkdir_err !=0)
399     {
400     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/materiau ! ***" << std::endl;
401     return FAIL;
402     }
403 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/carte");
404 couturad 919 mkdir_err = system(sys_command.c_str());
405     if(mkdir_err !=0)
406     {
407     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres/carte ! ***" << std::endl;
408     return FAIL;
409     }
410 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/maillage");
411 couturad 919 mkdir_err = system(sys_command.c_str());
412     if(mkdir_err !=0)
413     {
414     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/maillage ! ***" << std::endl;
415     return FAIL;
416     }
417 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/fem_maillage");
418 couturad 919 mkdir_err = system(sys_command.c_str());
419     if(mkdir_err !=0)
420     {
421     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/fem_maillage ! ***" << std::endl;
422     return FAIL;
423     }
424 couturad 933 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/etude");
425 couturad 919 mkdir_err = system(sys_command.c_str());
426     if(mkdir_err !=0)
427     {
428     std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/etude ! ***" << std::endl;
429     return FAIL;
430     }
431 couturad 968 sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/post_traitement");
432 couturad 919 mkdir_err = system(sys_command.c_str());
433     if(mkdir_err !=0)
434     {
435 couturad 968 std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/post_traitement ! ***" << std::endl;
436 couturad 919 return FAIL;
437     }
438     std::ofstream f;
439 couturad 951
440 couturad 968 if(type_generateur==MSTRUCT::TYPE_GENERATEUR::RSA)
441 couturad 951 {
442     OT_PARAMETRES params_geo_1;
443     ini_param_generateur_rsa(&params_geo_1,type_inclusion);
444     sys_command.clear(); sys_command.append("parametre/geometrie/param_geo_particule.txt");
445     params_geo_1.enregistrer((char*)sys_command.c_str());
446 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
447 couturad 951 }
448 couturad 968 else if(type_generateur==MSTRUCT::TYPE_GENERATEUR::DCR)
449 couturad 951 {
450     OT_PARAMETRES params_geo_1;
451     ini_param_generateur_dcr(&params_geo_1,type_inclusion);
452     sys_command.clear(); sys_command.append("parametre/geometrie/param_geo_particule.txt");
453     params_geo_1.enregistrer((char*)sys_command.c_str());
454 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
455 couturad 951 }
456 couturad 933 sys_command.clear(); sys_command.append("parametre/geometrie/lstparam_geo.txt");
457 couturad 951 f.open(sys_command.c_str(),std::ios::out);
458 couturad 919 f << "// Fichier de parametres GEOMETRIE" << std::endl;
459 couturad 951 f << "param_geo_particule.txt" << std::endl;
460 couturad 919 f.close();
461 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
462 couturad 951
463     OT_PARAMETRES params_mat_particule;
464 couturad 971 ini_param_materiau(&params_mat_particule,(char*)"Particule",etude_mecanique,etude_thermique);
465     if(etude_mecanique)
466     {
467 couturad 974 params_mat_particule.change_valeur("Mu_E",72.3e09);
468     params_mat_particule.change_valeur("Mu_nu",0.22);
469 couturad 971 }
470     if(etude_thermique)
471     {
472 couturad 974 params_mat_particule.change_valeur("Mu_Lambda",1.2);
473     params_mat_particule.change_valeur("Mu_Ro",2550);
474     params_mat_particule.change_valeur("Mu_Cp",800);
475 couturad 971 }
476 couturad 951 sys_command.clear(); sys_command.append("parametre/materiau/param_mat_particule.txt");
477     params_mat_particule.enregistrer((char*)sys_command.c_str());
478 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
479 couturad 971
480 couturad 919 OT_PARAMETRES params_mat_matrice;
481 couturad 971 ini_param_materiau(&params_mat_matrice,(char*)"Matrice",etude_mecanique,etude_thermique);
482     if(etude_mecanique)
483     {
484 couturad 974 params_mat_matrice.change_valeur("Mu_E",3.5e09);
485     params_mat_matrice.change_valeur("Mu_nu",0.33);
486 couturad 971 }
487     if(etude_thermique)
488     {
489 couturad 974 params_mat_particule.change_valeur("Mu_Lambda",0.2);
490     params_mat_particule.change_valeur("Mu_Ro",1200);
491     params_mat_particule.change_valeur("Mu_Cp",1300);
492 couturad 971 }
493 couturad 933 sys_command.clear(); sys_command.append("parametre/materiau/param_mat_matrice.txt");
494 couturad 919 params_mat_matrice.enregistrer((char*)sys_command.c_str());
495 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
496 couturad 919
497 couturad 951 sys_command.clear(); sys_command.append("parametre/materiau/lstparam_mat.txt");
498     f.open(sys_command.c_str(),std::ios::out);
499     f << "// Fichier de parametres MATERIAU" << std::endl;
500     f << "param_mat_particule.txt" << std::endl;
501     f << "param_mat_matrice.txt" << std::endl;
502     f.close();
503 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
504 couturad 951
505    
506 couturad 919 OT_PARAMETRES params_carte;
507     ini_param_carte_taille(&params_carte);
508 couturad 933 sys_command.clear(); sys_command.append("parametre/carte/param_carte.txt");
509 couturad 919 params_carte.enregistrer((char*)sys_command.c_str());
510 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
511 couturad 919
512     OT_PARAMETRES params_maill;
513     ini_param_mailleur(&params_maill);
514 couturad 933 sys_command.clear(); sys_command.append("parametre/maillage/param_maill.txt");
515 couturad 919 params_maill.enregistrer((char*)sys_command.c_str());
516 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
517 couturad 951
518     if(fem_maill_lin)
519     {
520     OT_PARAMETRES params_fem_maillage_lin;
521     ini_param_mailleur_fem(&params_fem_maillage_lin);
522     params_fem_maillage_lin.change_valeur("Degre",1);
523     sys_command.clear(); sys_command.append("parametre/fem_maillage/param_fem_maill_lin.txt");
524     params_fem_maillage_lin.enregistrer((char*)sys_command.c_str());
525 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
526 couturad 951 }
527 couturad 919
528 couturad 951 if(fem_maill_quad)
529     {
530     OT_PARAMETRES params_fem_maillage_quad;
531     ini_param_mailleur_fem(&params_fem_maillage_quad);
532     params_fem_maillage_quad.change_valeur("Degre",2);
533     sys_command.clear(); sys_command.append("parametre/fem_maillage/param_fem_maill_quad.txt");
534     params_fem_maillage_quad.enregistrer((char*)sys_command.c_str());
535 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
536 couturad 951 }
537 couturad 919
538 couturad 971 if(etude_mecanique)
539     {
540     OT_PARAMETRES params_etude_CLDH_sph;
541     ini_param_etude(&params_etude_CLDH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
542     params_etude_CLDH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
543     params_etude_CLDH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
544     params_etude_CLDH_sph.change_valeur("Valeur_CL",0.0001);
545     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_sph.txt");
546     params_etude_CLDH_sph.enregistrer((char*)sys_command.c_str());
547     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
548    
549     OT_PARAMETRES params_etude_CLCH_sph;
550     ini_param_etude(&params_etude_CLCH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE);
551     params_etude_CLCH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE);
552     params_etude_CLCH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::CONTRAINTE_HOMOGENE);
553 couturad 974 params_etude_CLCH_sph.change_valeur("Valeur_CL",1000000);
554 couturad 971 sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_sph.txt");
555     params_etude_CLCH_sph.enregistrer((char*)sys_command.c_str());
556     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
557    
558     OT_PARAMETRES params_etude_CLDH_dev;
559     ini_param_etude(&params_etude_CLDH_dev,MSTRUCT::TYPE_ETUDE::MECANIQUE);
560     params_etude_CLDH_dev.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::DEVIATORIQUE);
561     params_etude_CLDH_dev.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE);
562     params_etude_CLDH_dev.change_valeur("Valeur_CL",0.0001);
563     sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_dev.txt");
564     params_etude_CLDH_dev.enregistrer((char*)sys_command.c_str());
565     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
566    
567     OT_PARAMETRES params_etude_CLCH_dev;
568     ini_param_etude(&params_etude_CLCH_dev,MSTRUCT::TYPE_ETUDE::MECANIQUE);
569     params_etude_CLCH_dev.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::DEVIATORIQUE);
570     params_etude_CLCH_dev.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::CONTRAINTE_HOMOGENE);
571 couturad 974 params_etude_CLCH_dev.change_valeur("Valeur_CL",1000000);
572 couturad 971 sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_dev.txt");
573     params_etude_CLCH_dev.enregistrer((char*)sys_command.c_str());
574     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
575     }
576     if(etude_thermique)
577     {
578     OT_PARAMETRES params_etude_CLG_x;
579     ini_param_etude(&params_etude_CLG_x,MSTRUCT::TYPE_ETUDE::THERMIQUE);
580     params_etude_CLG_x.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE);
581     params_etude_CLG_x.change_valeur("Valeur_CL",1.0);
582     params_etude_CLG_x.change_valeur("Direction",0);
583     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_x.txt");
584     params_etude_CLG_x.enregistrer((char*)sys_command.c_str());
585     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
586    
587     OT_PARAMETRES params_etude_CLG_y;
588     ini_param_etude(&params_etude_CLG_y,MSTRUCT::TYPE_ETUDE::THERMIQUE);
589     params_etude_CLG_y.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE);
590     params_etude_CLG_y.change_valeur("Valeur_CL",1.0);
591     params_etude_CLG_y.change_valeur("Direction",1);
592     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_y.txt");
593     params_etude_CLG_y.enregistrer((char*)sys_command.c_str());
594     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
595    
596     OT_PARAMETRES params_etude_CLG_z;
597     ini_param_etude(&params_etude_CLG_z,MSTRUCT::TYPE_ETUDE::THERMIQUE);
598     params_etude_CLG_z.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE);
599     params_etude_CLG_z.change_valeur("Valeur_CL",1.0);
600     params_etude_CLG_z.change_valeur("Direction",2);
601     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_z.txt");
602     params_etude_CLG_z.enregistrer((char*)sys_command.c_str());
603     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
604    
605     OT_PARAMETRES params_etude_CLF_x;
606     ini_param_etude(&params_etude_CLF_x,MSTRUCT::TYPE_ETUDE::THERMIQUE);
607     params_etude_CLF_x.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR);
608     params_etude_CLF_x.change_valeur("Valeur_CL",1.0);
609     params_etude_CLF_x.change_valeur("Direction",0);
610     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_x.txt");
611     params_etude_CLF_x.enregistrer((char*)sys_command.c_str());
612     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
613    
614     OT_PARAMETRES params_etude_CLF_y;
615     ini_param_etude(&params_etude_CLF_y,MSTRUCT::TYPE_ETUDE::THERMIQUE);
616     params_etude_CLF_y.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR);
617     params_etude_CLF_y.change_valeur("Valeur_CL",1.0);
618     params_etude_CLF_y.change_valeur("Direction",1);
619     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_y.txt");
620     params_etude_CLF_y.enregistrer((char*)sys_command.c_str());
621     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
622    
623     OT_PARAMETRES params_etude_CLF_z;
624     ini_param_etude(&params_etude_CLF_z,MSTRUCT::TYPE_ETUDE::THERMIQUE);
625     params_etude_CLF_z.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR);
626     params_etude_CLF_z.change_valeur("Valeur_CL",1.0);
627     params_etude_CLF_z.change_valeur("Direction",2);
628     sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_z.txt");
629     params_etude_CLF_z.enregistrer((char*)sys_command.c_str());
630     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
631     }
632 couturad 968
633 couturad 926 MG_EXPORT exp;
634     OT_PARAMETRES *params_aster=exp.get_param_aster();
635 couturad 964 params_aster->change_valeur("Memoire",1024);
636 couturad 926 params_aster->change_valeur("Temps_max",250000);
637     params_aster->change_valeur("Nb_CPU",8);
638     params_aster->change_valeur("Noeud_ele",2);
639 couturad 929 params_aster->change_valeur("Base_num_mail",36);
640 couturad 971 params_aster->change_valeur("Pas",0);
641 couturad 933 sys_command.clear(); sys_command.append("parametre/etude/param_aster.txt");
642 couturad 964 params_aster->enregistrer((char*)sys_command.c_str());
643     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
644 couturad 926
645 couturad 968 OT_PARAMETRES params_post_cao_all;
646     ini_param_post_traitement(&params_post_cao_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO);
647     params_post_cao_all.change_valeur("Identifiant","Cao_ALL");
648     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_all.txt");
649     params_post_cao_all.enregistrer((char*)sys_command.c_str());
650 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
651 couturad 968 OT_PARAMETRES params_post_cao_particule;
652     ini_param_post_traitement(&params_post_cao_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO);
653     params_post_cao_particule.change_valeur("Identifiant","Cao_Particule");
654     params_post_cao_particule.change_valeur("Nom_groupe_forme","Particule");
655     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_particule.txt");
656     params_post_cao_particule.enregistrer((char*)sys_command.c_str());
657 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
658 couturad 968 OT_PARAMETRES params_post_cao_matrice;
659     ini_param_post_traitement(&params_post_cao_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO);
660     params_post_cao_matrice.change_valeur("Identifiant","Cao_Matrice");
661     params_post_cao_matrice.change_valeur("Nom_groupe_forme","Matrice");
662     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_matrice.txt");
663     params_post_cao_matrice.enregistrer((char*)sys_command.c_str());
664 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
665 couturad 971 OT_PARAMETRES params_post_prop_mass_particule;
666     ini_param_post_traitement(&params_post_prop_mass_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE);
667     params_post_prop_mass_particule.change_valeur("Identifiant","Prop_mass_Particule");
668     params_post_prop_mass_particule.change_valeur("Nom_groupe_forme","Particule");
669     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_prop_mass_particule.txt");
670     params_post_prop_mass_particule.enregistrer((char*)sys_command.c_str());
671     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
672 couturad 926
673 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
674 couturad 951 {
675 couturad 968 OT_PARAMETRES params_post_orientation_cao;
676     ini_param_post_traitement(&params_post_orientation_cao,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION);
677     params_post_orientation_cao.change_valeur("Identifiant","Orientation_Particule");
678     params_post_orientation_cao.change_valeur("Avec_fem_maillage","0");
679     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_cao.txt");
680     params_post_orientation_cao.enregistrer((char*)sys_command.c_str());
681 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
682 couturad 968
683     OT_PARAMETRES params_post_orientation_ecart;
684     ini_param_post_traitement(&params_post_orientation_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART);
685     params_post_orientation_ecart.change_valeur("Identifiant","Orientation_Particule_ecart");
686     params_post_orientation_ecart.change_valeur("Identifiant_orientation","Orientation_Particule");
687     params_post_orientation_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_ABSOLUE);
688     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ecart.txt");
689     params_post_orientation_ecart.enregistrer((char*)sys_command.c_str());
690     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
691 couturad 951 }
692    
693 couturad 968 sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_geometrie.txt");
694 couturad 971 f.open(sys_command.c_str(),std::ios::out);
695     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
696     f << "params_post_cao_all.txt" << std::endl;
697     f << "params_post_cao_particule.txt" << std::endl;
698     f << "params_post_cao_matrice.txt" << std::endl;
699     f << "params_post_prop_mass_particule.txt" << std::endl;
700 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
701 couturad 951 {
702 couturad 968 f << "params_post_orientation_cao.txt" << std::endl;
703     f << "params_post_orientation_ecart.txt" << std::endl;
704 couturad 951 }
705 couturad 971
706 couturad 964 f.close();
707     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
708 couturad 951
709 couturad 968 OT_PARAMETRES params_post_mg_maillage_all;
710 couturad 971 ini_param_post_traitement(&params_post_mg_maillage_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG);
711 couturad 968 params_post_mg_maillage_all.change_valeur("Identifiant","MG_maillage_ALL");
712     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_all.txt");
713     params_post_mg_maillage_all.enregistrer((char*)sys_command.c_str());
714 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
715 couturad 971
716 couturad 968 OT_PARAMETRES params_post_mg_maillage_particule;
717 couturad 971 ini_param_post_traitement(&params_post_mg_maillage_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG);
718 couturad 968 params_post_mg_maillage_particule.change_valeur("Identifiant","MG_maillage_Particule");
719     params_post_mg_maillage_particule.change_valeur("Nom_groupe_forme","Particule");
720     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_particule.txt");
721     params_post_mg_maillage_particule.enregistrer((char*)sys_command.c_str());
722 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
723 couturad 971
724 couturad 968 OT_PARAMETRES params_post_mg_maillage_matrice;
725 couturad 971 ini_param_post_traitement(&params_post_mg_maillage_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG);
726 couturad 968 params_post_mg_maillage_matrice.change_valeur("Identifiant","MG_maillage_Matrice");
727     params_post_mg_maillage_matrice.change_valeur("Nom_groupe_forme","Matrice");
728     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_matrice.txt");
729     params_post_mg_maillage_matrice.enregistrer((char*)sys_command.c_str());
730 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
731 couturad 926
732 couturad 971
733 couturad 968 sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_mg_maillage.txt");
734 couturad 951 f.open(sys_command.c_str(),std::ios::out);
735 couturad 968 f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
736     f << "params_post_mg_maillage_all.txt" << std::endl;
737     f << "params_post_mg_maillage_particule.txt" << std::endl;
738     f << "params_post_mg_maillage_matrice.txt" << std::endl;
739 couturad 964 f.close();
740 couturad 971 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
741    
742 couturad 968 OT_PARAMETRES params_post_fem_maillage_all;
743 couturad 971 ini_param_post_traitement(&params_post_fem_maillage_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion);
744 couturad 968 params_post_fem_maillage_all.change_valeur("Identifiant","FEM_maillage_ALL");
745     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_all.txt");
746     params_post_fem_maillage_all.enregistrer((char*)sys_command.c_str());
747 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
748 couturad 971
749 couturad 968 OT_PARAMETRES params_post_fem_maillage_particule;
750 couturad 971 ini_param_post_traitement(&params_post_fem_maillage_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion);
751 couturad 968 params_post_fem_maillage_particule.change_valeur("Identifiant","FEM_maillage_Particule");
752     params_post_fem_maillage_particule.change_valeur("Nom_groupe_forme","Particule");
753     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_particule.txt");
754     params_post_fem_maillage_particule.enregistrer((char*)sys_command.c_str());
755     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
756 couturad 971
757 couturad 968 OT_PARAMETRES params_post_fem_maillage_matrice;
758 couturad 971 ini_param_post_traitement(&params_post_fem_maillage_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion);
759 couturad 968 params_post_fem_maillage_matrice.change_valeur("Identifiant","FEM_maillage_Matrice");
760     params_post_fem_maillage_matrice.change_valeur("Nom_groupe_forme","Matrice");
761     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_matrice.txt");
762     params_post_fem_maillage_matrice.enregistrer((char*)sys_command.c_str());
763     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
764 couturad 926
765 couturad 968 if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
766 couturad 951 {
767 couturad 968 OT_PARAMETRES params_post_orientation_ponderee;
768 couturad 971 ini_param_post_traitement(&params_post_orientation_ponderee,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION,nb_couche_erosion,epaisseur_couche_erosion);
769 couturad 968 params_post_orientation_ponderee.change_valeur("Identifiant","Orientation_Particule_ponderee");
770     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ponderee.txt");
771     params_post_orientation_ponderee.enregistrer((char*)sys_command.c_str());
772 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
773 couturad 951
774 couturad 968 OT_PARAMETRES params_post_orientation_ponderee_ecart;
775 couturad 971 ini_param_post_traitement(&params_post_orientation_ponderee_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART,nb_couche_erosion,epaisseur_couche_erosion);
776 couturad 968 params_post_orientation_ponderee_ecart.change_valeur("Identifiant","Orientation_Particule_ponderee_ecart");
777     params_post_orientation_ponderee_ecart.change_valeur("Identifiant_orientation","Orientation_Particule_ponderee");
778     params_post_orientation_ponderee_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_ABSOLUE);
779     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ponderee_ecart.txt");
780     params_post_orientation_ponderee_ecart.enregistrer((char*)sys_command.c_str());
781 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
782 couturad 971 }
783     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_fem_maillage.txt");
784     f.open(sys_command.c_str(),std::ios::out);
785     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
786     f << "params_post_fem_maillage_all.txt" << std::endl;
787     f << "params_post_fem_maillage_particule.txt" << std::endl;
788     f << "params_post_fem_maillage_matrice.txt" << std::endl;
789     if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
790     {
791 couturad 968 f << "params_post_orientation_ponderee.txt" << std::endl;
792     f << "params_post_orientation_ponderee_ecart.txt" << std::endl;
793 couturad 951 }
794 couturad 971 f.close();
795     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
796    
797     if(etude_mecanique)
798 couturad 951 {
799 couturad 971 OT_PARAMETRES params_post_champ_sigma;
800     ini_param_post_traitement(&params_post_champ_sigma,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
801     params_post_champ_sigma.change_valeur("Identifiant","Champ_SIGMA");
802     params_post_champ_sigma.change_valeur("Num_solution",2);
803 couturad 974 params_post_champ_sigma.change_valeur("Largeur_colonne_distribution","1000.0");
804 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma.txt");
805     params_post_champ_sigma.enregistrer((char*)sys_command.c_str());
806     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
807 couturad 982 // Nom_groupe_forme
808 couturad 971 OT_PARAMETRES params_post_champ_sigma_normalise;
809     ini_param_post_traitement(&params_post_champ_sigma_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
810     params_post_champ_sigma_normalise.change_valeur("Identifiant","Champ_SIGMA_normalise");
811     params_post_champ_sigma_normalise.change_valeur("Identifiant_champ","Champ_SIGMA");
812 couturad 982 params_post_champ_sigma_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA");
813     params_post_champ_sigma_normalise.change_valeur("Largeur_colonne_distribution","0.02");
814 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_normalise.txt");
815     params_post_champ_sigma_normalise.enregistrer((char*)sys_command.c_str());
816     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
817    
818     OT_PARAMETRES params_post_champ_epsilon;
819     ini_param_post_traitement(&params_post_champ_epsilon,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
820     params_post_champ_epsilon.change_valeur("Identifiant","Champ_EPSILON");
821     params_post_champ_epsilon.change_valeur("Num_solution",1);
822 couturad 974 params_post_champ_epsilon.change_valeur("Largeur_colonne_distribution","1.0e-6");
823 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon.txt");
824     params_post_champ_epsilon.enregistrer((char*)sys_command.c_str());
825     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
826    
827     OT_PARAMETRES params_post_champ_epsilon_normalise;
828     ini_param_post_traitement(&params_post_champ_epsilon_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
829     params_post_champ_epsilon_normalise.change_valeur("Identifiant","Champ_EPSILON_normalise");
830     params_post_champ_epsilon_normalise.change_valeur("Identifiant_champ","Champ_EPSILON");
831 couturad 982 params_post_champ_epsilon_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON");
832     params_post_champ_epsilon_normalise.change_valeur("Largeur_colonne_distribution","0.02");
833 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_normalise.txt");
834     params_post_champ_epsilon_normalise.enregistrer((char*)sys_command.c_str());
835     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
836    
837 couturad 982 OT_PARAMETRES params_post_champ_sigma_particule;
838     ini_param_post_traitement(&params_post_champ_sigma_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
839     params_post_champ_sigma_particule.change_valeur("Identifiant","Champ_SIGMA_particule");
840     params_post_champ_sigma_particule.change_valeur("Nom_groupe_forme","Particule");
841     params_post_champ_sigma_particule.change_valeur("Num_solution",2);
842     params_post_champ_sigma_particule.change_valeur("Largeur_colonne_distribution","1000.0");
843     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_particule.txt");
844     params_post_champ_sigma_particule.enregistrer((char*)sys_command.c_str());
845     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
846     OT_PARAMETRES params_post_champ_sigma_particule_normalise;
847     ini_param_post_traitement(&params_post_champ_sigma_particule_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
848     params_post_champ_sigma_particule_normalise.change_valeur("Identifiant","Champ_SIGMA_particule_normalise");
849     params_post_champ_sigma_particule_normalise.change_valeur("Identifiant_champ","Champ_SIGMA_particule");
850     params_post_champ_sigma_particule_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA");
851     params_post_champ_sigma_particule_normalise.change_valeur("Largeur_colonne_distribution","0.02");
852     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_particule_normalise.txt");
853     params_post_champ_sigma_particule_normalise.enregistrer((char*)sys_command.c_str());
854     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
855    
856     OT_PARAMETRES params_post_champ_epsilon_particule;
857     ini_param_post_traitement(&params_post_champ_epsilon_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
858     params_post_champ_epsilon_particule.change_valeur("Identifiant","Champ_EPSILON_particule");
859     params_post_champ_epsilon_particule.change_valeur("Nom_groupe_forme","Particule");
860     params_post_champ_epsilon_particule.change_valeur("Num_solution",1);
861     params_post_champ_epsilon_particule.change_valeur("Largeur_colonne_distribution","1.0e-6");
862     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_particule.txt");
863     params_post_champ_epsilon_particule.enregistrer((char*)sys_command.c_str());
864     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
865    
866     OT_PARAMETRES params_post_champ_epsilon_particule_normalise;
867     ini_param_post_traitement(&params_post_champ_epsilon_particule_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
868     params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant","Champ_EPSILON_particule_normalise");
869     params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant_champ","Champ_EPSILON_particule");
870     params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON");
871     params_post_champ_epsilon_particule_normalise.change_valeur("Largeur_colonne_distribution","0.02");
872     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_particule_normalise.txt");
873     params_post_champ_epsilon_particule_normalise.enregistrer((char*)sys_command.c_str());
874     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
875    
876     OT_PARAMETRES params_post_champ_sigma_matrice;
877     ini_param_post_traitement(&params_post_champ_sigma_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
878     params_post_champ_sigma_matrice.change_valeur("Identifiant","Champ_SIGMA_matrice");
879     params_post_champ_sigma_matrice.change_valeur("Nom_groupe_forme","Matrice");
880     params_post_champ_sigma_matrice.change_valeur("Num_solution",2);
881     params_post_champ_sigma_matrice.change_valeur("Largeur_colonne_distribution","1000.0");
882     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_matrice.txt");
883     params_post_champ_sigma_matrice.enregistrer((char*)sys_command.c_str());
884     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
885     OT_PARAMETRES params_post_champ_sigma_matrice_normalise;
886     ini_param_post_traitement(&params_post_champ_sigma_matrice_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
887     params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant","Champ_SIGMA_matrice_normalise");
888     params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant_champ","Champ_SIGMA_matrice");
889     params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA");
890     params_post_champ_sigma_matrice_normalise.change_valeur("Largeur_colonne_distribution","0.02");
891     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_matrice_normalise.txt");
892     params_post_champ_sigma_matrice_normalise.enregistrer((char*)sys_command.c_str());
893     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
894    
895     OT_PARAMETRES params_post_champ_epsilon_matrice;
896     ini_param_post_traitement(&params_post_champ_epsilon_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
897     params_post_champ_epsilon_matrice.change_valeur("Identifiant","Champ_EPSILON_matrice");
898     params_post_champ_epsilon_matrice.change_valeur("Nom_groupe_forme","Matrice");
899     params_post_champ_epsilon_matrice.change_valeur("Num_solution",1);
900     params_post_champ_epsilon_matrice.change_valeur("Largeur_colonne_distribution","1.0e-6");
901     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_matrice.txt");
902     params_post_champ_epsilon_matrice.enregistrer((char*)sys_command.c_str());
903     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
904    
905     OT_PARAMETRES params_post_champ_epsilon_matrice_normalise;
906     ini_param_post_traitement(&params_post_champ_epsilon_matrice_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
907     params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant","Champ_EPSILON_matrice_normalise");
908     params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant_champ","Champ_EPSILON_matrice");
909     params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON");
910     params_post_champ_epsilon_matrice_normalise.change_valeur("Largeur_colonne_distribution","0.02");
911     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_matrice_normalise.txt");
912     params_post_champ_epsilon_matrice_normalise.enregistrer((char*)sys_command.c_str());
913     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
914    
915 couturad 971 OT_PARAMETRES params_post_champ_energie;
916     ini_param_post_traitement(&params_post_champ_energie,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
917     params_post_champ_energie.change_valeur("Identifiant","Champ_ENERGIE");
918     params_post_champ_energie.change_valeur("Num_solution",5);
919 couturad 974 params_post_champ_energie.change_valeur("Largeur_colonne_distribution","1e-04");
920 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie.txt");
921     params_post_champ_energie.enregistrer((char*)sys_command.c_str());
922     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
923    
924     OT_PARAMETRES params_post_champ_energie_normalise;
925     ini_param_post_traitement(&params_post_champ_energie_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
926     params_post_champ_energie_normalise.change_valeur("Identifiant","Champ_ENERGIE_normalise");
927     params_post_champ_energie_normalise.change_valeur("Identifiant_champ","Champ_ENERGIE");
928 couturad 982 params_post_champ_energie_normalise.change_valeur("Identifiant_champ_reference","Champ_ENERGIE");
929     params_post_champ_energie_normalise.change_valeur("Largeur_colonne_distribution","0.025");
930 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_normalise.txt");
931     params_post_champ_energie_normalise.enregistrer((char*)sys_command.c_str());
932     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
933    
934     OT_PARAMETRES params_post_champ_energie_ecart;
935     ini_param_post_traitement(&params_post_champ_energie_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART,nb_couche_erosion,epaisseur_couche_erosion);
936     params_post_champ_energie_ecart.change_valeur("Identifiant","Champ_ENERGIE_ecart");
937     params_post_champ_energie_ecart.change_valeur("Identifiant_champ","Champ_ENERGIE");
938     params_post_champ_energie_ecart.change_valeur("Identifiant_champ_compare","Champ_ENERGIE");
939     params_post_champ_energie_ecart.change_valeur("Num_couche","0");
940 couturad 982 params_post_champ_energie_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF);
941 couturad 974 params_post_champ_energie_ecart.change_valeur("Largeur_colonne_distribution","1e-04");
942 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_ecart.txt");
943     params_post_champ_energie_ecart.enregistrer((char*)sys_command.c_str());
944     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
945    
946     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca.txt");
947     f.open(sys_command.c_str(),std::ios::out);
948 couturad 968 f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
949 couturad 971 f << "params_post_champ_sigma.txt" << std::endl;
950 couturad 982 f << "params_post_champ_sigma_normalise.txt" << std::endl;
951     f << "params_post_champ_sigma_particule.txt" << std::endl;
952     f << "params_post_champ_sigma_particule_normalise.txt" << std::endl;
953     f << "params_post_champ_sigma_matrice.txt" << std::endl;
954     f << "params_post_champ_sigma_matrice_normalise.txt" << std::endl;
955 couturad 971 f << "params_post_champ_epsilon.txt" << std::endl;
956 couturad 982 f << "params_post_champ_epsilon_normalise.txt" << std::endl;
957     f << "params_post_champ_epsilon_particule.txt" << std::endl;
958     f << "params_post_champ_epsilon_particule_normalise.txt" << std::endl;
959     f << "params_post_champ_epsilon_matrice.txt" << std::endl;
960     f << "params_post_champ_epsilon_matrice_normalise.txt" << std::endl;
961 couturad 971 f << "params_post_champ_energie.txt" << std::endl;
962     f << "params_post_champ_energie_normalise.txt" << std::endl;
963     f << "params_post_champ_energie_ecart.txt" << std::endl;
964     f.close();
965     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
966    
967     OT_PARAMETRES params_post_champ_sigma_ecart_chargement_sph;
968     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);
969     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Identifiant","Champ_SIGMA_ecart_chargement_sph");
970     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Identifiant_champ","Champ_SIGMA");
971     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Type_chargement","0");
972     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
973     params_post_champ_sigma_ecart_chargement_sph.change_valeur("Largeur_colonne_distribution","0.1");
974     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_ecart_chargement_sph.txt");
975     params_post_champ_sigma_ecart_chargement_sph.enregistrer((char*)sys_command.c_str());
976     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
977    
978     OT_PARAMETRES params_post_champ_epsilon_ecart_chargement_sph;
979     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);
980     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Identifiant","Champ_EPSILON_ecart_chargement_sph");
981     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Identifiant_champ","Champ_EPSILON");
982     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Type_chargement","0");
983     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
984     params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Largeur_colonne_distribution","0.1");
985     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_ecart_chargement_sph.txt");
986     params_post_champ_epsilon_ecart_chargement_sph.enregistrer((char*)sys_command.c_str());
987     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
988    
989     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt");
990     f.open(sys_command.c_str(),std::ios::out);
991     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
992     f << "params_post_champ_sigma_ecart_chargement_sph.txt" << std::endl;
993     f << "params_post_champ_epsilon_ecart_chargement_sph.txt" << std::endl;
994     f.close();
995     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
996    
997     OT_PARAMETRES params_post_champ_sigma_ecart_chargement_dev;
998     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);
999     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Identifiant","Champ_SIGMA_ecart_chargement_dev");
1000     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Identifiant_champ","Champ_SIGMA");
1001     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Type_chargement","1");
1002     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1003     params_post_champ_sigma_ecart_chargement_dev.change_valeur("Largeur_colonne_distribution","0.1");
1004     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_ecart_chargement_dev.txt");
1005     params_post_champ_sigma_ecart_chargement_dev.enregistrer((char*)sys_command.c_str());
1006     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1007    
1008     OT_PARAMETRES params_post_champ_epsilon_ecart_chargement_dev;
1009     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);
1010     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Identifiant","Champ_EPSILON_ecart_chargement_dev");
1011     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Identifiant_champ","Champ_EPSILON");
1012     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Type_chargement","1");
1013     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE);
1014     params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Largeur_colonne_distribution","0.1");
1015     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_ecart_chargement_dev.txt");
1016     params_post_champ_epsilon_ecart_chargement_dev.enregistrer((char*)sys_command.c_str());
1017     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1018    
1019     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt");
1020     f.open(sys_command.c_str(),std::ios::out);
1021     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1022     f << "params_post_champ_sigma_ecart_chargement_dev.txt" << std::endl;
1023     f << "params_post_champ_epsilon_ecart_chargement_dev.txt" << std::endl;
1024     f.close();
1025     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1026    
1027     OT_PARAMETRES params_post_modules_elasticite;
1028     ini_param_post_traitement(&params_post_modules_elasticite,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE,nb_couche_erosion,epaisseur_couche_erosion);
1029     params_post_modules_elasticite.change_valeur("Identifiant_epsilon","Champ_EPSILON");
1030     params_post_modules_elasticite.change_valeur("Identifiant_sigma","Champ_SIGMA");
1031     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_modules_elasticite.txt");
1032     params_post_modules_elasticite.enregistrer((char*)sys_command.c_str());
1033     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1034     }
1035     if(etude_thermique)
1036     {
1037     OT_PARAMETRES params_post_champ_temp;
1038     ini_param_post_traitement(&params_post_champ_temp,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1039     params_post_champ_temp.change_valeur("Identifiant","Champ_TEMP");
1040     params_post_champ_temp.change_valeur("Num_solution",0);
1041     params_post_champ_temp.change_valeur("Largeur_colonne_distribution","0.01");
1042     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_temp.txt");
1043     params_post_champ_temp.enregistrer((char*)sys_command.c_str());
1044     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1045    
1046     OT_PARAMETRES params_post_champ_temp_normalise;
1047     ini_param_post_traitement(&params_post_champ_temp_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1048     params_post_champ_temp_normalise.change_valeur("Identifiant","Champ_TEMP_normalise");
1049     params_post_champ_temp_normalise.change_valeur("Identifiant_champ","Champ_TEMP");
1050 couturad 982 params_post_champ_temp_normalise.change_valeur("Identifiant_champ_reference","Champ_TEMP");
1051 couturad 971 params_post_champ_temp_normalise.change_valeur("Num_solution",0);
1052     params_post_champ_temp_normalise.change_valeur("Largeur_colonne_distribution","1e-06");
1053     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_temp_normalise.txt");
1054     params_post_champ_temp_normalise.enregistrer((char*)sys_command.c_str());
1055     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1056    
1057     OT_PARAMETRES params_post_champ_flux;
1058     ini_param_post_traitement(&params_post_champ_flux,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion);
1059     params_post_champ_flux.change_valeur("Identifiant","Champ_FLUX");
1060     params_post_champ_flux.change_valeur("Num_solution",1);
1061     params_post_champ_flux.change_valeur("Largeur_colonne_distribution","0.01");
1062     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_flux.txt");
1063     params_post_champ_flux.enregistrer((char*)sys_command.c_str());
1064     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1065    
1066     OT_PARAMETRES params_post_champ_flux_normalise;
1067     ini_param_post_traitement(&params_post_champ_flux_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion);
1068     params_post_champ_flux_normalise.change_valeur("Identifiant","Champ_FLUX_normalise");
1069     params_post_champ_flux_normalise.change_valeur("Identifiant_champ","Champ_FLUX");
1070 couturad 982 params_post_champ_flux_normalise.change_valeur("Identifiant_champ_reference","Champ_FLUX");
1071 couturad 971 params_post_champ_flux_normalise.change_valeur("Num_solution",0);
1072     params_post_champ_flux_normalise.change_valeur("Largeur_colonne_distribution","1e-06");
1073     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_flux_normalise.txt");
1074     params_post_champ_flux_normalise.enregistrer((char*)sys_command.c_str());
1075     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1076    
1077 couturad 982 OT_PARAMETRES params_post_conductivite_thermique_x;
1078     ini_param_post_traitement(&params_post_conductivite_thermique_x,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1079     params_post_conductivite_thermique_x.change_valeur("Identifiant","Conductivite_thermique");
1080     params_post_conductivite_thermique_x.change_valeur("Num_solution_temp","0");
1081     params_post_conductivite_thermique_x.change_valeur("Num_solution_flux","1");
1082     params_post_conductivite_thermique_x.change_valeur("Direction","0");
1083     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_x.txt");
1084     params_post_conductivite_thermique_x.enregistrer((char*)sys_command.c_str());
1085     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1086    
1087     OT_PARAMETRES params_post_conductivite_thermique_y;
1088     ini_param_post_traitement(&params_post_conductivite_thermique_y,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1089     params_post_conductivite_thermique_y.change_valeur("Identifiant","Conductivite_thermique");
1090     params_post_conductivite_thermique_y.change_valeur("Num_solution_temp","0");
1091     params_post_conductivite_thermique_y.change_valeur("Num_solution_flux","1");
1092     params_post_conductivite_thermique_y.change_valeur("Direction","1");
1093     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_y.txt");
1094     params_post_conductivite_thermique_y.enregistrer((char*)sys_command.c_str());
1095     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1096    
1097     OT_PARAMETRES params_post_conductivite_thermique_z;
1098     ini_param_post_traitement(&params_post_conductivite_thermique_z,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1099     params_post_conductivite_thermique_z.change_valeur("Identifiant","Conductivite_thermique");
1100     params_post_conductivite_thermique_z.change_valeur("Num_solution_temp","0");
1101     params_post_conductivite_thermique_z.change_valeur("Num_solution_flux","1");
1102     params_post_conductivite_thermique_z.change_valeur("Direction","2");
1103     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_z.txt");
1104     params_post_conductivite_thermique_z.enregistrer((char*)sys_command.c_str());
1105     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1106    
1107 couturad 971 OT_PARAMETRES params_post_conductivite_thermique;
1108     ini_param_post_traitement(&params_post_conductivite_thermique,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion);
1109 couturad 982 params_post_conductivite_thermique.change_valeur("Identifiant","Conductivite_thermique");
1110 couturad 971 sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique.txt");
1111     params_post_conductivite_thermique.enregistrer((char*)sys_command.c_str());
1112 couturad 982 if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1113 couturad 971
1114     sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_ther.txt");
1115     f.open(sys_command.c_str(),std::ios::out);
1116     f << "// Fichier de parametres POST_TRAITEMENT" << std::endl;
1117     f << "params_post_champ_temp.txt" << std::endl;
1118     f << "params_post_champ_temp_normalise.txt" << std::endl;
1119     f << "params_post_champ_flux.txt" << std::endl;
1120     f << "params_post_champ_flux_normalise.txt" << std::endl;
1121     f.close();
1122     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1123     }
1124 couturad 968 OT_PARAMETRES params_post_temps;
1125     ini_param_post_traitement(&params_post_temps,MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS,false);
1126     sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_temps.txt");
1127     params_post_temps.enregistrer((char*)sys_command.c_str());
1128     if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str());
1129    
1130 couturad 919 return OK;
1131     }
1132    
1133 couturad 971 int PARAMETRES::generer_script_ves(bool etude_mecanique,
1134     bool etude_thermique,
1135     int type_inclusion,
1136     bool fem_maill_lin,
1137     bool fem_maill_quad,
1138     fonction_affiche *fonc_affiche)
1139 couturad 929 {
1140 couturad 971
1141 couturad 951 std::ofstream ofstrm((char*)"generer_nb_ves",std::ios::out|std::ios::trunc);
1142 couturad 929 ofstrm.precision(16);
1143     ofstrm.setf(std::ios::showpoint);
1144     ofstrm << "#!/bin/bash" << std::endl;
1145     ofstrm << "INDEX_DEPART=$1" << std::endl;
1146     ofstrm << "INDEX_FIN=$2" << std::endl;
1147 couturad 968 ofstrm << "CHEMINCOMPILE=$3" << std::endl;
1148 couturad 929 ofstrm << "if [ -z ${INDEX_DEPART// } ]" << std::endl;
1149     ofstrm << "then" << std::endl;
1150     ofstrm << " echo \"Erreur : Numero du ves de depart manquant\"" << std::endl;
1151     ofstrm << " exit" << std::endl;
1152     ofstrm << "fi" << std::endl;
1153     ofstrm << "if [ -z ${INDEX_FIN// } ]" << std::endl;
1154     ofstrm << "then" << std::endl;
1155     ofstrm << " echo \"Erreur : Numero du ves de fin manquant\"" << std::endl;
1156     ofstrm << " exit" << std::endl;
1157     ofstrm << "fi" << std::endl;
1158     ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl;
1159     ofstrm << "then" << std::endl;
1160 couturad 958 ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl;
1161     ofstrm << " then" << std::endl;
1162     ofstrm << " echo \"Erreur : Chemin vers exe/app manquant\"" << std::endl;
1163     ofstrm << " exit" << std::endl;
1164     ofstrm << " else" << std::endl;
1165     ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl;
1166     ofstrm << " fi" << std::endl;
1167 couturad 929 ofstrm << "fi" << std::endl;
1168     ofstrm << "function executer" << std::endl;
1169     ofstrm << "{" << std::endl;
1170     ofstrm << "OPERATION_REUSSIE=1;" << std::endl;
1171     ofstrm << "$*" << std::endl;
1172     ofstrm << "VAR=$?" << std::endl;
1173     ofstrm << "if (( $VAR )) ; then " << std::endl;
1174     ofstrm << " OPERATION_REUSSIE=0; " << std::endl;
1175     ofstrm << " STAT=$VAR;" << std::endl;
1176     ofstrm << "fi" << std::endl;
1177     ofstrm << "}" << std::endl;
1178     ofstrm << "" << std::endl;
1179     ofstrm << "echo \"*********************************************************\"" << std::endl;
1180     ofstrm << "echo \"Generation des microstructures $INDEX_DEPART - $INDEX_FIN\"" << std::endl;
1181     ofstrm << "echo \"*********************************************************\"" << std::endl;
1182     ofstrm << "STAT=$?" << std::endl;
1183     ofstrm << "" << std::endl;
1184     ofstrm << "if [ $INDEX_DEPART -eq 1 ]" << std::endl;
1185     ofstrm << "then" << std::endl;
1186     ofstrm << "mkdir etude" << std::endl;
1187     ofstrm << "fi" << std::endl;
1188     ofstrm << "cd etude" << std::endl;
1189     ofstrm << "for (( k=$INDEX_DEPART; k<=$INDEX_FIN; k++ ))" << std::endl;
1190     ofstrm << "do" << std::endl;
1191     ofstrm << " echo \"Microstructure #$k\"" << std::endl;
1192     ofstrm << " mkdir e$k" << std::endl;
1193     ofstrm << " cd e$k" << std::endl;
1194     ofstrm << " OPERATION_REUSSIE=0" << std::endl;
1195     ofstrm << " until [ $OPERATION_REUSSIE -eq 1 ]; do" << std::endl;
1196 couturad 968 ofstrm << " executer ../../ves $CHEMINCOMPILE" << std::endl;
1197 couturad 929 ofstrm << " done" << std::endl;
1198 couturad 968 ofstrm << " DOSSIER_ACTUEL=$(pwd)" << std::endl;
1199 couturad 929 ofstrm << " cd .." << std::endl;
1200     ofstrm << "done" << std::endl;
1201     ofstrm << "cd .." << std::endl;
1202     ofstrm << "echo \"**********************\"" << std::endl;
1203     ofstrm << "echo \" FIN \"" << std::endl;
1204     ofstrm << "echo \"**********************\"" << std::endl;
1205     ofstrm << "exit $STAT" << std::endl;
1206     ofstrm.close();
1207 couturad 964 if(fonc_affiche!=NULL) fonc_affiche((char*)"generer_nb_ves");
1208 couturad 929 system((char*)"chmod 744 generer_nb_ves");
1209    
1210     ofstrm.open((char*)"ves",std::ios::out|std::ios::trunc);
1211     ofstrm.precision(16);
1212     ofstrm.setf(std::ios::showpoint);
1213     ofstrm << "#!/bin/bash" << std::endl;
1214 couturad 968 ofstrm << "CHEMINCOMPILE=$1" << std::endl;
1215 couturad 929 ofstrm << "function executer" << std::endl;
1216     ofstrm << "{" << std::endl;
1217     ofstrm << "$*" << std::endl;
1218     ofstrm << "VAR=$?" << std::endl;
1219     ofstrm << "if (( $VAR )) ; then " << std::endl;
1220     ofstrm << " STATUSTXT=\"ERREUR dans les tests\"; " << std::endl;
1221     ofstrm << " STAT=$VAR;" << std::endl;
1222     ofstrm << " exit $STAT" << std::endl;
1223     ofstrm << "fi" << std::endl;
1224     ofstrm << "}" << std::endl;
1225     ofstrm << "STATUSTXT=\"Test sans ERREUR\"" << std::endl;
1226     ofstrm << "echo \"*******************************\"" << std::endl;
1227     ofstrm << "echo \"Generation d'une microstructure\"" << std::endl;
1228     ofstrm << "echo \"*******************************\"" << std::endl;
1229     ofstrm << "STAT=$?" << std::endl;
1230 couturad 951 ofstrm << "" << std::endl;
1231     ofstrm << "#Geometrie" << std::endl;
1232 couturad 968 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_geo -ves_out ves_geo.ves -lstparam ../../parametre/geometrie/lstparam_geo.txt" << std::endl;
1233 couturad 951 ofstrm << "executer $CHEMINCOMPILE/mgoperation/mgoperation.exe -brep_out -in ves_geo.magic -out ves_brep.brep" << std::endl;
1234 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;
1235 couturad 951 ofstrm << "" << std::endl;
1236     ofstrm << "#Materiau" << std::endl;
1237 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;
1238 couturad 951 ofstrm << "" << std::endl;
1239     ofstrm << "#Carte" << std::endl;
1240 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;
1241 couturad 929 ofstrm << "" << std::endl;
1242 couturad 951 ofstrm << "#MG Maillage" << std::endl;
1243 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;
1244     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;
1245 couturad 951 ofstrm << "executer $CHEMINCOMPILE/mgoperation/mgoperation.exe -gmsh -in ves_mg_maill.magic" << std::endl;
1246 couturad 929 ofstrm << "" << std::endl;
1247 couturad 951 ofstrm << "#Fem Maillage" << std::endl;
1248     if(fem_maill_lin)
1249     {
1250 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;
1251     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;
1252 couturad 951 }
1253     if(fem_maill_quad)
1254     {
1255 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;
1256     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;
1257 couturad 951 }
1258 couturad 929 ofstrm << "" << std::endl;
1259 couturad 951 ofstrm << "#Etude" << std::endl;
1260     if(fem_maill_lin)
1261     {
1262 couturad 971 if(etude_mecanique)
1263     {
1264     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;
1265     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;
1266     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;
1267     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;
1268     }
1269     if(etude_thermique)
1270     {
1271     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;
1272     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;
1273     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;
1274     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;
1275     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;
1276     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;
1277     }
1278 couturad 951 }
1279     if(fem_maill_quad)
1280     {
1281 couturad 971 if(etude_mecanique)
1282     {
1283     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;
1284     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;
1285     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;
1286     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;
1287     }
1288     if(etude_thermique)
1289     {
1290     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;
1291     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;
1292     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;
1293     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;
1294     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;
1295     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;
1296    
1297     }
1298 couturad 951 }
1299 couturad 929 ofstrm << "" << std::endl;
1300 couturad 951 ofstrm << "#Calcul" << std::endl;
1301     if(fem_maill_lin)
1302     {
1303 couturad 971 if(etude_mecanique)
1304     {
1305     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;
1306     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;
1307     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;
1308     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;
1309     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;
1310     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;
1311     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;
1312     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;
1313     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;
1314     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;
1315     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;
1316     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;
1317     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;
1318     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;
1319     }
1320     if(etude_thermique)
1321     {
1322     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;
1323     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;
1324 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;
1325 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;
1326     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;
1327 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;
1328 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;
1329     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;
1330 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;
1331 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;
1332     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;
1333 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;
1334 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;
1335     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;
1336 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;
1337 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;
1338     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;
1339 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;
1340 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLG_x_post_lin.ves "
1341     "-ves_lambda_y ves_calcul_CLG_y_post_lin.ves "
1342     "-ves_lambda_z ves_calcul_CLG_z_post_lin.ves "
1343     "-ves_out ves_CLG_conductivite_thermique_post_lin.ves "
1344     "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1345     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLF_x_post_lin.ves "
1346     "-ves_lambda_y ves_calcul_CLF_y_post_lin.ves "
1347     "-ves_lambda_z ves_calcul_CLF_z_post_lin.ves "
1348     "-ves_out ves_CLF_conductivite_thermique_post_lin.ves "
1349     "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1350     }
1351 couturad 951 }
1352 couturad 968
1353 couturad 951 if(fem_maill_quad)
1354     {
1355 couturad 971 if(etude_mecanique)
1356     {
1357     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;
1358     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;
1359     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;
1360     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;
1361     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;
1362     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;
1363     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;
1364     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;
1365     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;
1366     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;
1367     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;
1368     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;
1369     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;
1370     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;
1371     }
1372     if(etude_thermique)
1373     {
1374     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;
1375     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;
1376 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;
1377 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;
1378     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;
1379 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;
1380 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;
1381     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;
1382 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;
1383 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;
1384     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;
1385 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;
1386 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;
1387     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;
1388 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;
1389 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;
1390     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;
1391 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;
1392 couturad 971 ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLG_x_post_quad.ves "
1393     "-ves_lambda_y ves_calcul_CLG_y_post_quad.ves "
1394     "-ves_lambda_z ves_calcul_CLG_z_post_quad.ves "
1395     "-ves_out ves_CLG_conductivite_thermique_post_quad.ves "
1396     "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1397     ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLF_x_post_quad.ves "
1398     "-ves_lambda_y ves_calcul_CLF_y_post_quad.ves "
1399     "-ves_lambda_z ves_calcul_CLF_z_post_quad.ves "
1400     "-ves_out ves_CLF_conductivite_thermique_post_quad.ves "
1401 couturad 982 "-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl;
1402 couturad 971 }
1403 couturad 951 }
1404     ofstrm << "" << std::endl;
1405     ofstrm << "rm *.msh" << std::endl;
1406     ofstrm << "rm *.sol" << std::endl;
1407     ofstrm << "rm *.resu" << std::endl;
1408     ofstrm << "rm *.comm" << std::endl;
1409     ofstrm << "rm *.mail" << std::endl;
1410     ofstrm << "rm *.retour" << std::endl;
1411     ofstrm << "rm *.export" << std::endl;
1412     ofstrm << "rm *.log" << std::endl;
1413     ofstrm << "rm *.mess" << std::endl;
1414 couturad 968 ofstrm << "#find . ! -name '*.ves' -type f -exec rm -f {} +" << std::endl;
1415 couturad 929 ofstrm << "cd .." << std::endl;
1416     ofstrm << "echo \"**********************\"" << std::endl;
1417     ofstrm << "echo $STATUSTXT" << std::endl;
1418     ofstrm << "echo \"**********************\"" << std::endl;
1419     ofstrm << "exit $STAT" << std::endl;
1420 couturad 964 ofstrm.close();
1421     if(fonc_affiche!=NULL) fonc_affiche((char*)"ves");
1422 couturad 929 system((char*)"chmod 744 ves");
1423 couturad 971
1424 couturad 968 return OK;
1425 couturad 929 }
1426    
1427 couturad 971 int PARAMETRES::generer_script_post_traitement(bool etude_mecanique,
1428     bool etude_thermique,
1429     int type_inclusion,
1430     bool fem_maill_lin,
1431     bool fem_maill_quad,
1432     double epaisseur_couche_erosion,
1433     fonction_affiche *fonc_affiche)
1434 couturad 951 {
1435 couturad 968 std::ofstream ofstrm((char*)"post_traitement",std::ios::out|std::ios::trunc);
1436 couturad 951 ofstrm.precision(16);
1437     ofstrm.setf(std::ios::showpoint);
1438     ofstrm << "#!/bin/bash" << std::endl;
1439 couturad 968 ofstrm << "CHEMINCOMPILE=$1" << std::endl;
1440 couturad 958 ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl;
1441     ofstrm << "then" << std::endl;
1442     ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl;
1443     ofstrm << " then" << std::endl;
1444     ofstrm << " echo \"Erreur : Chemin vers exe/app manquant\"" << std::endl;
1445     ofstrm << " exit" << std::endl;
1446     ofstrm << " else" << std::endl;
1447     ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl;
1448     ofstrm << " fi" << std::endl;
1449     ofstrm << "fi" << std::endl;
1450 couturad 951 ofstrm << "function executer" << std::endl;
1451     ofstrm << "{" << std::endl;
1452     ofstrm << "$*" << std::endl;
1453     ofstrm << "VAR=$?" << std::endl;
1454     ofstrm << "if (( $VAR )) ; then " << std::endl;
1455     ofstrm << " STATUSTXT=\"ERREUR dans les tests\"; " << std::endl;
1456     ofstrm << " STAT=$VAR;" << std::endl;
1457     ofstrm << " exit $STAT" << std::endl;
1458     ofstrm << "fi" << std::endl;
1459     ofstrm << "}" << std::endl;
1460     ofstrm << "STATUSTXT=\"Test sans ERREUR\"" << std::endl;
1461     ofstrm << "echo \"*******************************\"" << std::endl;
1462     ofstrm << "echo \"Generation d'une microstructure\"" << std::endl;
1463     ofstrm << "echo \"*******************************\"" << std::endl;
1464     ofstrm << "STAT=$?" << std::endl;
1465     ofstrm << "" << std::endl;
1466     ofstrm << "mkdir resultats" << std::endl;
1467     ofstrm << "" << std::endl;
1468     ofstrm << "#Geometrie" << std::endl;
1469     ofstrm << "mkdir -p resultats/cao" << std::endl;
1470 couturad 968 ofstrm << "find etude/ -name \"ves_geo_post.ves\" | sort > tmp_lst_ves_geo_post.txt" << std::endl;
1471     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;
1472     ofstrm << "rm tmp_lst_ves_geo_post.txt" << std::endl;
1473 couturad 951 ofstrm << "" << std::endl;
1474     ofstrm << "#MG Maillage" << std::endl;
1475     ofstrm << "mkdir -p resultats/maillage_mg" << std::endl;
1476 couturad 968 ofstrm << "find etude/ -name \"ves_mg_maill_post.ves\" | sort > tmp_lst_ves_mg_maill_post.txt" << std::endl;
1477     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;
1478     ofstrm << "rm tmp_lst_ves_mg_maill_post.txt" << std::endl;
1479 couturad 951 ofstrm << "" << std::endl;
1480     ofstrm << "#Fem Maillage" << std::endl;
1481     if(fem_maill_lin)
1482     {
1483 couturad 968 ofstrm << "mkdir -p resultats/maillage_fem/lin" << std::endl;
1484     ofstrm << "find etude/ -name \"ves_fem_maill_post_lin.ves\" | sort > tmp_lst_ves_fem_maill_post_lin.txt" << std::endl;
1485     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;
1486     ofstrm << "rm tmp_lst_ves_fem_maill_post_lin.txt" << std::endl;
1487 couturad 951 }
1488     if(fem_maill_quad)
1489     {
1490 couturad 968 ofstrm << "mkdir -p resultats/maillage_fem/quad" << std::endl;
1491     ofstrm << "find etude/ -name \"ves_fem_maill_post_quad.ves\" | sort > tmp_lst_ves_fem_maill_post_quad.txt" << std::endl;
1492     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;
1493     ofstrm << "rm tmp_lst_ves_fem_maill_post_quad.txt" << std::endl;
1494 couturad 951 }
1495     ofstrm << "" << std::endl;
1496     ofstrm << "#Calculs" << std::endl;
1497     if(fem_maill_lin)
1498 couturad 968 {
1499 couturad 971 if(etude_mecanique)
1500     {
1501     ofstrm << "mkdir -p resultats/champ/DH/sph/lin" << std::endl;
1502     ofstrm << "mkdir -p resultats/champ/DH/dev/lin" << std::endl;
1503     ofstrm << "mkdir -p resultats/champ/CH/sph/lin" << std::endl;
1504     ofstrm << "mkdir -p resultats/champ/CH/dev/lin" << std::endl;
1505     ofstrm << "mkdir -p resultats/modules_elasticite/DH/lin" << std::endl;
1506     ofstrm << "mkdir -p resultats/modules_elasticite/CH/lin" << std::endl;
1507     ofstrm << "find etude/ -name \"ves_calcul_CLDH_sph_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_post_lin.txt" << std::endl;
1508     ofstrm << "find etude/ -name \"ves_calcul_CLCH_sph_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_post_lin.txt" << std::endl;
1509     ofstrm << "find etude/ -name \"ves_calcul_CLDH_dev_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_post_lin.txt" << std::endl;
1510     ofstrm << "find etude/ -name \"ves_calcul_CLCH_dev_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_post_lin.txt" << std::endl;
1511     ofstrm << "find etude/ -name \"ves_calcul_CLDH_sph_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt" << std::endl;
1512     ofstrm << "find etude/ -name \"ves_calcul_CLCH_sph_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt" << std::endl;
1513     ofstrm << "find etude/ -name \"ves_calcul_CLDH_dev_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt" << std::endl;
1514     ofstrm << "find etude/ -name \"ves_calcul_CLCH_dev_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt" << std::endl;
1515     ofstrm << "find etude/ -name \"ves_CLDH_modules_elasticite_post_lin.ves\" | sort > tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt" << std::endl;
1516     ofstrm << "find etude/ -name \"ves_CLCH_modules_elasticite_post_lin.ves\" | sort > tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt" << std::endl;
1517     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;
1518     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;
1519     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;
1520     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;
1521     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;
1522     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;
1523     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;
1524     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;
1525     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;
1526     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;
1527     ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_post_lin.txt" << std::endl;
1528     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_post_lin.txt" << std::endl;
1529     ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_post_lin.txt" << std::endl;
1530     ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_post_lin.txt" << std::endl;
1531     ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt" << std::endl;
1532     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt" << std::endl;
1533     ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt" << std::endl;
1534     ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt" << std::endl;
1535     ofstrm << "rm tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt" << std::endl;
1536     ofstrm << "rm tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt" << std::endl;
1537     }
1538     if(etude_thermique)
1539     {
1540     ofstrm << "mkdir -p resultats/champ/FH/F_x/lin" << std::endl;
1541     ofstrm << "mkdir -p resultats/champ/FH/F_y/lin" << std::endl;
1542     ofstrm << "mkdir -p resultats/champ/FH/F_z/lin" << std::endl;
1543     ofstrm << "mkdir -p resultats/champ/GH/G_x/lin" << std::endl;
1544     ofstrm << "mkdir -p resultats/champ/GH/G_y/lin" << std::endl;
1545     ofstrm << "mkdir -p resultats/champ/GH/G_z/lin" << std::endl;
1546     ofstrm << "mkdir -p resultats/conductivite_thermique/FH/lin" << std::endl;
1547     ofstrm << "mkdir -p resultats/conductivite_thermique/GH/lin" << std::endl;
1548     ofstrm << "find etude/ -name \"ves_calcul_CLF_x_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_x_post_lin.txt" << std::endl;
1549     ofstrm << "find etude/ -name \"ves_calcul_CLF_y_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_y_post_lin.txt" << std::endl;
1550     ofstrm << "find etude/ -name \"ves_calcul_CLF_z_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_z_post_lin.txt" << std::endl;
1551     ofstrm << "find etude/ -name \"ves_calcul_CLG_x_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_x_post_lin.txt" << std::endl;
1552     ofstrm << "find etude/ -name \"ves_calcul_CLG_y_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_y_post_lin.txt" << std::endl;
1553     ofstrm << "find etude/ -name \"ves_calcul_CLG_z_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_z_post_lin.txt" << std::endl;
1554     ofstrm << "find etude/ -name \"ves_CLF_conductivite_thermique_post_lin.ves\" | sort > tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt" << std::endl;
1555     ofstrm << "find etude/ -name \"ves_CLG_conductivite_thermique_post_lin.ves\" | sort > tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt" << std::endl;
1556     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;
1557     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;
1558     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;
1559     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;
1560     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;
1561 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;
1562    
1563     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;
1564     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;
1565     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;
1566     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;
1567     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;
1568     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;
1569    
1570 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;
1571     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;
1572     ofstrm << "rm tmp_lst_ves_calcul_CLF_x_post_lin.txt" << std::endl;
1573     ofstrm << "rm tmp_lst_ves_calcul_CLF_y_post_lin.txt" << std::endl;
1574     ofstrm << "rm tmp_lst_ves_calcul_CLF_z_post_lin.txt" << std::endl;
1575     ofstrm << "rm tmp_lst_ves_calcul_CLG_x_post_lin.txt" << std::endl;
1576     ofstrm << "rm tmp_lst_ves_calcul_CLG_y_post_lin.txt" << std::endl;
1577     ofstrm << "rm tmp_lst_ves_calcul_CLG_z_post_lin.txt" << std::endl;
1578     ofstrm << "rm tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt" << std::endl;
1579     ofstrm << "rm tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt" << std::endl;
1580     }
1581 couturad 951 }
1582     if(fem_maill_quad)
1583     {
1584 couturad 971 if(etude_mecanique)
1585     {
1586     ofstrm << "mkdir -p resultats/champ/DH/sph/quad" << std::endl;
1587     ofstrm << "mkdir -p resultats/champ/DH/dev/quad" << std::endl;
1588     ofstrm << "mkdir -p resultats/champ/CH/sph/quad" << std::endl;
1589     ofstrm << "mkdir -p resultats/champ/CH/dev/quad" << std::endl;
1590     ofstrm << "mkdir -p resultats/modules_elasticite/DH/quad" << std::endl;
1591     ofstrm << "mkdir -p resultats/modules_elasticite/CH/quad" << std::endl;
1592     ofstrm << "find etude/ -name \"ves_calcul_CLDH_sph_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_post_quad.txt" << std::endl;
1593     ofstrm << "find etude/ -name \"ves_calcul_CLCH_sph_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_post_quad.txt" << std::endl;
1594     ofstrm << "find etude/ -name \"ves_calcul_CLDH_dev_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_post_quad.txt" << std::endl;
1595     ofstrm << "find etude/ -name \"ves_calcul_CLCH_dev_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_post_quad.txt" << std::endl;
1596     ofstrm << "find etude/ -name \"ves_calcul_CLDH_sph_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt" << std::endl;
1597     ofstrm << "find etude/ -name \"ves_calcul_CLCH_sph_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt" << std::endl;
1598     ofstrm << "find etude/ -name \"ves_calcul_CLDH_dev_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt" << std::endl;
1599     ofstrm << "find etude/ -name \"ves_calcul_CLCH_dev_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt" << std::endl;
1600     ofstrm << "find etude/ -name \"ves_CLDH_modules_elasticite_post_quad.ves\" | sort > tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt" << std::endl;
1601     ofstrm << "find etude/ -name \"ves_CLCH_modules_elasticite_post_quad.ves\" | sort > tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt" << std::endl;
1602     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;
1603     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;
1604     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;
1605     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;
1606     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;
1607     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;
1608     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;
1609     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;
1610     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;
1611     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;
1612     ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_post_quad.txt" << std::endl;
1613     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_post_quad.txt" << std::endl;
1614     ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_post_quad.txt" << std::endl;
1615     ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_post_quad.txt" << std::endl;
1616     ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt" << std::endl;
1617     ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt" << std::endl;
1618     ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt" << std::endl;
1619     ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt" << std::endl;
1620     ofstrm << "rm tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt" << std::endl;
1621     ofstrm << "rm tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt" << std::endl;
1622     }
1623     if(etude_thermique)
1624     {
1625     ofstrm << "mkdir -p resultats/champ/FH/F_x/quad" << std::endl;
1626     ofstrm << "mkdir -p resultats/champ/FH/F_y/quad" << std::endl;
1627     ofstrm << "mkdir -p resultats/champ/FH/F_z/quad" << std::endl;
1628     ofstrm << "mkdir -p resultats/champ/GH/G_x/quad" << std::endl;
1629     ofstrm << "mkdir -p resultats/champ/GH/G_y/quad" << std::endl;
1630     ofstrm << "mkdir -p resultats/champ/GH/G_z/quad" << std::endl;
1631     ofstrm << "mkdir -p resultats/conductivite_thermique/FH/quad" << std::endl;
1632     ofstrm << "mkdir -p resultats/conductivite_thermique/GH/quad" << std::endl;
1633     ofstrm << "find etude/ -name \"ves_calcul_CLF_x_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_x_post_quad.txt" << std::endl;
1634     ofstrm << "find etude/ -name \"ves_calcul_CLF_y_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_y_post_quad.txt" << std::endl;
1635     ofstrm << "find etude/ -name \"ves_calcul_CLF_z_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_z_post_quad.txt" << std::endl;
1636     ofstrm << "find etude/ -name \"ves_calcul_CLG_x_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_x_post_quad.txt" << std::endl;
1637     ofstrm << "find etude/ -name \"ves_calcul_CLG_y_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_y_post_quad.txt" << std::endl;
1638     ofstrm << "find etude/ -name \"ves_calcul_CLG_z_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_z_post_quad.txt" << std::endl;
1639     ofstrm << "find etude/ -name \"ves_CLF_conductivite_thermique_post_quad.ves\" | sort > tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt" << std::endl;
1640     ofstrm << "find etude/ -name \"ves_CLG_conductivite_thermique_post_quad.ves\" | sort > tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt" << std::endl;
1641     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;
1642     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;
1643     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;
1644     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;
1645     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;
1646 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;
1647    
1648     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;
1649     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;
1650     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;
1651     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;
1652     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;
1653     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;
1654    
1655 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;
1656     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;
1657     ofstrm << "rm tmp_lst_ves_calcul_CLF_x_post_quad.txt" << std::endl;
1658     ofstrm << "rm tmp_lst_ves_calcul_CLF_y_post_quad.txt" << std::endl;
1659     ofstrm << "rm tmp_lst_ves_calcul_CLF_z_post_quad.txt" << std::endl;
1660     ofstrm << "rm tmp_lst_ves_calcul_CLG_x_post_quad.txt" << std::endl;
1661     ofstrm << "rm tmp_lst_ves_calcul_CLG_y_post_quad.txt" << std::endl;
1662     ofstrm << "rm tmp_lst_ves_calcul_CLG_z_post_quad.txt" << std::endl;
1663     ofstrm << "rm tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt" << std::endl;
1664     ofstrm << "rm tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt" << std::endl;
1665     }
1666 couturad 951 }
1667     ofstrm << "" << std::endl;
1668 couturad 968 ofstrm << "./produire_figures 0" << std::endl;
1669     ofstrm << "echo \"**********************\"" << std::endl;
1670     ofstrm << "echo \" FIN \"" << std::endl;
1671     ofstrm << "echo \"**********************\"" << std::endl;
1672     ofstrm << "exit $STAT" << std::endl;
1673     ofstrm.close();
1674     if(fonc_affiche!=NULL) fonc_affiche((char*)"post_traitement");
1675     system((char*)"chmod 744 post_traitement");
1676 couturad 951
1677 couturad 968
1678    
1679    
1680     ofstrm.open((char*)"produire_figures",std::ios::out|std::ios::trunc);
1681     ofstrm.precision(16);
1682     ofstrm.setf(std::ios::showpoint);
1683     ofstrm << "#!/bin/bash" << std::endl;
1684     ofstrm << "COUCHE_REF=\"$1\"" << std::endl;
1685 couturad 951 ofstrm << "#Data pour graph" << std::endl;
1686     ofstrm << "PWD=pwd" << std::endl;
1687 couturad 968 ofstrm << "mkdir -p resultats/data_graph resultats/graph" << std::endl;
1688     if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE)
1689 couturad 951 {
1690     ofstrm << "#Orientation" << std::endl;
1691 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;
1692     ofstrm << "sed -i '1s/^/Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_Err_abs_ori.txt" << std::endl;
1693     if(fem_maill_lin)
1694 couturad 951 {
1695 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;
1696     ofstrm << "sed -i '1s/^/Couche Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_erosion_Err_abs_ori_lin.txt" << std::endl;
1697 couturad 951 }
1698 couturad 968 if(fem_maill_quad)
1699 couturad 951 {
1700 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;
1701     ofstrm << "sed -i '1s/^/Couche Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_erosion_Err_abs_ori_quad.txt" << std::endl;
1702 couturad 951 }
1703 couturad 968 }
1704 couturad 951 if(fem_maill_lin)
1705     {
1706 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;
1707 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;
1708 couturad 971 if(etude_mecanique)
1709     {
1710     ofstrm << "#Module elasticite" << std::endl;
1711     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;
1712     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;
1713     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;
1714     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;
1715     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;
1716     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;
1717     ofstrm << "rm resultats/data_graph/tmp_erosion_Modules_app_CH_lin resultats/data_graph/tmp_erosion_Modules_app_DH_lin" << std::endl;
1718     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;
1719     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;
1720     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;
1721     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;
1722     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_CH_lin.txt" << std::endl;
1723     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_DH_lin.txt" << std::endl;
1724 couturad 974 ofstrm << "rm resultats/data_graph/tmp_Modules_app_CH_lin resultats/data_graph/tmp_Modules_app_DH_lin" << std::endl;
1725 couturad 971 }
1726     if(etude_thermique)
1727     {
1728     ofstrm << "#Conductivite thermique" << std::endl;
1729     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;
1730     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;
1731     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;
1732     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;
1733     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt" << std::endl;
1734     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt" << std::endl;
1735     ofstrm << "rm resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_lin resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_lin" << std::endl;
1736     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;
1737     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;
1738     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;
1739     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;
1740     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt" << std::endl;
1741     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt" << std::endl;
1742     ofstrm << "rm resultats/data_graph/tmp_Conductivite_thermique_app_FH_lin resultats/data_graph/tmp_Conductivite_thermique_app_GH_lin" << std::endl;
1743     }
1744     ofstrm << "rm resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_liste_fem_maill_lin" << std::endl;
1745 couturad 951 }
1746     if(fem_maill_quad)
1747     {
1748 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;
1749 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;
1750 couturad 971 if(etude_mecanique)
1751     {
1752     ofstrm << "#Module elasticite" << std::endl;
1753     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;
1754     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;
1755     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;
1756     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;
1757     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;
1758     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;
1759     ofstrm << "rm resultats/data_graph/tmp_erosion_Modules_app_CH_quad resultats/data_graph/tmp_erosion_Modules_app_DH_quad" << std::endl;
1760     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;
1761     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;
1762     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;
1763     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;
1764     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_CH_quad.txt" << std::endl;
1765     ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_DH_quad.txt" << std::endl;
1766     ofstrm << "rm resultats/data_graph/tmp_Modules_app_CH_quad resultats/data_graph/tmp_Modules_app_DH_quad" << std::endl;
1767     }
1768     if(etude_thermique)
1769     {
1770     ofstrm << "#Conductivite thermique" << std::endl;
1771     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;
1772     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;
1773     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;
1774     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;
1775     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt" << std::endl;
1776     ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt" << std::endl;
1777     ofstrm << "rm resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_quad resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_quad" << std::endl;
1778     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;
1779     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;
1780     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;
1781     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;
1782     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt" << std::endl;
1783     ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt" << std::endl;
1784     ofstrm << "rm resultats/data_graph/tmp_Conductivite_thermique_app_FH_quad resultats/data_graph/tmp_Conductivite_thermique_app_GH_quad" << std::endl;
1785     }
1786     ofstrm << "rm resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_liste_fem_maill_quad" << std::endl;
1787 couturad 951 }
1788 couturad 974 ofstrm << "gnuplot -e \"couche_ref=0\" fig.gnu" << std::endl;
1789 couturad 968 if(fonc_affiche!=NULL) fonc_affiche((char*)"produire_figures");
1790     system((char*)"chmod 744 produire_figures");
1791 couturad 964 ofstrm.close();
1792    
1793 couturad 951
1794 couturad 968 ofstrm.open((char*)"fig.gnu",std::ios::out|std::ios::trunc);
1795 couturad 951 ofstrm.precision(16);
1796     ofstrm.setf(std::ios::showpoint);
1797 couturad 974 ofstrm << "if (!exists(\"couche_ref\")) couche_ref=0" << std::endl;
1798     ofstrm << "print sprintf(\"couche ref : c_%i\",couche_ref)" << std::endl;
1799 couturad 951 ofstrm << "" << std::endl;
1800 couturad 982 ofstrm << "set terminal svg size 960,540 font 'Helvetica,14'" << std::endl;
1801     ofstrm << "set key outside" << std::endl;
1802     ofstrm << "c1(c)=c" << std::endl;
1803     ofstrm << "c2(c)=1.0-c" << std::endl;
1804     ofstrm << "" << std::endl;
1805 couturad 971 if(etude_mecanique)
1806 couturad 951 {
1807 couturad 982 ofstrm << "E1=real(system(sprintf(\"grep 'Mu_E' parametre/materiau/param_mat_particule.txt | awk '{print $3/(1000000000)}'\")))" << std::endl;
1808     ofstrm << "nu1=real(system(sprintf(\"grep 'Mu_nu' parametre/materiau/param_mat_particule.txt | awk '{print $3}'\")))" << std::endl;
1809     ofstrm << "E2=real(system(sprintf(\"grep 'Mu_E' parametre/materiau/param_mat_matrice.txt | awk '{print $3/(1000000000)}'\")))" << std::endl;
1810     ofstrm << "nu2=real(system(sprintf(\"grep 'Mu_nu' parametre/materiau/param_mat_matrice.txt | awk '{print $3}'\")))" << std::endl;
1811     ofstrm << "print sprintf(\"E1 = %f GPa, nu1 = %f\",E1,nu1)" << std::endl;
1812     ofstrm << "print sprintf(\"E2 = %f GPa, nu2 = %f\",E2,nu2)" << std::endl;
1813     ofstrm << "transfk(E,nu)=E/(3.0*(1.0-2.0*nu))" << std::endl;
1814     ofstrm << "transfmu(E,nu)=E*0.5/(1.0+nu)" << std::endl;
1815     ofstrm << "transfE(k,mu)=9.0*mu*k/(3.0*k+mu)" << std::endl;
1816     ofstrm << "transfnu(k,mu)=(3.0*k-2.0*mu)/(6.0*k+2.0*mu)" << std::endl;
1817     ofstrm << "fk(c,mu)=k1+c2(c)*(k2-k1)/(1.0+c1(c)*(k2-k1)/(k1+4.0*mu/3.0))" << std::endl;
1818     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;
1819     ofstrm << "mu1=transfmu(E1,nu1)" << std::endl;
1820     ofstrm << "k1=transfk(E1,nu1)" << std::endl;
1821     ofstrm << "mu2=transfmu(E2,nu2)" << std::endl;
1822     ofstrm << "k2=transfk(E2,nu2)" << std::endl;
1823     ofstrm << "k_voigt(c)=c1(c)*k1+c2(c)*k2" << std::endl;
1824     ofstrm << "mu_voigt(c)=c1(c)*mu1+c2(c)*mu2" << std::endl;
1825     ofstrm << "k_reuss(c)=(k1*k2)/(c1(c)*k2+c2(c)*k1)" << std::endl;
1826     ofstrm << "mu_reuss(c)=(mu1*mu2)/(c1(c)*mu2+c2(c)*mu1)" << std::endl;
1827     ofstrm << "E_voigt(c)=transfE(k_voigt(c),mu_voigt(c))" << std::endl;
1828     ofstrm << "nu_voigt(c)=transfnu(k_voigt(c),mu_voigt(c))" << std::endl;
1829     ofstrm << "E_reuss(c)=transfE(k_reuss(c),mu_reuss(c))" << std::endl;
1830     ofstrm << "nu_reuss(c)=transfnu(k_reuss(c),mu_reuss(c))" << std::endl;
1831     ofstrm << "ka(c)=fk(c,mu1)" << std::endl;
1832     ofstrm << "kb(c)=fk(c,mu2)" << std::endl;
1833     ofstrm << "k_hs_inf(c)=ka(c)<kb(c) ? ka(c) : kb(c)" << std::endl;
1834     ofstrm << "k_hs_sup(c)=ka(c)<kb(c) ? kb(c) : ka(c)" << std::endl;
1835     ofstrm << "mua(c)=((mu1-mu2)*(k1-k2))>=0. ? fm(c,k1,mu1) : fm(c,k2,mu1)" << std::endl;
1836     ofstrm << "mub(c)=((mu1-mu2)*(k1-k2))>=0. ? fm(c,k2,mu2) : fm(c,k1,mu2)" << std::endl;
1837     ofstrm << "mu_hs_inf(c)=mua(c)<mub(c) ? mua(c) : mub(c)" << std::endl;
1838     ofstrm << "mu_hs_sup(c)=mua(c)<mub(c) ? mub(c) : mua(c)" << std::endl;
1839     ofstrm << "E_hs_inf(c)=transfE(k_hs_inf(c),mu_hs_inf(c))" << std::endl;
1840     ofstrm << "E_hs_sup(c)=transfE(k_hs_sup(c),mu_hs_sup(c))" << std::endl;
1841     }
1842     if(etude_thermique)
1843     {
1844     ofstrm << "lambda1=real(system(sprintf(\"grep 'Mu_Lambda' parametre/materiau/param_mat_particule.txt | awk '{print $3}'\")))" << std::endl;
1845     ofstrm << "lambda2=real(system(sprintf(\"grep 'Mu_Lambda' parametre/materiau/param_mat_matrice.txt | awk '{print $3}'\")))" << std::endl;
1846     ofstrm << "print sprintf(\"lambda1 = %f (W/(mK))\",lambda1)" << std::endl;
1847     ofstrm << "print sprintf(\"lambda2 = %f (W/(mK))\",lambda2)" << std::endl;
1848     ofstrm << "lambda_voigt(c)=c1(c)*lambda1+c2(c)*lambda2" << std::endl;
1849     ofstrm << "lambda_reuss(c)=1.0/((c1(c)/lambda1)+(c2(c)/lambda2))" << std::endl;
1850     ofstrm << "lambda_a(c)=lambda2+(c1(c)/((1.0/(lambda1-lambda2))+(c2(c)/(2.0*lambda2))))" << std::endl;
1851     ofstrm << "lambda_b(c)=lambda1+(c2(c)/((1.0/(lambda2-lambda1))+(c1(c)/(2.0*lambda1))))" << std::endl;
1852     ofstrm << "lambda_hs_inf(c)=(lambda_a(c)>lambda_b(c)) ? lambda_b(c) : lambda_a(c)" << std::endl;
1853     ofstrm << "lambda_hs_sup(c)=(lambda_a(c)>lambda_b(c)) ? lambda_a(c) : lambda_b(c)" << std::endl;
1854     }
1855     if(etude_mecanique)
1856     {
1857 couturad 971 ofstrm << "" << std::endl;
1858 couturad 982 ofstrm << "" << std::endl;
1859     ofstrm << "set output \"resultats/graph/nuage_Eapp.svg\"" << std::endl;
1860 couturad 971 ofstrm << "set xrange [0:50]" << std::endl;
1861     ofstrm << "set title \"Module de Young (GPa)\"" << std::endl;
1862     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
1863     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
1864     if(fem_maill_lin && fem_maill_quad)
1865     {
1866 couturad 974 ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 1 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl;
1867     ofstrm << " \"resultats/data_graph/liste_Modules_app_CH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 1 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl;
1868     ofstrm << " \"resultats/data_graph/liste_Modules_app_DH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 1 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl;
1869     ofstrm << " \"resultats/data_graph/liste_Modules_app_CH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 1 lc rgb 'red' lw 1 title \"DH quad\",\\" << std::endl;
1870 couturad 971 }
1871     else if(fem_maill_lin && !fem_maill_quad)
1872     {
1873 couturad 974 ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 1 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl;
1874     ofstrm << " \"resultats/data_graph/liste_Modules_app_CH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 1 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl;
1875 couturad 971 }
1876     else if(!fem_maill_lin && fem_maill_quad)
1877     {
1878 couturad 974 ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 1 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl;
1879     ofstrm << " \"resultats/data_graph/liste_Modules_app_CH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 1 lc rgb 'red' lw 1 title \"CH quad\",\\" << std::endl;
1880 couturad 971 }
1881 couturad 982 ofstrm << " E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
1882     ofstrm << " E_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{HS-}\" ,\\" << std::endl;
1883     ofstrm << " E_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
1884     ofstrm << " E_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
1885 couturad 974 ofstrm << "#pause -1" << std::endl;
1886 couturad 971
1887     ofstrm << "" << std::endl;
1888 couturad 982 ofstrm << "set output \"resultats/graph/cumul_Eapp.svg\"" << std::endl;
1889 couturad 971 ofstrm << "set title \"Module de Young (GPa)\"" << std::endl;
1890     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
1891     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
1892     if(fem_maill_lin && fem_maill_quad)
1893     {
1894 couturad 982 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 1 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl;
1895     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 1 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl;
1896     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 1 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl;
1897     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 1 lc rgb 'red' lw 1 title \"DH quad\",\\" << std::endl;
1898 couturad 971 }
1899     else if(fem_maill_lin && !fem_maill_quad)
1900     {
1901 couturad 982 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 1 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl;
1902     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 1 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl;
1903 couturad 971 }
1904     else if(!fem_maill_lin && fem_maill_quad)
1905     {
1906 couturad 982 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 1 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl;
1907     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 1 lc rgb 'red' lw 1 title \"CH quad\",\\" << std::endl;
1908 couturad 971 }
1909 couturad 982 ofstrm << " E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl;
1910     ofstrm << " E_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{HS-}\" ,\\" << std::endl;
1911     ofstrm << " E_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl;
1912     ofstrm << " E_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl;
1913 couturad 971 ofstrm << "#pause -1" << std::endl;
1914    
1915 couturad 982 ofstrm << "set output \"resultats/graph/cumul_erosion_Eapp.svg\"" << std::endl;
1916 couturad 971 ofstrm << "set xrange [0:0.5]" << std::endl;
1917     ofstrm << "set y2range[0:100]" << std::endl;
1918     ofstrm << "set title \"Module de Young (GPa)\"" << std::endl;
1919     ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
1920     ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl;
1921     ofstrm << "set y2label \"Fraction volumique (%)\"" << std::endl;
1922     ofstrm << "set ytics nomirror" << std::endl;
1923     ofstrm << "set y2tics" << std::endl;
1924     if(fem_maill_lin && fem_maill_quad)
1925     {
1926     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'blue' lw 1 title \"DH lin\" axes x1y1 ,\\" << std::endl;
1927 couturad 974 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 lc rgb 'blue' lw 1 title \"erreur DH lin\" axes x1y1 ,\\" << std::endl;
1928 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'red' lw 1 title \"CH lin\" axes x1y1 ,\\" << std::endl;
1929 couturad 974 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 lc rgb 'red' lw 1 title \"erreur CH lin\" axes x1y1 ,\\" << std::endl;
1930 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
1931     ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
1932 couturad 982 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss} lin\" ,\\" << std::endl;
1933     ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"E_{HS-} lin\" ,\\" << std::endl;
1934     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+} lin\" ,\\" << std::endl;
1935     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} lin\" ,\\" << std::endl;
1936 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'blue' lw 1 title \"DH quad\" axes x1y1 ,\\" << std::endl;
1937 couturad 974 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 lc rgb 'blue' lw 1 title \"erreur DH quad\" axes x1y1 ,\\" << std::endl;
1938 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'red' lw 1 title \"CH quad\" axes x1y1 ,\\" << std::endl;
1939 couturad 974 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 lc rgb 'red' lw 1 title \"erreur CH quad\" axes x1y1 ,\\" << std::endl;
1940 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
1941     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 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2" << std::endl;
1942     }
1943     else if(fem_maill_lin && !fem_maill_quad)
1944     {
1945     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'blue' lw 1 title \"DH lin\" axes x1y1 ,\\" << std::endl;
1946 couturad 974 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 lc rgb 'blue' lw 1 title \"erreur DH lin\" axes x1y1 ,\\" << std::endl;
1947 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'red' lw 1 title \"CH lin\" axes x1y1 ,\\" << std::endl;
1948 couturad 974 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 lc rgb 'red' lw 1 title \"erreur CH lin\" axes x1y1 ,\\" << std::endl;
1949 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
1950 couturad 982 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
1951     ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss} lin\" ,\\" << std::endl;
1952     ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"E_{HS-} lin\" ,\\" << std::endl;
1953     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+} lin\" ,\\" << std::endl;
1954     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} lin\"" << std::endl;
1955 couturad 971 }
1956     if(!fem_maill_lin && fem_maill_quad)
1957     {
1958     ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'blue' lw 1 title \"DH quad\" axes x1y1 ,\\" << std::endl;
1959 couturad 974 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 lc rgb 'blue' lw 1 title \"erreur DH quad\" axes x1y1 ,\\" << std::endl;
1960 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with lines lc rgb 'red' lw 1 title \"CH quad\" axes x1y1 ,\\" << std::endl;
1961 couturad 974 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 lc rgb 'red' lw 1 title \"erreur CH quad\" axes x1y1 ,\\" << std::endl;
1962 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
1963 couturad 982 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 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
1964     ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss} quad\" ,\\" << std::endl;
1965     ofstrm << " \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"E_{HS-} quad\" ,\\" << std::endl;
1966     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+} quad\" ,\\" << std::endl;
1967     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} quad\"" << std::endl;
1968 couturad 971 }
1969 couturad 982
1970 couturad 971 ofstrm << "unset y2label" << std::endl;
1971     ofstrm << "unset y2tics" << std::endl;
1972     ofstrm << "#pause -1" << std::endl;
1973    
1974 couturad 982 ofstrm << "set output \"resultats/graph/cumul_erosion_ecart_energie.svg\"" << std::endl;
1975 couturad 971 ofstrm << "set xrange [0:0.5]" << std::endl;
1976 couturad 982 ofstrm << "set title \"Ecart d'energie relatif (%)\"" << std::endl;
1977 couturad 971 ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
1978 couturad 982 ofstrm << "set ylabel \"Ecart d'energie relatif (%)\"" << std::endl;
1979 couturad 971 if(fem_maill_lin && fem_maill_quad)
1980     {
1981     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH dev lin\",\\" << std::endl;
1982 couturad 974 ofstrm << " \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($ 1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur CH dev lin\",\\" << std::endl;
1983 couturad 971 ofstrm << " \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH sph lin\",\\" << std::endl;
1984 couturad 974 ofstrm << " \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur CH sph lin\",\\" << std::endl;
1985 couturad 971 ofstrm << " \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH dev lin\",\\" << std::endl;
1986 couturad 974 ofstrm << " \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur DH dev lin\",\\" << std::endl;
1987 couturad 971 ofstrm << " \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH sph lin\",\\" << std::endl;
1988 couturad 974 ofstrm << " \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur DH sph lin\",\\" << std::endl;
1989 couturad 971 ofstrm << " \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH dev quad\",\\" << std::endl;
1990 couturad 974 ofstrm << " \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'red' lw 1 title \"erreur CH dev quad\",\\" << std::endl;
1991 couturad 971 ofstrm << " \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH sph quad\",\\" << std::endl;
1992 couturad 974 ofstrm << " \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'red' lw 1 title \"erreur CH sph quad\",\\" << std::endl;
1993 couturad 971 ofstrm << " \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH dev quad\",\\" << std::endl;
1994 couturad 974 ofstrm << " \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur DH dev quad\",\\" << std::endl;
1995 couturad 971 ofstrm << " \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH sph quad\",\\" << std::endl;
1996 couturad 974 ofstrm << " \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur DH sph quad\"" << std::endl;
1997 couturad 971 }
1998     else if(fem_maill_lin && !fem_maill_quad)
1999     {
2000     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH dev lin\",\\" << std::endl;
2001 couturad 974 ofstrm << " \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur CH dev lin\",\\" << std::endl;
2002 couturad 971 ofstrm << " \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH sph lin\",\\" << std::endl;
2003 couturad 974 ofstrm << " \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur CH sph lin\",\\" << std::endl;
2004 couturad 971 ofstrm << " \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH dev lin\",\\" << std::endl;
2005 couturad 974 ofstrm << " \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur DH dev lin\",\\" << std::endl;
2006 couturad 971 ofstrm << " \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH sph lin\",\\" << std::endl;
2007 couturad 974 ofstrm << " \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur DH sph lin\"" << std::endl;
2008 couturad 971 }
2009     else if(!fem_maill_lin && fem_maill_quad)
2010     {
2011     ofstrm << "plot \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH dev quad\",\\" << std::endl;
2012 couturad 974 ofstrm << " \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'red' lw 1 title \"erreur CH dev quad\",\\" << std::endl;
2013 couturad 971 ofstrm << " \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH sph quad\",\\" << std::endl;
2014 couturad 974 ofstrm << " \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'red' lw 1 title \"erreur CH sph quad\",\\" << std::endl;
2015 couturad 971 ofstrm << " \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH dev quad\",\\" << std::endl;
2016 couturad 974 ofstrm << " \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur DH dev quad\",\\" << std::endl;
2017 couturad 971 ofstrm << " \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH sph quad\",\\" << std::endl;
2018 couturad 974 ofstrm << " \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur DH sph quad\"" << std::endl;
2019 couturad 971 }
2020     ofstrm << "#pause -1" << std::endl;
2021    
2022 couturad 982 ofstrm << "set output \"resultats/graph/cumul_erosion_ecart_chargement_CH_dev.svg\"" << std::endl;
2023 couturad 971 ofstrm << "set xrange [0:0.5]" << std::endl;
2024 couturad 982 ofstrm << "set title \"Ecart de chargement CLCH deviatorique (%)\"" << std::endl;
2025 couturad 971 ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
2026 couturad 982 ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2027 couturad 971 if(fem_maill_lin && fem_maill_quad)
2028     {
2029     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON lin\",\\" << std::endl;
2030 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON lin\",\\" << std::endl;
2031 couturad 971 ofstrm << " \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA lin\",\\" << std::endl;
2032 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA lin\",\\" << std::endl;
2033 couturad 971 ofstrm << " \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON quad\",\\" << std::endl;
2034 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON quad\",\\" << std::endl;
2035 couturad 971 ofstrm << " \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA quad\",\\" << std::endl;
2036 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA quad\"" << std::endl;
2037 couturad 971 }
2038     else if(fem_maill_lin && !fem_maill_quad)
2039     {
2040     ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON lin\",\\" << std::endl;
2041 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON lin\",\\" << std::endl;
2042 couturad 971 ofstrm << " \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA lin\",\\" << std::endl;
2043 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA lin\"" << std::endl;
2044 couturad 971 }
2045     else if(!fem_maill_lin && fem_maill_quad)
2046     {
2047     ofstrm << "plot \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON quad\",\\" << std::endl;
2048 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON quad\",\\" << std::endl;
2049 couturad 971 ofstrm << " \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA quad\",\\" << std::endl;
2050 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA quad\"" << std::endl;
2051     }
2052     ofstrm << "#pause -1" << std::endl;
2053    
2054     ofstrm << "set output \"resultats/graph/cumul_erosion_ecart_chargement_DH_dev.svg\"" << std::endl;
2055     ofstrm << "set xrange [0:0.5]" << std::endl;
2056     ofstrm << "set title \"Ecart de chargement CLDH deviatorique (%)\"" << std::endl;
2057     ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
2058     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2059     if(fem_maill_lin && fem_maill_quad)
2060     {
2061     ofstrm << "plot \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON lin\",\\" << std::endl;
2062     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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON lin\",\\" << std::endl;
2063     ofstrm << " \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA lin\",\\" << std::endl;
2064     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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA lin\",\\" << std::endl;
2065 couturad 971 ofstrm << " \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON quad\",\\" << std::endl;
2066 couturad 982 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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON quad\",\\" << std::endl;
2067 couturad 971 ofstrm << " \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA quad\",\\" << std::endl;
2068 couturad 982 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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA quad\",\\" << std::endl;
2069     }
2070     else if(fem_maill_lin && !fem_maill_quad)
2071     {
2072     ofstrm << "plot \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON lin\",\\" << std::endl;
2073     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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON lin\",\\" << std::endl;
2074     ofstrm << " \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA lin\",\\" << std::endl;
2075     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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA lin\"" << std::endl;
2076     }
2077     else if(!fem_maill_lin && fem_maill_quad)
2078     {
2079     ofstrm << "plot \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON quad\",\\" << std::endl;
2080     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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON quad\",\\" << std::endl;
2081     ofstrm << " \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA quad\",\\" << std::endl;
2082     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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA quad\"" << std::endl;
2083 couturad 971 }
2084     ofstrm << "#pause -1" << std::endl;
2085    
2086 couturad 982 ofstrm << "set output \"resultats/graph/cumul_erosion_ecart_chargement_CH_sph.svg\"" << std::endl;
2087 couturad 971 ofstrm << "set xrange [0:0.5]" << std::endl;
2088 couturad 982 ofstrm << "set title \"Ecart de chargement CLCH sph (%)\"" << std::endl;
2089 couturad 971 ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
2090 couturad 982 ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2091 couturad 971 if(fem_maill_lin && fem_maill_quad)
2092     {
2093     ofstrm << "plot \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON lin\",\\" << std::endl;
2094 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON lin\",\\" << std::endl;
2095 couturad 971 ofstrm << " \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA lin\",\\" << std::endl;
2096 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA lin\",\\" << std::endl;
2097 couturad 971 ofstrm << " \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON quad\",\\" << std::endl;
2098 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON quad\",\\" << std::endl;
2099 couturad 971 ofstrm << " \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA quad\",\\" << std::endl;
2100 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA quad\"" << std::endl;
2101 couturad 971 }
2102     else if(fem_maill_lin && !fem_maill_quad)
2103     {
2104     ofstrm << "plot \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON lin\",\\" << std::endl;
2105 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON lin\",\\" << std::endl;
2106 couturad 971 ofstrm << " \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA lin\",\\" << std::endl;
2107 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA lin\"" << std::endl;
2108 couturad 971 }
2109     else if(!fem_maill_lin && fem_maill_quad)
2110     {
2111     ofstrm << "plot \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 1 lw 1 title \"CH EPSILON quad\",\\" << std::endl;
2112 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH EPSILON quad\",\\" << std::endl;
2113 couturad 971 ofstrm << " \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'red' dt 2 lw 1 title \"CH SIGMA quad\",\\" << std::endl;
2114 couturad 982 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 lc rgb 'red' lw 1 title \"erreur CH SIGMA quad\"" << std::endl;
2115     }
2116     ofstrm << "#pause -1" << std::endl;
2117    
2118     ofstrm << "set output \"resultats/graph/cumul_erosion_ecart_chargement_DH_sph.svg\"" << std::endl;
2119     ofstrm << "set xrange [0:0.5]" << std::endl;
2120     ofstrm << "set title \"Ecart de chargement CLDH sph (%)\"" << std::endl;
2121     ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
2122     ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl;
2123     if(fem_maill_lin && fem_maill_quad)
2124     {
2125     ofstrm << "plot \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON lin\",\\" << std::endl;
2126     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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON lin\",\\" << std::endl;
2127     ofstrm << " \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA lin\",\\" << std::endl;
2128     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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA lin\",\\" << std::endl;
2129 couturad 971 ofstrm << " \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON quad\",\\" << std::endl;
2130 couturad 982 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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON quad\",\\" << std::endl;
2131 couturad 971 ofstrm << " \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA quad\",\\" << std::endl;
2132 couturad 982 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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA quad\",\\" << std::endl;
2133     }
2134     else if(fem_maill_lin && !fem_maill_quad)
2135     {
2136     ofstrm << "plot \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON lin\",\\" << std::endl;
2137     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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON lin\",\\" << std::endl;
2138     ofstrm << " \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA lin\",\\" << std::endl;
2139     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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA lin\"" << std::endl;
2140     }
2141     else if(!fem_maill_lin && fem_maill_quad)
2142     {
2143     ofstrm << "plot \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 1 lw 1 title \"DH EPSILON quad\",\\" << std::endl;
2144     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 lc rgb 'blue' lw 1 title \"erreur DH EPSILON quad\",\\" << std::endl;
2145     ofstrm << " \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with lines lc rgb 'blue' dt 2 lw 1 title \"DH SIGMA quad\",\\" << std::endl;
2146     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 lc rgb 'blue' lw 1 title \"erreur DH SIGMA quad\"" << std::endl;
2147 couturad 971 }
2148 couturad 982 ofstrm << "#pause -1" << std::endl;
2149    
2150 couturad 974
2151 couturad 982
2152    
2153    
2154    
2155     ////////////////////////////////////////////
2156     ofstrm << "set xrange [-1.5:1.5]" << std::endl;
2157     ofstrm << "set output \"resultats/graph/distribution_SIGMA_sph_xx.svg\"" << std::endl;
2158     ofstrm << "set title \"Distribution σ_{xx} normalisees chargement spherique\"" << std::endl;
2159     ofstrm << "set xlabel \"Contraintes normalisees σ_{xx}/Σ^0\"" << std::endl;
2160 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2161     if(fem_maill_lin && fem_maill_quad)
2162     {
2163 couturad 982 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;
2164     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;
2165     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;
2166     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;
2167 couturad 974 }
2168     else if(fem_maill_lin && !fem_maill_quad)
2169     {
2170 couturad 982 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;
2171     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;
2172 couturad 974 }
2173     else if(!fem_maill_lin && fem_maill_quad)
2174     {
2175 couturad 982 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} quad\",\\" << std::endl;
2176     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;
2177     }
2178     ofstrm << "set output \"resultats/graph/distribution_SIGMA_sph_yy.svg\"" << std::endl;
2179     ofstrm << "set title \"Distribution σ_{yy} normalisees chargement spherique\"" << std::endl;
2180     ofstrm << "set xlabel \"Contraintes normalisees σ_{yy}/Σ^0\"" << std::endl;
2181     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2182     if(fem_maill_lin && fem_maill_quad)
2183     {
2184     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;
2185     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;
2186     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;
2187     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;
2188     }
2189     else if(fem_maill_lin && !fem_maill_quad)
2190     {
2191     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;
2192     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;
2193     }
2194     else if(!fem_maill_lin && fem_maill_quad)
2195     {
2196     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} quad\",\\" << std::endl;
2197     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;
2198     }
2199     ofstrm << "set output \"resultats/graph/distribution_SIGMA_sph_zz.svg\"" << std::endl;
2200     ofstrm << "set title \"Distribution σ_{zz} normalisees chargement spherique\"" << std::endl;
2201     ofstrm << "set xlabel \"Contraintes normalisees σ_{zz}/Σ^0\"" << std::endl;
2202     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2203     if(fem_maill_lin && fem_maill_quad)
2204     {
2205     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;
2206     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;
2207     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;
2208     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;
2209     }
2210     else if(fem_maill_lin && !fem_maill_quad)
2211     {
2212     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;
2213     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;
2214     }
2215     else if(!fem_maill_lin && fem_maill_quad)
2216     {
2217     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 \"CH σ_{zz} quad\",\\" << std::endl;
2218     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;
2219     }
2220     ofstrm << "set output \"resultats/graph/distribution_SIGMA_sph_xy.svg\"" << std::endl;
2221     ofstrm << "set title \"Distribution σ_{xy} normalisees chargement spherique\"" << std::endl;
2222     ofstrm << "set xlabel \"Contraintes normalisees σ_{xy}/Σ^0\"" << std::endl;
2223     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2224     if(fem_maill_lin && fem_maill_quad)
2225     {
2226     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;
2227     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;
2228     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;
2229     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;
2230     }
2231     else if(fem_maill_lin && !fem_maill_quad)
2232     {
2233     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;
2234     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;
2235     }
2236     else if(!fem_maill_lin && fem_maill_quad)
2237     {
2238     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} quad\",\\" << std::endl;
2239     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;
2240     }
2241     ofstrm << "set output \"resultats/graph/distribution_SIGMA_sph_yz.svg\"" << std::endl;
2242     ofstrm << "set title \"Distribution σ_{yz} normalisees chargement spherique\"" << std::endl;
2243     ofstrm << "set xlabel \"Contraintes normalisees σ_{yz}/Σ^0\"" << std::endl;
2244     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2245     if(fem_maill_lin && fem_maill_quad)
2246     {
2247     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;
2248     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;
2249     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;
2250     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;
2251     }
2252     else if(fem_maill_lin && !fem_maill_quad)
2253     {
2254     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;
2255     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;
2256     }
2257     else if(!fem_maill_lin && fem_maill_quad)
2258     {
2259     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} quad\",\\" << std::endl;
2260     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;
2261     }
2262     ofstrm << "set output \"resultats/graph/distribution_SIGMA_sph_xz.svg\"" << std::endl;
2263     ofstrm << "set title \"Distribution σ_{xz} normalisees chargement spherique\"" << std::endl;
2264     ofstrm << "set xlabel \"Contraintes normalisees σ_{xz}/Σ^0\"" << std::endl;
2265     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2266     if(fem_maill_lin && fem_maill_quad)
2267     {
2268     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;
2269     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;
2270     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;
2271     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;
2272     }
2273     else if(fem_maill_lin && !fem_maill_quad)
2274     {
2275     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;
2276     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;
2277     }
2278     else if(!fem_maill_lin && fem_maill_quad)
2279     {
2280     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} quad\",\\" << std::endl;
2281     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;
2282 couturad 974 }
2283    
2284 couturad 982 ofstrm << "set output \"resultats/graph/distribution_SIGMA_dev_xx.svg\"" << std::endl;
2285     ofstrm << "set title \"Distribution σ_{xx} normalisees chargement deviatorique\"" << std::endl;
2286     ofstrm << "set xlabel \"Contraintes normalisees σ_{xx}/Σ^0\"" << std::endl;
2287 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2288     if(fem_maill_lin && fem_maill_quad)
2289     {
2290 couturad 982 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;
2291     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;
2292     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;
2293     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;
2294 couturad 974 }
2295     else if(fem_maill_lin && !fem_maill_quad)
2296     {
2297 couturad 982 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;
2298     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;
2299 couturad 974 }
2300     else if(!fem_maill_lin && fem_maill_quad)
2301     {
2302 couturad 982 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} quad\",\\" << std::endl;
2303     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;
2304     }
2305     ofstrm << "set output \"resultats/graph/distribution_SIGMA_dev_yy.svg\"" << std::endl;
2306     ofstrm << "set title \"Distribution σ_{yy} normalisees chargement deviatorique\"" << std::endl;
2307     ofstrm << "set xlabel \"Contraintes normalisees σ_{yy}/Σ^0\"" << std::endl;
2308 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2309     if(fem_maill_lin && fem_maill_quad)
2310     {
2311 couturad 982 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;
2312     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;
2313     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;
2314     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;
2315 couturad 974 }
2316     else if(fem_maill_lin && !fem_maill_quad)
2317     {
2318 couturad 982 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;
2319     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;
2320 couturad 974 }
2321     else if(!fem_maill_lin && fem_maill_quad)
2322     {
2323 couturad 982 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} quad\",\\" << std::endl;
2324     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;
2325     }
2326     ofstrm << "set output \"resultats/graph/distribution_SIGMA_dev_zz.svg\"" << std::endl;
2327     ofstrm << "set title \"Distribution σ_{zz} normalisees chargement deviatorique\"" << std::endl;
2328     ofstrm << "set xlabel \"Contraintes normalisees σ_{zz}/Σ^0\"" << std::endl;
2329     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2330     if(fem_maill_lin && fem_maill_quad)
2331     {
2332     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;
2333     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;
2334     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;
2335     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;
2336     }
2337     else if(fem_maill_lin && !fem_maill_quad)
2338     {
2339     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;
2340     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;
2341     }
2342     else if(!fem_maill_lin && fem_maill_quad)
2343     {
2344     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} quad\",\\" << std::endl;
2345     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;
2346     }
2347     ofstrm << "set output \"resultats/graph/distribution_SIGMA_dev_xy.svg\"" << std::endl;
2348     ofstrm << "set title \"Distribution σ_{xy} normalisees chargement deviatorique\"" << std::endl;
2349     ofstrm << "set xlabel \"Contraintes normalisees σ_{xy}/Σ^0\"" << std::endl;
2350     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2351     if(fem_maill_lin && fem_maill_quad)
2352     {
2353     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;
2354     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;
2355     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;
2356     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;
2357     }
2358     else if(fem_maill_lin && !fem_maill_quad)
2359     {
2360     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;
2361     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;
2362     }
2363     else if(!fem_maill_lin && fem_maill_quad)
2364     {
2365     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} quad\",\\" << std::endl;
2366     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;
2367     }
2368     ofstrm << "set output \"resultats/graph/distribution_SIGMA_dev_yz.svg\"" << std::endl;
2369     ofstrm << "set title \"Distribution σ_{yz} normalisees chargement deviatorique\"" << std::endl;
2370     ofstrm << "set xlabel \"Contraintes normalisees σ_{yz}/Σ^0\"" << std::endl;
2371     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2372     if(fem_maill_lin && fem_maill_quad)
2373     {
2374     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;
2375     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;
2376     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;
2377     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;
2378     }
2379     else if(fem_maill_lin && !fem_maill_quad)
2380     {
2381     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;
2382     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;
2383     }
2384     else if(!fem_maill_lin && fem_maill_quad)
2385     {
2386     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} quad\",\\" << std::endl;
2387     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;
2388     }
2389     ofstrm << "set output \"resultats/graph/distribution_SIGMA_dev_xz.svg\"" << std::endl;
2390     ofstrm << "set title \"Distribution σ_{xz} normalisees chargement deviatorique\"" << std::endl;
2391     ofstrm << "set xlabel \"Contraintes normalisees σ_{xz}/Σ^0\"" << std::endl;
2392     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2393     if(fem_maill_lin && fem_maill_quad)
2394     {
2395     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;
2396     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;
2397     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;
2398     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;
2399     }
2400     else if(fem_maill_lin && !fem_maill_quad)
2401     {
2402     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;
2403     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;
2404     }
2405     else if(!fem_maill_lin && fem_maill_quad)
2406     {
2407     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} quad\",\\" << std::endl;
2408     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;
2409     }
2410 couturad 974
2411 couturad 982 ofstrm << "set output \"resultats/graph/distribution_EPSILON_sph_xx.svg\"" << std::endl;
2412     ofstrm << "set title \"Distribution ε_{xx} normalisees chargement spherique\"" << std::endl;
2413     ofstrm << "set xlabel \"Deformations normalisees ε_{xx}/E^0\"" << std::endl;
2414 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2415     if(fem_maill_lin && fem_maill_quad)
2416     {
2417 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
2418     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\",\\" << std::endl;
2419     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
2420     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
2421 couturad 974 }
2422     else if(fem_maill_lin && !fem_maill_quad)
2423     {
2424 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
2425     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\"" << std::endl;
2426 couturad 974 }
2427     else if(!fem_maill_lin && fem_maill_quad)
2428     {
2429 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
2430     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
2431     }
2432     ofstrm << "set output \"resultats/graph/distribution_EPSILON_sph_yy.svg\"" << std::endl;
2433     ofstrm << "set title \"Distribution ε_{yy} normalisees chargement spherique\"" << std::endl;
2434     ofstrm << "set xlabel \"Deformations normalisees ε_{yy}/E^0\"" << std::endl;
2435     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2436     if(fem_maill_lin && fem_maill_quad)
2437     {
2438     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
2439     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\",\\" << std::endl;
2440     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
2441     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
2442     }
2443     else if(fem_maill_lin && !fem_maill_quad)
2444     {
2445     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
2446     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\"" << std::endl;
2447     }
2448     else if(!fem_maill_lin && fem_maill_quad)
2449     {
2450     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
2451     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
2452     }
2453     ofstrm << "set output \"resultats/graph/distribution_EPSILON_sph_zz.svg\"" << std::endl;
2454     ofstrm << "set title \"Distribution ε_{zz} normalisees chargement spherique\"" << std::endl;
2455     ofstrm << "set xlabel \"Deformations normalisees ε_{zz}/E^0\"" << std::endl;
2456     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2457     if(fem_maill_lin && fem_maill_quad)
2458     {
2459     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
2460     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\",\\" << std::endl;
2461     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
2462     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
2463     }
2464     else if(fem_maill_lin && !fem_maill_quad)
2465     {
2466     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
2467     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\"" << std::endl;
2468     }
2469     else if(!fem_maill_lin && fem_maill_quad)
2470     {
2471     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
2472     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
2473     }
2474     ofstrm << "set output \"resultats/graph/distribution_EPSILON_sph_xy.svg\"" << std::endl;
2475     ofstrm << "set title \"Distribution ε_{xy} normalisees chargement spherique\"" << std::endl;
2476     ofstrm << "set xlabel \"Deformations normalisees ε_{xy}/E^0\"" << std::endl;
2477     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2478     if(fem_maill_lin && fem_maill_quad)
2479     {
2480     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
2481     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\",\\" << std::endl;
2482     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
2483     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
2484     }
2485     else if(fem_maill_lin && !fem_maill_quad)
2486     {
2487     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
2488     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\"" << std::endl;
2489     }
2490     else if(!fem_maill_lin && fem_maill_quad)
2491     {
2492     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
2493     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
2494     }
2495     ofstrm << "set output \"resultats/graph/distribution_EPSILON_sph_yz.svg\"" << std::endl;
2496     ofstrm << "set title \"Distribution ε_{yz} normalisees chargement spherique\"" << std::endl;
2497     ofstrm << "set xlabel \"Deformations normalisees ε_{yz}/E^0\"" << std::endl;
2498     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2499     if(fem_maill_lin && fem_maill_quad)
2500     {
2501     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
2502     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\",\\" << std::endl;
2503     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
2504     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
2505     }
2506     else if(fem_maill_lin && !fem_maill_quad)
2507     {
2508     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
2509     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\"" << std::endl;
2510     }
2511     else if(!fem_maill_lin && fem_maill_quad)
2512     {
2513     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
2514     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
2515     }
2516     ofstrm << "set output \"resultats/graph/distribution_EPSILON_sph_xz.svg\"" << std::endl;
2517     ofstrm << "set title \"Distribution ε_{xz} normalisees chargement spherique\"" << std::endl;
2518     ofstrm << "set xlabel \"Deformations normalisees ε_{xz}/E^0\"" << std::endl;
2519     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2520     if(fem_maill_lin && fem_maill_quad)
2521     {
2522     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
2523     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\",\\" << std::endl;
2524     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
2525     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
2526     }
2527     else if(fem_maill_lin && !fem_maill_quad)
2528     {
2529     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
2530     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\"" << std::endl;
2531     }
2532     else if(!fem_maill_lin && fem_maill_quad)
2533     {
2534     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
2535     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
2536 couturad 974 }
2537    
2538 couturad 982 ofstrm << "set output \"resultats/graph/distribution_EPSILON_dev_xx.svg\"" << std::endl;
2539     ofstrm << "set title \"Distribution ε_{xx} normalisees chargement deviatorique\"" << std::endl;
2540     ofstrm << "set xlabel \"Deformations normalisees ε_{xx}/E^0\"" << std::endl;
2541 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2542     if(fem_maill_lin && fem_maill_quad)
2543     {
2544 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
2545     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\",\\" << std::endl;
2546     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
2547     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
2548 couturad 974 }
2549     else if(fem_maill_lin && !fem_maill_quad)
2550     {
2551 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
2552     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\"" << std::endl;
2553 couturad 974 }
2554     else if(!fem_maill_lin && fem_maill_quad)
2555     {
2556 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
2557     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
2558     }
2559     ofstrm << "set output \"resultats/graph/distribution_EPSILON_dev_yy.svg\"" << std::endl;
2560     ofstrm << "set title \"Distribution ε_{yy} normalisees chargement deviatorique\"" << std::endl;
2561     ofstrm << "set xlabel \"Deformations normalisees ε_{yy}/E^0\"" << std::endl;
2562     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2563     if(fem_maill_lin && fem_maill_quad)
2564     {
2565     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
2566     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\",\\" << std::endl;
2567     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
2568     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
2569     }
2570     else if(fem_maill_lin && !fem_maill_quad)
2571     {
2572     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
2573     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\"" << std::endl;
2574     }
2575     else if(!fem_maill_lin && fem_maill_quad)
2576     {
2577     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
2578     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
2579     }
2580     ofstrm << "set output \"resultats/graph/distribution_EPSILON_dev_zz.svg\"" << std::endl;
2581     ofstrm << "set title \"Distribution ε_{zz} normalisees chargement deviatorique\"" << std::endl;
2582     ofstrm << "set xlabel \"Deformations normalisees ε_{zz}/E^0\"" << std::endl;
2583     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2584     if(fem_maill_lin && fem_maill_quad)
2585     {
2586     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
2587     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\",\\" << std::endl;
2588     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
2589     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
2590     }
2591     else if(fem_maill_lin && !fem_maill_quad)
2592     {
2593     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
2594     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\"" << std::endl;
2595     }
2596     else if(!fem_maill_lin && fem_maill_quad)
2597     {
2598     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
2599     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
2600     }
2601     ofstrm << "set output \"resultats/graph/distribution_EPSILON_dev_xy.svg\"" << std::endl;
2602     ofstrm << "set title \"Distribution ε_{xy} normalisees chargement deviatorique\"" << std::endl;
2603     ofstrm << "set xlabel \"Deformations normalisees ε_{xy}/E^0\"" << std::endl;
2604     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2605     if(fem_maill_lin && fem_maill_quad)
2606     {
2607     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
2608     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\",\\" << std::endl;
2609     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
2610     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
2611     }
2612     else if(fem_maill_lin && !fem_maill_quad)
2613     {
2614     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
2615     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\"" << std::endl;
2616     }
2617     else if(!fem_maill_lin && fem_maill_quad)
2618     {
2619     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
2620     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
2621     }
2622     ofstrm << "set output \"resultats/graph/distribution_EPSILON_dev_yz.svg\"" << std::endl;
2623     ofstrm << "set title \"Distribution ε_{yz} normalisees chargement deviatorique\"" << std::endl;
2624     ofstrm << "set xlabel \"Deformations normalisees ε_{yz}/E^0\"" << std::endl;
2625     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2626     if(fem_maill_lin && fem_maill_quad)
2627     {
2628     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
2629     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\",\\" << std::endl;
2630     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
2631     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
2632     }
2633     else if(fem_maill_lin && !fem_maill_quad)
2634     {
2635     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
2636     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\"" << std::endl;
2637     }
2638     else if(!fem_maill_lin && fem_maill_quad)
2639     {
2640     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
2641     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
2642     }
2643     ofstrm << "set output \"resultats/graph/distribution_EPSILON_dev_xz.svg\"" << std::endl;
2644     ofstrm << "set title \"Distribution ε_{xz} normalisees chargement deviatorique\"" << std::endl;
2645     ofstrm << "set xlabel \"Deformations normalisees ε_{xz}/E^0\"" << std::endl;
2646     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2647     if(fem_maill_lin && fem_maill_quad)
2648     {
2649     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
2650     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\",\\" << std::endl;
2651     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
2652     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
2653     }
2654     else if(fem_maill_lin && !fem_maill_quad)
2655     {
2656     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
2657     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\"" << std::endl;
2658     }
2659     else if(!fem_maill_lin && fem_maill_quad)
2660     {
2661     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
2662     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
2663     }
2664    
2665    
2666    
2667     //////////////////////////////////
2668     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_sph_xx.svg\"" << std::endl;
2669     ofstrm << "set title \"Distribution σ_{xx} normalisees chargement spherique (Particule)\"" << std::endl;
2670     ofstrm << "set xlabel \"Contraintes normalisees σ_{xx}/Σ^0\"" << std::endl;
2671     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2672     if(fem_maill_lin && fem_maill_quad)
2673     {
2674     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} lin\",\\" << std::endl;
2675     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} lin\",\\" << std::endl;
2676     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} quad\",\\" << std::endl;
2677     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} quad\"" << std::endl;
2678     }
2679     else if(fem_maill_lin && !fem_maill_quad)
2680     {
2681     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} lin\",\\" << std::endl;
2682     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} lin\"" << std::endl;
2683     }
2684     else if(!fem_maill_lin && fem_maill_quad)
2685     {
2686     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} quad\",\\" << std::endl;
2687     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} quad\"" << std::endl;
2688     }
2689     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_sph_yy.svg\"" << std::endl;
2690     ofstrm << "set title \"Distribution σ_{yy} normalisees chargement spherique (Particule)\"" << std::endl;
2691     ofstrm << "set xlabel \"Contraintes normalisees σ_{yy}/Σ^0\"" << std::endl;
2692     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2693     if(fem_maill_lin && fem_maill_quad)
2694     {
2695     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} lin\",\\" << std::endl;
2696     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} lin\",\\" << std::endl;
2697     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} quad\",\\" << std::endl;
2698     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} quad\"" << std::endl;
2699     }
2700     else if(fem_maill_lin && !fem_maill_quad)
2701     {
2702     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} lin\",\\" << std::endl;
2703     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} lin\"" << std::endl;
2704     }
2705     else if(!fem_maill_lin && fem_maill_quad)
2706     {
2707     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} quad\",\\" << std::endl;
2708     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} quad\"" << std::endl;
2709     }
2710     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_sph_zz.svg\"" << std::endl;
2711     ofstrm << "set title \"Distribution σ_{zz} normalisees chargement spherique (Particule)\"" << std::endl;
2712     ofstrm << "set xlabel \"Contraintes normalisees σ_{zz}/Σ^0\"" << std::endl;
2713     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2714     if(fem_maill_lin && fem_maill_quad)
2715     {
2716     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} lin\",\\" << std::endl;
2717     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} lin\",\\" << std::endl;
2718     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} quad\",\\" << std::endl;
2719     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} quad\"" << std::endl;
2720     }
2721     else if(fem_maill_lin && !fem_maill_quad)
2722     {
2723     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} lin\",\\" << std::endl;
2724     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} lin\"" << std::endl;
2725     }
2726     else if(!fem_maill_lin && fem_maill_quad)
2727     {
2728     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} quad\",\\" << std::endl;
2729     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} quad\"" << std::endl;
2730     }
2731     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_sph_xy.svg\"" << std::endl;
2732     ofstrm << "set title \"Distribution σ_{xy} normalisees chargement spherique (Particule)\"" << std::endl;
2733     ofstrm << "set xlabel \"Contraintes normalisees σ_{xy}/Σ^0\"" << std::endl;
2734     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2735     if(fem_maill_lin && fem_maill_quad)
2736     {
2737     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} lin\",\\" << std::endl;
2738     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} lin\",\\" << std::endl;
2739     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} quad\",\\" << std::endl;
2740     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} quad\"" << std::endl;
2741     }
2742     else if(fem_maill_lin && !fem_maill_quad)
2743     {
2744     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} lin\",\\" << std::endl;
2745     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} lin\"" << std::endl;
2746     }
2747     else if(!fem_maill_lin && fem_maill_quad)
2748     {
2749     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} quad\",\\" << std::endl;
2750     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} quad\"" << std::endl;
2751     }
2752     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_sph_yz.svg\"" << std::endl;
2753     ofstrm << "set title \"Distribution σ_{yz} normalisees chargement spherique (Particule)\"" << std::endl;
2754     ofstrm << "set xlabel \"Contraintes normalisees σ_{yz}/Σ^0\"" << std::endl;
2755     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2756     if(fem_maill_lin && fem_maill_quad)
2757     {
2758     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} lin\",\\" << std::endl;
2759     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} lin\",\\" << std::endl;
2760     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} quad\",\\" << std::endl;
2761     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} quad\"" << std::endl;
2762     }
2763     else if(fem_maill_lin && !fem_maill_quad)
2764     {
2765     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} lin\",\\" << std::endl;
2766     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} lin\"" << std::endl;
2767     }
2768     else if(!fem_maill_lin && fem_maill_quad)
2769     {
2770     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} quad\",\\" << std::endl;
2771     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} quad\"" << std::endl;
2772     }
2773     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_sph_xz.svg\"" << std::endl;
2774     ofstrm << "set title \"Distribution σ_{xz} normalisees chargement spherique (Particule)\"" << std::endl;
2775     ofstrm << "set xlabel \"Contraintes normalisees σ_{xz}/Σ^0\"" << std::endl;
2776     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2777     if(fem_maill_lin && fem_maill_quad)
2778     {
2779     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} lin\",\\" << std::endl;
2780     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} lin\",\\" << std::endl;
2781     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} quad\",\\" << std::endl;
2782     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} quad\"" << std::endl;
2783     }
2784     else if(fem_maill_lin && !fem_maill_quad)
2785     {
2786     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} lin\",\\" << std::endl;
2787     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} lin\"" << std::endl;
2788     }
2789     else if(!fem_maill_lin && fem_maill_quad)
2790     {
2791     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} quad\",\\" << std::endl;
2792     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} quad\"" << std::endl;
2793 couturad 974 }
2794    
2795 couturad 982 ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_dev_xx.svg\"" << std::endl;
2796     ofstrm << "set title \"Distribution σ_{xx} normalisees chargement deviatorique (Particule)\"" << std::endl;
2797     ofstrm << "set xlabel \"Contraintes normalisees σ_{xx}/Σ^0\"" << std::endl;
2798 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2799     if(fem_maill_lin && fem_maill_quad)
2800     {
2801 couturad 982 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} lin\",\\" << std::endl;
2802     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} lin\",\\" << std::endl;
2803     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} quad\",\\" << std::endl;
2804     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} quad\"" << std::endl;
2805 couturad 974 }
2806     else if(fem_maill_lin && !fem_maill_quad)
2807     {
2808 couturad 982 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} lin\",\\" << std::endl;
2809     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} lin\"" << std::endl;
2810 couturad 974 }
2811     else if(!fem_maill_lin && fem_maill_quad)
2812     {
2813 couturad 982 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} quad\",\\" << std::endl;
2814     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} quad\"" << std::endl;
2815     }
2816     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_dev_yy.svg\"" << std::endl;
2817     ofstrm << "set title \"Distribution σ_{yy} normalisees chargement deviatorique (Particule)\"" << std::endl;
2818     ofstrm << "set xlabel \"Contraintes normalisees σ_{yy}/Σ^0\"" << std::endl;
2819     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2820     if(fem_maill_lin && fem_maill_quad)
2821     {
2822     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} lin\",\\" << std::endl;
2823     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} lin\",\\" << std::endl;
2824     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} quad\",\\" << std::endl;
2825     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} quad\"" << std::endl;
2826     }
2827     else if(fem_maill_lin && !fem_maill_quad)
2828     {
2829     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} lin\",\\" << std::endl;
2830     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} lin\"" << std::endl;
2831     }
2832     else if(!fem_maill_lin && fem_maill_quad)
2833     {
2834     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} quad\",\\" << std::endl;
2835     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} quad\"" << std::endl;
2836     }
2837     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_dev_zz.svg\"" << std::endl;
2838     ofstrm << "set title \"Distribution σ_{zz} normalisees chargement deviatorique (Particule)\"" << std::endl;
2839     ofstrm << "set xlabel \"Contraintes normalisees σ_{zz}/Σ^0\"" << std::endl;
2840     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2841     if(fem_maill_lin && fem_maill_quad)
2842     {
2843     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} lin\",\\" << std::endl;
2844     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} lin\",\\" << std::endl;
2845     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} quad\",\\" << std::endl;
2846     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} quad\"" << std::endl;
2847     }
2848     else if(fem_maill_lin && !fem_maill_quad)
2849     {
2850     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} lin\",\\" << std::endl;
2851     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} lin\"" << std::endl;
2852     }
2853     else if(!fem_maill_lin && fem_maill_quad)
2854     {
2855     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} quad\",\\" << std::endl;
2856     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} quad\"" << std::endl;
2857     }
2858     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_dev_xy.svg\"" << std::endl;
2859     ofstrm << "set title \"Distribution σ_{xy} normalisees chargement deviatorique (Particule)\"" << std::endl;
2860     ofstrm << "set xlabel \"Contraintes normalisees σ_{xy}/Σ^0\"" << std::endl;
2861     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2862     if(fem_maill_lin && fem_maill_quad)
2863     {
2864     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} lin\",\\" << std::endl;
2865     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} lin\",\\" << std::endl;
2866     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} quad\",\\" << std::endl;
2867     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} quad\"" << std::endl;
2868     }
2869     else if(fem_maill_lin && !fem_maill_quad)
2870     {
2871     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} lin\",\\" << std::endl;
2872     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} lin\"" << std::endl;
2873     }
2874     else if(!fem_maill_lin && fem_maill_quad)
2875     {
2876     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} quad\",\\" << std::endl;
2877     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} quad\"" << std::endl;
2878     }
2879     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_dev_yz.svg\"" << std::endl;
2880     ofstrm << "set title \"Distribution σ_{yz} normalisees chargement deviatorique (Particule)\"" << std::endl;
2881     ofstrm << "set xlabel \"Contraintes normalisees σ_{yz}/Σ^0\"" << std::endl;
2882     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2883     if(fem_maill_lin && fem_maill_quad)
2884     {
2885     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} lin\",\\" << std::endl;
2886     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} lin\",\\" << std::endl;
2887     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} quad\",\\" << std::endl;
2888     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} quad\"" << std::endl;
2889     }
2890     else if(fem_maill_lin && !fem_maill_quad)
2891     {
2892     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} lin\",\\" << std::endl;
2893     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} lin\"" << std::endl;
2894     }
2895     else if(!fem_maill_lin && fem_maill_quad)
2896     {
2897     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} quad\",\\" << std::endl;
2898     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} quad\"" << std::endl;
2899     }
2900     ofstrm << "set output \"resultats/graph/distribution_SIGMA_particule_dev_xz.svg\"" << std::endl;
2901     ofstrm << "set title \"Distribution σ_{xz} normalisees chargement deviatorique (Particule)\"" << std::endl;
2902     ofstrm << "set xlabel \"Contraintes normalisees σ_{xz}/Σ^0\"" << std::endl;
2903     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2904     if(fem_maill_lin && fem_maill_quad)
2905     {
2906     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} lin\",\\" << std::endl;
2907     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} lin\",\\" << std::endl;
2908     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} quad\",\\" << std::endl;
2909     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} quad\"" << std::endl;
2910     }
2911     else if(fem_maill_lin && !fem_maill_quad)
2912     {
2913     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} lin\",\\" << std::endl;
2914     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} lin\"" << std::endl;
2915     }
2916     else if(!fem_maill_lin && fem_maill_quad)
2917     {
2918     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} quad\",\\" << std::endl;
2919     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} quad\"" << std::endl;
2920     }
2921    
2922     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_sph_xx.svg\"" << std::endl;
2923     ofstrm << "set title \"Distribution ε_{xx} normalisees chargement spherique (Particule)\"" << std::endl;
2924     ofstrm << "set xlabel \"Deformations normalisees ε_{xx}/E^0\"" << std::endl;
2925     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2926     if(fem_maill_lin && fem_maill_quad)
2927     {
2928     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
2929     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\",\\" << std::endl;
2930     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
2931     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
2932     }
2933     else if(fem_maill_lin && !fem_maill_quad)
2934     {
2935     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
2936     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\"" << std::endl;
2937     }
2938     else if(!fem_maill_lin && fem_maill_quad)
2939     {
2940     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
2941     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
2942     }
2943     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_sph_yy.svg\"" << std::endl;
2944     ofstrm << "set title \"Distribution ε_{yy} normalisees chargement spherique (Particule)\"" << std::endl;
2945     ofstrm << "set xlabel \"Deformations normalisees ε_{yy}/E^0\"" << std::endl;
2946     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2947     if(fem_maill_lin && fem_maill_quad)
2948     {
2949     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
2950     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\",\\" << std::endl;
2951     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
2952     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
2953     }
2954     else if(fem_maill_lin && !fem_maill_quad)
2955     {
2956     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
2957     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\"" << std::endl;
2958     }
2959     else if(!fem_maill_lin && fem_maill_quad)
2960     {
2961     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
2962     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
2963     }
2964     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_sph_zz.svg\"" << std::endl;
2965     ofstrm << "set title \"Distribution ε_{zz} normalisees chargement spherique (Particule)\"" << std::endl;
2966     ofstrm << "set xlabel \"Deformations normalisees ε_{zz}/E^0\"" << std::endl;
2967     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2968     if(fem_maill_lin && fem_maill_quad)
2969     {
2970     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
2971     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\",\\" << std::endl;
2972     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
2973     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"DH ε_{zz} quad\"" << std::endl;
2974     }
2975     else if(fem_maill_lin && !fem_maill_quad)
2976     {
2977     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
2978     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\"" << std::endl;
2979     }
2980     else if(!fem_maill_lin && fem_maill_quad)
2981     {
2982     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
2983     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
2984     }
2985     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_sph_xy.svg\"" << std::endl;
2986     ofstrm << "set title \"Distribution ε_{xy} normalisees chargement spherique (Particule)\"" << std::endl;
2987     ofstrm << "set xlabel \"Deformations normalisees ε_{xy}/E^0\"" << std::endl;
2988     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
2989     if(fem_maill_lin && fem_maill_quad)
2990     {
2991     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
2992     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\",\\" << std::endl;
2993     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
2994     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
2995     }
2996     else if(fem_maill_lin && !fem_maill_quad)
2997     {
2998     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
2999     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\"" << std::endl;
3000     }
3001     else if(!fem_maill_lin && fem_maill_quad)
3002     {
3003     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
3004     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
3005     }
3006     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_sph_yz.svg\"" << std::endl;
3007     ofstrm << "set title \"Distribution ε_{yz} normalisees chargement spherique (Particule)\"" << std::endl;
3008     ofstrm << "set xlabel \"Deformations normalisees ε_{yz}/E^0\"" << std::endl;
3009     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3010     if(fem_maill_lin && fem_maill_quad)
3011     {
3012     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3013     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\",\\" << std::endl;
3014     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3015     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3016     }
3017     else if(fem_maill_lin && !fem_maill_quad)
3018     {
3019     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3020     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\"" << std::endl;
3021     }
3022     else if(!fem_maill_lin && fem_maill_quad)
3023     {
3024     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3025     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3026     }
3027     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_sph_xz.svg\"" << std::endl;
3028     ofstrm << "set title \"Distribution ε_{xz} normalisees chargement spherique (Particule)\"" << std::endl;
3029     ofstrm << "set xlabel \"Deformations normalisees ε_{xz}/E^0\"" << std::endl;
3030     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3031     if(fem_maill_lin && fem_maill_quad)
3032     {
3033     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3034     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\",\\" << std::endl;
3035     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3036     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3037     }
3038     else if(fem_maill_lin && !fem_maill_quad)
3039     {
3040     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3041     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\"" << std::endl;
3042     }
3043     else if(!fem_maill_lin && fem_maill_quad)
3044     {
3045     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3046     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3047 couturad 974 }
3048 couturad 982
3049     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_dev_xx.svg\"" << std::endl;
3050     ofstrm << "set title \"Distribution ε_{xx} normalisees chargement deviatorique (Particule)\"" << std::endl;
3051     ofstrm << "set xlabel \"Deformations normalisees ε_{xx}/E^0\"" << std::endl;
3052 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3053     if(fem_maill_lin && fem_maill_quad)
3054     {
3055 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
3056     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\",\\" << std::endl;
3057     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
3058     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
3059 couturad 974 }
3060     else if(fem_maill_lin && !fem_maill_quad)
3061     {
3062 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
3063     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\"" << std::endl;
3064 couturad 974 }
3065     else if(!fem_maill_lin && fem_maill_quad)
3066     {
3067 couturad 982 ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
3068     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
3069     }
3070     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_dev_yy.svg\"" << std::endl;
3071     ofstrm << "set title \"Distribution ε_{yy} normalisees chargement deviatorique (Particule)\"" << std::endl;
3072     ofstrm << "set xlabel \"Deformations normalisees ε_{yy}/E^0\"" << std::endl;
3073     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3074     if(fem_maill_lin && fem_maill_quad)
3075     {
3076     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
3077     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\",\\" << std::endl;
3078     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
3079     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
3080     }
3081     else if(fem_maill_lin && !fem_maill_quad)
3082     {
3083     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
3084     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\"" << std::endl;
3085     }
3086     else if(!fem_maill_lin && fem_maill_quad)
3087     {
3088     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
3089     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
3090     }
3091     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_dev_zz.svg\"" << std::endl;
3092     ofstrm << "set title \"Distribution ε_{zz} normalisees chargement deviatorique (Particule)\"" << std::endl;
3093     ofstrm << "set xlabel \"Deformations normalisees ε_{zz}/E^0\"" << std::endl;
3094     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3095     if(fem_maill_lin && fem_maill_quad)
3096     {
3097     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
3098     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\",\\" << std::endl;
3099     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
3100     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
3101     }
3102     else if(fem_maill_lin && !fem_maill_quad)
3103     {
3104     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
3105     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\"" << std::endl;
3106     }
3107     else if(!fem_maill_lin && fem_maill_quad)
3108     {
3109     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
3110     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
3111     }
3112     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_dev_xy.svg\"" << std::endl;
3113     ofstrm << "set title \"Distribution ε_{xy} normalisees chargement deviatorique (Particule)\"" << std::endl;
3114     ofstrm << "set xlabel \"Deformations normalisees ε_{xy}/E^0\"" << std::endl;
3115     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3116     if(fem_maill_lin && fem_maill_quad)
3117     {
3118     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
3119     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\",\\" << std::endl;
3120     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
3121     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
3122     }
3123     else if(fem_maill_lin && !fem_maill_quad)
3124     {
3125     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
3126     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\"" << std::endl;
3127     }
3128     else if(!fem_maill_lin && fem_maill_quad)
3129     {
3130     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
3131     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
3132     }
3133     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_dev_yz.svg\"" << std::endl;
3134     ofstrm << "set title \"Distribution ε_{yz} normalisees chargement deviatorique (Particule)\"" << std::endl;
3135     ofstrm << "set xlabel \"Deformations normalisees ε_{yz}/E^0\"" << std::endl;
3136     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3137     if(fem_maill_lin && fem_maill_quad)
3138     {
3139     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3140     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\",\\" << std::endl;
3141     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3142     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3143     }
3144     else if(fem_maill_lin && !fem_maill_quad)
3145     {
3146     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3147     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\"" << std::endl;
3148     }
3149     else if(!fem_maill_lin && fem_maill_quad)
3150     {
3151     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3152     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3153     }
3154     ofstrm << "set output \"resultats/graph/distribution_EPSILON_particule_dev_xz.svg\"" << std::endl;
3155     ofstrm << "set title \"Distribution ε_{xz} normalisees chargement deviatorique (Particule)\"" << std::endl;
3156     ofstrm << "set xlabel \"Deformations normalisees ε_{xz}/E^0\"" << std::endl;
3157     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3158     if(fem_maill_lin && fem_maill_quad)
3159     {
3160     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3161     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\",\\" << std::endl;
3162     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3163     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3164     }
3165     else if(fem_maill_lin && !fem_maill_quad)
3166     {
3167     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3168     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\"" << std::endl;
3169     }
3170     else if(!fem_maill_lin && fem_maill_quad)
3171     {
3172     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3173     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3174     }
3175    
3176    
3177    
3178    
3179    
3180    
3181    
3182    
3183    
3184    
3185    
3186     //////////////////////////////////
3187     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_sph_xx.svg\"" << std::endl;
3188     ofstrm << "set title \"Distribution σ_{xx} normalisees chargement spherique (Matrice)\"" << std::endl;
3189     ofstrm << "set xlabel \"Contraintes normalisees σ_{xx}/Σ^0\"" << std::endl;
3190     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3191     if(fem_maill_lin && fem_maill_quad)
3192     {
3193     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} lin\",\\" << std::endl;
3194     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} lin\",\\" << std::endl;
3195     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} quad\",\\" << std::endl;
3196     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} quad\"" << std::endl;
3197     }
3198     else if(fem_maill_lin && !fem_maill_quad)
3199     {
3200     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} lin\",\\" << std::endl;
3201     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} lin\"" << std::endl;
3202     }
3203     else if(!fem_maill_lin && fem_maill_quad)
3204     {
3205     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} quad\",\\" << std::endl;
3206     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} quad\"" << std::endl;
3207     }
3208     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_sph_yy.svg\"" << std::endl;
3209     ofstrm << "set title \"Distribution σ_{yy} normalisees chargement spherique (Matrice)\"" << std::endl;
3210     ofstrm << "set xlabel \"Contraintes normalisees σ_{yy}/Σ^0\"" << std::endl;
3211     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3212     if(fem_maill_lin && fem_maill_quad)
3213     {
3214     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} lin\",\\" << std::endl;
3215     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} lin\",\\" << std::endl;
3216     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} quad\",\\" << std::endl;
3217     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} quad\"" << std::endl;
3218     }
3219     else if(fem_maill_lin && !fem_maill_quad)
3220     {
3221     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} lin\",\\" << std::endl;
3222     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} lin\"" << std::endl;
3223     }
3224     else if(!fem_maill_lin && fem_maill_quad)
3225     {
3226     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} quad\",\\" << std::endl;
3227     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} quad\"" << std::endl;
3228     }
3229     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_sph_zz.svg\"" << std::endl;
3230     ofstrm << "set title \"Distribution σ_{zz} normalisees chargement spherique (Matrice)\"" << std::endl;
3231     ofstrm << "set xlabel \"Contraintes normalisees σ_{zz}/Σ^0\"" << std::endl;
3232     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3233     if(fem_maill_lin && fem_maill_quad)
3234     {
3235     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} lin\",\\" << std::endl;
3236     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} lin\",\\" << std::endl;
3237     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} quad\",\\" << std::endl;
3238     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} quad\"" << std::endl;
3239     }
3240     else if(fem_maill_lin && !fem_maill_quad)
3241     {
3242     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} lin\",\\" << std::endl;
3243     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} lin\"" << std::endl;
3244     }
3245     else if(!fem_maill_lin && fem_maill_quad)
3246     {
3247     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} quad\",\\" << std::endl;
3248     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} quad\"" << std::endl;
3249     }
3250     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_sph_xy.svg\"" << std::endl;
3251     ofstrm << "set title \"Distribution σ_{xy} normalisees chargement spherique (Matrice)\"" << std::endl;
3252     ofstrm << "set xlabel \"Contraintes normalisees σ_{xy}/Σ^0\"" << std::endl;
3253     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3254     if(fem_maill_lin && fem_maill_quad)
3255     {
3256     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} lin\",\\" << std::endl;
3257     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} lin\",\\" << std::endl;
3258     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} quad\",\\" << std::endl;
3259     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} quad\"" << std::endl;
3260     }
3261     else if(fem_maill_lin && !fem_maill_quad)
3262     {
3263     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} lin\",\\" << std::endl;
3264     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} lin\"" << std::endl;
3265     }
3266     else if(!fem_maill_lin && fem_maill_quad)
3267     {
3268     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} quad\",\\" << std::endl;
3269     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} quad\"" << std::endl;
3270     }
3271     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_sph_yz.svg\"" << std::endl;
3272     ofstrm << "set title \"Distribution σ_{yz} normalisees chargement spherique (Matrice)\"" << std::endl;
3273     ofstrm << "set xlabel \"Contraintes normalisees σ_{yz}/Σ^0\"" << std::endl;
3274     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3275     if(fem_maill_lin && fem_maill_quad)
3276     {
3277     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} lin\",\\" << std::endl;
3278     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} lin\",\\" << std::endl;
3279     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} quad\",\\" << std::endl;
3280     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} quad\"" << std::endl;
3281     }
3282     else if(fem_maill_lin && !fem_maill_quad)
3283     {
3284     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} lin\",\\" << std::endl;
3285     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} lin\"" << std::endl;
3286     }
3287     else if(!fem_maill_lin && fem_maill_quad)
3288     {
3289     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} quad\",\\" << std::endl;
3290     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} quad\"" << std::endl;
3291     }
3292     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_sph_xz.svg\"" << std::endl;
3293     ofstrm << "set title \"Distribution σ_{xz} normalisees chargement spherique (Matrice)\"" << std::endl;
3294     ofstrm << "set xlabel \"Contraintes normalisees σ_{xz}/Σ^0\"" << std::endl;
3295     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3296     if(fem_maill_lin && fem_maill_quad)
3297     {
3298     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} lin\",\\" << std::endl;
3299     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} lin\",\\" << std::endl;
3300     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} quad\",\\" << std::endl;
3301     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} quad\"" << std::endl;
3302     }
3303     else if(fem_maill_lin && !fem_maill_quad)
3304     {
3305     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} lin\",\\" << std::endl;
3306     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} lin\"" << std::endl;
3307     }
3308     else if(!fem_maill_lin && fem_maill_quad)
3309     {
3310     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} quad\",\\" << std::endl;
3311     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} quad\"" << std::endl;
3312 couturad 974 }
3313    
3314 couturad 982 ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_dev_xx.svg\"" << std::endl;
3315     ofstrm << "set title \"Distribution σ_{xx} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3316     ofstrm << "set xlabel \"Contraintes normalisees σ_{xx}/Σ^0\"" << std::endl;
3317 couturad 974 ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3318     if(fem_maill_lin && fem_maill_quad)
3319     {
3320 couturad 982 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} lin\",\\" << std::endl;
3321     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} lin\",\\" << std::endl;
3322     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} quad\",\\" << std::endl;
3323     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} quad\"" << std::endl;
3324 couturad 974 }
3325     else if(fem_maill_lin && !fem_maill_quad)
3326     {
3327 couturad 982 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} lin\",\\" << std::endl;
3328     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} lin\"" << std::endl;
3329 couturad 974 }
3330     else if(!fem_maill_lin && fem_maill_quad)
3331     {
3332 couturad 982 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} quad\",\\" << std::endl;
3333     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} quad\"" << std::endl;
3334     }
3335     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_dev_yy.svg\"" << std::endl;
3336     ofstrm << "set title \"Distribution σ_{yy} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3337     ofstrm << "set xlabel \"Contraintes normalisees σ_{yy}/Σ^0\"" << std::endl;
3338     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3339     if(fem_maill_lin && fem_maill_quad)
3340     {
3341     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} lin\",\\" << std::endl;
3342     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} lin\",\\" << std::endl;
3343     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} quad\",\\" << std::endl;
3344     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} quad\"" << std::endl;
3345     }
3346     else if(fem_maill_lin && !fem_maill_quad)
3347     {
3348     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} lin\",\\" << std::endl;
3349     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} lin\"" << std::endl;
3350     }
3351     else if(!fem_maill_lin && fem_maill_quad)
3352     {
3353     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} quad\",\\" << std::endl;
3354     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} quad\"" << std::endl;
3355     }
3356     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_dev_zz.svg\"" << std::endl;
3357     ofstrm << "set title \"Distribution σ_{zz} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3358     ofstrm << "set xlabel \"Contraintes normalisees σ_{zz}/Σ^0\"" << std::endl;
3359     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3360     if(fem_maill_lin && fem_maill_quad)
3361     {
3362     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} lin\",\\" << std::endl;
3363     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} lin\",\\" << std::endl;
3364     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} quad\",\\" << std::endl;
3365     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} quad\"" << std::endl;
3366     }
3367     else if(fem_maill_lin && !fem_maill_quad)
3368     {
3369     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} lin\",\\" << std::endl;
3370     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} lin\"" << std::endl;
3371     }
3372     else if(!fem_maill_lin && fem_maill_quad)
3373     {
3374     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} quad\",\\" << std::endl;
3375     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} quad\"" << std::endl;
3376     }
3377     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_dev_xy.svg\"" << std::endl;
3378     ofstrm << "set title \"Distribution σ_{xy} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3379     ofstrm << "set xlabel \"Contraintes normalisees σ_{xy}/Σ^0\"" << std::endl;
3380     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3381     if(fem_maill_lin && fem_maill_quad)
3382     {
3383     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} lin\",\\" << std::endl;
3384     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} lin\",\\" << std::endl;
3385     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} quad\",\\" << std::endl;
3386     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} quad\"" << std::endl;
3387     }
3388     else if(fem_maill_lin && !fem_maill_quad)
3389     {
3390     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} lin\",\\" << std::endl;
3391     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} lin\"" << std::endl;
3392     }
3393     else if(!fem_maill_lin && fem_maill_quad)
3394     {
3395     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} quad\",\\" << std::endl;
3396     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} quad\"" << std::endl;
3397     }
3398     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_dev_yz.svg\"" << std::endl;
3399     ofstrm << "set title \"Distribution σ_{yz} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3400     ofstrm << "set xlabel \"Contraintes normalisees σ_{yz}/Σ^0\"" << std::endl;
3401     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3402     if(fem_maill_lin && fem_maill_quad)
3403     {
3404     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} lin\",\\" << std::endl;
3405     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} lin\",\\" << std::endl;
3406     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} quad\",\\" << std::endl;
3407     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} quad\"" << std::endl;
3408     }
3409     else if(fem_maill_lin && !fem_maill_quad)
3410     {
3411     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} lin\",\\" << std::endl;
3412     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} lin\"" << std::endl;
3413     }
3414     else if(!fem_maill_lin && fem_maill_quad)
3415     {
3416     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} quad\",\\" << std::endl;
3417     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} quad\"" << std::endl;
3418     }
3419     ofstrm << "set output \"resultats/graph/distribution_SIGMA_matrice_dev_xz.svg\"" << std::endl;
3420     ofstrm << "set title \"Distribution σ_{xz} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3421     ofstrm << "set xlabel \"Contraintes normalisees σ_{xz}/Σ^0\"" << std::endl;
3422     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3423     if(fem_maill_lin && fem_maill_quad)
3424     {
3425     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} lin\",\\" << std::endl;
3426     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} lin\",\\" << std::endl;
3427     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} quad\",\\" << std::endl;
3428     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} quad\"" << std::endl;
3429     }
3430     else if(fem_maill_lin && !fem_maill_quad)
3431     {
3432     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} lin\",\\" << std::endl;
3433     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} lin\"" << std::endl;
3434     }
3435     else if(!fem_maill_lin && fem_maill_quad)
3436     {
3437     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} quad\",\\" << std::endl;
3438     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} quad\"" << std::endl;
3439     }
3440    
3441     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_sph_xx.svg\"" << std::endl;
3442     ofstrm << "set title \"Distribution ε_{xx} normalisees chargement spherique (Matrice)\"" << std::endl;
3443     ofstrm << "set xlabel \"Deformations normalisees ε_{xx}/E^0\"" << std::endl;
3444     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3445     if(fem_maill_lin && fem_maill_quad)
3446     {
3447     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
3448     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\",\\" << std::endl;
3449     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
3450     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
3451     }
3452     else if(fem_maill_lin && !fem_maill_quad)
3453     {
3454     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
3455     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\"" << std::endl;
3456     }
3457     else if(!fem_maill_lin && fem_maill_quad)
3458     {
3459     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
3460     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
3461     }
3462     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_sph_yy.svg\"" << std::endl;
3463     ofstrm << "set title \"Distribution ε_{yy} normalisees chargement spherique (Matrice)\"" << std::endl;
3464     ofstrm << "set xlabel \"Deformations normalisees ε_{yy}/E^0\"" << std::endl;
3465     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3466     if(fem_maill_lin && fem_maill_quad)
3467     {
3468     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
3469     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\",\\" << std::endl;
3470     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
3471     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
3472     }
3473     else if(fem_maill_lin && !fem_maill_quad)
3474     {
3475     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
3476     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\"" << std::endl;
3477     }
3478     else if(!fem_maill_lin && fem_maill_quad)
3479     {
3480     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
3481     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
3482     }
3483     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_sph_zz.svg\"" << std::endl;
3484     ofstrm << "set title \"Distribution ε_{zz} normalisees chargement spherique (Matrice)\"" << std::endl;
3485     ofstrm << "set xlabel \"Deformations normalisees ε_{zz}/E^0\"" << std::endl;
3486     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3487     if(fem_maill_lin && fem_maill_quad)
3488     {
3489     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
3490     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\",\\" << std::endl;
3491     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
3492     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
3493     }
3494     else if(fem_maill_lin && !fem_maill_quad)
3495     {
3496     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
3497     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\"" << std::endl;
3498     }
3499     else if(!fem_maill_lin && fem_maill_quad)
3500     {
3501     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
3502     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
3503     }
3504     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_sph_xy.svg\"" << std::endl;
3505     ofstrm << "set title \"Distribution ε_{xy} normalisees chargement spherique (Matrice)\"" << std::endl;
3506     ofstrm << "set xlabel \"Deformations normalisees ε_{xy}/E^0\"" << std::endl;
3507     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3508     if(fem_maill_lin && fem_maill_quad)
3509     {
3510     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
3511     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\",\\" << std::endl;
3512     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
3513     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
3514     }
3515     else if(fem_maill_lin && !fem_maill_quad)
3516     {
3517     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
3518     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\"" << std::endl;
3519     }
3520     else if(!fem_maill_lin && fem_maill_quad)
3521     {
3522     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
3523     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
3524     }
3525     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_sph_yz.svg\"" << std::endl;
3526     ofstrm << "set title \"Distribution ε_{yz} normalisees chargement spherique (Matrice)\"" << std::endl;
3527     ofstrm << "set xlabel \"Deformations normalisees ε_{yz}/E^0\"" << std::endl;
3528     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3529     if(fem_maill_lin && fem_maill_quad)
3530     {
3531     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3532     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\",\\" << std::endl;
3533     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3534     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3535     }
3536     else if(fem_maill_lin && !fem_maill_quad)
3537     {
3538     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3539     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\"" << std::endl;
3540     }
3541     else if(!fem_maill_lin && fem_maill_quad)
3542     {
3543     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3544     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3545     }
3546     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_sph_xz.svg\"" << std::endl;
3547     ofstrm << "set title \"Distribution ε_{xz} normalisees chargement spherique (Matrice)\"" << std::endl;
3548     ofstrm << "set xlabel \"Deformations normalisees ε_{xz}/E^0\"" << std::endl;
3549     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3550     if(fem_maill_lin && fem_maill_quad)
3551     {
3552     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3553     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\",\\" << std::endl;
3554     ofstrm << " sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3555     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3556     }
3557     else if(fem_maill_lin && !fem_maill_quad)
3558     {
3559     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3560     ofstrm << " sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\"" << std::endl;
3561     }
3562     else if(!fem_maill_lin && fem_maill_quad)
3563     {
3564     ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3565     ofstrm << " sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3566 couturad 974 }
3567    
3568 couturad 982 ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_dev_xx.svg\"" << std::endl;
3569     ofstrm << "set title \"Distribution ε_{xx} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3570     ofstrm << "set xlabel \"Deformations normalisees ε_{xx}/E^0\"" << std::endl;
3571     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3572     if(fem_maill_lin && fem_maill_quad)
3573     {
3574     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
3575     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\",\\" << std::endl;
3576     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
3577     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
3578     }
3579     else if(fem_maill_lin && !fem_maill_quad)
3580     {
3581     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xx} lin\",\\" << std::endl;
3582     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xx} lin\"" << std::endl;
3583     }
3584     else if(!fem_maill_lin && fem_maill_quad)
3585     {
3586     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xx} quad\",\\" << std::endl;
3587     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xx} quad\"" << std::endl;
3588     }
3589     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_dev_yy.svg\"" << std::endl;
3590     ofstrm << "set title \"Distribution ε_{yy} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3591     ofstrm << "set xlabel \"Deformations normalisees ε_{yy}/E^0\"" << std::endl;
3592     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3593     if(fem_maill_lin && fem_maill_quad)
3594     {
3595     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
3596     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\",\\" << std::endl;
3597     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
3598     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
3599     }
3600     else if(fem_maill_lin && !fem_maill_quad)
3601     {
3602     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yy} lin\",\\" << std::endl;
3603     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yy} lin\"" << std::endl;
3604     }
3605     else if(!fem_maill_lin && fem_maill_quad)
3606     {
3607     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yy} quad\",\\" << std::endl;
3608     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yy} quad\"" << std::endl;
3609     }
3610     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_dev_zz.svg\"" << std::endl;
3611     ofstrm << "set title \"Distribution ε_{zz} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3612     ofstrm << "set xlabel \"Deformations normalisees ε_{zz}/E^0\"" << std::endl;
3613     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3614     if(fem_maill_lin && fem_maill_quad)
3615     {
3616     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
3617     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\",\\" << std::endl;
3618     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
3619     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
3620     }
3621     else if(fem_maill_lin && !fem_maill_quad)
3622     {
3623     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{zz} lin\",\\" << std::endl;
3624     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{zz} lin\"" << std::endl;
3625     }
3626     else if(!fem_maill_lin && fem_maill_quad)
3627     {
3628     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{zz} quad\",\\" << std::endl;
3629     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{zz} quad\"" << std::endl;
3630     }
3631     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_dev_xy.svg\"" << std::endl;
3632     ofstrm << "set title \"Distribution ε_{xy} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3633     ofstrm << "set xlabel \"Deformations normalisees ε_{xy}/E^0\"" << std::endl;
3634     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3635     if(fem_maill_lin && fem_maill_quad)
3636     {
3637     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
3638     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\",\\" << std::endl;
3639     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
3640     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
3641     }
3642     else if(fem_maill_lin && !fem_maill_quad)
3643     {
3644     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xy} lin\",\\" << std::endl;
3645     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xy} lin\"" << std::endl;
3646     }
3647     else if(!fem_maill_lin && fem_maill_quad)
3648     {
3649     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xy} quad\",\\" << std::endl;
3650     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xy} quad\"" << std::endl;
3651     }
3652     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_dev_yz.svg\"" << std::endl;
3653     ofstrm << "set title \"Distribution ε_{yz} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3654     ofstrm << "set xlabel \"Deformations normalisees ε_{yz}/E^0\"" << std::endl;
3655     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3656     if(fem_maill_lin && fem_maill_quad)
3657     {
3658     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3659     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\",\\" << std::endl;
3660     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3661     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3662     }
3663     else if(fem_maill_lin && !fem_maill_quad)
3664     {
3665     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{yz} lin\",\\" << std::endl;
3666     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{yz} lin\"" << std::endl;
3667     }
3668     else if(!fem_maill_lin && fem_maill_quad)
3669     {
3670     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{yz} quad\",\\" << std::endl;
3671     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{yz} quad\"" << std::endl;
3672     }
3673     ofstrm << "set output \"resultats/graph/distribution_EPSILON_matrice_dev_xz.svg\"" << std::endl;
3674     ofstrm << "set title \"Distribution ε_{xz} normalisees chargement deviatorique (Matrice)\"" << std::endl;
3675     ofstrm << "set xlabel \"Deformations normalisees ε_{xz}/E^0\"" << std::endl;
3676     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3677     if(fem_maill_lin && fem_maill_quad)
3678     {
3679     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3680     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\",\\" << std::endl;
3681     ofstrm << " sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3682     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3683     }
3684     else if(fem_maill_lin && !fem_maill_quad)
3685     {
3686     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH ε_{xz} lin\",\\" << std::endl;
3687     ofstrm << " sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH ε_{xz} lin\"" << std::endl;
3688     }
3689     else if(!fem_maill_lin && fem_maill_quad)
3690     {
3691     ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH ε_{xz} quad\",\\" << std::endl;
3692     ofstrm << " sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_EPSILON_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH ε_{xz} quad\"" << std::endl;
3693     }
3694    
3695    
3696 couturad 951 }
3697 couturad 971 if(etude_thermique)
3698 couturad 951 {
3699 couturad 971 ofstrm << "" << std::endl;
3700 couturad 982 ofstrm << "set output \"resultats/graph/nuage_Lambda_app.svg\"" << std::endl;
3701 couturad 971 ofstrm << "set xrange [0:50]" << std::endl;
3702     ofstrm << "set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3703     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3704     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3705     if(fem_maill_lin && fem_maill_quad)
3706     {
3707 couturad 974 ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt\" u ($2*100):($3) pt 4 ps 1 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl;
3708     ofstrm << " \"resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt\" u ($2*100):($3) pt 4 ps 1 lc rgb 'red' lw 1 title \"GH lin\",\\" << std::endl;
3709     ofstrm << " \"resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt\" u ($2*100):($3) pt 5 ps 1 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl;
3710 couturad 982 ofstrm << " \"resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt\" u ($2*100):($3) pt 5 ps 1 lc rgb 'red' lw 1 title \"GH quad\" ,\\" << std::endl;
3711     ofstrm << " lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3712     ofstrm << " lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3713     ofstrm << " lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3714     ofstrm << " lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3715 couturad 971 }
3716     else if(fem_maill_lin && !fem_maill_quad)
3717     {
3718 couturad 974 ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt\" u ($2*100):($3) pt 4 ps 1 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl;
3719 couturad 982 ofstrm << " \"resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt\" u ($2*100):($3) pt 4 ps 1 lc rgb 'red' lw 1 title \"GH lin\" ,\\" << std::endl;
3720     ofstrm << " lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3721     ofstrm << " lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3722     ofstrm << " lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3723     ofstrm << " lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3724 couturad 971 }
3725     else if(!fem_maill_lin && fem_maill_quad)
3726     {
3727 couturad 974 ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt\" u ($2*100):($3) pt 5 ps 1 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl;
3728 couturad 982 ofstrm << " \"resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt\" u ($2*100):($3) pt 5 ps 1 lc rgb 'red' lw 1 title \"GH quad\" ,\\" << std::endl;
3729     ofstrm << " lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3730     ofstrm << " lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3731     ofstrm << " lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3732     ofstrm << " lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3733 couturad 971 }
3734     ofstrm << "#pause -1" << std::endl;
3735    
3736     ofstrm << "" << std::endl;
3737 couturad 982 ofstrm << "set output \"resultats/graph/cumul_Lambda_app.svg\"" << std::endl;
3738 couturad 971 ofstrm << "set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3739     ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl;
3740     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3741     if(fem_maill_lin && fem_maill_quad)
3742     {
3743 couturad 974 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 1 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl;
3744     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 1 lc rgb 'red' lw 1 title \"GH lin\",\\" << std::endl;
3745     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 1 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl;
3746 couturad 982 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 1 lc rgb 'red' lw 1 title \"GH quad\" ,\\" << std::endl;
3747     ofstrm << " lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3748     ofstrm << " lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3749     ofstrm << " lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3750     ofstrm << " lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3751 couturad 971 }
3752     else if(fem_maill_lin && !fem_maill_quad)
3753     {
3754 couturad 974 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 1 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl;
3755 couturad 982 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 1 lc rgb 'red' lw 1 title \"GH lin\" ,\\" << std::endl;
3756     ofstrm << " lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3757     ofstrm << " lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3758     ofstrm << " lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3759     ofstrm << " lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3760 couturad 971 }
3761     else if(!fem_maill_lin && fem_maill_quad)
3762     {
3763 couturad 974 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 1 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl;
3764 couturad 982 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 1 lc rgb 'red' lw 1 title \"GH quad\" ,\\" << std::endl;
3765     ofstrm << " lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl;
3766     ofstrm << " lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl;
3767     ofstrm << " lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl;
3768     ofstrm << " lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl;
3769 couturad 971 }
3770     ofstrm << "#pause -1" << std::endl;
3771    
3772 couturad 982 ofstrm << "set output \"resultats/graph/cumul_erosion_Lambda_app.svg\"" << std::endl;
3773 couturad 971 ofstrm << "set xrange [0:0.5]" << std::endl;
3774     ofstrm << "set y2range[0:100]" << std::endl;
3775     ofstrm << "set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3776     ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
3777     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3778     ofstrm << "set y2label \"Fraction volumique (%)\"" << std::endl;
3779     ofstrm << "set ytics nomirror" << std::endl;
3780     ofstrm << "set y2tics" << std::endl;
3781     if(fem_maill_lin && fem_maill_quad)
3782     {
3783     ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 1 title \"FH lin\" axes x1y1 ,\\" << std::endl;
3784 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur FH lin\" axes x1y1 ,\\" << std::endl;
3785 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 1 title \"GH lin\" axes x1y1 ,\\" << std::endl;
3786 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur GH lin\" axes x1y1 ,\\" << std::endl;
3787 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3788     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3789 couturad 982 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} lin\" ,\\" << std::endl;
3790     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-} lin\" ,\\" << std::endl;
3791     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+} lin\" ,\\" << std::endl;
3792     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} lin\" ,\\" << std::endl;
3793 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 1 title \"FH quad\" axes x1y1 ,\\" << std::endl;
3794 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur FH quad\" axes x1y1 ,\\" << std::endl;
3795 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 1 title \"GH quad\" axes x1y1 ,\\" << std::endl;
3796 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur GH quad\" axes x1y1 ,\\" << std::endl;
3797 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3798 couturad 982 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3799     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} quad\" ,\\" << std::endl;
3800     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-} quad\" ,\\" << std::endl;
3801     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+} quad\" ,\\" << std::endl;
3802     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} quad\"" << std::endl;
3803 couturad 971 }
3804     else if(fem_maill_lin && !fem_maill_quad)
3805     {
3806     ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 1 title \"FH lin\" axes x1y1 ,\\" << std::endl;
3807 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur FH lin\" axes x1y1 ,\\" << std::endl;
3808 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 1 title \"GH lin\" axes x1y1 ,\\" << std::endl;
3809 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur GH lin\" axes x1y1 ,\\" << std::endl;
3810 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3811 couturad 982 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3812     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} lin\" ,\\" << std::endl;
3813     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-} lin\" ,\\" << std::endl;
3814     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+} lin\" ,\\" << std::endl;
3815     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} lin\"" << std::endl;
3816 couturad 971 }
3817     if(!fem_maill_lin && fem_maill_quad)
3818     {
3819     ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 1 title \"FH quad\" axes x1y1 ,\\" << std::endl;
3820 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur FH quad\" axes x1y1 ,\\" << std::endl;
3821 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 1 title \"GH quad\" axes x1y1 ,\\" << std::endl;
3822 couturad 974 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur GH quad\" axes x1y1 ,\\" << std::endl;
3823 couturad 971 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3824 couturad 982 ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3825     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} quad\" ,\\" << std::endl;
3826     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-} quad\" ,\\" << std::endl;
3827     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+} quad\" ,\\" << std::endl;
3828     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} quad\"" << std::endl;
3829 couturad 971 }
3830     ofstrm << "unset y2label" << std::endl;
3831     ofstrm << "unset y2tics" << std::endl;
3832 couturad 982 ofstrm << "#pause -1" << std::endl;
3833    
3834     ofstrm << "set output \"resultats/graph/cumul_erosion_Lambda_FH_xyz.svg\"" << std::endl;
3835     ofstrm << "set xrange [0:0.5]" << std::endl;
3836     ofstrm << "set y2range[0:100]" << std::endl;
3837     ofstrm << "set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3838     ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
3839     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3840     ofstrm << "set y2label \"Fraction volumique (%)\"" << std::endl;
3841     ofstrm << "set ytics nomirror" << std::endl;
3842     ofstrm << "set y2tics" << std::endl;
3843     if(fem_maill_lin && fem_maill_quad)
3844     {
3845     ofstrm << "plot \"resultats/champ/FH/F_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x FH lin\" axes x1y1 ,\\" << std::endl;
3846     ofstrm << " \"resultats/champ/FH/F_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x FH lin\" axes x1y1 ,\\" << std::endl;
3847     ofstrm << " \"resultats/champ/FH/F_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y FH lin\" axes x1y1 ,\\" << std::endl;
3848     ofstrm << " \"resultats/champ/FH/F_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'green' lw 1 title \"erreur λ_y FH lin\" axes x1y1 ,\\" << std::endl;
3849     ofstrm << " \"resultats/champ/FH/F_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z FH lin\" axes x1y1 ,\\" << std::endl;
3850     ofstrm << " \"resultats/champ/FH/F_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur λ_z FH lin\" axes x1y1 ,\\" << std::endl;
3851     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3852     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3853     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss} lin\" ,\\" << std::endl;
3854     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-} lin\" ,\\" << std::endl;
3855     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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+} lin\" ,\\" << std::endl;
3856     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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} lin\" ,\\" << std::endl;
3857     ofstrm << " \"resultats/champ/FH/F_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x FH quad\" axes x1y1 ,\\" << std::endl;
3858     ofstrm << " \"resultats/champ/FH/F_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x FH quad\" axes x1y1 ,\\" << std::endl;
3859     ofstrm << " \"resultats/champ/FH/F_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y FH quad\" axes x1y1 ,\\" << std::endl;
3860     ofstrm << " \"resultats/champ/FH/F_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt ps 1 lc rgb 'green' lw 1 title \"erreur λ_y FH quad\" axes x1y1 ,\\" << std::endl;
3861     ofstrm << " \"resultats/champ/FH/F_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z FH quad\" axes x1y1 ,\\" << std::endl;
3862     ofstrm << " \"resultats/champ/FH/F_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt ps 1 lc rgb 'red' lw 1 title \"erreur λ_z FH quad\" axes x1y1 ,\\" << std::endl;
3863     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3864     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3865     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss} quad\" ,\\" << std::endl;
3866     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-} quad\" ,\\" << std::endl;
3867     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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+} quad\" ,\\" << std::endl;
3868     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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} quad\"" << std::endl;
3869     }
3870     else if(fem_maill_lin && !fem_maill_quad)
3871     {
3872     ofstrm << "plot \"resultats/champ/FH/F_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x FH lin\" axes x1y1 ,\\" << std::endl;
3873     ofstrm << " \"resultats/champ/FH/F_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x FH lin\" axes x1y1 ,\\" << std::endl;
3874     ofstrm << " \"resultats/champ/FH/F_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y FH lin\" axes x1y1 ,\\" << std::endl;
3875     ofstrm << " \"resultats/champ/FH/F_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'green' lw 1 title \"erreur λ_y FH lin\" axes x1y1 ,\\" << std::endl;
3876     ofstrm << " \"resultats/champ/FH/F_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z FH lin\" axes x1y1 ,\\" << std::endl;
3877     ofstrm << " \"resultats/champ/FH/F_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur λ_z FH lin\" axes x1y1 ,\\" << std::endl;
3878     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3879     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3880     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss} lin\" ,\\" << std::endl;
3881     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-} lin\" ,\\" << std::endl;
3882     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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+} lin\" ,\\" << std::endl;
3883     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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} lin\"" << std::endl;
3884     }
3885     if(!fem_maill_lin && fem_maill_quad)
3886     {
3887     ofstrm << "plot \"resultats/champ/FH/F_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x FH quad\" axes x1y1 ,\\" << std::endl;
3888     ofstrm << " \"resultats/champ/FH/F_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x FH quad\" axes x1y1 ,\\" << std::endl;
3889     ofstrm << " \"resultats/champ/FH/F_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y FH quad\" axes x1y1 ,\\" << std::endl;
3890     ofstrm << " \"resultats/champ/FH/F_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt ps 1 lc rgb 'green' lw 1 title \"erreur λ_y FH quad\" axes x1y1 ,\\" << std::endl;
3891     ofstrm << " \"resultats/champ/FH/F_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z FH quad\" axes x1y1 ,\\" << std::endl;
3892     ofstrm << " \"resultats/champ/FH/F_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt ps 1 lc rgb 'red' lw 1 title \"erreur λ_z FH quad\" axes x1y1 ,\\" << std::endl;
3893     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3894     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3895     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss} quad\" ,\\" << std::endl;
3896     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-} quad\" ,\\" << std::endl;
3897     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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+} quad\" ,\\" << std::endl;
3898     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_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} quad\"" << std::endl;
3899     }
3900     ofstrm << "unset y2label" << std::endl;
3901     ofstrm << "unset y2tics" << std::endl;
3902 couturad 971 ofstrm << "#pause -1" << std::endl;
3903    
3904 couturad 982 ofstrm << "set output \"resultats/graph/cumul_erosion_Lambda_GH_xyz.svg\"" << std::endl;
3905     ofstrm << "set xrange [0:0.5]" << std::endl;
3906     ofstrm << "set y2range[0:100]" << std::endl;
3907     ofstrm << "set title \"Conductivite thermique (W/(m*K))\"" << std::endl;
3908     ofstrm << "set xlabel \"Distance d'erosion\"" << std::endl;
3909     ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl;
3910     ofstrm << "set y2label \"Fraction volumique (%)\"" << std::endl;
3911     ofstrm << "set ytics nomirror" << std::endl;
3912     ofstrm << "set y2tics" << std::endl;
3913     if(fem_maill_lin && fem_maill_quad)
3914     {
3915     ofstrm << "plot \"resultats/champ/GH/G_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x GH lin\" axes x1y1 ,\\" << std::endl;
3916     ofstrm << " \"resultats/champ/GH/G_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x GH lin\" axes x1y1 ,\\" << std::endl;
3917     ofstrm << " \"resultats/champ/GH/G_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y GH lin\" axes x1y1 ,\\" << std::endl;
3918     ofstrm << " \"resultats/champ/GH/G_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'green' lw 1 title \"erreur λ_y GH lin\" axes x1y1 ,\\" << std::endl;
3919     ofstrm << " \"resultats/champ/GH/G_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z GH lin\" axes x1y1 ,\\" << std::endl;
3920     ofstrm << " \"resultats/champ/GH/G_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur λ_z GH lin\" axes x1y1 ,\\" << std::endl;
3921     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3922     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3923     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} lin\" ,\\" << std::endl;
3924     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-} lin\" ,\\" << std::endl;
3925     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+} lin\" ,\\" << std::endl;
3926     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} lin\" ,\\" << std::endl;
3927     ofstrm << " \"resultats/champ/GH/G_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x GH quad\" axes x1y1 ,\\" << std::endl;
3928     ofstrm << " \"resultats/champ/GH/G_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x GH quad\" axes x1y1 ,\\" << std::endl;
3929     ofstrm << " \"resultats/champ/GH/G_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y GH quad\" axes x1y1 ,\\" << std::endl;
3930     ofstrm << " \"resultats/champ/GH/G_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'green' lw 1 title \"erreur λ_y GH quad\" axes x1y1 ,\\" << std::endl;
3931     ofstrm << " \"resultats/champ/GH/G_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z GH quad\" axes x1y1 ,\\" << std::endl;
3932     ofstrm << " \"resultats/champ/GH/G_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'red' lw 1 title \"erreur λ_z GH quad\" axes x1y1 ,\\" << std::endl;
3933     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3934     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3935     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} quad\" ,\\" << std::endl;
3936     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-} quad\" ,\\" << std::endl;
3937     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+} quad\" ,\\" << std::endl;
3938     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} quad\"" << std::endl;
3939     }
3940     else if(fem_maill_lin && !fem_maill_quad)
3941     {
3942     ofstrm << "plot \"resultats/champ/GH/G_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x GH lin\" axes x1y1 ,\\" << std::endl;
3943     ofstrm << " \"resultats/champ/GH/G_x/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x GH lin\" axes x1y1 ,\\" << std::endl;
3944     ofstrm << " \"resultats/champ/GH/G_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y GH lin\" axes x1y1 ,\\" << std::endl;
3945     ofstrm << " \"resultats/champ/GH/G_y/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'green' lw 1 title \"erreur λ_y GH lin\" axes x1y1 ,\\" << std::endl;
3946     ofstrm << " \"resultats/champ/GH/G_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z GH lin\" axes x1y1 ,\\" << std::endl;
3947     ofstrm << " \"resultats/champ/GH/G_z/lin/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 4 ps 1 lc rgb 'red' lw 1 title \"erreur λ_z GH lin\" axes x1y1 ,\\" << std::endl;
3948     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3949     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3950     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} lin\" ,\\" << std::endl;
3951     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-} lin\" ,\\" << std::endl;
3952     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+} lin\" ,\\" << std::endl;
3953     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} lin\"" << std::endl;
3954     }
3955     if(!fem_maill_lin && fem_maill_quad)
3956     {
3957     ofstrm << "plot \"resultats/champ/GH/G_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'blue' lw 1 title \"λ_x GH quad\" axes x1y1 ,\\" << std::endl;
3958     ofstrm << " \"resultats/champ/GH/G_x/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'blue' lw 1 title \"erreur λ_x GH quad\" axes x1y1 ,\\" << std::endl;
3959     ofstrm << " \"resultats/champ/GH/G_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'green' lw 1 title \"λ_y GH quad\" axes x1y1 ,\\" << std::endl;
3960     ofstrm << " \"resultats/champ/GH/G_y/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'green' lw 1 title \"erreur λ_y GH quad\" axes x1y1 ,\\" << std::endl;
3961     ofstrm << " \"resultats/champ/GH/G_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3) with lines lc rgb 'red' lw 1 title \"λ_z GH quad\" axes x1y1 ,\\" << std::endl;
3962     ofstrm << " \"resultats/champ/GH/G_z/quad/cumul_erosion_Conductivite_thermique.txt\" u ($1*" << epaisseur_couche_erosion << "):($3):($4) with yerrorbars pt 5 ps 1 lc rgb 'red' lw 1 title \"erreur λ_z GH quad\" axes x1y1 ,\\" << std::endl;
3963     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'grey' lt 0 lw 1 pt 15 ps 1 title \"Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3964     ofstrm << " \"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'grey' pt 15 ps 1 title \"erreur Frac. Vol.\" axes x1y2 ,\\" << std::endl;
3965     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} quad\" ,\\" << std::endl;
3966     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-} quad\" ,\\" << std::endl;
3967     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+} quad\" ,\\" << std::endl;
3968     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} quad\"" << std::endl;
3969     }
3970     ofstrm << "unset y2label" << std::endl;
3971     ofstrm << "unset y2tics" << std::endl;
3972     ofstrm << "#pause -1" << std::endl;
3973     ofstrm << "unset xrange" << std::endl;
3974    
3975     ofstrm << "set output \"resultats/graph/cao_nb_particule.svg\"" << std::endl;
3976     ofstrm << "set title \"Nombre (Particule)\"" << std::endl;
3977     ofstrm << "set xlabel \"Nombre\"" << std::endl;
3978     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3979     ofstrm << "plot 'resultats/cao/histo_Cao_Particule_nb_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
3980    
3981     ofstrm << "set output \"resultats/graph/cao_volume_particule.svg\"" << std::endl;
3982     ofstrm << "set title \"Volumique (Particule)\"" << std::endl;
3983     ofstrm << "set xlabel \"Volume\"" << std::endl;
3984     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3985     ofstrm << "plot 'resultats/cao/histo_Cao_Particule_volume_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl;
3986    
3987     ofstrm << "set output \"resultats/graph/maillage_mg_nb_element_3D.svg\"" << std::endl;
3988     ofstrm << "set title \"Distribution nombre elements\"" << std::endl;
3989     ofstrm << "set xlabel \"Nombre element\"" << std::endl;
3990     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3991     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;
3992    
3993     ofstrm << "set output \"resultats/graph/maillage_mg_nb_element_3D_particule.svg\"" << std::endl;
3994     ofstrm << "set title \"Distribution nombre elements (Particules)\"" << std::endl;
3995     ofstrm << "set xlabel \"Nombre element\"" << std::endl;
3996     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
3997     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;
3998    
3999     ofstrm << "set output \"resultats/graph/maillage_mg_nb_element_3D_matrice.svg\"" << std::endl;
4000     ofstrm << "set title \"Distribution nombre elements (Matrice)\"" << std::endl;
4001     ofstrm << "set xlabel \"Nombre element\"" << std::endl;
4002     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
4003     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;
4004    
4005     ofstrm << "set output \"resultats/graph/maillage_mg_taille_element.svg\"" << std::endl;
4006     ofstrm << "set title \"Distribution taille elements\"" << std::endl;
4007     ofstrm << "set xlabel \"Taille element\"" << std::endl;
4008     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
4009     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;
4010    
4011     ofstrm << "set output \"resultats/graph/maillage_mg_taille_element_paticule.svg\"" << std::endl;
4012     ofstrm << "set title \"Distribution taille elements (Particules)\"" << std::endl;
4013     ofstrm << "set xlabel \"Taille element\"" << std::endl;
4014     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
4015     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;
4016    
4017     ofstrm << "set output \"resultats/graph/maillage_mg_taille_element_matrice.svg\"" << std::endl;
4018     ofstrm << "set title \"Distribution taille elements (Matrice)\"" << std::endl;
4019     ofstrm << "set xlabel \"Taille element\"" << std::endl;
4020     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
4021     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;
4022    
4023     ofstrm << "set output \"resultats/graph/maillage_mg_qualite_element.svg\"" << std::endl;
4024     ofstrm << "set title \"Distribution qualite elements\"" << std::endl;
4025     ofstrm << "set xlabel \"Qualite element\"" << std::endl;
4026     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
4027     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;
4028    
4029     ofstrm << "set output \"resultats/graph/maillage_mg_qualite_element_paticule.svg\"" << std::endl;
4030     ofstrm << "set title \"Distribution qualite elements (Particules)\"" << std::endl;
4031     ofstrm << "set xlabel \"Qualite element\"" << std::endl;
4032     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
4033     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;
4034    
4035     ofstrm << "set output \"resultats/graph/maillage_mg_qualite_element_matrice.svg\"" << std::endl;
4036     ofstrm << "set title \"Distribution qualite elements (Matrice)\"" << std::endl;
4037     ofstrm << "set xlabel \"Qualite element\"" << std::endl;
4038     ofstrm << "set ylabel \"Densite de probabilite\"" << std::endl;
4039     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;
4040    
4041 couturad 951 }
4042 couturad 964 ofstrm.close();
4043     if(fonc_affiche!=NULL) fonc_affiche((char*)"fig_Eapp.gnu");
4044 couturad 951 }
4045 couturad 929
4046    
4047 couturad 951
4048 couturad 919 int PARAMETRES::importer_fichier_parametres(char* fichier, OT_PARAMETRES* params)
4049     {
4050 couturad 964 return params->lire(fichier);
4051 couturad 919 }
4052    
4053     int PARAMETRES::importer_fichier_liste_parametres(char* fichier, std::vector< OT_PARAMETRES* >& vector_params)
4054     {
4055     std::string str_fichier = fichier;
4056     std::size_t found = str_fichier.rfind((char*)"/");
4057     std::string chemin;
4058     if(found!=-1)
4059     {
4060     chemin = str_fichier.substr(0,found+1);
4061     }
4062     else chemin = "";
4063     FILE* in=fopen(fichier,"rt");
4064     char ligne[4000];
4065 couturad 968 fgets(ligne,4000,in);
4066 couturad 919 while(!feof(in))
4067     {
4068     char *aide = strstr(ligne,"//");
4069     if(aide==NULL)
4070     {
4071 couturad 968 char sous_fichier[500];
4072     sscanf(ligne,"%s",sous_fichier);
4073     if(strlen(sous_fichier)==0) continue;
4074     OT_PARAMETRES *param = new OT_PARAMETRES;
4075     std::string str_sous_fichier = chemin;
4076     str_sous_fichier.append(sous_fichier);
4077     if(param->lire((char*)str_sous_fichier.c_str())==FAIL) return FAIL;
4078     vector_params.push_back(param);
4079 couturad 919 }
4080 couturad 968 fgets(ligne,4000,in);
4081 couturad 919 }
4082 couturad 964 return OK;
4083 couturad 919 }