From 0c61d943ac8382aa90418db0cd42de6f9d28daa4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 21 May 2024 16:32:52 -0600 Subject: [PATCH] Remove include of vector/matrix_tools.h from tutorials that don't need these. --- examples/step-15/step-15.cc | 1 - examples/step-20/step-20.cc | 1 - examples/step-21/step-21.cc | 1 - examples/step-22/step-22.cc | 1 - examples/step-23/step-23.cc | 5 +++-- examples/step-24/step-24.cc | 2 +- examples/step-25/step-25.cc | 2 +- examples/step-26/step-26.cc | 1 + examples/step-27/step-27.cc | 1 - examples/step-32/step-32.cc | 1 - examples/step-35/step-35.cc | 1 + examples/step-36/step-36.cc | 1 - examples/step-42/step-42.cc | 1 - examples/step-51/step-51.cc | 1 - examples/step-54/step-54.cc | 1 - examples/step-56/step-56.cc | 1 - examples/step-57/step-57.cc | 1 - examples/step-58/step-58.cc | 1 - examples/step-63/step-63.cc | 1 - examples/step-72/step-72.cc | 1 - examples/step-77/step-77.cc | 1 - examples/step-78/step-78.cc | 1 + examples/step-79/step-79.cc | 1 - examples/step-8/step-8.cc | 1 - examples/step-81/step-81.cc | 1 - examples/step-82/step-82.cc | 2 -- examples/step-9/step-9.cc | 2 -- 27 files changed, 8 insertions(+), 27 deletions(-) diff --git a/examples/step-15/step-15.cc b/examples/step-15/step-15.cc index c5770aaec0..c4b366581d 100644 --- a/examples/step-15/step-15.cc +++ b/examples/step-15/step-15.cc @@ -43,7 +43,6 @@ #include #include -#include #include #include diff --git a/examples/step-20/step-20.cc b/examples/step-20/step-20.cc index c2e52c655a..52236360f4 100644 --- a/examples/step-20/step-20.cc +++ b/examples/step-20/step-20.cc @@ -44,7 +44,6 @@ #include #include #include -#include #include #include diff --git a/examples/step-21/step-21.cc b/examples/step-21/step-21.cc index c493828c90..82745ed096 100644 --- a/examples/step-21/step-21.cc +++ b/examples/step-21/step-21.cc @@ -49,7 +49,6 @@ #include #include -#include #include #include diff --git a/examples/step-22/step-22.cc b/examples/step-22/step-22.cc index 363aafc4cf..709a45f123 100644 --- a/examples/step-22/step-22.cc +++ b/examples/step-22/step-22.cc @@ -47,7 +47,6 @@ #include #include -#include #include #include diff --git a/examples/step-23/step-23.cc b/examples/step-23/step-23.cc index 8ee184339b..9798a29e52 100644 --- a/examples/step-23/step-23.cc +++ b/examples/step-23/step-23.cc @@ -60,8 +60,9 @@ // mass and Laplace matrices, although it would have only taken copying the // relevant code from any number of previous tutorial programs. Rather, we // want to focus on the things that are truly new to this program and -// therefore use the MatrixCreator::create_mass_matrix and -// MatrixCreator::create_laplace_matrix functions. They are declared here: +// therefore use the MatrixCreator::create_mass_matrix() and +// MatrixCreator::create_laplace_matrix() functions. They are declared here: +#include #include // Finally, here is an include file that contains all sorts of tool functions diff --git a/examples/step-24/step-24.cc b/examples/step-24/step-24.cc index a9678aceea..79fd59d273 100644 --- a/examples/step-24/step-24.cc +++ b/examples/step-24/step-24.cc @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include diff --git a/examples/step-25/step-25.cc b/examples/step-25/step-25.cc index 565d030235..282347c90d 100644 --- a/examples/step-25/step-25.cc +++ b/examples/step-25/step-25.cc @@ -45,8 +45,8 @@ #include #include +#include #include -#include #include #include diff --git a/examples/step-26/step-26.cc b/examples/step-26/step-26.cc index 8260a96205..06f563f4f8 100644 --- a/examples/step-26/step-26.cc +++ b/examples/step-26/step-26.cc @@ -41,6 +41,7 @@ #include #include #include +#include #include #include diff --git a/examples/step-27/step-27.cc b/examples/step-27/step-27.cc index a73ddd92ce..d9177ca4d4 100644 --- a/examples/step-27/step-27.cc +++ b/examples/step-27/step-27.cc @@ -39,7 +39,6 @@ #include #include #include -#include #include #include diff --git a/examples/step-32/step-32.cc b/examples/step-32/step-32.cc index 1bf932bca2..76888b446b 100644 --- a/examples/step-32/step-32.cc +++ b/examples/step-32/step-32.cc @@ -62,7 +62,6 @@ #include #include -#include #include #include #include diff --git a/examples/step-35/step-35.cc b/examples/step-35/step-35.cc index 8e8e955d91..5214ad4fb3 100644 --- a/examples/step-35/step-35.cc +++ b/examples/step-35/step-35.cc @@ -56,6 +56,7 @@ #include #include +#include #include #include #include diff --git a/examples/step-36/step-36.cc b/examples/step-36/step-36.cc index b94348c7f1..9e5c2a5507 100644 --- a/examples/step-36/step-36.cc +++ b/examples/step-36/step-36.cc @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/step-42/step-42.cc b/examples/step-42/step-42.cc index fe502e0799..e592e73866 100644 --- a/examples/step-42/step-42.cc +++ b/examples/step-42/step-42.cc @@ -61,7 +61,6 @@ #include #include -#include #include #include #include diff --git a/examples/step-51/step-51.cc b/examples/step-51/step-51.cc index 516cb1494d..453b7e2ea3 100644 --- a/examples/step-51/step-51.cc +++ b/examples/step-51/step-51.cc @@ -44,7 +44,6 @@ #include #include #include -#include #include // However, we do have a few new includes for the example. diff --git a/examples/step-54/step-54.cc b/examples/step-54/step-54.cc index 85c6949e8b..de54e4df3c 100644 --- a/examples/step-54/step-54.cc +++ b/examples/step-54/step-54.cc @@ -26,7 +26,6 @@ #include #include #include -#include // These are the headers of the opencascade support classes and // functions. Notice that these will contain sensible data only if you diff --git a/examples/step-56/step-56.cc b/examples/step-56/step-56.cc index 2c3a70f983..627d574276 100644 --- a/examples/step-56/step-56.cc +++ b/examples/step-56/step-56.cc @@ -47,7 +47,6 @@ #include #include -#include #include #include diff --git a/examples/step-57/step-57.cc b/examples/step-57/step-57.cc index 59fb778044..29fe6ef671 100644 --- a/examples/step-57/step-57.cc +++ b/examples/step-57/step-57.cc @@ -46,7 +46,6 @@ #include #include -#include #include #include diff --git a/examples/step-58/step-58.cc b/examples/step-58/step-58.cc index fae086e6a6..646d8fe4ab 100644 --- a/examples/step-58/step-58.cc +++ b/examples/step-58/step-58.cc @@ -38,7 +38,6 @@ #include #include #include -#include #include #include diff --git a/examples/step-63/step-63.cc b/examples/step-63/step-63.cc index 5f26135a34..0f305a8545 100644 --- a/examples/step-63/step-63.cc +++ b/examples/step-63/step-63.cc @@ -49,7 +49,6 @@ #include #include -#include #include // Include all relevant multilevel files: diff --git a/examples/step-72/step-72.cc b/examples/step-72/step-72.cc index 6072e84c38..e76e63510b 100644 --- a/examples/step-72/step-72.cc +++ b/examples/step-72/step-72.cc @@ -66,7 +66,6 @@ #include #include -#include #include #include diff --git a/examples/step-77/step-77.cc b/examples/step-77/step-77.cc index 4ca1c811f3..0b573cc489 100644 --- a/examples/step-77/step-77.cc +++ b/examples/step-77/step-77.cc @@ -49,7 +49,6 @@ #include #include -#include #include #include #include diff --git a/examples/step-78/step-78.cc b/examples/step-78/step-78.cc index 8c5fac3d71..08f1b8d8db 100644 --- a/examples/step-78/step-78.cc +++ b/examples/step-78/step-78.cc @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include diff --git a/examples/step-79/step-79.cc b/examples/step-79/step-79.cc index 6a4daf3382..6da22e070d 100644 --- a/examples/step-79/step-79.cc +++ b/examples/step-79/step-79.cc @@ -45,7 +45,6 @@ #include #include -#include #include #include diff --git a/examples/step-8/step-8.cc b/examples/step-8/step-8.cc index 73ff736fc6..1c6e6c9f9f 100644 --- a/examples/step-8/step-8.cc +++ b/examples/step-8/step-8.cc @@ -40,7 +40,6 @@ #include #include -#include #include #include diff --git a/examples/step-81/step-81.cc b/examples/step-81/step-81.cc index 42c42df8f7..eceef077c5 100644 --- a/examples/step-81/step-81.cc +++ b/examples/step-81/step-81.cc @@ -56,7 +56,6 @@ #include #include -#include #include diff --git a/examples/step-82/step-82.cc b/examples/step-82/step-82.cc index ed051c8367..ba270984f7 100644 --- a/examples/step-82/step-82.cc +++ b/examples/step-82/step-82.cc @@ -34,8 +34,6 @@ #include #include -#include -#include #include #include diff --git a/examples/step-9/step-9.cc b/examples/step-9/step-9.cc index 017b7d7354..9460cbb984 100644 --- a/examples/step-9/step-9.cc +++ b/examples/step-9/step-9.cc @@ -34,8 +34,6 @@ #include #include #include -#include -#include #include #include #include -- 2.39.5