From: Wolfgang Bangerth Date: Fri, 6 Nov 2015 22:47:49 +0000 (-0600) Subject: Address @kronbichler's comments for #1825. X-Git-Tag: v8.4.0-rc2~244^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d2117971a7b4bff6cb2f41512878b8204ee22c8;p=dealii.git Address @kronbichler's comments for #1825. --- diff --git a/include/deal.II/numerics/data_out.h b/include/deal.II/numerics/data_out.h index 2cd05e13fd..23364561ad 100644 --- a/include/deal.II/numerics/data_out.h +++ b/include/deal.II/numerics/data_out.h @@ -294,7 +294,6 @@ private: void build_one_patch (const std::pair *cell_and_index, internal::DataOut::ParallelData &scratch_data, const unsigned int n_subdivisions, - const unsigned int n_datasets, const CurvedCellRegion curved_cell_region, std::vector > &patches); }; diff --git a/source/numerics/data_out.cc b/source/numerics/data_out.cc index 3fbb828f2b..2d835327d9 100644 --- a/source/numerics/data_out.cc +++ b/source/numerics/data_out.cc @@ -65,16 +65,12 @@ DataOut:: build_one_patch (const std::pair *cell_and_index, internal::DataOut::ParallelData &scratch_data, const unsigned int n_subdivisions, - const unsigned int n_datasets, const CurvedCellRegion curved_cell_region, std::vector > &patches) { // first create the output object that we will write into ::dealii::DataOutBase::Patch patch; patch.n_subdivisions = n_subdivisions; - patch.data.reinit (n_datasets, - Utilities::fixed_power(n_subdivisions+1)); - // use ucd_to_deal map as patch vertices are in the old, unnatural // ordering. if the mapping does not preserve locations @@ -458,7 +454,6 @@ void DataOut::build_patches (const Mappingpatches)), // no copy-local-to-global function needed here