proteus  1.8.1
C/C++/Fortran libraries
shockCapturing.c File Reference
#include <math.h>
#include "shockCapturing.h"
Include dependency graph for shockCapturing.c:

Go to the source code of this file.

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 calculateNumericalDiffusionEikonal (int nElements_global, int nQuadraturePoints_element, double shockCapturingDiffusion, double *elementDiameter, double *strong_residual, 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 calculateNumericalDiffusionJaffre (int nElements_global, int nQuadraturePoints_element, int nSpace, double shockCapturingDiffusion, double beta, double *elementDiameter, double *strong_residual, double *grad_u, double *numDiff)