]> https://gitweb.dealii.org/ - dealii.git/commit
Rename DataPostprocessor functions. 3664/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 7 Dec 2016 17:14:19 +0000 (10:14 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 7 Dec 2016 17:14:19 +0000 (10:14 -0700)
commit91bc06334e33c3a2c74144deba9965e5f96772a4
tree446b2414b23f7842702645c08e72be8b039b283b
parent20963d3361002a255e00a8ed6090e8a9cecb741d
Rename DataPostprocessor functions.

In #3333, I added virtual functions to DataPostprocessor with the same name as the existing
functions. This leads to issues where we get a warning in every derived class that only
overloads one of these functions, because that hides the other function. This is, well,
suboptimal.

This patch is therefore a redo of my earlier attempt in which I continue to deprecate
the old functions, but the new functions have a different name. I think they also
have a better name (for a discussion of the naming, see
https://github.com/geodynamics/aspect/issues/1284 ). The different names avoid the
problem of getting the warning and should therefore lead to less discontent. They
also avoid the need to try to work around the warnings using 'using' declarations, like
in #3528.
15 files changed:
doc/news/changes.h
examples/step-29/step-29.cc
examples/step-32/step-32.cc
examples/step-33/step-33.cc
examples/step-47/step-47.cc
include/deal.II/numerics/data_postprocessor.h
source/numerics/data_out.cc
source/numerics/data_out_faces.cc
source/numerics/data_out_rotation.cc
source/numerics/data_postprocessor.cc
tests/numerics/data_out_postprocessor_01-new.cc
tests/numerics/data_out_postprocessor_scalar_01-new.cc
tests/numerics/data_out_postprocessor_scalar_01.cc
tests/numerics/data_out_postprocessor_vector_01-new.cc
tests/numerics/data_out_postprocessor_vector_01.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.