]> https://gitweb.dealii.org/ - dealii.git/commit
Convert the various Mapping::get_*_data() functions to return std::unique_ptr. 6115/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 29 Mar 2018 01:43:45 +0000 (19:43 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 2 Apr 2018 12:57:15 +0000 (06:57 -0600)
commit2ebecfc7c0c703c682d2e75340af48a7bedb44f0
tree9d816040c9760b6353e618dac1877125e74a6849
parent21b1cf10df73b52d2923c80b3b4670fe210a056a
Convert the various Mapping::get_*_data() functions to return std::unique_ptr.

This required a number of adjustments in places where we used the fact that we used covariant
return types all over the place. We can't do this any more, and so in a number of places
we have to convert things by hand back to the (known) derived type.
12 files changed:
include/deal.II/fe/mapping.h
include/deal.II/fe/mapping_cartesian.h
include/deal.II/fe/mapping_fe_field.h
include/deal.II/fe/mapping_manifold.h
include/deal.II/fe/mapping_q.h
include/deal.II/fe/mapping_q_generic.h
source/fe/fe_values.cc
source/fe/mapping_cartesian.cc
source/fe/mapping_fe_field.cc
source/fe/mapping_manifold.cc
source/fe/mapping_q.cc
source/fe/mapping_q_generic.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.