From: young Date: Tue, 22 Oct 2013 21:49:37 +0000 (+0000) Subject: Notes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0eb2258bf8ef28996b5652d47236fa28647f271;p=dealii-svn.git Notes. git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31393 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/algorithms/operator.templates.h b/deal.II/include/deal.II/algorithms/operator.templates.h index 307466f5f7..4ace622b91 100644 --- a/deal.II/include/deal.II/algorithms/operator.templates.h +++ b/deal.II/include/deal.II/algorithms/operator.templates.h @@ -73,11 +73,11 @@ namespace Algorithms else { /* @whattodo */ - /* (*os) << ' ' << step; */ - /* for (unsigned int i=0; isize(); ++j) */ - /* (*os) << ' ' << (*vectors(i))(j); */ - /* (*os) << std::endl; */ + (*os) << ' ' << step; + for (unsigned int i=0; isize(); ++j) + (*os) << ' ';// << (*vectors(i))(j); + (*os) << std::endl; Assert ((false), ExcMessage ("This function is corrupt: @whattodo")); } return *this; diff --git a/deal.II/include/deal.II/numerics/data_out_dof_data.h b/deal.II/include/deal.II/numerics/data_out_dof_data.h index fdc24dbd2f..4ed4d6a1b6 100644 --- a/deal.II/include/deal.II/numerics/data_out_dof_data.h +++ b/deal.II/include/deal.II/numerics/data_out_dof_data.h @@ -85,7 +85,7 @@ namespace internal * Assuming that the stored vector is a cell vector, extract the given * element from it. */ - virtual + virtual double get_cell_data_value (const unsigned int cell_number) const = 0; diff --git a/deal.II/source/numerics/data_out.cc b/deal.II/source/numerics/data_out.cc index be256797bb..0c464dcedc 100644 --- a/deal.II/source/numerics/data_out.cc +++ b/deal.II/source/numerics/data_out.cc @@ -252,6 +252,7 @@ build_one_patch (const std::pair *cell_and_index, for (unsigned int dataset=0; datasetcell_data.size(); ++dataset) { + // @whattodo - this next line does not cause a problem (yet), but probably will one day. const double value = this->cell_data[dataset]->get_cell_data_value (cell_and_index->second); for (unsigned int q=0; qtriangulation->begin_active(), typename Triangulation::active_cell_iterator(cell_and_face->first)); + // @whattodo - this next line does not cause a problem (yet), but probably will one day. const double value = this->cell_data[dataset]->get_cell_data_value (cell_number); for (unsigned int q=0; qtriangulation->begin_active(), typename Triangulation::active_cell_iterator(*cell)); + + // @whattodo - this next line does not cause a problem (yet), but probably will one day. const double value = this->cell_data[dataset]->get_cell_data_value (cell_number); switch (DH::dimension)