Skip to content

Commit 12f7afd

Browse files
authored
Merge pull request #61 from mathLab/dealii-9.7.1
Update to deal.II 9.7.1
2 parents 850e47f + 75cf562 commit 12f7afd

28 files changed

Lines changed: 180 additions & 55 deletions

‎.github/workflows/indentation.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313
container:
14-
image: dealii/dealii:v9.6.0-jammy
14+
image: dealii/dealii:v9.7.1-noble
1515
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
1616

1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Check indentation
2020
run: |
2121
git config --global --add safe.directory /__w/pi-BEM/pi-BEM
22-
./scripts/check_indentation.sh
22+
./scripts/check_indentation.sh

‎.github/workflows/tests.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
container:
15-
image: dealii/dealii:v9.6.0-jammy
15+
image: dealii/dealii:v9.7.1-noble
1616
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
1717

1818
steps:
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333

3434
container:
35-
image: dealii/dealii:v9.6.0-jammy
35+
image: dealii/dealii:v9.7.1-noble
3636
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
3737

3838
steps:
@@ -45,4 +45,4 @@ jobs:
4545
cmake .. -GNinja -DCMAKE_CXX_FLAGS=-Werror -DCMAKE_BUILD_TYPE=Release
4646
ninja
4747
ctest -N
48-
ctest --output-on-failure
48+
ctest --output-on-failure

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ENDIF()
3939
CMAKE_MINIMUM_REQUIRED(VERSION 3.13.4)
4040

4141

42-
FIND_PACKAGE(deal.II 9.5.0 REQUIRED
42+
FIND_PACKAGE(deal.II 9.7.1 REQUIRED
4343
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
4444
)
4545

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Just follow the [instructions](https://github.com/dealii/dealii/wiki/deal.II-in-
6969
We provide the possibility of using Docker as a tool to provide a fully operational environment for our library. To use such tool you need to install Docker following the [instructions](https://docs.docker.com/engine/installation/) provided by its authors. Then you can execute the following command line instruction
7070

7171
```
72-
docker run -v `pwd`:/pwd_to_your_own_directory/ -i -t dealii/dealii:v9.6.0-jammy bash
72+
docker run -v `pwd`:/pwd_to_your_own_directory/ -i -t dealii/dealii:v9.7.1-noble bash
7373
```
7474

7575
to retrieve the environment. In such a shell you can easily compile the pi-BEM library following its own instructions.

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.6.0
1+
9.7.1

‎docker/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM dealii/dealii:v9.6.0-jammy
1+
FROM dealii/dealii:v9.7.1-noble
22

33
# pi-BEM master image
44
RUN git clone https://github.com/mathLab/pi-BEM/ &&\

‎docs/complex-robin.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Multiple potentials, complex problems and Robin conditions
22

3-
## Build and run with deal.II 9.6.0
3+
## Build and run with deal.II 9.7.1
44

55
From the repository root, build both configurations in the supplied container:
66

77
```sh
88
docker run --rm -v "$PWD:/workspace" -w /workspace \
9-
dealii/dealii:v9.6.0-jammy bash -lc '
10-
cmake -S . -B build-docker/9.6.0 -GNinja \
9+
dealii/dealii:v9.7.1-noble bash -lc '
10+
cmake -S . -B build-docker/9.7.1 -GNinja \
1111
-DCMAKE_BUILD_TYPE=DebugRelease -DCMAKE_CXX_FLAGS=-Werror &&
12-
cmake --build build-docker/9.6.0 -j 4 &&
13-
cd build-docker/9.6.0 && ctest --output-on-failure
12+
cmake --build build-docker/9.7.1 -j 4 &&
13+
cd build-docker/9.7.1 && ctest --output-on-failure
1414
'
1515
```
1616

@@ -24,13 +24,13 @@ The sphere examples use paths relative to `samples/`. Keep each run's output
2424
separate, and copy both the parameter file and its grid directory:
2525

2626
```sh
27-
mkdir -p build-docker/9.6.0/example-complex
28-
cp -R samples/grids build-docker/9.6.0/example-complex/
27+
mkdir -p build-docker/9.7.1/example-complex
28+
cp -R samples/grids build-docker/9.7.1/example-complex/
2929
cp samples/ref_params_sphere_complex_DR_direct.prm \
30-
build-docker/9.6.0/example-complex/parameters_bem_3.prm
30+
build-docker/9.7.1/example-complex/parameters_bem_3.prm
3131
docker run --rm -v "$PWD:/workspace" \
32-
-w /workspace/build-docker/9.6.0/example-complex \
33-
dealii/dealii:v9.6.0-jammy bash -lc '
32+
-w /workspace/build-docker/9.7.1/example-complex \
33+
dealii/dealii:v9.7.1-noble bash -lc '
3434
mpirun -np 2 ../bem_fma_3d 2
3535
'
3636
```

‎include/ass_leg_function.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
#define __sissa__ass_leg_function_h
44

55
#include <deal.II/base/convergence_table.h>
6+
#include <deal.II/base/observer_pointer.h>
67
#include <deal.II/base/parsed_function.h>
78
#include <deal.II/base/quadrature_lib.h>
89
#include <deal.II/base/quadrature_selector.h>
9-
#include <deal.II/base/smartpointer.h>
1010
#include <deal.II/base/utilities.h>
1111

1212
#include <deal.II/dofs/dof_accessor.h>

‎include/bem_fma.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ class BEMFMA : public ParameterAcceptor
272272
protected:
273273
/// Three pointers to the problem parameters to be set equal to
274274
/// the ones in the calling problem through the init function
275-
SmartPointer<const DoFHandler<dim - 1, dim>> fma_dh;
276-
SmartPointer<const Mapping<dim - 1, dim>> fma_mapping;
275+
ObserverPointer<const DoFHandler<dim - 1, dim>> fma_dh;
276+
ObserverPointer<const Mapping<dim - 1, dim>> fma_mapping;
277277

278278
/// Truncation order for the multipole
279279
/// and local expansion series: it is
@@ -455,8 +455,8 @@ class BEMFMA : public ParameterAcceptor
455455
ConditionalOStream pcout;
456456

457457
/// TODO parsed quadrature?
458-
std::shared_ptr<Quadrature<dim - 1>> quadrature;
459-
SmartPointer<const Vector<double>> dirichlet_nodes;
458+
std::shared_ptr<Quadrature<dim - 1>> quadrature;
459+
ObserverPointer<const Vector<double>> dirichlet_nodes;
460460
/// This should be erased by the usage of the constraint matrix.
461461
const std::vector<std::set<types::global_dof_index>> *double_nodes_set;
462462

‎include/bem_problem.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222

2323
#include <deal.II/base/conditional_ostream.h>
2424
#include <deal.II/base/convergence_table.h>
25+
#include <deal.II/base/observer_pointer.h>
2526
#include <deal.II/base/parameter_acceptor.h>
2627
#include <deal.II/base/parsed_function.h>
2728
#include <deal.II/base/quadrature_lib.h>
2829
#include <deal.II/base/quadrature_selector.h>
29-
#include <deal.II/base/smartpointer.h>
3030
#include <deal.II/base/types.h>
3131
#include <deal.II/base/utilities.h>
3232

0 commit comments

Comments
 (0)