Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
RiemannSolver.cpp File Reference
#include <LibUtilities/BasicUtils/VmathArray.hpp>
#include <SolverUtils/RiemannSolvers/RiemannSolver.h>
Include dependency graph for RiemannSolver.cpp:

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

#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 41 of file RiemannSolver.cpp.

Referenced by Nektar::SolverUtils::RiemannSolver::FromToRotation().

#define DOT (   v1,
  v2 
)    (v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2])
#define EPSILON   0.000001
#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 48 of file RiemannSolver.cpp.