]> https://gitweb.dealii.org/ - dealii.git/commit
Allow PETScWrappers::Precondition* re-init
authorTimo Heister <timo.heister@gmail.com>
Mon, 15 Aug 2016 00:49:07 +0000 (20:49 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 15 Aug 2016 00:49:07 +0000 (20:49 -0400)
commitb3e1c70b95d63962ea749998aa3a7806a0d5dc28
treed7b53ec4b84d5a3b343e1ea049484dab3a04231b
parenta518b05b5fec0d4900ac8db23e428c7c11af6290
Allow PETScWrappers::Precondition* re-init

This PR allows re-using a preconditioner object by calling initialize()
more than once. Update documentation while we are here.
include/deal.II/lac/petsc_precondition.h
source/lac/petsc_precondition.cc
tests/petsc/reinit_preconditioner_01.cc [new file with mode: 0644]
tests/petsc/reinit_preconditioner_01.mpirun=3.output [new file with mode: 0644]
tests/petsc/reinit_preconditioner_02.cc [new file with mode: 0644]
tests/petsc/reinit_preconditioner_02.output [new file with mode: 0644]

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.