diff --git a/source/simulator/assemblers/newton_stokes.cc b/source/simulator/assemblers/newton_stokes.cc index 8beeb1c34c2..3ead6051277 100644 --- a/source/simulator/assemblers/newton_stokes.cc +++ b/source/simulator/assemblers/newton_stokes.cc @@ -152,8 +152,8 @@ namespace aspect if (scratch.dof_component_indices[i] == scratch.dof_component_indices[j]) { - data.local_matrix(i, j) += ((2.0 * eta * alpha * (scratch.grads_phi_u[i] * scratch.grads_phi_u[j])) - + derivative_scaling_factor * alpha * (scratch.grads_phi_u[i] * (viscosity_derivative_wrt_strain_rate * scratch.grads_phi_u[j]) * strain_rate) + data.local_matrix(i, j) += ((2.0 * eta * (scratch.grads_phi_u[i] * scratch.grads_phi_u[j])) + + derivative_scaling_factor * alpha * 2.0 * (scratch.grads_phi_u[i] * (viscosity_derivative_wrt_strain_rate * scratch.grads_phi_u[j]) * strain_rate) + one_over_eta * this->get_pressure_scaling() * this->get_pressure_scaling() * (scratch.phi_p[i] * scratch @@ -335,7 +335,7 @@ namespace aspect for (unsigned int i=0; iget_pressure_scaling() * scratch.grads_phi_u[i] * 2.0 * viscosity_derivative_wrt_pressure * scratch.phi_p[j] * strain_rate ) * JxW; diff --git a/source/simulator/parameters.cc b/source/simulator/parameters.cc index 3ed15ffbc72..144d0518874 100644 --- a/source/simulator/parameters.cc +++ b/source/simulator/parameters.cc @@ -1057,8 +1057,8 @@ namespace aspect use_Newton_stabilisation_A_block = prm.get("Use Newton stabilization A block"); use_Newton_failsafe = prm.get_bool("Use Newton failsafe"); - AssertThrow(!DEAL_II_VERSION_GTE(9,0,0) && !use_Newton_failsafe, ExcMessage("The failsafe option can't be used with a deal.ii " - " les then 9.0.0.")); +// AssertThrow(!DEAL_II_VERSION_GTE(9,0,0) && !use_Newton_failsafe, ExcMessage("The failsafe option can't be used with a deal.ii " +// " les then 9.0.0.")); } prm.leave_subsection (); prm.enter_subsection ("AMG parameters");