PLUTO  4.4-patch2
dust_fluid.h
Go to the documentation of this file.
1 /* ///////////////////////////////////////////////////////////////////// */
16 /* ///////////////////////////////////////////////////////////////////// */
17 
18 #define NDUST_FLUID 4
19 
20 #define RHO_D (NFLX + NIONS + NTRACER + (ENTROPY_SWITCH != 0))
21 #define MX1_D (RHO_D + 1)
22 #define MX2_D (RHO_D + 2)
23 #define MX3_D (RHO_D + 3)
24 #define VX1_D MX1_D
25 #define VX2_D MX2_D
26 #define VX3_D MX3_D
27 
28 #if GEOMETRY == CYLINDRICAL
29  #define iMPHI_D MX3_D
30 #elif GEOMETRY == POLAR
31  #define iMPHI_D MX2_D
32 #elif GEOMETRY == SPHERICAL
33  #define iMPHI_D MX3_D
34 #endif
35 
36 
37 #define NDUST_FLUID_BEG (RHO_D)
38 #define NDUST_FLUID_END (NDUST_FLUID_BEG + NDUST_FLUID - 1)
39 #define NDUST_FLUID_LOOP(n) for ((n) = NDUST_FLUID_BEG; (n) <= NDUST_FLUID_END; (n)++)
40 
41 void DustFluid_Solver (const Sweep *, int, int, double *, Grid *);
42 void DustFluid_DragForce(const Sweep *, int, int, double, Grid *);
43 double DustFluid_StoppingTime(double *, double, double, double); /* User-supplied */
Definition: structs.h:124
void DustFluid_Solver(const Sweep *, int, int, double *, Grid *)
Definition: dust_fluid.c:26
void DustFluid_DragForce(const Sweep *, int, int, double, Grid *)
Definition: dust_fluid.c:116
Definition: structs.h:289