From: Timo Heister Date: Thu, 22 Jun 2023 20:43:00 +0000 (-0400) Subject: fix step-57 bilinear form X-Git-Tag: v9.5.0-rc1~50^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f5ae01883779769cb0ee665924e234d96e012f2;p=dealii.git fix step-57 bilinear form --- diff --git a/examples/step-57/step-57.cc b/examples/step-57/step-57.cc index 2061d7cbaa..4acd4f5069 100644 --- a/examples/step-57/step-57.cc +++ b/examples/step-57/step-57.cc @@ -457,8 +457,8 @@ namespace Step57 local_rhs(i) += (-viscosity * scalar_product(grad_phi_u[i], present_velocity_gradients[q]) - - phi_u[i] * (present_velocity_values[q] * - present_velocity_gradients[q]) + + phi_u[i] * (present_velocity_gradients[q] * + present_velocity_values[q]) + div_phi_u[i] * present_pressure_values[q] + phi_p[i] * present_velocity_divergence - gamma * div_phi_u[i] * present_velocity_divergence) *