]> https://gitweb.dealii.org/ - dealii.git/commitdiff
avoid using deprecated trilinos wrapper in step-33. 1217/head
authorLei Qiao <qiaol618@gmail.com>
Wed, 29 Jul 2015 17:06:01 +0000 (12:06 -0500)
committerLei Qiao <qiaol618@gmail.com>
Wed, 29 Jul 2015 17:09:43 +0000 (12:09 -0500)
examples/step-33/step-33.cc

index 21ae69b6b1a88a07110dd9e71db8fe3f9a7853f1..a807803b7eaf5134d871ab96ad6c1530136f4c5e 100644 (file)
@@ -2146,9 +2146,9 @@ namespace Step33
       // const_cast.
       case Parameters::Solver::gmres:
       {
-        Epetra_Vector x(View, system_matrix.domain_partitioner(),
+        Epetra_Vector x(View, system_matrix.trilinos_matrix().DomainMap(),
                         newton_update.begin());
-        Epetra_Vector b(View, system_matrix.range_partitioner(),
+        Epetra_Vector b(View, system_matrix.trilinos_matrix().RangeMap(),
                         right_hand_side.begin());
 
         AztecOO solver;

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.