From 3004d0af12835dd43bb7e546ec018f43bb3518c1 Mon Sep 17 00:00:00 2001 From: Wenqing Wang <wenqing.wang@ufz.de> Date: Thu, 22 Mar 2018 10:06:14 +0100 Subject: [PATCH] [PETSc] apply clang-format --- MathLib/LinAlg/PETSc/PETScLinearSolver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MathLib/LinAlg/PETSc/PETScLinearSolver.cpp b/MathLib/LinAlg/PETSc/PETScLinearSolver.cpp index 013c6ff66c5..3b788ee481b 100644 --- a/MathLib/LinAlg/PETSc/PETScLinearSolver.cpp +++ b/MathLib/LinAlg/PETSc/PETScLinearSolver.cpp @@ -38,7 +38,7 @@ PETScLinearSolver::PETScLinearSolver(const std::string /*prefix*/, if (auto const subtree = option->getConfigSubtreeOptional("petsc")) { if (auto const parameters = - //! \ogs_file_param{prj__linear_solvers__linear_solver__petsc__parameters} + //! \ogs_file_param{prj__linear_solvers__linear_solver__petsc__parameters} subtree->getConfigParameterOptional<std::string>("parameters")) { petsc_options = *parameters; @@ -46,7 +46,7 @@ PETScLinearSolver::PETScLinearSolver(const std::string /*prefix*/, if (auto const pre = //! \ogs_file_param{prj__linear_solvers__linear_solver__petsc__prefix} - subtree->getConfigParameterOptional<std::string>("prefix")) + subtree->getConfigParameterOptional<std::string>("prefix")) { if (!pre->empty()) prefix = *pre + "_"; @@ -118,7 +118,7 @@ bool PETScLinearSolver::solve(PETScMatrix& A, PETScVector& b, PETScVector& x) PetscPrintf(PETSC_COMM_WORLD, " (relative convergence criterion fulfilled)."); break; - case KSP_CONVERGED_ATOL: + case KSP_CONVERGED_ATOL: PetscPrintf(PETSC_COMM_WORLD, " (absolute convergence criterion fulfilled)."); break; -- GitLab