]> https://gitweb.dealii.org/ - dealii.git/commit
Allow copy of Trilinos::MPI::Vector to dealii::Vector on subset of procs 5794/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 24 Jan 2018 20:55:59 +0000 (21:55 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Thu, 25 Jan 2018 08:21:08 +0000 (09:21 +0100)
commit2e77b89554fd8d8fc38e689da67af5449719706f
treee32bbfad304d12083c16698399a127a50e3bd6b1
parent55c9e454d39ef7604cd55b69519b3d5087f3d5aa
Allow copy of Trilinos::MPI::Vector to dealii::Vector on subset of procs

This commit adds a flag that reduces the strictness of the scenario in
which the constructor to dealii::Vector that takes a
Trilinos::MPI::Vector can be called. Previously it was necessary that
this be called on all MPI processors (MPI_COMM_WORLD). By setting the
additional flag to be true, this function need only be called by the
processes (maybe a subset of MPI_COMM_WORLD) that own this vector.
include/deal.II/lac/vector.h
include/deal.II/lac/vector.templates.h
tests/trilinos/vector_local_copy_01.cc [new file with mode: 0644]
tests/trilinos/vector_local_copy_01.mpirun=1.output [new file with mode: 0644]
tests/trilinos/vector_local_copy_01.mpirun=2.output [new file with mode: 0644]

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.