]> https://gitweb.dealii.org/ - dealii.git/commit
consistently use local_size().
authorDavid Wells <drwells@email.unc.edu>
Sat, 23 May 2020 01:52:17 +0000 (21:52 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 11 Feb 2021 16:48:49 +0000 (11:48 -0500)
commit61b5c0ca418024d16ecf894cd6ec23cf14c0eeeb
tree359834eccdf800ded2ca49608f2a2992c00e07f8
parent05ce34ea6faaa465fb6cf7621847c339a56b4f44
consistently use local_size().

This is the name given to the function by la_parallel_vector. Defining this
everywhere gives us a true check as to whether or not a vector is distributed -
i.e., if size() != local_size() then the vector is distributed and otherwise it
is not.
include/deal.II/lac/block_vector_base.h
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/read_write_vector.h
include/deal.II/lac/trilinos_epetra_vector.h
include/deal.II/lac/trilinos_tpetra_vector.h
include/deal.II/lac/trilinos_tpetra_vector.templates.h
include/deal.II/lac/vector.h
source/lac/trilinos_epetra_vector.cc
tests/mpi/local_size.cc [new file with mode: 0644]
tests/mpi/local_size.with_trilinos_with_tpetra=on.with_petsc=on.mpirun=4.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.