Peano 4
Loading...
Searching...
No Matches
SaintVenantKernels.h File Reference
#include <cmath>
#include "peano4/utils/Loop.h"
#include "tarch/la/ScalarOperations.h"
#include "tarch/la/Vector.h"
#include "tarch/NonCriticalAssertions.h"
Include dependency graph for SaintVenantKernels.h:

Go to the source code of this file.

Namespaces

namespace  exahype2
 Common routines required for a variety of Riemann solvers.
 
namespace  exahype2::saintvenant
 

Enumerations

enum  derivatives {
  h_x = 1 , h_y , u_x , u_y ,
  u_xx , u_yy , u_xy , v_x ,
  v_y , v_xx , v_yy , v_xy
}
 
enum  unknowns { h = 0 , hu , hv }
 

Functions

static void exahype2::saintvenant::boundaryConditions (const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &faceCentre, double t, int normal, int NumberOfUnknowns, int NumberOfAuxiliaryVariables)
 
static double exahype2::saintvenant::maxEigenvalue (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, double t, double dt, int normal, int NumberOfUnknowns, int NumberOfAuxiliaryVariables, double Zeta=0.0, double Gravity=9.81)
 
static void exahype2::saintvenant::flux (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, double t, double dt, int normal, double *__restrict__ F, int NumberOfUnknowns, int NumberOfAuxiliaryVariables, double Zeta=0.0, double Gravity=9.81)
 
static void exahype2::saintvenant::extrapolateHalo (double *__restrict__ oldQWithHalo, int NumberOfFiniteVolumesPerAxisPerPatch, int NumberOfUnknowns, int NumberOfAuxiliaryVariables)
 
static void exahype2::saintvenant::calculateDerivatives (double *__restrict__ oldQWithHalo, int NumberOfFiniteVolumesPerAxisPerPatch, int NumberOfUnknowns, int NumberOfAuxiliaryVariables)
 

Enumeration Type Documentation

◆ derivatives

Enumerator
h_x 
h_y 
u_x 
u_y 
u_xx 
u_yy 
u_xy 
v_x 
v_y 
v_xx 
v_yy 
v_xy 

Definition at line 12 of file SaintVenantKernels.h.

◆ unknowns

enum unknowns
Enumerator
hu 
hv 

Definition at line 26 of file SaintVenantKernels.h.