proteus  1.8.1
C/C++/Fortran libraries
shockCapturing.h
Go to the documentation of this file.
1 #ifndef SHOCKCAPTURING_H
2 #define SHOCKCAPTURING_H
3 
13 extern void calculateNumericalDiffusionResGrad(int nElements_global,
14  int nQuadraturePoints_element,
15  int nSpace,
16  double shockCapturingDiffusion,
17  double* elementDiameter,
18  double* strong_residual,
19  double* grad_u,
20  double* numDiff);
21 extern void calculateNumericalDiffusionResGradQuad(int nElements_global,
22  int nQuadraturePoints_element,
23  int nSpace,
24  double shockCapturingDiffusion,
25  double *elementDiameter,
26  double *strong_residual,
27  double *grad_u,
28  double *numDiff);
29 extern void calculateNumericalDiffusionHJ(int nElements_global,
30  int nQuadraturePoints_element,
31  char shockCapturing,
32  double shockCapturingDiffusion,
33  double* elementDiameter,
34  double* strong_residual,
35  double* mt,
36  double* H,
37  double* numDiff);
38 extern void calculateNumericalDiffusionHJV2(int nElements_global,
39  int nQuadraturePoints_element,
40  char shockCapturing,
41  double shockCapturingDiffusion,
42  double* elementDiameter,
43  double* strong_residual,
44  double* mt,
45  double* H,
46  double* numDiff);
47 extern void calculateNumericalDiffusion_A_1(int nElements_global,
48  int nQuadraturePoints_element,
49  int nSpace,
50  double shockCapturingFactor,
51  double* elementDiameter,
52  double* strong_residual,
53  double* mt,
54  double* df,
55  double* numDiff);
56 extern void calculateNumericalDiffusionResGradJuanes(int nElements_global,
57  int nQuadraturePoints_element,
58  int nSpace,
59  double shockCapturingDiffusion,
60  double uSC,
61  double *elementDiameter,
62  double *strong_residual,
63  double *grad_u,
64  double *numDiff);
66 #endif
df
double df(double C, double b, double a, int q, int r)
Definition: analyticalSolutions.c:2209
calculateNumericalDiffusionHJ
void calculateNumericalDiffusionHJ(int nElements_global, int nQuadraturePoints_element, char shockCapturing, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, double *mt, double *H, double *numDiff)
Calculate the shock capturing diffusion for a Hamilton-Jacobi equation at the quadrature points.
Definition: shockCapturing.c:114
H
Double H
Definition: Headers.h:65
calculateNumericalDiffusionResGradQuad
void calculateNumericalDiffusionResGradQuad(int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)
Definition: shockCapturing.c:60
calculateNumericalDiffusionResGradJuanes
void calculateNumericalDiffusionResGradJuanes(int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double uSC, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)
Definition: shockCapturing.c:249
calculateNumericalDiffusion_A_1
void calculateNumericalDiffusion_A_1(int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingFactor, double *elementDiameter, double *strong_residual, double *mt, double *df, double *numDiff)
Definition: shockCapturing.c:207
calculateNumericalDiffusionResGrad
void calculateNumericalDiffusionResGrad(int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)
Definition: shockCapturing.c:8
calculateNumericalDiffusionHJV2
void calculateNumericalDiffusionHJV2(int nElements_global, int nQuadraturePoints_element, char shockCapturing, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, double *mt, double *H, double *numDiff)
Calculate the shock capturing diffusion for a Hamilton-Jacobi equation at the quadrature points mwf t...
Definition: shockCapturing.c:166