]> https://gitweb.dealii.org/ - dealii.git/commit
Enable deal.II solver use with Trilinos LinearOperator
authorJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 8 Feb 2017 08:04:22 +0000 (09:04 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Thu, 9 Feb 2017 09:23:10 +0000 (10:23 +0100)
commit51f9534f3c5b410151f71c9a29cf66ce45f4bd08
tree7739567c57304a80af904af6935f5e3ca46e1322
parentccd3c7699c4b5901bea7dfe821cf36d4b7e76a9b
Enable deal.II solver use with Trilinos LinearOperator

By making a distinction between an `inverse_payload` created for
Trilinos solvers/preconditioners and all other solver/preconditioner
types, we allow a `TrilinosPayload` to be created when the
solver/preconditioner is incompatible with `Epetra_Multivector`. In
turn, it is now possible to use the deal.II solvers (e.g.
`dealii::SolverCG<TrilinosWrappers::MPI::Vector>`) with `Trilinos`
`LinearOperator`s as such a call no longer results in a compiler error.
include/deal.II/lac/trilinos_sparse_matrix.h
tests/lac/linear_operator_10a.cc [new file with mode: 0644]
tests/lac/linear_operator_10a.with_cxx11=on.with_trilinos=on.output [new file with mode: 0644]
tests/lac/linear_operator_12a.cc [new file with mode: 0644]
tests/lac/linear_operator_12a.with_cxx11=on.with_trilinos=on.with_mpi=true.mpirun=1.output [new file with mode: 0644]
tests/lac/linear_operator_12a.with_cxx11=on.with_trilinos=on.with_mpi=true.mpirun=2.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.