]> https://gitweb.dealii.org/ - dealii.git/commit
Make Mapping::clone return a unique_ptr<Mapping>.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 10 Feb 2018 00:17:52 +0000 (19:17 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 12 Feb 2018 16:19:40 +0000 (11:19 -0500)
commitfd1bf6a6f846ae259d8a33dc7b4b3621dec60212
tree6ec0ea0de40dc44aacdd5db8485d3447ff7b1c80
parent64edced130c9ca11c40875b14fa8dc3c944b67d7
Make Mapping::clone return a unique_ptr<Mapping>.

This commit converts the current interface into one based on smart
pointers. It also gets rid of the use of a covariant return type in
MappingQ1::clone and MappingQ1Eulerian::clone.
21 files changed:
doc/news/changes/incompatibilities/20180208DavidWells [new file with mode: 0644]
include/deal.II/fe/mapping.h
include/deal.II/fe/mapping_c1.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_q1.h
include/deal.II/fe/mapping_q1_eulerian.h
include/deal.II/fe/mapping_q_eulerian.h
include/deal.II/fe/mapping_q_generic.h
source/fe/mapping_c1.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_q1.cc
source/fe/mapping_q1_eulerian.cc
source/fe/mapping_q_eulerian.cc
source/fe/mapping_q_generic.cc
tests/hp/mapping_collection_03.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.