From: bangerth Date: Mon, 6 Jul 2009 15:13:03 +0000 (+0000) Subject: Make use of variables generic. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=631a77cb758ea5ae5c6bc3dd56a3a2e5b671693e;p=dealii-svn.git Make use of variables generic. git-svn-id: https://svn.dealii.org/trunk@19016 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 d4581ba5b7..10daf91564 100644 --- a/deal.II/examples/step-36/step-36.cc +++ b/deal.II/examples/step-36/step-36.cc @@ -184,9 +184,7 @@ void EigenvalueProblem::assemble_system () std::vector local_dof_indices (dofs_per_cell); FunctionParser potential; - potential.initialize ((dim == 2 ? - "x,y" : - "x,y,z"), + potential.initialize (FunctionParser::default_variable_names (), parameters.get ("Potential"), typename FunctionParser::ConstMap());