Canoe
Comprehensive Atmosphere N' Ocean Engine
flux_decomposition.hpp File Reference
#include <athena/athena.hpp>
#include <climath/core.h>
#include <Eigen/Core>
#include <Eigen/Dense>

Go to the source code of this file.

Functions

void CopyPrimitives (Real wl[], Real wr[], AthenaArray< Real > const &w, int k, int j, int i, CoordinateDirection dir)
 
void RoeAverage (Real prim[], Real gm1, Real wl[], Real wr[])
 
template<typename Derived >
void Eigenvalue (Eigen::MatrixBase< Derived > &Lambda, Real u, Real cs)
 
template<typename Derived1 , typename Derived2 >
void Eigenvector (Eigen::DenseBase< Derived1 > &Rmat, Eigen::DenseBase< Derived2 > &Rimat, Real prim[], Real cs, Real gm1, CoordinateDirection dir)
 
template<typename Derived1 >
void FluxJacobian (Eigen::DenseBase< Derived1 > &dfdq, Real gm1, Real w[], CoordinateDirection dir)
 

Function Documentation

◆ CopyPrimitives()

void CopyPrimitives ( Real  wl[],
Real  wr[],
AthenaArray< Real > const &  w,
int  k,
int  j,
int  i,
CoordinateDirection  dir 
)
inline

Definition at line 14 of file flux_decomposition.hpp.

◆ RoeAverage()

void RoeAverage ( Real  prim[],
Real  gm1,
Real  wl[],
Real  wr[] 
)
inline

Definition at line 34 of file flux_decomposition.hpp.

◆ Eigenvalue()

template<typename Derived >
void Eigenvalue ( Eigen::MatrixBase< Derived > &  Lambda,
Real  u,
Real  cs 
)
inline

Definition at line 70 of file flux_decomposition.hpp.

◆ Eigenvector()

template<typename Derived1 , typename Derived2 >
void Eigenvector ( Eigen::DenseBase< Derived1 > &  Rmat,
Eigen::DenseBase< Derived2 > &  Rimat,
Real  prim[],
Real  cs,
Real  gm1,
CoordinateDirection  dir 
)
inline

Definition at line 78 of file flux_decomposition.hpp.

◆ FluxJacobian()

template<typename Derived1 >
void FluxJacobian ( Eigen::DenseBase< Derived1 > &  dfdq,
Real  gm1,
Real  w[],
CoordinateDirection  dir 
)
inline

Definition at line 102 of file flux_decomposition.hpp.