]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove dependence on FunctionParser in ARPACK test 4323/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 26 Apr 2017 16:24:35 +0000 (18:24 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 26 Apr 2017 16:54:27 +0000 (18:54 +0200)
tests/arpack/step-36_ar.cc
tests/arpack/step-36_ar_shift.cc

index 45be84b73931e13a9b55ab1ec0bcc99ab2853535..2f0480e6e084796a52081c9f3a21e8c4d5223a87 100644 (file)
@@ -147,10 +147,7 @@ namespace Step36
 
     std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
 
-    FunctionParser<dim> potential;
-    potential.initialize (FunctionParser<dim>::default_variable_names (),
-                          "0",
-                          typename FunctionParser<dim>::ConstMap());
+    ZeroFunction<dim> potential;
 
     std::vector<double> potential_values (n_q_points);
 
index 7a235af75f95558202b2d04f3edc895abbadfb63..5d87148ff1600211ccbd74502db8336aafe795ee 100644 (file)
@@ -141,10 +141,7 @@ namespace Step36
 
     std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
 
-    FunctionParser<dim> potential;
-    potential.initialize (FunctionParser<dim>::default_variable_names (),
-                          "0",
-                          typename FunctionParser<dim>::ConstMap());
+    ZeroFunction<dim> potential;
 
     std::vector<double> potential_values (n_q_points);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.