]> https://gitweb.dealii.org/ - dealii.git/commit
Allow vector_adaptor to work on ghosted vectors. 9792/head
authorDoug Shi-Dong <doug.shidong@gmail.com>
Wed, 1 Apr 2020 16:29:20 +0000 (12:29 -0400)
committerDoug Shi-Dong <doug.shidong@gmail.com>
Thu, 2 Apr 2020 00:34:30 +0000 (20:34 -0400)
commit3e9b42ea60d13e95d8b70a5239e9e4b2a1e47b48
tree2d99952c46cd179be2f4f5e34b3c8b4c7db15f25
parent1cb414ed6954d3bd7376b2f3d11e20a947e59c9d
Allow vector_adaptor to work on ghosted vectors.

Previous implementation did not work on ghosted vectors since it used
compress().

The test on ghosted vectors did not truly test for ghosted vectors
since it used the copy constructor of LA::distributed::Vector,
which does not fill the ghosted entries.
include/deal.II/lac/vector.h
include/deal.II/optimization/rol/vector_adaptor.h
tests/rol/vector_adaptor_with_ghost_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.