Nektar++
Namespaces | Macros | Functions
RiemannSolver.cpp File Reference
#include <LibUtilities/BasicUtils/VmathArray.hpp>
#include <SolverUtils/RiemannSolvers/RiemannSolver.h>

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::SolverUtils
 

Macros

#define EPSILON   0.000001
 
#define CROSS(dest, v1, v2)
 
#define DOT(v1, v2)   (v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2])
 
#define SUB(dest, v1, v2)
 

Functions

RiemannSolverFactory & Nektar::SolverUtils::GetRiemannSolverFactory ()
 

Macro Definition Documentation

◆ CROSS

#define CROSS (   dest,
  v1,
  v2 
)
Value:
{ \
dest[0] = v1[1] * v2[2] - v1[2] * v2[1]; \
dest[1] = v1[2] * v2[0] - v1[0] * v2[2]; \
dest[2] = v1[0] * v2[1] - v1[1] * v2[0]; \
}

Definition at line 40 of file RiemannSolver.cpp.

◆ DOT

#define DOT (   v1,
  v2 
)    (v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2])

Definition at line 47 of file RiemannSolver.cpp.

◆ EPSILON

#define EPSILON   0.000001

Definition at line 38 of file RiemannSolver.cpp.

◆ SUB

#define SUB (   dest,
  v1,
  v2 
)
Value:
{ \
dest[0] = v1[0] - v2[0]; \
dest[1] = v1[1] - v2[1]; \
dest[2] = v1[2] - v2[2]; \
}

Definition at line 49 of file RiemannSolver.cpp.