proteus  1.8.1
C/C++/Fortran libraries
Files | Functions
shockCapturing

C implementations of shock capturing diffusion calculations. More...

Files

file  shockCapturing.c
 

Functions

void calculateNumericalDiffusionResGrad (int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)
 
void calculateNumericalDiffusionResGradQuad (int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)
 
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. More...
 
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 try this with \(H(\nabla u)\) in denominator. More...
 
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)
 
void calculateNumericalDiffusionResGradJuanes (int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double uSC, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)
 
void calculateNumericalDiffusionEikonal (int nElements_global, int nQuadraturePoints_element, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, double *numDiff)
 
void calculateNumericalDiffusionJaffre (int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double beta, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)
 

Detailed Description

Function Documentation

◆ 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 at line 207 of file shockCapturing.c.

◆ calculateNumericalDiffusionEikonal()

void calculateNumericalDiffusionEikonal ( int  nElements_global,
int  nQuadraturePoints_element,
double  shockCapturingDiffusion,
double *  elementDiameter,
double *  strong_residual,
double *  numDiff 
)

Definition at line 91 of file shockCapturing.c.

◆ calculateNumericalDiffusionHJ()

void calculateNumericalDiffusionHJ ( int  nElements_global,
int  nQuadraturePoints_element,
char  shockCapturing,
double  shockCapturingDiffusion,
double *  elementDiameter,
double *  strong_residual,
double *  mt,
double *  H,
double *  numDiff 
)

Definition at line 114 of file shockCapturing.c.

◆ calculateNumericalDiffusionHJV2()

void calculateNumericalDiffusionHJV2 ( int  nElements_global,
int  nQuadraturePoints_element,
char  shockCapturing,
double  shockCapturingDiffusion,
double *  elementDiameter,
double *  strong_residual,
double *  mt,
double *  H,
double *  numDiff 
)

Definition at line 166 of file shockCapturing.c.

◆ calculateNumericalDiffusionJaffre()

void calculateNumericalDiffusionJaffre ( int  nElements_global,
int  nQuadraturePoints_element,
int  nSpace,
double  shockCapturingDiffusion,
double  beta,
double *  elementDiameter,
double *  strong_residual,
double *  grad_u,
double *  numDiff 
)

Definition at line 299 of file shockCapturing.c.

◆ calculateNumericalDiffusionResGrad()

void calculateNumericalDiffusionResGrad ( int  nElements_global,
int  nQuadraturePoints_element,
int  nSpace,
double  shockCapturingDiffusion,
double *  elementDiameter,
double *  strong_residual,
double *  grad_u,
double *  numDiff 
)

Definition at line 8 of file shockCapturing.c.

◆ 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 at line 249 of file shockCapturing.c.

◆ calculateNumericalDiffusionResGradQuad()

void calculateNumericalDiffusionResGradQuad ( int  nElements_global,
int  nQuadraturePoints_element,
int  nSpace,
double  shockCapturingDiffusion,
double *  elementDiameter,
double *  strong_residual,
double *  grad_u,
double *  numDiff 
)

Definition at line 60 of file shockCapturing.c.