From 1337356c1e259dbfc6363667a286f638f7850e68 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 3 Jul 2001 07:44:35 +0000 Subject: [PATCH] Abbreviate the somewhat lengthy name for the @p{Patch} class. git-svn-id: https://svn.dealii.org/trunk@4800 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/data_out.h | 10 ++++++++-- deal.II/deal.II/source/numerics/data_out.cc | 5 +++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/include/numerics/data_out.h b/deal.II/deal.II/include/numerics/data_out.h index d28a42eb12..f3979dd8ad 100644 --- a/deal.II/deal.II/include/numerics/data_out.h +++ b/deal.II/deal.II/include/numerics/data_out.h @@ -429,6 +429,12 @@ class DataOut_DoFData : public DataOutInterface std::vector names; }; + /** + * Abbreviate the somewhat lengthy + * name for the @p{Patch} class. + */ + typedef DataOutBase::Patch Patch; + /** * Pointer to the dof handler object. */ @@ -453,7 +459,7 @@ class DataOut_DoFData : public DataOutInterface * in the output routines of the base * classes. */ - typename std::vector > patches; + typename std::vector patches; /** * Function by which the base @@ -461,7 +467,7 @@ class DataOut_DoFData : public DataOutInterface * what patches they shall write * to a file. */ - virtual const typename std::vector > & + virtual const typename std::vector & get_patches () const; /** diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index ad2f58edd8..ab4d81ab7c 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -204,7 +204,7 @@ void DataOut_DoFData::clear_data_vect cell_data.erase (cell_data.begin(), cell_data.end()); // delete patches - std::vector > dummy; + std::vector dummy; patches.swap (dummy); } @@ -243,11 +243,12 @@ DataOut_DoFData::clear () }; // delete patches - std::vector > dummy; + std::vector dummy; patches.swap (dummy); } + template std::vector DataOut_DoFData::get_dataset_names () const -- 2.39.5