14#define RESET "\033[0m"
15#define BLACK "\033[30m"
17#define GREEN "\033[32m"
18#define YELLOW "\033[33m"
19#define BLUE "\033[34m"
20#define MAGENTA "\033[35m"
21#define CYAN "\033[36m"
22#define WHITE "\033[37m"
23#define BOLDBLACK "\033[1m"
24#define BOLDRED "\033[1m\033[31m"
25#define BOLDGREEN "\033[1m\033[32m"
26#define BOLDYELLOW "\033[1m\033[33m"
27#define BOLDBLUE "\033[1m\033[34m"
28#define BOLDMAGENTA "\033[1m\033[35m"
29#define BOLDCYAN "\033[1m\033[36m"
30#define BOLDWHITE "\033[1m\033[37m"
132 double mu1,rho1,mu2,rho2,dt,dtelast,lambda,cfl,time,timeac,timeac2,g,volume,st;
174 int nexp,nexp2,nexp3;
180 char OBJ_FILE[30][PETSC_MAX_PATH_LEN];
182 double *xtail,*ytail,*ztail,*xhead,*yhead,*zhead,xfood,yfood,zfood,thetafood;
233 int *is, *js, *ks, *ie, *je, *ke;
234 int *is1,*js1,*ks1,*ie1,*je1,*ke1;
235 int *is2,*js2,*ks2,*ie2,*je2,*ke2;
236 int *ist,*jst,*kst,*iet,*jet,*ket;
252 double ***C_useful,***Ct_useful,***C_useless,***Ct_useless,***C_other,***Ct_other,***C_total,***Ct_total,*Cn,Mn_exa,Mn_ext,*eta,*etas;
265 double *Power,*Powert,*Power_useful,*Powert_useful,*Power_useless,*Powert_useless,*Power_other,*Powert_other;
266 double *W_total,*W_useful,*W_useless,*W_other,**P_total,**P_useful,**P_useless,**P_other;
267 double P,Pm,Pt,Pc,Pct,Pv,Pvt,Pb,Pbt,Pext,Pextt,Ec,Ect,Ecm1,Ecm1t;
280 double ***Fxx,***Fxxt,***Fyy,***Fyyt,***Fzz,***Fzzt;
281 double ***dist,***distt,***distm1;
282 int ***distk,***distkt;
300 int ***ind_vertex_q,***ind_vertex_t,***ind_texture_q,***ind_texture_t,***ind_normal_q,***ind_normal_t;
301 double **vx,**vy,**vz,**nx,**ny,**nz,**tx,**ty,**tz;
320 double ***xs,***ys,***zs;
321 double ***x0,***y0,***z0,***x0m1,***y0m1,***z0m1;
322 double ***x1,***y1,***z1;
329 double **xb_m1,**yb_m1,**zb_m1,**ub,**vb,**wb;
330 double **xbs,**ybs,**zbs;
364 double *xgd,*ygd,*zgd,*xgs,*ygs,*zgs,*xg1,*yg1,*zg1,*xg2,*yg2,*zg2;
365 double *xmin,*xmax,*ymin,*ymax,*zmin,*zmax;
373 double re,ri,rc,yt,ym,yc,yl,r1,r2,m1,m2,rh,h;
382 double **x,**y,**xm1,**ym1,**xm2,**ym2;
384 double **xc,**yc,**l;
385 double **Wx,**Wy,**Wxt,**Wyt;
387 double **phi,**phim1,**phim2,**dphi,**d2phi,**curv,**Aibphi;
388 double **ce,**se,**cem1,**cem2,**sem1,**sem2,**d2ce,**d2se;
390 double ***A,***A2,***Ap,***Hc,***Hs,***Gc,***Gs,***Jn,***Aphi;
391 double ***GcAp,***GcApHc,***GsAp,***GsApHs,***GsApHc,***GcApHs;
392 double **Mm,**Mmt,**bphi;
393 double distance,dist;
500 Vectors i[10],k[10],l[10],im1[10],it[10],el[10],elm1[10],elt[10],mat[6][3][3];
556 double ***a,***as,***an;
576 Pointers t,k[10],l[10],i[10],im1[10],it[10],cl,el[10],elm1[10],elt[10],mat[6][3][3];
Vec lW
Definition: struct.h:424
Pointers e
Definition: struct.h:575
Vec lOy
Definition: struct.h:444
int gxs
Definition: struct.h:60
double Cc
Definition: struct.h:134
Vec lH
Definition: struct.h:456
Vec lYx
Definition: struct.h:466
int gzs
Definition: struct.h:64
PetscBool force_ext2
Definition: struct.h:149
PetscBool zperiodic
Definition: struct.h:108
Vec lLSind
Definition: struct.h:436
int ym
Definition: struct.h:56
double dx
Definition: struct.h:86
double dz
Definition: struct.h:90
double ymax
Definition: struct.h:98
int * file_format
Definition: struct.h:178
double *** D
Definition: struct.h:541
PetscBool force_ext1
Definition: struct.h:147
int cscheme
Definition: struct.h:129
KSP kspu
Definition: struct.h:621
int xm
Definition: struct.h:54
Vec lV
Definition: struct.h:416
Vec lQ
Definition: struct.h:450
double hsurf
Definition: struct.h:143
double *** DU
Definition: struct.h:558
int ny
Definition: struct.h:82
int gys
Definition: struct.h:62
Vec PHI
Definition: struct.h:438
double *** U
Definition: struct.h:509
double *** On
Definition: struct.h:535
double *** Yy
Definition: struct.h:547
int ip
Definition: struct.h:110
double *** nz
Definition: struct.h:555
Vec ldPdy
Definition: struct.h:432
PetscBool yperiodic
Definition: struct.h:106
Vec Yx
Definition: struct.h:464
Vec lOz
Definition: struct.h:446
double *** Uf
Definition: struct.h:519
int itv
Definition: struct.h:627
PetscBool bi_fluid
Definition: struct.h:151
int zs
Definition: struct.h:52
int ys
Definition: struct.h:50
Vec Uf
Definition: struct.h:410
double *** Oy
Definition: struct.h:531
Vec lPHI
Definition: struct.h:440
double *** H
Definition: struct.h:543
int nb
Definition: struct.h:163
double *** Wf
Definition: struct.h:523
double *** P
Definition: struct.h:515
int itp
Definition: struct.h:623
double *** W
Definition: struct.h:513
Vec U
Definition: struct.h:406
double *** V
Definition: struct.h:511
int ischeme
Definition: struct.h:127
Vec Wf
Definition: struct.h:426
Vec lnx
Definition: struct.h:476
Vec W
Definition: struct.h:422
int * ns
Definition: struct.h:171
int nz
Definition: struct.h:84
Pointers n
Definition: struct.h:568
double Cg
Definition: struct.h:138
double *** ny
Definition: struct.h:553
DM da
Definition: struct.h:78
PetscBool redist
Definition: struct.h:153
double Cs
Definition: struct.h:140
Mat Au
Definition: struct.h:589
Vectors n
Definition: struct.h:491
int gym
Definition: struct.h:68
PetscMPIInt size
Definition: struct.h:44
Vec lny
Definition: struct.h:478
int nx
Definition: struct.h:80
Vec lOn
Definition: struct.h:448
double zmax
Definition: struct.h:102
double *** dPdy
Definition: struct.h:517
double ymin
Definition: struct.h:96
Vec Vf
Definition: struct.h:418
Vec Yy
Definition: struct.h:468
int xs
Definition: struct.h:48
Vec lWf
Definition: struct.h:428
Vec lnz
Definition: struct.h:480
Vec lYz
Definition: struct.h:474
Vec lUf
Definition: struct.h:412
Mat Ap
Definition: struct.h:587
Vec lPSI
Definition: struct.h:452
PetscBool force_exa
Definition: struct.h:145
Vec lLS
Definition: struct.h:434
MatNullSpace nullsp
Definition: struct.h:631
double *** Ox
Definition: struct.h:529
int ni
Definition: struct.h:124
int * ne
Definition: struct.h:173
double epsilon
Definition: struct.h:116
Vec Yz
Definition: struct.h:472
int fluid
Definition: struct.h:131
Vec lU
Definition: struct.h:408
PetscMPIInt rank
Definition: struct.h:46
double xmax
Definition: struct.h:94
double zmin
Definition: struct.h:100
int itw
Definition: struct.h:629
double *** Yx
Definition: struct.h:545
int gxm
Definition: struct.h:66
Vectors nm1
Definition: struct.h:495
double *** Oz
Definition: struct.h:533
KSP kspp
Definition: struct.h:619
double dy
Definition: struct.h:88
Vec lP
Definition: struct.h:430
Vec lDU
Definition: struct.h:462
int nbe
Definition: struct.h:165
double *** LS
Definition: struct.h:527
int ib
Definition: struct.h:167
Pointers nm1
Definition: struct.h:572
double *** PHI
Definition: struct.h:525
double Cv
Definition: struct.h:136
double *** PSI
Definition: struct.h:539
double *** Vf
Definition: struct.h:521
double *** Q
Definition: struct.h:537
Vec lD
Definition: struct.h:454
PetscBool xperiodic
Definition: struct.h:104
Vec DIV
Definition: struct.h:458
int gzm
Definition: struct.h:70
Vec lYy
Definition: struct.h:470
double *** nx
Definition: struct.h:551
int kp
Definition: struct.h:114
Vec lOx
Definition: struct.h:442
int * choice
Definition: struct.h:176
int test
Definition: struct.h:155
Vectors np1
Definition: struct.h:493
double xmin
Definition: struct.h:92
int zm
Definition: struct.h:58
Vec V
Definition: struct.h:414
double *** Yz
Definition: struct.h:549
Vec lVf
Definition: struct.h:420
double *** DIV
Definition: struct.h:560
Pointers np1
Definition: struct.h:570
int * no
Definition: struct.h:169
Vec DU
Definition: struct.h:460
Vectors e
Definition: struct.h:498
int itu
Definition: struct.h:625
int jp
Definition: struct.h:112
Arrays fields (at iteration, n, n+1, ...)
Definition: struct.h:566
Vector fields (at iteration, n, n+1, ...)
Definition: struct.h:489
Grid information.
Definition: struct.h:76
Vector and matrices for linear systems.
Definition: struct.h:584
Osbtacles parameters.
Definition: struct.h:161
The arrays associated to the petsc vectors.
Definition: struct.h:506
Processors information.
Definition: struct.h:42
Simulation parameters.
Definition: struct.h:122
Petsc Vectors.
Definition: struct.h:404