From: bangerth Date: Sun, 12 Apr 2009 04:30:39 +0000 (+0000) Subject: Make more variables const. Rename to match common coding style. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b65022a8d97bff4c335a0aa91d2071fc271ec64c;p=dealii-svn.git Make more variables const. Rename to match common coding style. git-svn-id: https://svn.dealii.org/trunk@18594 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-34/step-34.cc b/deal.II/examples/step-34/step-34.cc index 9737b95c3a..2098c91090 100644 --- a/deal.II/examples/step-34/step-34.cc +++ b/deal.II/examples/step-34/step-34.cc @@ -912,15 +912,15 @@ void BEMProblem::compute_exterior_solution() { } } } - DataOut > dataout; + DataOut > data_out; - dataout.attach_dof_handler(external_dh); - dataout.add_data_vector(external_phi, "external_phi"); - dataout.build_patches(); + data_out.attach_dof_handler(external_dh); + data_out.add_data_vector(external_phi, "external_phi"); + data_out.build_patches(); - std::string filename = Utilities::int_to_string(dim) + "d_external.vtk"; + const std::string filename = Utilities::int_to_string(dim) + "d_external.vtk"; std::ofstream file(filename.c_str()); - dataout.write_vtk(file); + data_out.write_vtk(file); }