PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
glm.h
Go to the documentation of this file.
1 /* ///////////////////////////////////////////////////////////////////// */
23 /* ///////////////////////////////////////////////////////////////////// */
24 #define GLM_MHD
25 
26 #define EGLM NO
32 #define COMPUTE_DIVB NO
33 
34 /* with chombo, COMPUTE_DIVB must be
35  disabled or a segfault will occur */
36 
37 #ifdef CH_SPACEDIM
38  #undef COMPUTE_DIVB
39  #define COMPUTE_DIVB NO
40 #endif
41 
42 
43 extern double glm_ch;
46 void GLM_Solve (const State_1D *, double **, double **, int, int, Grid *);
47 void GLM_SolveNEW (const State_1D *state, int beg, int end, Grid *grid);
48 void GLM_Init (const Data *, const Time_Step *, Grid *);
49 void GLM_Source (const Data_Arr, double, Grid *);
50 void EGLM_Source (const State_1D *, double, int, int, Grid *);
51 
52 #if COMPUTE_DIVB == YES
53  void GLM_ComputeDivB(const State_1D *state, Grid *grid);
54  double ***GLM_GetDivB(void);
55 #endif
56