Skip to content

Commit

Permalink
Add doxygen for boolean param
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad committed May 23, 2024
1 parent 254e961 commit 6bdf108
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions include/numerics/numeric_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -717,10 +717,13 @@ class NumericVector : public ReferenceCountedObject<NumericVector<T>>,
}

/**
* Fills in \p subvector from this vector using the indices in \p
* rows. Similar to the \p create_submatrix() routine for the
* SparseMatrix class, it is currently only implemented for
* PetscVectors.
* Fills in \p subvector from this vector using the indices in \p rows.
* Similar to the \p create_submatrix() routine for the SparseMatrix class, it
* is currently only implemented for PetscVectors. The boolean parameter
* communicates whether the supplied vector of rows corresponds to all the
* rows that should be used in the subvector's index set, e.g. whether the
* rows correspond to the global collective. If the rows supplied are only the
* local indices, then the boolean parameter should be set to false
*/
virtual void create_subvector(NumericVector<T> & ,
const std::vector<numeric_index_type> &,
Expand Down

0 comments on commit 6bdf108

Please sign in to comment.