Skip to content
Snippets Groups Projects
Unverified Commit 302e4e33 authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

dfd

parent a0132814
Branches burger-fvm
No related tags found
No related merge requests found
Pipeline #148135 failed
...@@ -39,8 +39,8 @@ auto model<T, 2>::numflux( ...@@ -39,8 +39,8 @@ auto model<T, 2>::numflux(
value_type const& up) const noexcept -> value_type value_type const& up) const noexcept -> value_type
{ {
auto const lambda = bati::max(bati::abs(um), bati::abs(up)); auto const lambda = bati::max(bati::abs(um), bati::abs(up));
auto const flux_vector = coord_type(0.5 * (um * um + up * up) - lambda * (up - um), 0); auto const flux_scalar = 0.5 * (um * um + up * up) - lambda * (up - um);
return flux_vector * nu; return flux_scalar * nu;
} }
} // namespace kane::burger::fvm } // namespace kane::burger::fvm
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment