Update waves
Compare changes
Files
2- acrovato authored
Fix upwinding direction unless artificial viscosity is adapted. Better convergence, especially in 3D. Updt Solver.
+ 42
− 28
@@ -94,6 +94,8 @@ Solver::Solver(std::shared_ptr<Problem> _pbl) : pbl(_pbl)
@@ -121,6 +123,7 @@ bool Solver::run()
@@ -151,8 +154,10 @@ bool Solver::run()
@@ -196,6 +201,11 @@ bool Solver::run()
@@ -266,8 +276,7 @@ void Solver::buildJac(gmm::csr_matrix<double> &J)
@@ -405,8 +414,7 @@ void Solver::buildRes(std::vector<double> &R)
@@ -549,31 +557,37 @@ void Solver::compute()