From: Timo Heister Date: Wed, 12 Sep 2018 15:16:18 +0000 (-0400) Subject: document TrilinosWrappers::SparseMatrix VectorType X-Git-Tag: v9.1.0-rc1~727^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e888031cd4ef89bea1fa5bf78322a54ef5c9d05;p=dealii.git document TrilinosWrappers::SparseMatrix VectorType --- diff --git a/include/deal.II/lac/trilinos_sparse_matrix.h b/include/deal.II/lac/trilinos_sparse_matrix.h index 8beb62a1ec..28a6429772 100644 --- a/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_sparse_matrix.h @@ -1559,10 +1559,14 @@ namespace TrilinosWrappers * * Source and destination must not be the same vector. * - * This function can be called with several different vector objects, - * namely TrilinosWrappers::MPI::Vector as well as deal.II's own vector - * classes, e.g., Vector and - * LinearAlgebra::distributed::Vector. + * This function can be called with several types of vector objects, + * namely @p VectorType can be + *
    + *
  • TrilinosWrappers::MPI::Vector, + *
  • LinearAlgebra::EpetraWrappers::Vector, + *
  • Vector, + *
  • LinearAlgebra::distributed::Vector. + *
* * When using vectors of type TrilinosWrappers::MPI::Vector, the vector * @p dst has to be initialized with the same IndexSet that was used for @@ -1570,7 +1574,7 @@ namespace TrilinosWrappers * initialized with the same IndexSet that was used for the column indices * of the matrix. * - * In case of a localized Vector, this function will only work when + * In case of a serial vector, this function will only work when * running on one processor, since the matrix object is inherently * distributed. Otherwise, an exception will be thrown. */ @@ -1585,20 +1589,8 @@ namespace TrilinosWrappers * * Source and destination must not be the same vector. * - * This function can be called with several different vector objects, - * namely TrilinosWrappers::MPI::Vector as well as deal.II's own vector - * classes, e.g., Vector and - * LinearAlgebra::distributed::Vector. - * - * When using vectors of type TrilinosWrappers::MPI::Vector, the vector - * @p src has to be initialized with the same IndexSet that was used for - * the row indices of the matrix and the vector @p dst has to be - * initialized with the same IndexSet that was used for the column indices - * of the matrix. - * - * In case of a localized Vector, this function will only work when - * running on one processor, since the matrix object is inherently - * distributed. Otherwise, an exception will be thrown. + * This function can be called with several types of vector objects, + * see the discussion about @p VectorType in vmult(). */ template void @@ -1610,21 +1602,8 @@ namespace TrilinosWrappers * * Source and destination must not be the same vector. * - * This function can be called with several different vector objects, - * namely TrilinosWrappers::MPI::Vector as well as deal.II's own vector - * classes, e.g., Vector and - * LinearAlgebra::distributed::Vector. - * - * When using vectors of type TrilinosWrappers::MPI::Vector, the vector - * @p dst has to be initialized with the same IndexSet that was used for - * the row indices of the matrix and the vector @p src has to be - * initialized with the same IndexSet that was used for the column indices - * of the matrix. - * - * In case of a localized Vector, this function will only work when - * running on one processor, since the matrix object is inherently - * distributed. Otherwise, an exception will be thrown. - * + * This function can be called with several types of vector objects, + * see the discussion about @p VectorType in vmult(). */ template void @@ -1637,20 +1616,8 @@ namespace TrilinosWrappers * * Source and destination must not be the same vector. * - * This function can be called with several different vector objects, - * namely TrilinosWrappers::MPI::Vector as well as deal.II's own vector - * classes, e.g., Vector and - * LinearAlgebra::distributed::Vector. - * - * When using vectors of type TrilinosWrappers::MPI::Vector, the vector - * @p src has to be initialized with the same IndexSet that was used for - * the row indices of the matrix and the vector @p dst has to be - * initialized with the same IndexSet that was used for the column indices - * of the matrix. - * - * In case of a localized Vector, this function will only work when - * running on one processor, since the matrix object is inherently - * distributed. Otherwise, an exception will be thrown. + * This function can be called with several types of vector objects, + * see the discussion about @p VectorType in vmult(). */ template void