#include <pde.hpp>
Public Member Functions | |
Characteristics (Mat< n_var > state, Mat< n_dim > direction) | |
Mat< 3 > | eigvals () |
get eigenvalues of Jacobian | |
Mat< n_var, 3 > | decomp (Mat< n_var > state) |
Decompose a state vector into eigenspaces. Column j should be an eigenvector of the Jacobian with eigenvalue eigvals()(j) and the sum of the columns should be state . | |
Decomposes state vectors into characteristics which are eigenvectors of the Jacobian of the inviscid flux function. This is useful for characteristic-based boundary conditions.
|
inline |
construct with a direction in which to compute the flux and a reference state vector about which to compute the Jacobian
|
inline |