46 "Average Value Riemann solver");
68 double hL,
double huL,
double hvL,
69 double hR,
double huR,
double hvR,
70 double &hf,
double &huf,
double &hvf)
81 hf = 0.5 * (hL * uL + hR * uR);
82 huf = 0.5 * ((uL * uL * hL + 0.5 * g * hL * hL) +
83 (uR * uR * hR + 0.5 * g * hR * hR));
84 hvf = 0.5 * (hL * uL * vL + hR * uR * vR);