From: Wolfgang Bangerth Date: Mon, 6 Jul 2009 15:13:03 +0000 (+0000) Subject: Make use of variables generic. X-Git-Tag: v8.0.0~7543 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=157f6d856edacf92a5a0e4994abbcf3934f8de49;p=dealii.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());