23 typedef struct main_parameters {
211 int (*WriteOutput) (int,int,
int*,
double*,
double*,
char*,
int*);
220 int (*TimeIntegrate) (
void*);
224 int (*InterpolateInterfacesHyp) (
double*,
double*,
double*,
double*,int,int,
void*,
void*,int);
228 int (*NonlinearInterp) (
double*,
void*,
void*,double,
229 int(*)(
double*,
double*,int,
void*,double));
234 int (*SetInterpLimiterVar) (
double*,
double*,
double*,int,
void*,
void*);
239 int (*InterpolateInterfacesPar) (
double*,
double*,int,
void*,
void*);
243 int (*FirstDerivativePar) (
double*,
double*,int,int,
void*,
void*);
247 int (*SecondDerivativePar) (
double*,
double*,int,
void*,
void*);
251 int(*)(
double*,
double*,int,
void*,double),
252 int(*)(
double*,
double*,
double*,
double*,
double*,
253 double*,int,
void*,double));
256 int (*ParabolicFunction) (
double*,
double*,
void*,
void*,double);
269 double (*ComputeCFL) (
void*,
void*,double,double);
272 double (*ComputeDiffNumber) (
void*,
void*,double,double);
276 int (*FFunction) (
double*,
double*,int,
void*,double);
280 int (*dFFunction) (
double*,
double*,int,
void*,double);
286 int (*FdFFunction) (
double*,
double*,int,
void*,double);
295 int (*Upwind) (
double*,
double*,
double*,
double*,
double*,
double*,int,
void*,double);
300 int (*UpwinddF) (
double*,
double*,
double*,
double*,
double*,
double*,int,
void*,double);
307 int (*UpwindFdF) (
double*,
double*,
double*,
double*,
double*,
double*,int,
void*,double);
310 int (*GFunction) (
double*,
double*,int,
void*,double);
313 int (*HFunction) (
double*,
double*,int,int,
void*,double);
317 int (*SFunction) (
double*,
double*,
void*,
void*,double);
321 int (*UFunction) (
double*,
double*,int,
void*,
void*,double);
326 int (*JFunction) (
double*,
double*,
void*,int,int,int);
331 int (*KFunction) (
double*,
double*,
void*,int,int);
334 int (*PreStage) (int,
double**,
void*,
void*,double);
336 int (*PostStage) (
double*,
void*,
void*,double);
339 int (*PreStep) (
double*,
void*,
void*,double);
341 int (*PostStep) (
double*,
void*,
void*,double,int);
344 int (*PrintStep) (
void*,
void*,double);
347 int (*PhysicsOutput) (
void*,
void*,double);
351 int (*PhysicsInput) (
void*,
void*,int,int,
int*);
354 int (*AveragingFunction) (
double*,
double*,
double*,
void*);
357 int (*GetLeftEigenvectors) (
double*,
double*,
void*,int);
359 int (*GetRightEigenvectors)(
double*,
double*,
void*,int);
388 int (*VolumeIntegralFunction) (
double*,
double*,
void*,
void*);
390 int (*BoundaryIntegralFunction) (
void*,
void*);
405 double rom_diff_norms[3];
422 int count_RHSFunction,
427 count_RHSJacFunction;
446 int (*IBFunction) (
void*,
void*,
double*,double);
448 #if defined(HAVE_CUDA) 452 int gpu_npoints_boundary_offset[3];
453 int gpu_npoints_boundary[3];
475 #define _NC_1STAGE_ "nonconservative-1stage" 477 #define _NC_2STAGE_ "nonconservative-2stage" 481 #define _NC_1_5STAGE_ "nonconservative-1.5stage" 483 #define _CONS_1STAGE_ "conservative-1stage" double * StageBoundaryBuffer
int SourceFunction(double *source, double *u, void *s, void *m, double t)
Some basic definitions and macros.
int StageBoundaryBuffer_size
double * ConservationError
int HyperbolicFunction(double *hyp, double *u, void *s, void *m, double t, int LimFlag, int(*FluxFunction)(double *, double *, int, void *, double), int(*UpwindFunction)(double *, double *, double *, double *, double *, double *, int, void *, double))
Structure containing all solver-specific variables and functions.
int ApplyIBConditions(void *s, void *m, double *x, double waqt)
#define _MAX_STRING_SIZE_
int * stride_without_ghosts
int CalculateConservationError(void *s, void *m)
int ApplyBoundaryConditions(void *s, void *m, double *x, double *xref, double waqt)
Applies the boundary conditions specified for each boundary zone.
double * StageBoundaryIntegral
double * TotalBoundaryIntegral
double * StepBoundaryIntegral
int npoints_local_wghosts
double * VolumeIntegralInitial