Skip to content

Commit 817f893

Browse files
authored
Merge pull request #250 from marcfehling/master
Address some issues with code gallery programs.
2 parents cea3857 + a18686c commit 817f893

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Heat_Eqn_Parallel/MPI_heat_eqn.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ template <int dim> void HeatEquation<dim>::setup_system() {
174174
system_rhs.reinit(locally_owned_dofs, mpi_communicator);
175175

176176
constraints.clear();
177+
constraints.reinit(locally_owned_dofs, locally_relevant_dofs);
177178
DoFTools::make_hanging_node_constraints(dof_handler, constraints);
178179
VectorTools::interpolate_boundary_values(
179180
dof_handler, 0, Functions::ZeroFunction<dim>(), constraints);

L-BFGS-phasefield-solver/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ SET(TARGET_SRC
2323

2424
# Usually, you will not need to modify anything beyond this point...
2525

26-
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
26+
CMAKE_MINIMUM_REQUIRED(VERSION 3.13.4)
2727

28-
FIND_PACKAGE(deal.II 9.4.0
28+
FIND_PACKAGE(deal.II 9.6.0
2929
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
3030
)
3131
IF(NOT ${deal.II_FOUND})

MLMC_random_darcy_flow/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ SET(TARGET_SRC
1313
PROJECT(${TARGET} CXX)
1414

1515

16-
CMAKE_MINIMUM_REQUIRED(VERSION 3.28.0)
16+
CMAKE_MINIMUM_REQUIRED(VERSION 3.13.4)
1717

18-
FIND_PACKAGE(deal.II 9.7.1
18+
FIND_PACKAGE(deal.II 9.6.0
1919
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
2020
)
2121
IF(NOT ${deal.II_FOUND})

advection_reaction_estimator/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ SET(TARGET_SRC
77
main.cc
88
)
99

10-
PROJECT(${TARGET} CXX)
11-
12-
1310
CMAKE_MINIMUM_REQUIRED(VERSION 3.13.4)
1411

12+
PROJECT(${TARGET} CXX)
13+
1514
FIND_PACKAGE(deal.II 9.6.0
1615
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
1716
)

0 commit comments

Comments
 (0)