From 3f17effecbffe9217219e092a6d7576b81d94ca9 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 18 Feb 2019 14:58:40 +0100 Subject: [PATCH] Copyright dates and documentation --- include/deal.II/lac/trilinos_epetra_vector.h | 12 ++++++------ include/deal.II/lac/trilinos_sparse_matrix.h | 8 ++++---- .../lac/trilinos_tpetra_communication_pattern.h | 2 +- include/deal.II/lac/trilinos_tpetra_vector.h | 14 +++++++------- source/base/index_set.cc | 1 + .../lac/trilinos_tpetra_communication_pattern.cc | 2 +- source/lac/trilinos_tpetra_vector.cc | 2 +- tests/trilinos/tpetra_vector_01.cc | 2 +- tests/trilinos/tpetra_vector_02.cc | 2 +- tests/trilinos/tpetra_vector_03.cc | 2 +- 10 files changed, 24 insertions(+), 23 deletions(-) diff --git a/include/deal.II/lac/trilinos_epetra_vector.h b/include/deal.II/lac/trilinos_epetra_vector.h index b11b63ca61..24b21e2774 100644 --- a/include/deal.II/lac/trilinos_epetra_vector.h +++ b/include/deal.II/lac/trilinos_epetra_vector.h @@ -55,7 +55,8 @@ namespace LinearAlgebra * This class implements a wrapper to the Trilinos distributed vector * class Epetra_FEVector. This class is derived from the * LinearAlgebra::VectorSpaceVector class. Note however that Epetra only - * works with Number = double. + * works with Number = double. This class requires Trilinos to be compiled + * with MPI support. * * @ingroup TrilinosWrappers * @ingroup Vectors @@ -96,7 +97,7 @@ namespace LinearAlgebra const bool omit_zeroing_entries = false); /** - * Change the dimension to that of the vector V. The elements of V are not + * Change the dimension to that of the vector @p V. The elements of @p V are not * copied. */ virtual void @@ -120,8 +121,7 @@ namespace LinearAlgebra /** * Imports all the elements present in the vector's IndexSet from the - * input - * vector @p V. VectorOperation::values @p operation is used to decide if + * input vector @p V. VectorOperation::values @p operation is used to decide if * the elements in @p V should be added to the current vector or replace the * current elements. The last parameter can be used if the same * communication pattern is used multiple times. This can be used to @@ -335,8 +335,8 @@ namespace LinearAlgebra memory_consumption() const override; /** - * The vectors have different partitioning, i.e. they have use different - * IndexSet. + * The vectors have different partitioning, i.e. their IndexSet objects + * don't represent the same indices. */ DeclException0(ExcDifferentParallelPartitioning); diff --git a/include/deal.II/lac/trilinos_sparse_matrix.h b/include/deal.II/lac/trilinos_sparse_matrix.h index 368fc70a12..4f8e955cb8 100644 --- a/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_sparse_matrix.h @@ -1577,7 +1577,7 @@ namespace TrilinosWrappers * of the matrix. * * This function will be called when the underlying number type for the - * matrix object and the one one for the vector object are the same. + * matrix object and the one for the vector object are the same. * * In case of a serial vector, this function will only work when * running on one processor, since the matrix object is inherently @@ -1591,7 +1591,7 @@ namespace TrilinosWrappers /** * Same as the function above for the case that the underlying number type * for the matrix object and the one for the vector object do not coincide. - * This case is not implemented. Calling it will result in an runtime error. + * This case is not implemented. Calling it will result in a runtime error. */ template typename std::enable_if typename std::enable_if typename std::enable_if