]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Use LA::MPI::Vector instead of TrilinosWrappers.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 3 Dec 2024 16:56:00 +0000 (09:56 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 3 Dec 2024 18:00:05 +0000 (11:00 -0700)
Phase_field_fracture_model_in_3D/phase_field.cc

index 9b86ead5fd446bb2eec75caac16a5d90e7cdb83f..12ea18955bda826e15b5a65eb18b4f772333b699 100644 (file)
@@ -798,7 +798,7 @@ namespace Step854
     SolverControl solver_control (10000,
         1e-12/** system_rhs_elastic.l2_norm()*/);
 
-    SolverCG<TrilinosWrappers::MPI::Vector> solver (solver_control);
+    SolverCG<LA::MPI::Vector> solver (solver_control);
 
     LA::MPI::PreconditionAMG::AdditionalData data;
 #ifdef USE_PETSC_LA
@@ -1007,7 +1007,7 @@ namespace Step854
     SolverControl solver_control (10000,
         1e-12/** system_rhs_damage.l2_norm()*/);
 
-    SolverCG<TrilinosWrappers::MPI::Vector> solver (solver_control);
+    SolverCG<LA::MPI::Vector> solver (solver_control);
 
     LA::MPI::PreconditionAMG::AdditionalData data;
 #ifdef USE_PETSC_LA

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.