1#ifndef SOLVER_LOCAL_RIEMANN_H
2#define SOLVER_LOCAL_RIEMANN_H
22 rho = density_mf(i,j,k);
28 else if (direction == 1)
43 os <<
"rho=" << state.
rho <<
", ";
44 os <<
"Mn=" << state.
M_normal <<
", ";
46 os <<
"E=" << state.
E <<
", ";
99 os <<
"mass=" << flux.
mass <<
", ";
102 os <<
"E=" << flux.
energy <<
", ";
Eigen::Matrix< amrex::Real, AMREX_SPACEDIM, 1 > Vector
void Abort(const char *msg)
friend Flux operator*(const Flux &a, const Set::Scalar beta)
void operator*=(const Set::Scalar alpha)
Set::Scalar momentum_normal
friend Flux operator-(const Flux &a, const Flux &b)
Set::Scalar momentum_tangent
friend Flux operator/(const Flux &a, const Set::Scalar beta)
Flux(Set::Scalar a_mass, Set::Scalar a_momentum_normal, Set::Scalar a_momentum_tangent, Set::Scalar a_energy)
friend Flux operator+(const Flux &a, const Flux &b)
void operator+=(const Flux &a)
void operator/=(const Set::Scalar alpha)
void operator-=(const Flux &a)
friend std::ostream & operator<<(std::ostream &os, const Flux &flux)
friend State operator*(const Set::Scalar alpha, const State &b)
void operator+=(const State &a)
friend State operator/(const State &b, const Set::Scalar alpha)
void operator*=(const Set::Scalar alpha)
friend State operator+(const State &a, const State &b)
friend std::ostream & operator<<(std::ostream &os, const State &state)
void operator-=(const State &a)
void operator/=(const Set::Scalar alpha)
State(Set::Patch< const Set::Scalar > density_mf, Set::Patch< const Set::Scalar > momentum_mf, Set::Patch< const Set::Scalar > energy_mf, int i, int j, int k, int direction)
friend State operator-(const State &a, const State &b)
State(Set::Scalar a_rho, Set::Scalar a_M_normal, Set::Scalar a_M_tangent, Set::Scalar a_E)