Skip to content
Snippets Groups Projects
Verified Commit 07115058 authored by Lars Bilke's avatar Lars Bilke
Browse files

[docs] Fix links.

parent 9dd7f789
No related branches found
No related tags found
No related merge requests found
......@@ -17,11 +17,10 @@
#include <string>
#include <vector>
#include "MathLib/LinAlg/RowColumnIndices.h"
#include "PETScMatrixOption.h"
#include "PETScVector.h"
#include "MathLib/LinAlg/RowColumnIndices.h"
typedef Mat PETSc_Mat;
namespace MathLib
......@@ -140,8 +139,8 @@ public:
ghost rows of the global matrix are assembled and kept for linear solver.
For the setting of Dirichlet boundary condition
in PETSc, please refer to
<a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#redistribute">PETSc:Documentation:FAQ</a>
in PETSc, please refer to the
[PETSc:Documentation:FAQ](https://www.petsc.org/release/faq/#when-solving-a-system-with-dirichlet-boundary-conditions-i-can-use-matzerorows-to-eliminate-the-dirichlet-rows-but-this-results-in-a-non-symmetric-system-how-can-i-apply-dirichlet-boundary-conditions-but-keep-the-matrix-symmetric").
*/
template <class T_DENSE_MATRIX>
void add(RowColumnIndices<PetscInt> const& indices,
......
......@@ -312,7 +312,7 @@ NonlinearSolverStatus NonlinearSolver<NonlinearSolverTag::Newton>::solve(
{
// TODO could be solved in a better way
// cf.
// http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecWAXPY.html
// https://www.petsc.org/release/docs/manualpages/Vec/VecWAXPY.html
// Copy pointers, replace the one for the given process id.
std::vector<GlobalVector*> x_new{x};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment