47 : NonlinearSWESolver(pSession)
69 static NekDouble g = m_params[
"gravity"]();
78 hf = 0.5 * (hL * uL + hR * uR);
79 huf = 0.5 * ((uL * uL * hL + 0.5 * g * hL * hL) +
80 (uR * uR * hR + 0.5 * g * hR * hR));
81 hvf = 0.5 * (hL * uL * vL + hR * uR * vR);
static RiemannSolverSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
static std::string solverName
AverageSolver(const LibUtilities::SessionReaderSharedPtr &pSession)
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
RiemannSolverFactory & GetRiemannSolverFactory()