]> https://gitweb.dealii.org/ - dealii.git/commit
Simplify the VectorMemory::Pointer class. 4925/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 17 Jul 2017 23:17:01 +0000 (17:17 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 22 Aug 2017 00:01:10 +0000 (18:01 -0600)
commit524681f3b8b268090386f277f688d3e87a58961f
tree552f1beff74c0cf67c4a3bbe8a044c2e2c4b39a5
parent9ddbe87b5975882bfbd49d98998f08fd00d63919
Simplify the VectorMemory::Pointer class.

Specifically, it looks a lot like std::unique_ptr except that it
does something different during destruction. This can easily be
modeled using a custom deleter with std::unique_ptr and avoids
a couple of dozen lines of code.
include/deal.II/algorithms/newton.templates.h
include/deal.II/algorithms/theta_timestepping.templates.h
include/deal.II/lac/vector_memory.h

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.