PLUTO  4.4-patch2
prototypes.h
1 /* *********************************************************************
2  PLUTO function prototypes
3  ********************************************************************* */
4 
5 int AdvanceStep(Data *, timeStep *, Grid *);
6 void AdvectFlux (const Sweep *, int, int, Grid *);
7 void AMR_StoreFlux (double **, double **, int, int, int, int, int, Grid *);
8 void Analysis (const Data *, Grid *);
9 char *Array1D (int, size_t);
10 char **Array2D (int, int, size_t);
11 char ***Array3D (int, int, int, size_t);
12 char ****Array4D (int, int, int, int, size_t);
13 char ***ArrayBox(long int, long int, long int, long int, long int, long int, size_t);
14 double ***ArrayBoxMap (int, int, int, int, int, int, double *);
15 double ***ArrayMap (int, int, int, double *);
16 uint16_t ***ArrayUint16_tMap (int, int, int, uint16_t *);
17 void ArrayReconstruct(double ***, uint16_t *, int, int, int, int,
18  double *, double *, int, Grid *);
19 
20 void ShowMemoryInfo();
21 void FreeAll();
22 
23 double BodyForcePotential(double, double, double);
24 void BodyForceVector(double *, double *, double, double, double);
25 void Boundary (const Data *, int, Grid *);
26 
27 void ChangeOutputVar (void);
28 void CharTracingStep(const Sweep *, int, int, Grid *);
29 int CheckData (Data *, Grid *, const char *);
30 void CheckPrimStates (double **, double **, double **, int, int);
31 int CheckNaN (double **, int, int, const char *);
32 
33 void ComputeUserVar (const Data *, Grid *);
34 float ***Convert_dbl2flt (double ***, double, int);
35 int ConsToPrimLoc (double *, double *, uint16_t *);
36 int ConsToPrim3D(Data_Arr, Data_Arr, uint16_t ***, RBox *);
37 void CreateImage (char *);
38 void ComputeEntropy (const Data *, Grid *);
39 
40 void EntropySwitch(const Data *, Grid *);
41 #ifdef CHOMBO
42 void error (const char *fmt, ...); /* Used to quit pluto only (flush buffer) */
43 #endif
44 
45 int FileClose (FILE *, int);
46 int FileDelete (char *);
47 FILE *FileOpen (char *, int, char *);
48 void FileReadData (void *, size_t, int, FILE *, int, int);
49 void FileWriteData (void *, size_t, int, FILE *, int);
50 void FileWriteHeader(char *buffer, char fname[], int mode);
51 void FileWriteArray(void *, long int, long int, size_t, char *);
52 void FreeArray1D (void *);
53 void FreeArray2D (void **);
54 void FreeArray3D (void ***);
55 void FreeArray4D (void ****);
56 void FreeArrayBox(double ***, long, long, long);
57 void FreeArrayBoxMap (double ***, int, int, int, int, int, int);
58 void FreeArrayMap (double ***);
59 void FreeArrayUint16_tMap(uint16_t ***);
60 #ifdef FINITE_DIFFERENCE
61  Riemann_Solver FD_Flux;
62  void FD_GetMaxEigenvalues (const Data *d, Sweep *sweep, Grid *grid);
63 #endif
64 Reconstruct MP5_Reconstruct, PPM_Reconstruct, LIMO3_Reconstruct,
65  WENOZ_Reconstruct, WENO3_Reconstruct;
66 
67 void FindShock (const Data *, Grid *);
68 void FlagShock (const Data *, Grid *);
69 void Flatten (const Sweep *, int, int, Grid *);
70 void FluidInterfaceBoundary(const Sweep *, int, int, Grid *);
71 void FreeGrid (Grid *);
72 
73 void GetAreaFlux (const Sweep *, double **, double **, int, int, Grid *);
74 void GetCGSUnits (double *);
75 Image *GetImage (char *);
76 double *GetInverse_dl (const Grid *);
77 int GetNghost (void);
78 void GetNeighbourRanks (Grid *, int **);
79 void GetOutputFrequency(Output *, const char *);
80 int GetOutputVarNames(int, char *var_names[NVAR]);
81 double ***GetUserVar (char *);
82 void GnuplotSetting(Runtime *, Grid *);
83 
84 void HancockStep (const Sweep *, int, int, Grid *);
85 
86 double Length_1 (int, int, int, Grid *);
87 double Length_2 (int, int, int, Grid *);
88 double Length_3 (int, int, int, Grid *);
89 int LocateIndex(double *, int, int, double);
90 void LogFileClose(void);
91 void LogFileFlush(void);
92 void LogFileOpen (char *, char *);
93 
94 char *IndentString();
95 void Init (double *, double, double, double);
96 void InitDomain (Data *, Grid *);
97 void Initialize(Data *, Runtime *, Grid *, cmdLine *);
98 void InternalBoundaryReset (const Sweep *, timeStep *, int, int, Grid *);
99 void InputDataClose(int);
100 void InputDataGridSize (int, int *);
101 double InputDataInterpolate (int, double, double, double);
102 int InputDataOpen(char *, char *, char *, long int, int);
103 void InputDataReadSlice(int, int);
104 int IsLittleEndian (void);
105 
106 double MP5_States(double *, int, int);
107 double WENOZ_States(double *, int, int);
108 
109 void StaggeredRemap (Data_Arr, Grid *);
110 double StaggeredRemap_RKL(double ***, double ***, Data_Arr, RBox *, double, Grid *);
111 double StaggeredRemap_RHS(double ***, double ***, double ***, RBox *, Grid *);
112 void StaggeredRemapBoundary(double ***phi, Data_Arr Bs, RBox *, Grid *grid);
113 
114 void MakeState (Sweep *);
115 double MeanMolecularWeight(double *);
116 double Median (double a, double b, double c);
117 
118 void OutflowBoundary(double ***, RBox *, int);
119 void OutputLogPre (Data *, timeStep *, Runtime *, Grid *);
120 void OutputLogPost (Data *, timeStep *, Runtime *, Grid *);
121 
122 void ParabolicArrays(const Data *, int *, int, Grid *);
123 void ParabolicFlux(Data_Arr, Data_Arr, double ***, const Sweep *,
124  double **, int, int, Grid *);
125 double ParabolicRHS (const Data *, Data_Arr, RBox *, double **, int, double, Grid *);
126 void ParabolicUpdate(const Data *, Data_Arr, RBox *, double **, double, timeStep *, Grid *);
127 void ParseCmdLineArgs (int, char *argv[], char *, cmdLine *);
128 int ParamFileRead (char *);
129 char *ParamFileGet (const char *, int );
130 int ParamExist (const char *);
131 int ParamFileHasBoth (const char *, const char *);
132 void PeriodicBoundary (double ***, RBox *, int);
133 void PointValue (Data *, Data_Arr, Data_Arr, Grid *);
134 
135 void PolarAxisBoundary(const Data *, RBox *, int);
136 
137 void PrimToChar (double **, double *, double *);
138 void PrimToCons3D(Data_Arr, Data_Arr, RBox *);
139 void PrimToConsLoc (double *vprim, double *ucons);
140 
141 void PrintColumnLegend(char *legend[], int, FILE *);
142 
143 void RBoxCopy (RBox *, Data_Arr, Data_Arr, int, char);
144 void RBoxDefine(int, int, int, int, int, int, int, RBox *);
145 void RBoxEnlarge(RBox *, int, int, int);
146 void RBoxSetDirections(RBox *, int);
147 void RBoxShow(RBox *);
148 void ReadHDF5 (Output *output, Grid *grid);
149 void ReflectiveBoundary(double ***, int, int, RBox *, int);
150 void ResetState (const Data *, Sweep *, Grid *);
151 void RestartFromFile (const Data *, Runtime *, int, int, Grid *);
152 void RestartDump (Runtime *);
153 void RestartGet (Runtime *, int, int, int);
154 
155 void RightHandSide (const Sweep *, timeStep *, int, int, double, Grid *);
156 void RightHandSideSource (const Sweep *, timeStep *, int, int, double,
157  double *, Grid *);
158 
159 #if RING_AVERAGE > 1
160 void RingAverageCons(Data *, Grid *);
161 void RingAverageReconstruct (Sweep *, int, int, Grid *);
162 void RingAverageReconstructNew (double *v, int beg, int end, Grid *grid);
163 
164 void RingAverageSize(Grid *);
165 #endif
166 
167 void RKC (const Data *d, double, timeStep *, Grid *);
168 void RKL (const Data *d, double, timeStep *, Grid *);
169 
170 Runtime *RuntimeGet(void);
171 int RuntimeSetup (Runtime *, cmdLine *, char *);
172 void RuntimeSet(Runtime *runtime);
173 
174 void SetColorMap (unsigned char *, unsigned char *, unsigned char *, char *);
175 void SetDefaultVarNames(Output *);
176 //void SetGrid (Runtime *, Grid *);
177 void SetGeometry (Grid *);
178 void SetGrid (Runtime *, int *, Grid *);
179 
180 void SetJetDomain (const Data *, int, int, Grid *);
181 void SetOutput (Data *d, Runtime *input);
182 void SetVectorIndices (int);
183 int SetOutputVar (char *, int, int);
184 Riemann_Solver *SetSolver (const char *);
185 void Show (double **, int);
186 void ShowConfig(int, char *a[], char *);
187 void ShowMatrix(double **, int, double);
188 void ShowState (double *, int);
189 void ShowVector (double *, int);
190 void ShowUnits ();
191 void SplitSource (const Data *, double, timeStep *, Grid *);
192 void Startup (Data *, Grid *);
193 void States (const Sweep *, int, int, Grid *);
194 void StateStructAllocate (State *);
195 void StoreAMRFlux (double **, double **, int, int, int, int, int, Grid *);
196 int StringArrayIndex (char *str_arr[], int, char *);
197 void STS (const Data *d, double, timeStep *, Grid *);
198 void SymmetryCheck (Data_Arr, int, RBox *);
199 void SwapEndian (void *, const int);
200 
201 
202 void UnsetJetDomain (const Data *, int, Grid *);
203 void UpdateStage(Data *, Data_Arr, Data_Arr, double **, double, timeStep *, Grid *);
204 void UserDefBoundary (const Data *, RBox *, int, Grid *);
205 
206 void VectorPotentialDiff (double *, Data *, int, int, int, Grid *);
207 
208 void Where (int, Grid *);
209 void WriteAsciiFile (char *, double *, int);
210 void WriteData (const Data *, Output *, Grid *);
211 void WriteHDF5 (Output *output, Grid *grid);
212 void WriteVTK_Header (FILE *, Grid *);
213 void WriteVTK_Vector (FILE *, Data_Arr, double, char *, Grid *);
214 void WriteVTK_Scalar (FILE *, double ***, double, char *, Grid *);
215 void WriteVTKProcFile (double ***, int, int, int, char *);
216 void WriteTabArray (Output *, char *, Grid *);
217 void WritePPM (double ***, char *, char *, Grid *);
218 void WritePNG (double ***, char *, char *, Grid *);
219 
220 #define ARRAY_1D(nx,type) (type *)Array1D(nx,sizeof(type))
221 #define ARRAY_2D(nx,ny,type) (type **)Array2D(nx,ny,sizeof(type))
222 #define ARRAY_3D(nx,ny,nz,type) (type ***)Array3D(nx,ny,nz,sizeof(type))
223 #define ARRAY_4D(nx,ny,nz,nv,type) (type ****)Array4D(nx,ny,nz,nv,sizeof(type))
224 #define ARRAY_BOX(i0,i1, j0,j1, k0,k1,type) \
225  (type ***)ArrayBox(i0,i1,j0,j1,k0,k1,sizeof(type))
226 /*
227 #define ARRAY_BOX(i0,i1, j0,j1, k0,k1,type) \
228  ArrayBox_Old(i0,i1,j0,j1,k0,k1)
229 */
230 /* ---------------------------------------------------------------------
231  Prototyping for standard output/debugging
232  --------------------------------------------------------------------- */
233 
234 void print (const char *fmt, ...);
235 void printLog (const char *fmt, ...);
236 void Trace (double);
237 
238 /* ----------------------------------------------
239  functions in tools.c
240  ---------------------------------------------- */
241 
242 void PlutoError (int, char *);
243 
244 #if UPDATE_VECTOR_POTENTIAL == YES
245  void VectorPotentialUpdate (const Data *d, const void *vp,
246  const Sweep *sweep, const Grid *grid);
247 #endif
248 
249 /* --------------- EOS ------------------------- */
250 
251 void Enthalpy (double **, double *, int, int);
252 void Entropy (double **, double *, int, int);
253 void SoundSpeed2 (const State *, int, int, int, Grid *);
254 
void FreeArray1D(void *v)
Definition: arrays.c:85
void LogFileFlush(void)
Definition: output_log.c:179
void FlagShock(const Data *d, Grid *grid)
Definition: flag_shock.c:79
void Boundary(const Data *d, int idim, Grid *grid)
Definition: boundary.c:56
void RestartGet(Runtime *ini, int nrestart, int out_type, int swap_endian)
Definition: restart.c:183
int AdvanceStep(Data *d, timeStep *Dts, Grid *grid)
Definition: rk_step_imex.c:31
void ComputeEntropy(const Data *d, Grid *grid)
Definition: entropy_switch.c:14
void Initialize(Data *data, Runtime *runtime, Grid *grid, cmdLine *cmd_line)
Definition: initialize.c:41
void GetNeighbourRanks(Grid *grid, int **nranks)
Definition: tools.c:13
void RBoxDefine(int ib, int ie, int jb, int je, int kb, int ke, int vpos, RBox *box)
Definition: rbox.c:78
void WriteTabArray(Output *output, char *filename, Grid *grid)
Definition: write_tab.c:31
double *** GetUserVar(char *var_name)
Definition: set_output.c:342
void ReadHDF5(Output *output, Grid *grid)
Definition: hdf5_io.c:609
void StoreAMRFlux(double **flux, double **aflux, int sign, int nvar_beg, int nvar_end, int beg, int end, Grid *grid)
Definition: adv_flux.c:139
int GetNghost(void)
Definition: get_nghost.c:18
void Analysis(const Data *d, Grid *grid)
Definition: init.c:78
int LocateIndex(double *yarr, int beg, int end, double y)
Definition: math_table2D.c:144
Runtime * RuntimeGet(void)
Definition: runtime_setup.c:562
int ParamExist(const char *label)
Definition: parse_file.c:159
void ShowMatrix(double **A, int n, double eps)
Definition: debug_tools.c:182
int ParamFileHasBoth(const char *label1, const char *label2)
Definition: parse_file.c:129
void PolarAxisBoundary(const Data *d, RBox *box, int side)
Definition: boundary.c:721
void WriteVTKProcFile(double ***U, int nx1, int nx2, int nx3, char *filename)
Definition: write_vtk_proc.c:24
void RBoxEnlarge(RBox *box, int di, int dj, int dk)
Definition: rbox.c:106
char **** Array4D(int nx, int ny, int nz, int nv, size_t dsize)
Definition: arrays.c:251
void PrimToCons3D(Data_Arr V, Data_Arr U, RBox *box)
Definition: mappers3D.c:111
void ShowConfig(int argc, char *argv[], char *ini_file)
Definition: show_config.c:14
void OutflowBoundary(double ***q, RBox *box, int side)
Definition: boundary.c:583
void SwapEndian(void *x, const int nbytes)
Definition: tools.c:532
int RuntimeSetup(Runtime *runtime, cmdLine *cmd_line, char *ini_file)
Definition: runtime_setup.c:22
int FileDelete(char *fname)
Definition: bin_io.c:263
char *** ArrayBox(long int nrl, long int nrh, long int ncl, long int nch, long int ndl, long int ndh, size_t dsize)
Definition: arrays.c:392
void RightHandSide(const Sweep *sweep, timeStep *Dts, int beg, int end, double dt, Grid *grid)
Definition: rhs.c:84
void RBoxSetDirections(RBox *box, int dir)
Definition: rbox.c:136
Definition: structs.h:394
double MeanMolecularWeight(double *v)
Definition: mean_mol_weight.c:121
void AdvectFlux(const Sweep *sweep, int beg, int end, Grid *grid)
Definition: adv_flux.c:47
void GetCGSUnits(double *u)
Definition: write_data.c:434
void FreeArrayBox(double ***t, long nrl, long ncl, long ndl)
Definition: arrays.c:465
Definition: structs.h:124
void WriteHDF5(Output *output, Grid *grid)
Definition: hdf5_io.c:45
FILE * FileOpen(char *filename, int sz, char *mode)
Definition: bin_io.c:86
void Entropy(double **v, double *s, int beg, int end)
Definition: eos.c:77
void LogFileOpen(char *log_dir, char *mode)
Definition: output_log.c:191
void RightHandSideSource(const Sweep *sweep, timeStep *Dts, int beg, int end, double dt, double *phi_p, Grid *grid)
Definition: rhs_source.c:101
Definition: structs.h:425
void FD_Flux(const Sweep *sweep, int beg, int end, double *cmax, Grid *grid)
Definition: fd_flux.c:23
void PlutoError(int condition, char *str)
Definition: tools.c:340
int StringArrayIndex(char *str_arr[], int size, char *str)
Definition: tools.c:409
int IsLittleEndian(void)
Definition: tools.c:250
void ShowVector(double *v, int n)
Definition: debug_tools.c:285
float *** Convert_dbl2flt(double ***Vdbl, double unit, int swap_endian)
Definition: bin_io.c:31
void InputDataGridSize(int indx, int *size)
Definition: input_data.c:341
void FreeArrayMap(double ***t)
Definition: arrays.c:585
void SetGrid(Runtime *rtime, int *procs, Grid *grid)
Definition: set_grid.c:19
void SetGeometry(Grid *grid)
Definition: set_geometry.c:16
void OutputLogPre(Data *data, timeStep *Dts, Runtime *ini, Grid *grid)
Definition: output_log.c:25
void GetOutputFrequency(Output *output, const char *output_format)
Definition: runtime_setup.c:496
double ParabolicRHS(const Data *d, Data_Arr dU, RBox *domBox, double **aflux, int timeStepping, double dt, Grid *grid)
Definition: parabolic_update.c:225
void Trace(double xx)
Definition: debug_tools.c:298
void SplitSource(const Data *d, double dt, timeStep *Dts, Grid *grid)
Definition: split_source.c:25
int FileClose(FILE *fbin, int sz)
Definition: bin_io.c:66
void ParseCmdLineArgs(int argc, char *argv[], char *ini_file, cmdLine *cmd)
Definition: cmd_line_opt.c:18
int SetOutputVar(char *var_name, int output_type, int flag)
Definition: set_output.c:274
void InitDomain(Data *d, Grid *grid)
Definition: init.c:65
void RestartFromFile(const Data *d, Runtime *ini, int nrestart, int type, Grid *grid)
Definition: restart.c:17
double MP5_Reconstruct(double *F, double dx, int j)
Definition: reconstruct.c:38
void PeriodicBoundary(double ***q, RBox *box, int side)
Definition: boundary.c:626
int CheckNaN(double **u, int ibeg, int iend, const char *str)
Definition: debug_tools.c:13
void OutputLogPost(Data *data, timeStep *Dts, Runtime *ini, Grid *grid)
Definition: output_log.c:36
void Show(double **a, int ip)
Definition: debug_tools.c:146
void FileWriteHeader(char *buffer, char fname[], int mode)
Definition: bin_io.c:326
Riemann_Solver * SetSolver(const char *solver)
Definition: set_solver.c:13
void RBoxCopy(RBox *box, Data_Arr Q_dst, Data_Arr Q_src, int nvar, char order)
Definition: rbox.c:24
int InputDataOpen(char *data_fname, char *grid_fname, char *endianity, long int offset, int vpos)
Definition: input_data.c:69
void UnsetJetDomain(const Data *d, int dir, Grid *grid)
Definition: jet_domain.c:130
double BodyForcePotential(double x1, double x2, double x3)
Definition: init.c:237
int ConsToPrim3D(Data_Arr U, Data_Arr V, uint16_t ***flag, RBox *box)
Definition: mappers3D.c:16
char * Array1D(int nx, size_t dsize)
Definition: arrays.c:53
void StateStructAllocate(State *p)
Definition: tools.c:386
void FileWriteArray(void *buf, long int offset, long int cnt, size_t size, char *fname)
Definition: bin_io.c:288
void RuntimeSet(Runtime *runtime)
Definition: runtime_setup.c:553
void BodyForceVector(double *v, double *g, double x1, double x2, double x3)
Definition: init.c:218
double InputDataInterpolate(int indx, double x1, double x2, double x3)
Definition: input_data.c:362
void SymmetryCheck(Data_Arr V, int where, RBox *box)
Definition: tools.c:428
double WENOZ_States(double *F, int j, int dir)
Definition: mp5_states.c:447
void ShowState(double *vc, int primitive)
Definition: debug_tools.c:202
Definition: structs.h:514
void ShowUnits()
Definition: show_config.c:306
void CharTracingStep(const Sweep *sweep, int beg, int end, Grid *grid)
Definition: char_tracing.c:52
int GetOutputVarNames(int output_type, char *var_name[NVAR])
Definition: set_output.c:313
void UpdateStage(Data *d, Data_Arr Uc, Data_Arr Us, double **aflux, double dt, timeStep *Dts, Grid *grid)
Definition: update_stage.c:35
void WriteData(const Data *d, Output *output, Grid *grid)
Definition: write_data.c:29
void FileReadData(void *V, size_t dsize, int sz, FILE *fl, int istag, int swap_endian)
Definition: bin_io.c:143
Definition: structs.h:261
void PrimToChar(double **L, double *v, double *w)
Definition: eigenv.c:575
void print(const char *fmt,...)
Definition: output_log.c:225
void WriteVTK_Scalar(FILE *fvtk, double ***V, double unit, char *var_name, Grid *grid)
Definition: write_vtk.c:350
int ParamFileRead(char *fname)
Definition: parse_file.c:53
void Where(int i, Grid *grid)
Definition: debug_tools.c:310
void States(const Sweep *sweep, int beg, int end, Grid *grid)
Definition: flat_states.c:25
void RestartDump(Runtime *ini)
Definition: restart.c:264
double MP5_States(double *F, int i, int dir)
Definition: mp5_states.c:378
void RKL(const Data *d, double dt, timeStep *Dts, Grid *grid)
Definition: rkl.c:81
void VectorPotentialDiff(double *b, Data *d, int i, int j, int k, Grid *grid)
Definition: vec_pot_diff.c:79
char ** Array2D(int nx, int ny, size_t dsize)
Definition: arrays.c:98
void Enthalpy(double **v, double *h, int beg, int end)
Definition: eos.c:45
void RKC(const Data *d, timeStep *Dts, Grid *grid)
Definition: rkc.c:58
void InputDataClose(int indx)
Definition: input_data.c:326
void UserDefBoundary(const Data *d, RBox *box, int side, Grid *grid)
Definition: init.c:110
void STS(const Data *d, double dt, timeStep *Dts, Grid *grid)
Definition: sts.c:55
void LogFileClose(void)
Definition: output_log.c:167
void WriteAsciiFile(char *fname, double *q, int nvar)
Definition: tools.c:552
void SetJetDomain(const Data *d, int dir, int log_freq, Grid *grid)
Definition: jet_domain.c:29
double *** ArrayBoxMap(int nrl, int nrh, int ncl, int nch, int ndl, int ndh, double *uptr)
Definition: arrays.c:608
void FreeArray3D(void ***m)
Definition: arrays.c:236
void FreeArrayBoxMap(double ***t, int nrl, int nrh, int ncl, int nch, int ndl, int ndh)
Definition: arrays.c:660
void ParabolicUpdate(const Data *d, Data_Arr dU, RBox *domBox, double **aflux, double dt, timeStep *Dts, Grid *grid)
Definition: parabolic_update.c:109
void MakeState(Sweep *sweep)
Definition: tools.c:261
void SetVectorIndices(int dir)
Definition: set_indexes.c:18
void FreeArray4D(void ****m)
Definition: arrays.c:374
void SetOutput(Data *d, Runtime *runtime)
Definition: set_output.c:37
void WriteVTK_Vector(FILE *fvtk, Data_Arr V, double unit, char *var_name, Grid *grid)
Definition: write_vtk.c:268
char *** Array3D(int nx, int ny, int nz, size_t dsize)
Definition: arrays.c:157
char * ParamFileGet(const char *label, int pos)
Definition: parse_file.c:86
Definition: structs.h:201
void FreeArray2D(void **m)
Definition: arrays.c:143
void ResetState(const Data *d, Sweep *sweep, Grid *grid)
Definition: set_indexes.c:116
Definition: structs.h:363
void printLog(const char *fmt,...)
Definition: output_log.c:254
void Init(double *v, double x1, double x2, double x3)
Definition: init.c:17
void FreeGrid(Grid *grid)
Definition: set_grid.c:286
void PrintColumnLegend(char *legend[], int nfields, FILE *fp)
Definition: tools.c:357
void FileWriteData(void *V, size_t dsize, int sz, FILE *fl, int istag)
Definition: bin_io.c:216
void InputDataReadSlice(int indx, int kslice)
Definition: input_data.c:637
void SoundSpeed2(const State *p, int beg, int end, int pos, Grid *grid)
Definition: eos.c:16
void HancockStep(const Sweep *sweep, int beg, int end, Grid *grid)
Definition: hancock.c:39
double *** ArrayMap(int nx, int ny, int nz, double *uptr)
Definition: arrays.c:485
Definition: structs.h:289
void WriteVTK_Header(FILE *fvtk, Grid *grid)
Definition: write_vtk.c:92
void ReflectiveBoundary(double ***q, int s, int stag, RBox *box, int side)
Definition: boundary.c:667