Skip to content

Commit 21b5e52

Browse files
davidscnrenefritze
authored andcommitted
Remove deprecated warnings
1 parent 5495e90 commit 21b5e52

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
cmake_minimum_required(VERSION 2.8.12)
12
add_subdirectory(pybind11)
23

3-
FIND_PACKAGE(deal.II 8.5 QUIET CONFIG REQUIRED)
4+
FIND_PACKAGE(deal.II 9.2 HINTS ${deal.II_DIR} ${DEAL_II_DIR} CONFIG REQUIRED)
45
DEAL_II_INITIALIZE_CACHED_VARIABLES()
56

67
# Create the binding library

lib/elasticity.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void ElasticityExample::assemble_system() {
133133
// value 1.0. Although we could omit the respective factors in the
134134
// assemblage of the matrix, we use them here for purpose of
135135
// demonstration.
136-
ConstantFunction<dim> lambda(1), mu(1);
136+
Functions::ConstantFunction<dim> lambda(1), mu(1);
137137

138138
// Then again, we need to have the same for the right hand side. This is
139139
// exactly as before in previous examples. However, we now have a

lib/elasticity.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <deal.II/grid/tria.h>
2020
#include <deal.II/grid/tria_accessor.h>
2121
#include <deal.II/grid/tria_iterator.h>
22-
#include <deal.II/lac/constraint_matrix.h>
22+
#include <deal.II/lac/affine_constraints.h>
2323
#include <deal.II/lac/full_matrix.h>
2424
#include <deal.II/lac/precondition.h>
2525
#include <deal.II/lac/solver_bicgstab.h>

0 commit comments

Comments
 (0)