]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Update to deal.II 9.1: Linear_Elastic_Active_Skeletal_Muscle_Model
authorJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 23 May 2020 16:15:34 +0000 (18:15 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 23 May 2020 16:15:34 +0000 (18:15 +0200)
Linear_Elastic_Active_Skeletal_Muscle_Model/CMakeLists.txt
Linear_Elastic_Active_Skeletal_Muscle_Model/Linear_active_muscle_model.cc

index 452c826b5d8ce47c54d44a34ac834ebfa89c592c..0770cc37a32f8d0fecb7b01ae5f4d46286fffeae 100644 (file)
@@ -23,7 +23,7 @@ SET(TARGET_SRC
 
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
 
-FIND_PACKAGE(deal.II 8.5 QUIET
+FIND_PACKAGE(deal.II 9.1 QUIET
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
   )
 IF(NOT ${deal.II_FOUND})
index 0f84353e76b4861da433f8647775af8229b3eb83..dd656555107b6d5ca5d9a664e8024636a9529a8c 100644 (file)
 #include <deal.II/base/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/base/parameter_handler.h>
+#include <deal.II/lac/affine_constraints.h>
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/lac/sparse_matrix.h>
 #include <deal.II/lac/solver_cg.h>
 #include <deal.II/lac/precondition.h>
-#include <deal.II/lac/constraint_matrix.h>
 #include <deal.II/grid/grid_out.h>
 #include <deal.II/grid/manifold_lib.h>
 #include <deal.II/grid/tria.h>
@@ -808,7 +808,7 @@ namespace LMM
     QGauss<dim>          qf_cell;
     QGauss<dim-1>        qf_face;
 
-    ConstraintMatrix     hanging_node_constraints;
+    AffineConstraints<double> hanging_node_constraints;
 
     SparsityPattern      sparsity_pattern;
     SparseMatrix<double> system_matrix;

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.