From 3dbdec351cab73f62e4d6e9836c6a41d503fe89b Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Fri, 17 Jan 2020 11:23:49 +0100 Subject: [PATCH] [doc] MathL::Petsc; Fix doxygen comments. --- MathLib/LinAlg/PETSc/PETScMatrix.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MathLib/LinAlg/PETSc/PETScMatrix.h b/MathLib/LinAlg/PETSc/PETScMatrix.h index 6705166f74d..e827c4a4771 100644 --- a/MathLib/LinAlg/PETSc/PETScMatrix.h +++ b/MathLib/LinAlg/PETSc/PETScMatrix.h @@ -94,12 +94,12 @@ public: Mat const& getRawMatrix() const { return _A; } /// Set all entries to zero. void setZero() { MatZeroEntries(_A); } - /* + /*! \brief Set the specified rows to zero except diagonal entries, i.e. \f$A(k, j) = \begin{cases} - 0.0, &j\not=k, j=1,2,\dots,k-1, k+1, \dots, n + 0.0, &j\not=k, j=1,2,\dots,k-1, k+1, \dots, n \\ 1.0, &j = k - \end{cases}f$, where \f$k \in \mbox{row\_pos}\f$ + \end{cases}\f$, where \f$k \in \mbox{row\_pos}\f$ This function must be called by all ranks. \param row_pos The row indicies of the specified rows. */ @@ -273,4 +273,4 @@ void PETScMatrix::add(std::vector<PetscInt> const& row_pos, bool finalizeMatrixAssembly( PETScMatrix& mat, const MatAssemblyType asm_type = MAT_FINAL_ASSEMBLY); -} // end namespace +} // namespace MathLib -- GitLab