00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef __GRAPHIQUE_H_
00030 #define __GRAPHIQUE_H_
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00196
00197 class Valeur ;
00198 class Map ;
00199 class Map_et ;
00200 class Cmp ;
00201 class Scalar ;
00202 class Vector ;
00203 class Sym_tensor ;
00204 class Tenseur ;
00205 class Etoile ;
00206 class Binaire ;
00207 class Bin_ns_ncp ;
00208 template<typename TyT> class Evolution ;
00209
00210 #endif
00211
00236 void des_profile(const float* uutab, int nx, float xmin, float xmax,
00237 const char* nomx, const char* nomy, const char* title,
00238 const char* device = 0x0, int nbound = 0,
00239 float* xbound = 0x0) ;
00240
00258 void des_profile(const float* uutab, int nx, const float *xtab,
00259 const char* nomx, const char* nomy, const char* title,
00260 const char* device = 0x0, int nbound = 0,
00261 float* xbound = 0x0) ;
00262
00263
00294 void des_profile_mult(const float* uutab, int nprof, int nx,
00295 float xmin, float xmax, const char* nomx,
00296 const char* nomy, const char* title, const int* line_style,
00297 int ngraph, bool closeit, const char* device = 0x0,
00298 int nbound = 0, float* xbound = 0x0) ;
00299
00300
00331 void des_profile_mult(const float* uutab, int nprof, int nx,
00332 const float* xtab, const char* nomx,
00333 const char* nomy, const char* title, const int* line_style,
00334 int ngraph, bool closeit, const char* device = 0x0, int nbound = 0,
00335 float* xbound = 0x0) ;
00336
00354 void des_points(const float *uutab, int nx, float xmin, float xmax,
00355 const char* nomx = 0x0, const char* nomy = 0x0, const char* title = 0x0,
00356 const char* device = 0x0, int nbound = 0,
00357 float* xbound = 0x0) ;
00358
00395 void des_equipot(float* uutab, int nx, int ny, float xmin, float xmax,
00396 float ymin, float ymax, int ncour, const char* nomx, const char* nomy,
00397 const char* title, const char* device = 0x0, int newgraph = 3,
00398 int nxpage = 1, int nypage = 1) ;
00399
00444 void des_vect(float* vvx, float* vvy, int nx, int ny, float xmin, float xmax,
00445 float ymin, float ymax, double scale, double sizefl,
00446 const char* nomx, const char* nomy, const char* title, const char* device = 0x0,
00447 int newgraph = 3, int nxpage = 1, int nypage = 1) ;
00448
00449
00482 void des_domaine_x(const Map& mp, int l0, double x0, const char* device = 0x0,
00483 int newgraph = 3, double y_min = -1, double y_max = 1,
00484 double z_min = -1, double z_max = 1,
00485 const char* nomy = 0x0, const char* nomz = 0x0, const char* title = 0x0,
00486 int nxpage = 1, int nypage = 1) ;
00487
00488
00521 void des_domaine_y(const Map& mp, int l0, double y0, const char* device = 0x0,
00522 int newgraph = 3, double x_min = -1, double x_max = 1,
00523 double z_min = -1, double z_max = 1,
00524 const char* nomx = 0x0, const char* nomz = 0x0, const char* title = 0x0,
00525 int nxpage = 1, int nypage = 1) ;
00526
00527
00560 void des_domaine_z(const Map& mp, int l0, double z0, const char* device = 0x0,
00561 int newgraph = 3, double x_min = -1, double x_max = 1,
00562 double y_min = -1, double y_max = 1,
00563 const char* nomx = 0x0, const char* nomz = 0x0, const char* title = 0x0,
00564 int nxpage = 1, int nypage = 1) ;
00565
00566
00567
00568
00593 void des_coef(const double* cf, int n, double pzero,
00594 const char* nomx, const char* nomy, const char* title, const char* device = 0x0,
00595 int newgraph = 3, int nxpage = 1, int nypage = 1) ;
00596
00642 void des_coef_xi(const Valeur& uu, int l, int k, int j, double pzero = 1.e-14,
00643 const char* nomy = 0x0, const char* title = 0x0, const char* device = 0x0,
00644 int newgraph = 3, int nxpage = 1, int nypage = 1) ;
00645
00646
00685 void des_coef_theta(const Valeur& uu, int l, int k, int i, double pzero = 1.e-14,
00686 const char* nomy = 0x0, const char* title = 0x0, const char* device = 0x0,
00687 int newgraph = 3, int nxpage = 1, int nypage = 1) ;
00688
00689
00728 void des_coef_phi(const Valeur& uu, int l, int j, int i, double pzero = 1.e-14,
00729 const char* nomy = 0x0, const char* title = 0x0, const char* device = 0x0,
00730 int newgraph = 3, int nxpage = 1, int nypage = 1) ;
00731
00747 void des_map_et(const Map_et& mp, int lz) ;
00748
00775 void des_profile(const Scalar& uu, double r_min, double r_max,
00776 double theta, double phi, const char* nomy = 0x0,
00777 const char* title = 0x0, bool draw_bound = true) ;
00778
00779
00799 void des_profile(const Scalar& uu, double r_min, double r_max, double scale,
00800 double theta, double phi, const char* nomx = 0x0,
00801 const char* nomy = 0x0, const char* title= 0x0,
00802 bool draw_bound = true) ;
00803
00804
00845 void des_profile_mult(const Scalar** uu, int nprof, double r_min, double r_max,
00846 const double* theta, const double* phi, double radial_scale = 1,
00847 bool closeit = true, const char* nomy = 0x0,
00848 const char* title = 0x0, int ngraph = 0, const char* nomx = 0x0,
00849 const int* line_style = 0x0, const char* device = 0x0,
00850 bool draw_bound = true) ;
00851
00867 void des_points(const Scalar& uu,
00868 double theta = 0, double phi = 0, const char* nomy = 0x0,
00869 const char* title = 0x0, bool draw_bound = true) ;
00870
00871
00889 void des_points(const Scalar& uu, double scale,
00890 double theta = 0, double phi = 0, const char* nomx = 0x0,
00891 const char* nomy = 0x0, const char* title= 0x0,
00892 bool draw_bound = true) ;
00893
00905 void save_profile(const Scalar& uu, double r_min, double r_max,
00906 double theta, double phi, const char* filename) ;
00907
00908
00933 void des_meridian(const Scalar& uu, double r_min, double r_max,
00934 const char* nomy, int ngraph, const char* device = 0x0,
00935 bool closeit = false, bool draw_bound = true) ;
00936
00937
00938
00971 void des_surface_x(const Scalar& defsurf, double x0, const char* device = 0x0,
00972 int newgraph = 3, double y_min = -1, double y_max = 1,
00973 double z_min = -1, double z_max = 1,
00974 const char* nomy = 0x0, const char* nomz = 0x0, const char* title = 0x0,
00975 int nxpage = 1, int nypage = 1) ;
00976
01009 void des_surface_y(const Scalar& defsurf, double y0, const char* device = 0x0,
01010 int newgraph = 3, double x_min = -1, double x_max = 1,
01011 double z_min = -1, double z_max = 1,
01012 const char* nomx = 0x0, const char* nomz = 0x0, const char* title = 0x0,
01013 int nxpage = 1, int nypage = 1) ;
01014
01015
01048 void des_surface_z(const Scalar& defsurf, double z0, const char* device = 0x0,
01049 int newgraph = 3, double x_min = -1, double x_max = 1,
01050 double y_min = -1, double y_max = 1,
01051 const char* nomx = 0x0, const char* nomz = 0x0, const char* title = 0x0,
01052 int nxpage = 1, int nypage = 1) ;
01053
01054
01055
01084 void des_coupe_x(const Scalar& uu, double x0, int nzdes, const char* title = 0x0,
01085 const Scalar* defsurf = 0x0, double zoom = 1.2,
01086 bool draw_bound = true, int ncour = 15, int ny = 100,
01087 int nz = 100) ;
01088
01089
01116 void des_coupe_x(const Scalar& uu, double x0, double y_min, double y_max,
01117 double z_min, double z_max, const char* title = 0x0,
01118 const Scalar* defsurf = 0x0, bool draw_bound = true,
01119 int ncour = 15, int ny = 100, int nz = 100) ;
01120
01121
01150 void des_coupe_y(const Scalar& uu, double y0, int nzdes, const char* title = 0x0,
01151 const Scalar* defsurf = 0x0, double zoom = 1.2,
01152 bool draw_bound = true, int ncour = 15, int nx = 100,
01153 int nz = 100) ;
01154
01181 void des_coupe_y(const Scalar& uu, double y0, double x_min, double x_max,
01182 double z_min, double z_max, const char* title = 0x0,
01183 const Scalar* defsurf = 0x0, bool draw_bound = true,
01184 int ncour = 15, int nx = 100, int nz = 100) ;
01185
01186
01215 void des_coupe_z(const Scalar& uu, double z0, int nzdes, const char* title = 0x0,
01216 const Scalar* defsurf = 0x0, double zoom = 1.2,
01217 bool draw_bound = true, int ncour = 15, int nx = 100,
01218 int ny = 100) ;
01219
01246 void des_coupe_z(const Scalar& uu, double z0, double x_min, double x_max,
01247 double y_min, double y_max, const char* title = 0x0,
01248 const Scalar* defsurf = 0x0, bool draw_bound = true,
01249 int ncour = 15, int nx = 100, int ny = 100) ;
01250
01251
01295 void des_coupe_vect_x(const Vector& vv, double x0, double scale, double sizefl,
01296 int nzdes, const char* title = 0x0, const Scalar* defsurf = 0x0,
01297 double zoom = 1.2, bool draw_bound = true,
01298 int ny = 20, int nz = 20) ;
01299
01300
01333 void des_coupe_vect_x(const Vector& vv, double x0, double scale, double
01334 sizefl, double y_min, double y_max, double z_min,
01335 double z_max, const char* title = 0x0, const Scalar* defsurf = 0x0,
01336 bool draw_bound = true, int ny = 20, int nz = 20) ;
01337
01372 void des_coupe_vect_y(const Vector& vv, double y0, double scale, double sizefl,
01373 int nzdes, const char* title = 0x0, const Scalar* defsurf = 0x0,
01374 double zoom = 1.2, bool draw_bound = true,
01375 int nx = 20, int nz = 20) ;
01376
01377
01410 void des_coupe_vect_y(const Vector& vv, double y0, double scale, double
01411 sizefl, double x_min, double x_max, double z_min,
01412 double z_max, const char* title = 0x0, const Scalar* defsurf = 0x0,
01413 bool draw_bound = true, int nx = 20, int nz = 20) ;
01414
01449 void des_coupe_vect_z(const Vector& vv, double z0, double scale, double sizefl,
01450 int nzdes, const char* title = 0x0, const Scalar* defsurf = 0x0,
01451 double zoom = 1.2, bool draw_bound = true,
01452 int nx = 20, int ny = 20) ;
01453
01454
01487 void des_coupe_vect_z(const Vector& vv, double z0, double scale, double
01488 sizefl, double x_min, double x_max, double y_min,
01489 double y_max, const char* title = 0x0, const Scalar* defsurf = 0x0,
01490 bool draw_bound = true, int nx = 20, int ny = 20) ;
01491
01492
01526 void des_meridian(const Sym_tensor& hh, double r_min, double r_max,
01527 const char* name, int ngraph0, const char* device = 0x0,
01528 bool closeit = false) ;
01529
01530
01557 void des_profile(const Cmp& uu, double r_min, double r_max,
01558 double theta, double phi, const char* nomy = 0x0,
01559 const char* title = 0x0 ) ;
01560
01561
01580 void des_profile(const Cmp& uu, double r_min, double r_max, double scale,
01581 double theta, double phi, const char* nomx = 0x0,
01582 const char* nomy = 0x0, const char* title= 0x0) ;
01583
01584
01613 void des_coupe_x(const Cmp& uu, double x0, int nzdes, const char* title = 0x0,
01614 const Cmp* defsurf = 0x0, double zoom = 1.2,
01615 bool draw_bound = true, int ncour = 15, int ny = 100,
01616 int nz = 100) ;
01617
01618
01645 void des_coupe_x(const Cmp& uu, double x0, double y_min, double y_max,
01646 double z_min, double z_max, const char* title = 0x0,
01647 const Cmp* defsurf = 0x0, bool draw_bound = true,
01648 int ncour = 15, int ny = 100, int nz = 100) ;
01649
01650
01679 void des_coupe_y(const Cmp& uu, double y0, int nzdes, const char* title = 0x0,
01680 const Cmp* defsurf = 0x0, double zoom = 1.2,
01681 bool draw_bound = true, int ncour = 15, int nx = 100,
01682 int nz = 100) ;
01683
01710 void des_coupe_y(const Cmp& uu, double y0, double x_min, double x_max,
01711 double z_min, double z_max, const char* title = 0x0,
01712 const Cmp* defsurf = 0x0, bool draw_bound = true,
01713 int ncour = 15, int nx = 100, int nz = 100) ;
01714
01715
01744 void des_coupe_z(const Cmp& uu, double z0, int nzdes, const char* title = 0x0,
01745 const Cmp* defsurf = 0x0, double zoom = 1.2,
01746 bool draw_bound = true, int ncour = 15, int nx = 100,
01747 int ny = 100) ;
01748
01775 void des_coupe_z(const Cmp& uu, double z0, double x_min, double x_max,
01776 double y_min, double y_max, const char* title = 0x0,
01777 const Cmp* defsurf = 0x0, bool draw_bound = true,
01778 int ncour = 15, int nx = 100, int ny = 100) ;
01779
01780
01813 void des_bi_coupe_y(const Cmp& uu, double y0, int nzdes, const char* title = 0x0,
01814 const Cmp* defsurf = 0x0, const Cmp* defsurf2 = 0x0,
01815 double zoom = 1.2,
01816 bool draw_bound = true, int ncour = 15, int nx = 100,
01817 int nz = 100) ;
01818
01849 void des_bi_coupe_y(const Cmp& uu, double y0, double x_min, double x_max,
01850 double z_min, double z_max, const char* title = 0x0,
01851 const Cmp* defsurf = 0x0, const Cmp* defsurf2 = 0x0,
01852 bool draw_bound = true,
01853 int ncour = 15, int nx = 100, int nz = 100) ;
01854
01855
01888 void des_coupe_bin_x(const Cmp& uu1, const Cmp& uu2, double x0, double y_min,
01889 double y_max, double z_min, double z_max, const char* title,
01890 const Cmp* defsurf1 = 0x0, const Cmp* defsurf2 = 0x0,
01891 bool draw_bound = true, int ncour = 15, int ny = 100,
01892 int nz = 100) ;
01893
01894
01927 void des_coupe_bin_y(const Cmp& uu1, const Cmp& uu2, double y0, double x_min,
01928 double x_max, double z_min, double z_max, const char* title,
01929 const Cmp* defsurf1 = 0x0, const Cmp* defsurf2 = 0x0,
01930 bool draw_bound = true, int ncour = 15, int nx = 100,
01931 int nz = 100) ;
01932
01933
01966 void des_coupe_bin_z(const Cmp& uu1, const Cmp& uu2, double z0, double x_min,
01967 double x_max, double y_min, double y_max, const char* title,
01968 const Cmp* defsurf1 = 0x0, const Cmp* defsurf2 = 0x0,
01969 bool draw_bound = true, int ncour = 15, int nx = 100,
01970 int ny = 100) ;
01971
01972
01973
02006 void des_surface_x(const Cmp& defsurf, double x0, const char* device = 0x0,
02007 int newgraph = 3, double y_min = -1, double y_max = 1,
02008 double z_min = -1, double z_max = 1,
02009 const char* nomy = 0x0, const char* nomz = 0x0, const char* title = 0x0,
02010 int nxpage = 1, int nypage = 1) ;
02011
02044 void des_surface_y(const Cmp& defsurf, double y0, const char* device = 0x0,
02045 int newgraph = 3, double x_min = -1, double x_max = 1,
02046 double z_min = -1, double z_max = 1,
02047 const char* nomx = 0x0, const char* nomz = 0x0, const char* title = 0x0,
02048 int nxpage = 1, int nypage = 1) ;
02049
02050
02083 void des_surface_z(const Cmp& defsurf, double z0, const char* device = 0x0,
02084 int newgraph = 3, double x_min = -1, double x_max = 1,
02085 double y_min = -1, double y_max = 1,
02086 const char* nomx = 0x0, const char* nomz = 0x0, const char* title = 0x0,
02087 int nxpage = 1, int nypage = 1) ;
02088
02089
02090
02134 void des_coupe_vect_x(const Tenseur& vv, double x0, double scale, double sizefl,
02135 int nzdes, const char* title = 0x0, const Cmp* defsurf = 0x0,
02136 double zoom = 1.2, bool draw_bound = true,
02137 int ny = 20, int nz = 20) ;
02138
02139
02172 void des_coupe_vect_x(const Tenseur& vv, double x0, double scale, double
02173 sizefl, double y_min, double y_max, double z_min,
02174 double z_max, const char* title = 0x0, const Cmp* defsurf = 0x0,
02175 bool draw_bound = true, int ny = 20, int nz = 20) ;
02176
02211 void des_coupe_vect_y(const Tenseur& vv, double y0, double scale, double sizefl,
02212 int nzdes, const char* title = 0x0, const Cmp* defsurf = 0x0,
02213 double zoom = 1.2, bool draw_bound = true,
02214 int nx = 20, int nz = 20) ;
02215
02216
02249 void des_coupe_vect_y(const Tenseur& vv, double y0, double scale, double
02250 sizefl, double x_min, double x_max, double z_min,
02251 double z_max, const char* title = 0x0, const Cmp* defsurf = 0x0,
02252 bool draw_bound = true, int nx = 20, int nz = 20) ;
02253
02288 void des_coupe_vect_z(const Tenseur& vv, double z0, double scale, double sizefl,
02289 int nzdes, const char* title = 0x0, const Cmp* defsurf = 0x0,
02290 double zoom = 1.2, bool draw_bound = true,
02291 int nx = 20, int ny = 20) ;
02292
02293
02326 void des_coupe_vect_z(const Tenseur& vv, double z0, double scale, double
02327 sizefl, double x_min, double x_max, double y_min,
02328 double y_max, const char* title = 0x0, const Cmp* defsurf = 0x0,
02329 bool draw_bound = true, int nx = 20, int ny = 20) ;
02330
02331
02370 void des_vect_bin_x(const Tenseur& vv1, const Tenseur& vv2, double x0,
02371 double scale, double sizefl, double y_min, double y_max,
02372 double z_min, double z_max, const char* title,
02373 const Cmp* defsurf1 = 0x0, const Cmp* defsurf2 = 0x0,
02374 bool draw_bound = true, int ny = 20, int nz = 20) ;
02375
02376
02415 void des_vect_bin_y(const Tenseur& vv1, const Tenseur& vv2, double x0,
02416 double scale, double sizefl, double x_min, double x_max,
02417 double z_min, double z_max, const char* title,
02418 const Cmp* defsurf1 = 0x0, const Cmp* defsurf2 = 0x0,
02419 bool draw_bound = true, int nx = 20, int nz = 20) ;
02420
02421
02460 void des_vect_bin_z(const Tenseur& vv1, const Tenseur& vv2, double x0,
02461 double scale, double sizefl, double x_min, double x_max,
02462 double y_min, double y_max, const char* title,
02463 const Cmp* defsurf1 = 0x0, const Cmp* defsurf2 = 0x0,
02464 bool draw_bound = true, int nx = 20, int ny = 20) ;
02465
02466
02499 void des_evol(const Evolution<double>& uu, const char* nomy = 0x0,
02500 const char* title = 0x0, int ngraph = 0, const char* device = 0x0,
02501 bool closeit = false, bool show_time = true, const char* nomx = 0x0) ;
02502
02527 void des_evol(const Evolution<double>& uu, int j_min, int j_max,
02528 const char* nomy = 0x0, const char* title = 0x0,
02529 int ngraph = 0, const char* device = 0x0, bool closeit = false,
02530 bool show_time = true, const char* nomx = 0x0) ;
02531
02532
02536 #endif