From: Daniel Arndt Date: Wed, 26 Apr 2017 16:24:35 +0000 (+0200) Subject: Remove dependence on FunctionParser in ARPACK test X-Git-Tag: v9.0.0-rc1~1646^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4323%2Fhead;p=dealii.git Remove dependence on FunctionParser in ARPACK test --- diff --git a/tests/arpack/step-36_ar.cc b/tests/arpack/step-36_ar.cc index 45be84b739..2f0480e6e0 100644 --- a/tests/arpack/step-36_ar.cc +++ b/tests/arpack/step-36_ar.cc @@ -147,10 +147,7 @@ namespace Step36 std::vector local_dof_indices (dofs_per_cell); - FunctionParser potential; - potential.initialize (FunctionParser::default_variable_names (), - "0", - typename FunctionParser::ConstMap()); + ZeroFunction potential; std::vector potential_values (n_q_points); diff --git a/tests/arpack/step-36_ar_shift.cc b/tests/arpack/step-36_ar_shift.cc index 7a235af75f..5d87148ff1 100644 --- a/tests/arpack/step-36_ar_shift.cc +++ b/tests/arpack/step-36_ar_shift.cc @@ -141,10 +141,7 @@ namespace Step36 std::vector local_dof_indices (dofs_per_cell); - FunctionParser potential; - potential.initialize (FunctionParser::default_variable_names (), - "0", - typename FunctionParser::ConstMap()); + ZeroFunction potential; std::vector potential_values (n_q_points);