From: bangerth Date: Mon, 6 Jul 2009 17:05:49 +0000 (+0000) Subject: Use the correct potential. Do not scale the eigenvalue in the output. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d5eab31830a66adff3541c4a0529f0b1c1ff7d;p=dealii-svn.git Use the correct potential. Do not scale the eigenvalue in the output. git-svn-id: https://svn.dealii.org/trunk@19021 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-36/step-36.cc b/deal.II/examples/step-36/step-36.cc index 980060b5f1..d7b3d40bc1 100644 --- a/deal.II/examples/step-36/step-36.cc +++ b/deal.II/examples/step-36/step-36.cc @@ -229,9 +229,8 @@ void EigenvalueProblem::assemble_system () += (fe_values.shape_grad (i, q_point) * fe_values.shape_grad (j, q_point) + + potential_values[q_point] * fe_values.shape_value (i, q_point) * - // potential_values[q_point] * - 0 * // infinite potential well fe_values.shape_value (j, q_point) ) * fe_values.JxW (q_point); @@ -377,7 +376,7 @@ void EigenvalueProblem::run () for (unsigned int i=0; i