From: Wolfgang Bangerth Date: Mon, 26 Jun 2023 17:49:59 +0000 (-0600) Subject: Catch exceptions as const-reference when possible. X-Git-Tag: relicensing~845^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15489%2Fhead;p=dealii.git Catch exceptions as const-reference when possible. --- diff --git a/tests/adolc/step-44-helper_res_lin_01_1.cc b/tests/adolc/step-44-helper_res_lin_01_1.cc index d61288b524..8f27144381 100644 --- a/tests/adolc/step-44-helper_res_lin_01_1.cc +++ b/tests/adolc/step-44-helper_res_lin_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/adolc/step-44-helper_res_lin_01_2.cc b/tests/adolc/step-44-helper_res_lin_01_2.cc index c65e1ce5ca..2bdb4238a4 100644 --- a/tests/adolc/step-44-helper_res_lin_01_2.cc +++ b/tests/adolc/step-44-helper_res_lin_01_2.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/adolc/step-44-helper_scalar_01_1.cc b/tests/adolc/step-44-helper_scalar_01_1.cc index cd5aac4126..a30ce5ed42 100644 --- a/tests/adolc/step-44-helper_scalar_01_1.cc +++ b/tests/adolc/step-44-helper_scalar_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/adolc/step-44-helper_var_form_01_1.cc b/tests/adolc/step-44-helper_var_form_01_1.cc index 5ce7e993be..5e0e87c617 100644 --- a/tests/adolc/step-44-helper_var_form_01_1.cc +++ b/tests/adolc/step-44-helper_var_form_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/adolc/step-44-helper_vector_01_1.cc b/tests/adolc/step-44-helper_vector_01_1.cc index 2022b263cf..3316d48567 100644 --- a/tests/adolc/step-44-helper_vector_01_1.cc +++ b/tests/adolc/step-44-helper_vector_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/adolc/step-44-helper_vector_01_2.cc b/tests/adolc/step-44-helper_vector_01_2.cc index f08e25f3b9..fdf8526d5a 100644 --- a/tests/adolc/step-44-helper_vector_01_2.cc +++ b/tests/adolc/step-44-helper_vector_01_2.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/adolc/step-44.cc b/tests/adolc/step-44.cc index edf3a34df0..a031f8ed2a 100644 --- a/tests/adolc/step-44.cc +++ b/tests/adolc/step-44.cc @@ -2082,7 +2082,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/arpack_advection_diffusion.cc b/tests/arpack/arpack_advection_diffusion.cc index 1c3c4e05f1..75309fbe0d 100644 --- a/tests/arpack/arpack_advection_diffusion.cc +++ b/tests/arpack/arpack_advection_diffusion.cc @@ -324,7 +324,7 @@ main(int argc, char **argv) problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/parpack_advection_diffusion_petsc.cc b/tests/arpack/parpack_advection_diffusion_petsc.cc index 2a8fe3d760..072cdaff9d 100644 --- a/tests/arpack/parpack_advection_diffusion_petsc.cc +++ b/tests/arpack/parpack_advection_diffusion_petsc.cc @@ -420,7 +420,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/parpack_advection_diffusion_trilinos.cc b/tests/arpack/parpack_advection_diffusion_trilinos.cc index 7cbb7ec21a..2d8218fe62 100644 --- a/tests/arpack/parpack_advection_diffusion_trilinos.cc +++ b/tests/arpack/parpack_advection_diffusion_trilinos.cc @@ -411,7 +411,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_ar.cc b/tests/arpack/step-36_ar.cc index 74e9e9bf3a..ba6dfbf25b 100644 --- a/tests/arpack/step-36_ar.cc +++ b/tests/arpack/step-36_ar.cc @@ -338,7 +338,7 @@ main(int argc, char **argv) problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_ar_shift.cc b/tests/arpack/step-36_ar_shift.cc index b8306cdfc2..2e2929c731 100644 --- a/tests/arpack/step-36_ar_shift.cc +++ b/tests/arpack/step-36_ar_shift.cc @@ -343,7 +343,7 @@ main(int argc, char **argv) problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_ar_with_iterations.cc b/tests/arpack/step-36_ar_with_iterations.cc index 74e9e9bf3a..ba6dfbf25b 100644 --- a/tests/arpack/step-36_ar_with_iterations.cc +++ b/tests/arpack/step-36_ar_with_iterations.cc @@ -338,7 +338,7 @@ main(int argc, char **argv) problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_parpack.cc b/tests/arpack/step-36_parpack.cc index 686b763d19..9ef5a41bd7 100644 --- a/tests/arpack/step-36_parpack.cc +++ b/tests/arpack/step-36_parpack.cc @@ -377,7 +377,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_parpack_mf.cc b/tests/arpack/step-36_parpack_mf.cc index a79664cbd4..4e98d1ef32 100644 --- a/tests/arpack/step-36_parpack_mf.cc +++ b/tests/arpack/step-36_parpack_mf.cc @@ -231,7 +231,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_parpack_mf_02.cc b/tests/arpack/step-36_parpack_mf_02.cc index 8b07673d91..d7d9415c07 100644 --- a/tests/arpack/step-36_parpack_mf_02.cc +++ b/tests/arpack/step-36_parpack_mf_02.cc @@ -233,7 +233,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_parpack_mf_03.cc b/tests/arpack/step-36_parpack_mf_03.cc index 45134de789..71b49134d5 100644 --- a/tests/arpack/step-36_parpack_mf_03.cc +++ b/tests/arpack/step-36_parpack_mf_03.cc @@ -232,7 +232,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/arpack/step-36_parpack_trilinos.cc b/tests/arpack/step-36_parpack_trilinos.cc index 9fcbc6ad27..90c2c96a2d 100644 --- a/tests/arpack/step-36_parpack_trilinos.cc +++ b/tests/arpack/step-36_parpack_trilinos.cc @@ -369,7 +369,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/base/hdf5_01.cc b/tests/base/hdf5_01.cc index fb4d101201..90745d875d 100644 --- a/tests/base/hdf5_01.cc +++ b/tests/base/hdf5_01.cc @@ -129,7 +129,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/base/hdf5_02.cc b/tests/base/hdf5_02.cc index 77c784fbb1..59ae7bb1e1 100644 --- a/tests/base/hdf5_02.cc +++ b/tests/base/hdf5_02.cc @@ -135,7 +135,7 @@ main(int argc, char **argv) test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/base/hdf5_03.cc b/tests/base/hdf5_03.cc index 276ca2e7c1..52e260f4d8 100644 --- a/tests/base/hdf5_03.cc +++ b/tests/base/hdf5_03.cc @@ -887,7 +887,7 @@ main(int argc, char **argv) #endif } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/base/hdf5_04.cc b/tests/base/hdf5_04.cc index 5afe378329..24f59ff285 100644 --- a/tests/base/hdf5_04.cc +++ b/tests/base/hdf5_04.cc @@ -783,7 +783,7 @@ main() #endif } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/base/hdf5_05.cc b/tests/base/hdf5_05.cc index a93f182549..f8c7eadc83 100644 --- a/tests/base/hdf5_05.cc +++ b/tests/base/hdf5_05.cc @@ -1383,7 +1383,7 @@ main(int argc, char **argv) #endif } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/base/hdf5_06.cc b/tests/base/hdf5_06.cc index 82483785fe..c63d5015fb 100644 --- a/tests/base/hdf5_06.cc +++ b/tests/base/hdf5_06.cc @@ -1326,7 +1326,7 @@ main(int argc, char **argv) #endif } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/base/hdf5_07.cc b/tests/base/hdf5_07.cc index 7b625a72f1..f0eef984a0 100644 --- a/tests/base/hdf5_07.cc +++ b/tests/base/hdf5_07.cc @@ -102,7 +102,7 @@ main(int argc, char **argv) test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/bits/anna_6.cc b/tests/bits/anna_6.cc index b06c4ad6a4..e4d1e2e336 100644 --- a/tests/bits/anna_6.cc +++ b/tests/bits/anna_6.cc @@ -283,7 +283,7 @@ main() ImposeBC<2>().run(); ImposeBC<3>().run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/apply_boundary_values_01.cc b/tests/bits/apply_boundary_values_01.cc index 23a8ddf99d..b0be1e2ad8 100644 --- a/tests/bits/apply_boundary_values_01.cc +++ b/tests/bits/apply_boundary_values_01.cc @@ -157,7 +157,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/apply_boundary_values_02.cc b/tests/bits/apply_boundary_values_02.cc index 9e532f0861..191d563ee4 100644 --- a/tests/bits/apply_boundary_values_02.cc +++ b/tests/bits/apply_boundary_values_02.cc @@ -157,7 +157,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/apply_boundary_values_03.cc b/tests/bits/apply_boundary_values_03.cc index 337a64c354..ffd09f934d 100644 --- a/tests/bits/apply_boundary_values_03.cc +++ b/tests/bits/apply_boundary_values_03.cc @@ -135,7 +135,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/apply_boundary_values_04.cc b/tests/bits/apply_boundary_values_04.cc index 8a04f38fd7..fbd8f960f4 100644 --- a/tests/bits/apply_boundary_values_04.cc +++ b/tests/bits/apply_boundary_values_04.cc @@ -135,7 +135,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/block_sparse_matrix_iterator_01.cc b/tests/bits/block_sparse_matrix_iterator_01.cc index 0ad586af9f..bb1f9646a2 100644 --- a/tests/bits/block_sparse_matrix_iterator_01.cc +++ b/tests/bits/block_sparse_matrix_iterator_01.cc @@ -107,7 +107,7 @@ main() { test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/block_sparse_matrix_iterator_02.cc b/tests/bits/block_sparse_matrix_iterator_02.cc index 64111a5156..d7bad85228 100644 --- a/tests/bits/block_sparse_matrix_iterator_02.cc +++ b/tests/bits/block_sparse_matrix_iterator_02.cc @@ -99,7 +99,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/block_sparse_matrix_iterator_04.cc b/tests/bits/block_sparse_matrix_iterator_04.cc index 1bfbff5f34..c7ac17f032 100644 --- a/tests/bits/block_sparse_matrix_iterator_04.cc +++ b/tests/bits/block_sparse_matrix_iterator_04.cc @@ -62,7 +62,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/block_sparse_matrix_iterator_05.cc b/tests/bits/block_sparse_matrix_iterator_05.cc index 4bf3d9a4ca..753b6b6041 100644 --- a/tests/bits/block_sparse_matrix_iterator_05.cc +++ b/tests/bits/block_sparse_matrix_iterator_05.cc @@ -78,7 +78,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/block_vector_iterator_01.cc b/tests/bits/block_vector_iterator_01.cc index ee74f20ead..d9afdbf338 100644 --- a/tests/bits/block_vector_iterator_01.cc +++ b/tests/bits/block_vector_iterator_01.cc @@ -87,7 +87,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/block_vector_iterator_02.cc b/tests/bits/block_vector_iterator_02.cc index 794bb4b871..9bc0641dd0 100644 --- a/tests/bits/block_vector_iterator_02.cc +++ b/tests/bits/block_vector_iterator_02.cc @@ -81,7 +81,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/block_vector_vector_01.cc b/tests/bits/block_vector_vector_01.cc index 0e098d7a6d..f85865fd6d 100644 --- a/tests/bits/block_vector_vector_01.cc +++ b/tests/bits/block_vector_vector_01.cc @@ -51,7 +51,7 @@ main() BlockVector v(block_sizes); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_00.cc b/tests/bits/chunk_sparse_matrix_00.cc index 0ee82b2e47..56b11aceec 100644 --- a/tests/bits/chunk_sparse_matrix_00.cc +++ b/tests/bits/chunk_sparse_matrix_00.cc @@ -68,7 +68,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_01.cc b/tests/bits/chunk_sparse_matrix_01.cc index 28d5ef6a83..ae520d46fc 100644 --- a/tests/bits/chunk_sparse_matrix_01.cc +++ b/tests/bits/chunk_sparse_matrix_01.cc @@ -71,7 +71,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_01a.cc b/tests/bits/chunk_sparse_matrix_01a.cc index 3b51a9703d..157861eeaa 100644 --- a/tests/bits/chunk_sparse_matrix_01a.cc +++ b/tests/bits/chunk_sparse_matrix_01a.cc @@ -97,7 +97,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_02.cc b/tests/bits/chunk_sparse_matrix_02.cc index a26187fa9f..45099db417 100644 --- a/tests/bits/chunk_sparse_matrix_02.cc +++ b/tests/bits/chunk_sparse_matrix_02.cc @@ -71,7 +71,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_03.cc b/tests/bits/chunk_sparse_matrix_03.cc index a7d78049db..6e94205886 100644 --- a/tests/bits/chunk_sparse_matrix_03.cc +++ b/tests/bits/chunk_sparse_matrix_03.cc @@ -78,7 +78,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_03a.cc b/tests/bits/chunk_sparse_matrix_03a.cc index 35a46b30aa..aa50a2533d 100644 --- a/tests/bits/chunk_sparse_matrix_03a.cc +++ b/tests/bits/chunk_sparse_matrix_03a.cc @@ -82,7 +82,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_04.cc b/tests/bits/chunk_sparse_matrix_04.cc index eba97d35b6..64fa04b05f 100644 --- a/tests/bits/chunk_sparse_matrix_04.cc +++ b/tests/bits/chunk_sparse_matrix_04.cc @@ -54,7 +54,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_05.cc b/tests/bits/chunk_sparse_matrix_05.cc index 8ba7db2d9b..572515fbef 100644 --- a/tests/bits/chunk_sparse_matrix_05.cc +++ b/tests/bits/chunk_sparse_matrix_05.cc @@ -81,7 +81,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_05a.cc b/tests/bits/chunk_sparse_matrix_05a.cc index db71500452..f77fab00e4 100644 --- a/tests/bits/chunk_sparse_matrix_05a.cc +++ b/tests/bits/chunk_sparse_matrix_05a.cc @@ -76,7 +76,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_06.cc b/tests/bits/chunk_sparse_matrix_06.cc index f9bbe0313e..4a02a93492 100644 --- a/tests/bits/chunk_sparse_matrix_06.cc +++ b/tests/bits/chunk_sparse_matrix_06.cc @@ -63,7 +63,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_07.cc b/tests/bits/chunk_sparse_matrix_07.cc index 5a5b3c08fa..efaa622692 100644 --- a/tests/bits/chunk_sparse_matrix_07.cc +++ b/tests/bits/chunk_sparse_matrix_07.cc @@ -63,7 +63,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_08.cc b/tests/bits/chunk_sparse_matrix_08.cc index 22c53f9c24..dabf91f768 100644 --- a/tests/bits/chunk_sparse_matrix_08.cc +++ b/tests/bits/chunk_sparse_matrix_08.cc @@ -69,7 +69,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_09.cc b/tests/bits/chunk_sparse_matrix_09.cc index 66f04b09bb..1679d3fb2e 100644 --- a/tests/bits/chunk_sparse_matrix_09.cc +++ b/tests/bits/chunk_sparse_matrix_09.cc @@ -75,7 +75,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_10.cc b/tests/bits/chunk_sparse_matrix_10.cc index 178bf45657..be60068f9c 100644 --- a/tests/bits/chunk_sparse_matrix_10.cc +++ b/tests/bits/chunk_sparse_matrix_10.cc @@ -75,7 +75,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_11.cc b/tests/bits/chunk_sparse_matrix_11.cc index 863097364b..992d356cf0 100644 --- a/tests/bits/chunk_sparse_matrix_11.cc +++ b/tests/bits/chunk_sparse_matrix_11.cc @@ -74,7 +74,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_12.cc b/tests/bits/chunk_sparse_matrix_12.cc index 2fa43bbcd4..ac9314c06d 100644 --- a/tests/bits/chunk_sparse_matrix_12.cc +++ b/tests/bits/chunk_sparse_matrix_12.cc @@ -74,7 +74,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_13.cc b/tests/bits/chunk_sparse_matrix_13.cc index 107b027760..ec7e4e59d9 100644 --- a/tests/bits/chunk_sparse_matrix_13.cc +++ b/tests/bits/chunk_sparse_matrix_13.cc @@ -74,7 +74,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_14.cc b/tests/bits/chunk_sparse_matrix_14.cc index 5dac4a5c76..5038b59f4c 100644 --- a/tests/bits/chunk_sparse_matrix_14.cc +++ b/tests/bits/chunk_sparse_matrix_14.cc @@ -77,7 +77,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_15.cc b/tests/bits/chunk_sparse_matrix_15.cc index e12003292b..68e4a615f1 100644 --- a/tests/bits/chunk_sparse_matrix_15.cc +++ b/tests/bits/chunk_sparse_matrix_15.cc @@ -82,7 +82,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_16.cc b/tests/bits/chunk_sparse_matrix_16.cc index eb7b79fc45..e184dc6cf9 100644 --- a/tests/bits/chunk_sparse_matrix_16.cc +++ b/tests/bits/chunk_sparse_matrix_16.cc @@ -85,7 +85,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_01.cc b/tests/bits/chunk_sparse_matrix_iterator_01.cc index 7bd7b2bf88..adcbc7e4c0 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_01.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_01.cc @@ -58,7 +58,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_02.cc b/tests/bits/chunk_sparse_matrix_iterator_02.cc index 43264d29ab..eda831b7ed 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_02.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_02.cc @@ -72,7 +72,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_03.cc b/tests/bits/chunk_sparse_matrix_iterator_03.cc index a00659bc77..7bc29fbe3e 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_03.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_03.cc @@ -72,7 +72,7 @@ main() ++i) test(chunk_sizes[i]); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_04.cc b/tests/bits/chunk_sparse_matrix_iterator_04.cc index 5126924ada..5c11c9f56f 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_04.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_04.cc @@ -64,7 +64,7 @@ main() test(5); test(7); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_05.cc b/tests/bits/chunk_sparse_matrix_iterator_05.cc index 3a8c387398..89a69ba2a7 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_05.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_05.cc @@ -70,7 +70,7 @@ main() test(5); test(7); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_06.cc b/tests/bits/chunk_sparse_matrix_iterator_06.cc index 470f9cd139..93b3d5e762 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_06.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_06.cc @@ -75,7 +75,7 @@ main() test(5); test(7); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_07.cc b/tests/bits/chunk_sparse_matrix_iterator_07.cc index 189cd7780f..ab3aa6eca3 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_07.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_07.cc @@ -74,7 +74,7 @@ main() test(5); test(7); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_08.cc b/tests/bits/chunk_sparse_matrix_iterator_08.cc index 2f619b9379..6c93df309b 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_08.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_08.cc @@ -75,7 +75,7 @@ main() test(5); test(7); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_09.cc b/tests/bits/chunk_sparse_matrix_iterator_09.cc index e256630b91..469a04bb0a 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_09.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_09.cc @@ -56,7 +56,7 @@ main() test(1); test(3); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_10.cc b/tests/bits/chunk_sparse_matrix_iterator_10.cc index 8ad6d23d6c..473db655dc 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_10.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_10.cc @@ -58,7 +58,7 @@ main() test(1); test(3); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_11.cc b/tests/bits/chunk_sparse_matrix_iterator_11.cc index 1588e0eef1..728b1a9e60 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_11.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_11.cc @@ -70,7 +70,7 @@ main() test(1); test(3); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_12.cc b/tests/bits/chunk_sparse_matrix_iterator_12.cc index 183ac7c754..64aa506684 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_12.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_12.cc @@ -70,7 +70,7 @@ main() test(1); test(3); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_iterator_13.cc b/tests/bits/chunk_sparse_matrix_iterator_13.cc index acaf5d688b..d6fa202c93 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_13.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_13.cc @@ -88,7 +88,7 @@ main() test(4); test(7); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_vector_01.cc b/tests/bits/chunk_sparse_matrix_vector_01.cc index ceca197293..ebf45dae84 100644 --- a/tests/bits/chunk_sparse_matrix_vector_01.cc +++ b/tests/bits/chunk_sparse_matrix_vector_01.cc @@ -83,7 +83,7 @@ main() test(chunk_sizes[i], v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_vector_02.cc b/tests/bits/chunk_sparse_matrix_vector_02.cc index 3ac4ab0068..01af4e0046 100644 --- a/tests/bits/chunk_sparse_matrix_vector_02.cc +++ b/tests/bits/chunk_sparse_matrix_vector_02.cc @@ -83,7 +83,7 @@ main() test(chunk_sizes[i], v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_vector_03.cc b/tests/bits/chunk_sparse_matrix_vector_03.cc index 53a035ffc8..bdd99be3ea 100644 --- a/tests/bits/chunk_sparse_matrix_vector_03.cc +++ b/tests/bits/chunk_sparse_matrix_vector_03.cc @@ -86,7 +86,7 @@ main() test(chunk_sizes[i], v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_vector_04.cc b/tests/bits/chunk_sparse_matrix_vector_04.cc index 7346c812d8..6e6a058e6f 100644 --- a/tests/bits/chunk_sparse_matrix_vector_04.cc +++ b/tests/bits/chunk_sparse_matrix_vector_04.cc @@ -86,7 +86,7 @@ main() test(chunk_sizes[i], v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_vector_05.cc b/tests/bits/chunk_sparse_matrix_vector_05.cc index 3291854acc..b9f946c4c9 100644 --- a/tests/bits/chunk_sparse_matrix_vector_05.cc +++ b/tests/bits/chunk_sparse_matrix_vector_05.cc @@ -89,7 +89,7 @@ main() test(chunk_sizes[i], v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_vector_06.cc b/tests/bits/chunk_sparse_matrix_vector_06.cc index ed58a9737e..dffc1aad59 100644 --- a/tests/bits/chunk_sparse_matrix_vector_06.cc +++ b/tests/bits/chunk_sparse_matrix_vector_06.cc @@ -81,7 +81,7 @@ main() test(chunk_sizes[i], v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/chunk_sparse_matrix_vector_07.cc b/tests/bits/chunk_sparse_matrix_vector_07.cc index 9f2f78b6b8..29b068d697 100644 --- a/tests/bits/chunk_sparse_matrix_vector_07.cc +++ b/tests/bits/chunk_sparse_matrix_vector_07.cc @@ -94,7 +94,7 @@ main() test(chunk_sizes[i], v, w, x); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/deal_solver_04.cc b/tests/bits/deal_solver_04.cc index 8b55723e8e..c1e6738ce4 100644 --- a/tests/bits/deal_solver_04.cc +++ b/tests/bits/deal_solver_04.cc @@ -55,7 +55,7 @@ check_solve(SolverType & solver, { solver.solve(A, u, f, P); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << e.what() << std::endl; abort(); diff --git a/tests/bits/deal_solver_05.cc b/tests/bits/deal_solver_05.cc index c2e609bb1f..8b9c5f2da5 100644 --- a/tests/bits/deal_solver_05.cc +++ b/tests/bits/deal_solver_05.cc @@ -54,7 +54,7 @@ check_solve(SolverType & solver, { solver.solve(A, u, f, P); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << e.what() << std::endl; abort(); diff --git a/tests/bits/faceq_face_interpolation.cc b/tests/bits/faceq_face_interpolation.cc index 453e3dbf92..4da381652f 100644 --- a/tests/bits/faceq_face_interpolation.cc +++ b/tests/bits/faceq_face_interpolation.cc @@ -155,7 +155,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/faceq_subface_interpolation.cc b/tests/bits/faceq_subface_interpolation.cc index a44c87ab04..09215e5355 100644 --- a/tests/bits/faceq_subface_interpolation.cc +++ b/tests/bits/faceq_subface_interpolation.cc @@ -166,7 +166,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/fe_tools_01a.cc b/tests/bits/fe_tools_01a.cc index 9c17bbf72c..a19de29ba0 100644 --- a/tests/bits/fe_tools_01a.cc +++ b/tests/bits/fe_tools_01a.cc @@ -80,7 +80,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/fe_tools_01b.cc b/tests/bits/fe_tools_01b.cc index 4a79be89cb..7ea6c6bc12 100644 --- a/tests/bits/fe_tools_01b.cc +++ b/tests/bits/fe_tools_01b.cc @@ -80,7 +80,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/fe_tools_01c.cc b/tests/bits/fe_tools_01c.cc index 900e842a50..74e0736e2a 100644 --- a/tests/bits/fe_tools_01c.cc +++ b/tests/bits/fe_tools_01c.cc @@ -93,7 +93,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/fe_tools_cpfqpm_05.cc b/tests/bits/fe_tools_cpfqpm_05.cc index a14fca62cd..ec6f73c8b7 100644 --- a/tests/bits/fe_tools_cpfqpm_05.cc +++ b/tests/bits/fe_tools_cpfqpm_05.cc @@ -212,7 +212,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/gerold_1.cc b/tests/bits/gerold_1.cc index 7b25f4a947..b18db0b47c 100644 --- a/tests/bits/gerold_1.cc +++ b/tests/bits/gerold_1.cc @@ -112,7 +112,7 @@ main() LaplaceProblem<3> laplace_problem_3d; laplace_problem_3d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/gerold_2.cc b/tests/bits/gerold_2.cc index 6ededc06dd..554c877d6c 100644 --- a/tests/bits/gerold_2.cc +++ b/tests/bits/gerold_2.cc @@ -75,7 +75,7 @@ main() LaplaceProblem<3> laplace_problem_3d; laplace_problem_3d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/joa_1.cc b/tests/bits/joa_1.cc index f3a57a47e9..7baa7e8288 100644 --- a/tests/bits/joa_1.cc +++ b/tests/bits/joa_1.cc @@ -1186,7 +1186,7 @@ main() // exiting the program with an // error code (this is what the // return 1; does): - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/make_boundary_constraints_01.cc b/tests/bits/make_boundary_constraints_01.cc index 45d59c48db..6e0989c07d 100644 --- a/tests/bits/make_boundary_constraints_01.cc +++ b/tests/bits/make_boundary_constraints_01.cc @@ -152,7 +152,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/make_boundary_constraints_02.cc b/tests/bits/make_boundary_constraints_02.cc index 4a2bc8185e..8203b7897b 100644 --- a/tests/bits/make_boundary_constraints_02.cc +++ b/tests/bits/make_boundary_constraints_02.cc @@ -158,7 +158,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/make_boundary_constraints_03.cc b/tests/bits/make_boundary_constraints_03.cc index 51a6880af3..6e784756d7 100644 --- a/tests/bits/make_boundary_constraints_03.cc +++ b/tests/bits/make_boundary_constraints_03.cc @@ -111,7 +111,7 @@ main() { test<2>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/periodic_flux_coupling_01.cc b/tests/bits/periodic_flux_coupling_01.cc index 44962e550b..8fc6435159 100644 --- a/tests/bits/periodic_flux_coupling_01.cc +++ b/tests/bits/periodic_flux_coupling_01.cc @@ -150,7 +150,7 @@ main(int argc, char **argv) MakeFlux<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_01.cc b/tests/bits/sparse_matrix_01.cc index 2e9128fa0c..c6f212d623 100644 --- a/tests/bits/sparse_matrix_01.cc +++ b/tests/bits/sparse_matrix_01.cc @@ -68,7 +68,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_02.cc b/tests/bits/sparse_matrix_02.cc index b7fdfb00f1..3056f14c0a 100644 --- a/tests/bits/sparse_matrix_02.cc +++ b/tests/bits/sparse_matrix_02.cc @@ -68,7 +68,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_03.cc b/tests/bits/sparse_matrix_03.cc index 5b860f9f3a..c3b3bb433a 100644 --- a/tests/bits/sparse_matrix_03.cc +++ b/tests/bits/sparse_matrix_03.cc @@ -75,7 +75,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_03a.cc b/tests/bits/sparse_matrix_03a.cc index 92dc2734f5..6d37713d20 100644 --- a/tests/bits/sparse_matrix_03a.cc +++ b/tests/bits/sparse_matrix_03a.cc @@ -79,7 +79,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_04.cc b/tests/bits/sparse_matrix_04.cc index 322b69f4ab..440ac4def5 100644 --- a/tests/bits/sparse_matrix_04.cc +++ b/tests/bits/sparse_matrix_04.cc @@ -51,7 +51,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_05.cc b/tests/bits/sparse_matrix_05.cc index 4d4546c94b..af32463193 100644 --- a/tests/bits/sparse_matrix_05.cc +++ b/tests/bits/sparse_matrix_05.cc @@ -71,7 +71,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_05a.cc b/tests/bits/sparse_matrix_05a.cc index 1d49caf02a..39cdff16e2 100644 --- a/tests/bits/sparse_matrix_05a.cc +++ b/tests/bits/sparse_matrix_05a.cc @@ -65,7 +65,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_06.cc b/tests/bits/sparse_matrix_06.cc index 7074b7e403..e35f3b411e 100644 --- a/tests/bits/sparse_matrix_06.cc +++ b/tests/bits/sparse_matrix_06.cc @@ -60,7 +60,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_07.cc b/tests/bits/sparse_matrix_07.cc index 235c23c69d..d1ea062eba 100644 --- a/tests/bits/sparse_matrix_07.cc +++ b/tests/bits/sparse_matrix_07.cc @@ -60,7 +60,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_08.cc b/tests/bits/sparse_matrix_08.cc index ba326412b1..d2aaf8e980 100644 --- a/tests/bits/sparse_matrix_08.cc +++ b/tests/bits/sparse_matrix_08.cc @@ -66,7 +66,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_09.cc b/tests/bits/sparse_matrix_09.cc index 6d4cd814a5..a7eecc20e8 100644 --- a/tests/bits/sparse_matrix_09.cc +++ b/tests/bits/sparse_matrix_09.cc @@ -72,7 +72,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_10.cc b/tests/bits/sparse_matrix_10.cc index 3aa4e83096..c719476a1f 100644 --- a/tests/bits/sparse_matrix_10.cc +++ b/tests/bits/sparse_matrix_10.cc @@ -72,7 +72,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_add_entries_01.cc b/tests/bits/sparse_matrix_add_entries_01.cc index e69c90c0af..ef69d8952a 100644 --- a/tests/bits/sparse_matrix_add_entries_01.cc +++ b/tests/bits/sparse_matrix_add_entries_01.cc @@ -108,7 +108,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_add_entries_02.cc b/tests/bits/sparse_matrix_add_entries_02.cc index 3a6de5de21..c6c173084b 100644 --- a/tests/bits/sparse_matrix_add_entries_02.cc +++ b/tests/bits/sparse_matrix_add_entries_02.cc @@ -83,7 +83,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_add_entries_03.cc b/tests/bits/sparse_matrix_add_entries_03.cc index 0ae5186da2..c1612ad4fd 100644 --- a/tests/bits/sparse_matrix_add_entries_03.cc +++ b/tests/bits/sparse_matrix_add_entries_03.cc @@ -84,7 +84,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_add_entries_04.cc b/tests/bits/sparse_matrix_add_entries_04.cc index 37a106e659..f01efb8e05 100644 --- a/tests/bits/sparse_matrix_add_entries_04.cc +++ b/tests/bits/sparse_matrix_add_entries_04.cc @@ -82,7 +82,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_add_entries_05.cc b/tests/bits/sparse_matrix_add_entries_05.cc index b5f9fa3db5..dc36d13813 100644 --- a/tests/bits/sparse_matrix_add_entries_05.cc +++ b/tests/bits/sparse_matrix_add_entries_05.cc @@ -82,7 +82,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_add_entries_06.cc b/tests/bits/sparse_matrix_add_entries_06.cc index ecff29d392..918dddabc9 100644 --- a/tests/bits/sparse_matrix_add_entries_06.cc +++ b/tests/bits/sparse_matrix_add_entries_06.cc @@ -87,7 +87,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_01.cc b/tests/bits/sparse_matrix_iterator_01.cc index 9b57d213e5..551c8f88f1 100644 --- a/tests/bits/sparse_matrix_iterator_01.cc +++ b/tests/bits/sparse_matrix_iterator_01.cc @@ -55,7 +55,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_02.cc b/tests/bits/sparse_matrix_iterator_02.cc index 9e273b172c..f1e43df753 100644 --- a/tests/bits/sparse_matrix_iterator_02.cc +++ b/tests/bits/sparse_matrix_iterator_02.cc @@ -62,7 +62,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_03.cc b/tests/bits/sparse_matrix_iterator_03.cc index 227c348c65..cf5b406647 100644 --- a/tests/bits/sparse_matrix_iterator_03.cc +++ b/tests/bits/sparse_matrix_iterator_03.cc @@ -62,7 +62,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_04.cc b/tests/bits/sparse_matrix_iterator_04.cc index 13f109369c..61cee35779 100644 --- a/tests/bits/sparse_matrix_iterator_04.cc +++ b/tests/bits/sparse_matrix_iterator_04.cc @@ -59,7 +59,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_05.cc b/tests/bits/sparse_matrix_iterator_05.cc index 87ae56b0b3..a09305ed13 100644 --- a/tests/bits/sparse_matrix_iterator_05.cc +++ b/tests/bits/sparse_matrix_iterator_05.cc @@ -65,7 +65,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_06.cc b/tests/bits/sparse_matrix_iterator_06.cc index 365e9fd2a9..2ccdfdbdc6 100644 --- a/tests/bits/sparse_matrix_iterator_06.cc +++ b/tests/bits/sparse_matrix_iterator_06.cc @@ -65,7 +65,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_07.cc b/tests/bits/sparse_matrix_iterator_07.cc index 24e101c01d..ec85c903cd 100644 --- a/tests/bits/sparse_matrix_iterator_07.cc +++ b/tests/bits/sparse_matrix_iterator_07.cc @@ -65,7 +65,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_08.cc b/tests/bits/sparse_matrix_iterator_08.cc index 76def03203..19f69d5bb7 100644 --- a/tests/bits/sparse_matrix_iterator_08.cc +++ b/tests/bits/sparse_matrix_iterator_08.cc @@ -65,7 +65,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_09.cc b/tests/bits/sparse_matrix_iterator_09.cc index 50cea05570..d12af689e8 100644 --- a/tests/bits/sparse_matrix_iterator_09.cc +++ b/tests/bits/sparse_matrix_iterator_09.cc @@ -54,7 +54,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_10.cc b/tests/bits/sparse_matrix_iterator_10.cc index 5a0f62d323..0edf9a9315 100644 --- a/tests/bits/sparse_matrix_iterator_10.cc +++ b/tests/bits/sparse_matrix_iterator_10.cc @@ -56,7 +56,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_11.cc b/tests/bits/sparse_matrix_iterator_11.cc index 7d669ed8ff..375d7b8193 100644 --- a/tests/bits/sparse_matrix_iterator_11.cc +++ b/tests/bits/sparse_matrix_iterator_11.cc @@ -67,7 +67,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_12.cc b/tests/bits/sparse_matrix_iterator_12.cc index 8a5d613094..ec4390f81e 100644 --- a/tests/bits/sparse_matrix_iterator_12.cc +++ b/tests/bits/sparse_matrix_iterator_12.cc @@ -67,7 +67,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_iterator_13.cc b/tests/bits/sparse_matrix_iterator_13.cc index d43747b3ff..548407527c 100644 --- a/tests/bits/sparse_matrix_iterator_13.cc +++ b/tests/bits/sparse_matrix_iterator_13.cc @@ -78,7 +78,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_vector_01.cc b/tests/bits/sparse_matrix_vector_01.cc index c55773e89e..10112e912a 100644 --- a/tests/bits/sparse_matrix_vector_01.cc +++ b/tests/bits/sparse_matrix_vector_01.cc @@ -78,7 +78,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_vector_02.cc b/tests/bits/sparse_matrix_vector_02.cc index ade0763818..fa69002eee 100644 --- a/tests/bits/sparse_matrix_vector_02.cc +++ b/tests/bits/sparse_matrix_vector_02.cc @@ -78,7 +78,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_vector_03.cc b/tests/bits/sparse_matrix_vector_03.cc index c97c00522a..e90a73a503 100644 --- a/tests/bits/sparse_matrix_vector_03.cc +++ b/tests/bits/sparse_matrix_vector_03.cc @@ -81,7 +81,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_vector_04.cc b/tests/bits/sparse_matrix_vector_04.cc index f42bf7de31..8d2c663570 100644 --- a/tests/bits/sparse_matrix_vector_04.cc +++ b/tests/bits/sparse_matrix_vector_04.cc @@ -81,7 +81,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_vector_05.cc b/tests/bits/sparse_matrix_vector_05.cc index f8a168ca82..9f6e9d3c46 100644 --- a/tests/bits/sparse_matrix_vector_05.cc +++ b/tests/bits/sparse_matrix_vector_05.cc @@ -84,7 +84,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_vector_06.cc b/tests/bits/sparse_matrix_vector_06.cc index 86ab964fbb..66c4edf59e 100644 --- a/tests/bits/sparse_matrix_vector_06.cc +++ b/tests/bits/sparse_matrix_vector_06.cc @@ -76,7 +76,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/sparse_matrix_vector_07.cc b/tests/bits/sparse_matrix_vector_07.cc index a160d05766..dd9154af59 100644 --- a/tests/bits/sparse_matrix_vector_07.cc +++ b/tests/bits/sparse_matrix_vector_07.cc @@ -86,7 +86,7 @@ main() Vector x(100); test(v, w, x); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/static_condensation.cc b/tests/bits/static_condensation.cc index 938c274b80..baf33a3c88 100644 --- a/tests/bits/static_condensation.cc +++ b/tests/bits/static_condensation.cc @@ -704,7 +704,7 @@ main() deallog << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-11.cc b/tests/bits/step-11.cc index 44317474c6..41bd948a1d 100644 --- a/tests/bits/step-11.cc +++ b/tests/bits/step-11.cc @@ -231,7 +231,7 @@ main() ++mapping_degree) LaplaceProblem<2>(mapping_degree).run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-12.cc b/tests/bits/step-12.cc index 3102448979..d1ecceb63c 100644 --- a/tests/bits/step-12.cc +++ b/tests/bits/step-12.cc @@ -886,7 +886,7 @@ main() DGMethod<2> dgmethod; dgmethod.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-13.cc b/tests/bits/step-13.cc index 96b19bf980..c4e6d81251 100644 --- a/tests/bits/step-13.cc +++ b/tests/bits/step-13.cc @@ -805,7 +805,7 @@ main() solve_problem<2>("global"); solve_problem<2>("kelly"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-14.cc b/tests/bits/step-14.cc index c88f8586d8..b52fd53cad 100644 --- a/tests/bits/step-14.cc +++ b/tests/bits/step-14.cc @@ -2090,7 +2090,7 @@ main() Framework::run(descriptor); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-4_dg_periodic.cc b/tests/bits/step-4_dg_periodic.cc index b7b1e7fef3..ff5563f030 100644 --- a/tests/bits/step-4_dg_periodic.cc +++ b/tests/bits/step-4_dg_periodic.cc @@ -327,7 +327,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-4_dg_periodic_coupling.cc b/tests/bits/step-4_dg_periodic_coupling.cc index 051e14388b..3a248210b5 100644 --- a/tests/bits/step-4_dg_periodic_coupling.cc +++ b/tests/bits/step-4_dg_periodic_coupling.cc @@ -334,7 +334,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-7.cc b/tests/bits/step-7.cc index 18694e810e..c1354499da 100644 --- a/tests/bits/step-7.cc +++ b/tests/bits/step-7.cc @@ -711,7 +711,7 @@ main() deallog << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/bits/step-8.cc b/tests/bits/step-8.cc index 33c9bb15fe..5605143291 100644 --- a/tests/bits/step-8.cc +++ b/tests/bits/step-8.cc @@ -434,7 +434,7 @@ main() ElasticProblem<2> elastic_problem_2d; elastic_problem_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_01.cc b/tests/data_out/data_out_complex_01.cc index 2fc302a122..81e3f01755 100644 --- a/tests/data_out/data_out_complex_01.cc +++ b/tests/data_out/data_out_complex_01.cc @@ -80,7 +80,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_01_mixed.cc b/tests/data_out/data_out_complex_01_mixed.cc index a43c9dd01a..edc09044ee 100644 --- a/tests/data_out/data_out_complex_01_mixed.cc +++ b/tests/data_out/data_out_complex_01_mixed.cc @@ -88,7 +88,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_02.cc b/tests/data_out/data_out_complex_02.cc index 3029eec260..35837d3d35 100644 --- a/tests/data_out/data_out_complex_02.cc +++ b/tests/data_out/data_out_complex_02.cc @@ -85,7 +85,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_02_mixed.cc b/tests/data_out/data_out_complex_02_mixed.cc index 5110708411..8519b37393 100644 --- a/tests/data_out/data_out_complex_02_mixed.cc +++ b/tests/data_out/data_out_complex_02_mixed.cc @@ -93,7 +93,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_03.cc b/tests/data_out/data_out_complex_03.cc index 68c494e0f1..e4015eeef9 100644 --- a/tests/data_out/data_out_complex_03.cc +++ b/tests/data_out/data_out_complex_03.cc @@ -84,7 +84,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_03_mixed.cc b/tests/data_out/data_out_complex_03_mixed.cc index 1a5b3394aa..6df1850e8a 100644 --- a/tests/data_out/data_out_complex_03_mixed.cc +++ b/tests/data_out/data_out_complex_03_mixed.cc @@ -94,7 +94,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_04.cc b/tests/data_out/data_out_complex_04.cc index 60324b1053..6e8e391005 100644 --- a/tests/data_out/data_out_complex_04.cc +++ b/tests/data_out/data_out_complex_04.cc @@ -82,7 +82,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_04_mixed.cc b/tests/data_out/data_out_complex_04_mixed.cc index 77f0744143..0693185c5e 100644 --- a/tests/data_out/data_out_complex_04_mixed.cc +++ b/tests/data_out/data_out_complex_04_mixed.cc @@ -90,7 +90,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_05.cc b/tests/data_out/data_out_complex_05.cc index f6110629eb..52bff22651 100644 --- a/tests/data_out/data_out_complex_05.cc +++ b/tests/data_out/data_out_complex_05.cc @@ -101,7 +101,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_05_tensor.cc b/tests/data_out/data_out_complex_05_tensor.cc index 72a826f155..ec7bfdbcdc 100644 --- a/tests/data_out/data_out_complex_05_tensor.cc +++ b/tests/data_out/data_out_complex_05_tensor.cc @@ -94,7 +94,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_06.cc b/tests/data_out/data_out_complex_06.cc index 3fa6ff0d75..7d369740e5 100644 --- a/tests/data_out/data_out_complex_06.cc +++ b/tests/data_out/data_out_complex_06.cc @@ -101,7 +101,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_postprocessor_01.cc b/tests/data_out/data_out_complex_postprocessor_01.cc index d7fa8c1705..a1dce7be0e 100644 --- a/tests/data_out/data_out_complex_postprocessor_01.cc +++ b/tests/data_out/data_out_complex_postprocessor_01.cc @@ -129,7 +129,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_postprocessor_02.cc b/tests/data_out/data_out_complex_postprocessor_02.cc index 07ad26ebc5..97060d28b7 100644 --- a/tests/data_out/data_out_complex_postprocessor_02.cc +++ b/tests/data_out/data_out_complex_postprocessor_02.cc @@ -155,7 +155,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_complex_postprocessor_03.cc b/tests/data_out/data_out_complex_postprocessor_03.cc index 6e768876b3..da8722cc3b 100644 --- a/tests/data_out/data_out_complex_postprocessor_03.cc +++ b/tests/data_out/data_out_complex_postprocessor_03.cc @@ -177,7 +177,7 @@ main() check<2>(); check<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_hdf5_01.cc b/tests/data_out/data_out_hdf5_01.cc index 0541f9f9e4..3d65b8c3cc 100644 --- a/tests/data_out/data_out_hdf5_01.cc +++ b/tests/data_out/data_out_hdf5_01.cc @@ -86,7 +86,7 @@ main(int argc, char *argv[]) return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_hdf5_02.cc b/tests/data_out/data_out_hdf5_02.cc index 65c650d7fa..503f999979 100644 --- a/tests/data_out/data_out_hdf5_02.cc +++ b/tests/data_out/data_out_hdf5_02.cc @@ -175,7 +175,7 @@ main(int argc, char *argv[]) return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_multi_dh_01.cc b/tests/data_out/data_out_multi_dh_01.cc index 384b45f6a6..da4e3636e3 100644 --- a/tests/data_out/data_out_multi_dh_01.cc +++ b/tests/data_out/data_out_multi_dh_01.cc @@ -78,7 +78,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_multi_dh_02.cc b/tests/data_out/data_out_multi_dh_02.cc index 5e7220fe45..81e4defb43 100644 --- a/tests/data_out/data_out_multi_dh_02.cc +++ b/tests/data_out/data_out_multi_dh_02.cc @@ -75,7 +75,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_multi_dh_03.cc b/tests/data_out/data_out_multi_dh_03.cc index 9d70727da7..926aa60551 100644 --- a/tests/data_out/data_out_multi_dh_03.cc +++ b/tests/data_out/data_out_multi_dh_03.cc @@ -85,7 +85,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_multi_dh_04.cc b/tests/data_out/data_out_multi_dh_04.cc index e3755dcd4f..3565fbb5d8 100644 --- a/tests/data_out/data_out_multi_dh_04.cc +++ b/tests/data_out/data_out_multi_dh_04.cc @@ -79,7 +79,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/data_out/data_out_multi_dh_05.cc b/tests/data_out/data_out_multi_dh_05.cc index e46cafbf71..89b2c0b9d4 100644 --- a/tests/data_out/data_out_multi_dh_05.cc +++ b/tests/data_out/data_out_multi_dh_05.cc @@ -95,7 +95,7 @@ main() return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_01.cc b/tests/dofs/dof_constraints_01.cc index 1733da0ceb..39498d5b3a 100644 --- a/tests/dofs/dof_constraints_01.cc +++ b/tests/dofs/dof_constraints_01.cc @@ -143,7 +143,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_02.cc b/tests/dofs/dof_constraints_02.cc index b11aab3ea8..5e0a90c4a4 100644 --- a/tests/dofs/dof_constraints_02.cc +++ b/tests/dofs/dof_constraints_02.cc @@ -132,7 +132,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_03.cc b/tests/dofs/dof_constraints_03.cc index fb11909089..bcce4c2a30 100644 --- a/tests/dofs/dof_constraints_03.cc +++ b/tests/dofs/dof_constraints_03.cc @@ -121,7 +121,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_04.cc b/tests/dofs/dof_constraints_04.cc index d03f3f76ce..56dbb787f9 100644 --- a/tests/dofs/dof_constraints_04.cc +++ b/tests/dofs/dof_constraints_04.cc @@ -98,7 +98,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_05.cc b/tests/dofs/dof_constraints_05.cc index 58adff8f59..a9d665e610 100644 --- a/tests/dofs/dof_constraints_05.cc +++ b/tests/dofs/dof_constraints_05.cc @@ -109,7 +109,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_06.cc b/tests/dofs/dof_constraints_06.cc index 7d10d059d0..9536c3a8ef 100644 --- a/tests/dofs/dof_constraints_06.cc +++ b/tests/dofs/dof_constraints_06.cc @@ -91,7 +91,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_07.cc b/tests/dofs/dof_constraints_07.cc index e1c246c19b..00cdf83c0b 100644 --- a/tests/dofs/dof_constraints_07.cc +++ b/tests/dofs/dof_constraints_07.cc @@ -114,7 +114,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_08.cc b/tests/dofs/dof_constraints_08.cc index 5fc69917c1..09be6710d8 100644 --- a/tests/dofs/dof_constraints_08.cc +++ b/tests/dofs/dof_constraints_08.cc @@ -102,7 +102,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_09.cc b/tests/dofs/dof_constraints_09.cc index 2e9661b85f..c00761b004 100644 --- a/tests/dofs/dof_constraints_09.cc +++ b/tests/dofs/dof_constraints_09.cc @@ -132,7 +132,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_10.cc b/tests/dofs/dof_constraints_10.cc index 2d04202c22..9fa3d9128d 100644 --- a/tests/dofs/dof_constraints_10.cc +++ b/tests/dofs/dof_constraints_10.cc @@ -93,7 +93,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_11.cc b/tests/dofs/dof_constraints_11.cc index 203646a3eb..9aa6186dbb 100644 --- a/tests/dofs/dof_constraints_11.cc +++ b/tests/dofs/dof_constraints_11.cc @@ -108,7 +108,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_constraints_11_x.cc b/tests/dofs/dof_constraints_11_x.cc index 0d7b382ca1..0133549925 100644 --- a/tests/dofs/dof_constraints_11_x.cc +++ b/tests/dofs/dof_constraints_11_x.cc @@ -106,7 +106,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/dofs/dof_tools_18a_1d.cc b/tests/dofs/dof_tools_18a_1d.cc index 61b5a77869..25874b82be 100644 --- a/tests/dofs/dof_tools_18a_1d.cc +++ b/tests/dofs/dof_tools_18a_1d.cc @@ -126,7 +126,7 @@ main() check_this(); return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/examples/step-56.cc b/tests/examples/step-56.cc index 1ee09760a8..8f1ae4877f 100644 --- a/tests/examples/step-56.cc +++ b/tests/examples/step-56.cc @@ -1139,7 +1139,7 @@ main() flow_problem.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fail/circular_01.cc b/tests/fail/circular_01.cc index 0da0d2d210..fa068ead5d 100644 --- a/tests/fail/circular_01.cc +++ b/tests/fail/circular_01.cc @@ -857,7 +857,7 @@ main() LaplaceProblem<3> laplace_problem; laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fail/hp-step-14.cc b/tests/fail/hp-step-14.cc index fb0e32ddc7..53ed0c2900 100644 --- a/tests/fail/hp-step-14.cc +++ b/tests/fail/hp-step-14.cc @@ -2125,7 +2125,7 @@ main() Framework::run(descriptor); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fail/hp-step-15.cc b/tests/fail/hp-step-15.cc index fa3b1d3f9b..caa911fe9c 100644 --- a/tests/fail/hp-step-15.cc +++ b/tests/fail/hp-step-15.cc @@ -617,7 +617,7 @@ main() minimization_problem_1d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fail/step-15.cc b/tests/fail/step-15.cc index f5f081875e..361ee91f5d 100644 --- a/tests/fail/step-15.cc +++ b/tests/fail/step-15.cc @@ -595,7 +595,7 @@ main() minimization_problem_1d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_2_fe_abf.cc b/tests/fe/fe_conformity_dim_2_fe_abf.cc index 0fba1ec7b6..f476083509 100644 --- a/tests/fe/fe_conformity_dim_2_fe_abf.cc +++ b/tests/fe/fe_conformity_dim_2_fe_abf.cc @@ -65,7 +65,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_2_fe_bdm.cc b/tests/fe/fe_conformity_dim_2_fe_bdm.cc index 11e753e61c..6eb46c25d0 100644 --- a/tests/fe/fe_conformity_dim_2_fe_bdm.cc +++ b/tests/fe/fe_conformity_dim_2_fe_bdm.cc @@ -62,7 +62,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_2_fe_nedelec.cc b/tests/fe/fe_conformity_dim_2_fe_nedelec.cc index 0dd99cc479..1fb628ecc2 100644 --- a/tests/fe/fe_conformity_dim_2_fe_nedelec.cc +++ b/tests/fe/fe_conformity_dim_2_fe_nedelec.cc @@ -64,7 +64,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_2_fe_nedelec_sz.cc b/tests/fe/fe_conformity_dim_2_fe_nedelec_sz.cc index 66961c4745..c17f37fad1 100644 --- a/tests/fe/fe_conformity_dim_2_fe_nedelec_sz.cc +++ b/tests/fe/fe_conformity_dim_2_fe_nedelec_sz.cc @@ -59,7 +59,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_2_fe_rt.cc b/tests/fe/fe_conformity_dim_2_fe_rt.cc index da6b4da27b..3cc9a7978d 100644 --- a/tests/fe/fe_conformity_dim_2_fe_rt.cc +++ b/tests/fe/fe_conformity_dim_2_fe_rt.cc @@ -62,7 +62,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_2_fe_rt_nodal.cc b/tests/fe/fe_conformity_dim_2_fe_rt_nodal.cc index d12ba28033..399b1b383d 100644 --- a/tests/fe/fe_conformity_dim_2_fe_rt_nodal.cc +++ b/tests/fe/fe_conformity_dim_2_fe_rt_nodal.cc @@ -59,7 +59,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_3_fe_nedelec.cc b/tests/fe/fe_conformity_dim_3_fe_nedelec.cc index b58d218030..0d2ec3123c 100644 --- a/tests/fe/fe_conformity_dim_3_fe_nedelec.cc +++ b/tests/fe/fe_conformity_dim_3_fe_nedelec.cc @@ -62,7 +62,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_3_fe_nedelec_sz.cc b/tests/fe/fe_conformity_dim_3_fe_nedelec_sz.cc index fec4520c84..68142a248b 100644 --- a/tests/fe/fe_conformity_dim_3_fe_nedelec_sz.cc +++ b/tests/fe/fe_conformity_dim_3_fe_nedelec_sz.cc @@ -59,7 +59,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_3_fe_q.cc b/tests/fe/fe_conformity_dim_3_fe_q.cc index 6684f04a04..3e788ca876 100644 --- a/tests/fe/fe_conformity_dim_3_fe_q.cc +++ b/tests/fe/fe_conformity_dim_3_fe_q.cc @@ -62,7 +62,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_3_fe_rt.cc b/tests/fe/fe_conformity_dim_3_fe_rt.cc index f7166513b5..71216136c8 100644 --- a/tests/fe/fe_conformity_dim_3_fe_rt.cc +++ b/tests/fe/fe_conformity_dim_3_fe_rt.cc @@ -62,7 +62,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_conformity_dim_3_fe_rt_nodal.cc b/tests/fe/fe_conformity_dim_3_fe_rt_nodal.cc index 4df987b7eb..367115a6c7 100644 --- a/tests/fe/fe_conformity_dim_3_fe_rt_nodal.cc +++ b/tests/fe/fe_conformity_dim_3_fe_rt_nodal.cc @@ -62,7 +62,7 @@ main(int, char **) } } // ++fe_degree } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_01.cc b/tests/fe/fe_enriched_01.cc index f6b3d651f8..10e109844d 100644 --- a/tests/fe/fe_enriched_01.cc +++ b/tests/fe/fe_enriched_01.cc @@ -96,7 +96,7 @@ main(int argc, char **argv) { test_base<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_02.cc b/tests/fe/fe_enriched_02.cc index 2960acbfc6..809f27c66c 100644 --- a/tests/fe/fe_enriched_02.cc +++ b/tests/fe/fe_enriched_02.cc @@ -134,7 +134,7 @@ main(int argc, char **argv) { test1<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_03.cc b/tests/fe/fe_enriched_03.cc index 3509689a8f..b6af63010d 100644 --- a/tests/fe/fe_enriched_03.cc +++ b/tests/fe/fe_enriched_03.cc @@ -127,7 +127,7 @@ main(int argc, char **argv) { test2<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_04.cc b/tests/fe/fe_enriched_04.cc index 79af14b804..b56d3cc9d5 100644 --- a/tests/fe/fe_enriched_04.cc +++ b/tests/fe/fe_enriched_04.cc @@ -207,7 +207,7 @@ main(int argc, char **argv) plot_shape_function<3>(); #endif } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_05.cc b/tests/fe/fe_enriched_05.cc index e6d0d09878..3e72d567d3 100644 --- a/tests/fe/fe_enriched_05.cc +++ b/tests/fe/fe_enriched_05.cc @@ -155,7 +155,7 @@ main(int argc, char **argv) { test4<2>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_06.cc b/tests/fe/fe_enriched_06.cc index 5e488e90bb..151d886f3b 100644 --- a/tests/fe/fe_enriched_06.cc +++ b/tests/fe/fe_enriched_06.cc @@ -190,7 +190,7 @@ main(int argc, char **argv) { test5<2>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_07.cc b/tests/fe/fe_enriched_07.cc index d0a045083f..7c55b4eee1 100644 --- a/tests/fe/fe_enriched_07.cc +++ b/tests/fe/fe_enriched_07.cc @@ -206,7 +206,7 @@ main(int argc, char **argv) { test6<2>(false, 1, 2); // 1 vs 2+1 } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_08.cc b/tests/fe/fe_enriched_08.cc index 442522c1a1..928e32ed56 100644 --- a/tests/fe/fe_enriched_08.cc +++ b/tests/fe/fe_enriched_08.cc @@ -194,7 +194,7 @@ main(int argc, char **argv) { test2cells<2>(1, 2); // 1 vs 2+1 } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_08a.cc b/tests/fe/fe_enriched_08a.cc index 39e96ad706..d0873b21bb 100644 --- a/tests/fe/fe_enriched_08a.cc +++ b/tests/fe/fe_enriched_08a.cc @@ -107,7 +107,7 @@ main(int argc, char **argv) { test2cellsFESystem<2>(1, 2); // 1+0 vs 2+1 } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_color_01.cc b/tests/fe/fe_enriched_color_01.cc index b0a730d172..bddbdeee33 100644 --- a/tests/fe/fe_enriched_color_01.cc +++ b/tests/fe/fe_enriched_color_01.cc @@ -116,7 +116,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_compare_to_fe_system.cc b/tests/fe/fe_enriched_compare_to_fe_system.cc index 6f370a6da7..d05e5ff97a 100644 --- a/tests/fe/fe_enriched_compare_to_fe_system.cc +++ b/tests/fe/fe_enriched_compare_to_fe_system.cc @@ -309,7 +309,7 @@ main(int argc, char **argv) FE_Q(3), FE_Q(2), QGauss(2), QGauss(2), true); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_compare_to_fe_system_2.cc b/tests/fe/fe_enriched_compare_to_fe_system_2.cc index 4b8c123327..425c7700e4 100644 --- a/tests/fe/fe_enriched_compare_to_fe_system_2.cc +++ b/tests/fe/fe_enriched_compare_to_fe_system_2.cc @@ -414,7 +414,7 @@ main(int argc, char **argv) true); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_step-36.cc b/tests/fe/fe_enriched_step-36.cc index 914116c7a9..189221484c 100644 --- a/tests/fe/fe_enriched_step-36.cc +++ b/tests/fe/fe_enriched_step-36.cc @@ -652,7 +652,7 @@ main(int argc, char **argv) step36.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_enriched_step-36b.cc b/tests/fe/fe_enriched_step-36b.cc index 7e415fcbe1..dcd77b4fdf 100644 --- a/tests/fe/fe_enriched_step-36b.cc +++ b/tests/fe/fe_enriched_step-36b.cc @@ -919,7 +919,7 @@ main(int argc, char **argv) step36.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/fe/fe_nothing.cc b/tests/fe/fe_nothing.cc index 189ea5c7ad..c6e91bfa5f 100644 --- a/tests/fe/fe_nothing.cc +++ b/tests/fe/fe_nothing.cc @@ -94,7 +94,7 @@ main(int argc, char **argv) test2cells<2>(); test2cells<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/feinterface/step-12.cc b/tests/feinterface/step-12.cc index 34027bde37..e2a317ebf2 100644 --- a/tests/feinterface/step-12.cc +++ b/tests/feinterface/step-12.cc @@ -512,7 +512,7 @@ main() Step12::AdvectionProblem<2> dgmethod; dgmethod.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/feinterface/stokes.cc b/tests/feinterface/stokes.cc index 269e93844f..883c28e279 100644 --- a/tests/feinterface/stokes.cc +++ b/tests/feinterface/stokes.cc @@ -888,7 +888,7 @@ main() flow_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/full_matrix/full_matrix_iterator_01.cc b/tests/full_matrix/full_matrix_iterator_01.cc index 25d8ccd436..f9fd3ad179 100644 --- a/tests/full_matrix/full_matrix_iterator_01.cc +++ b/tests/full_matrix/full_matrix_iterator_01.cc @@ -68,7 +68,7 @@ main() test::const_iterator>(); deallog << "OK" << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/full_matrix/full_matrix_vector_01.cc b/tests/full_matrix/full_matrix_vector_01.cc index e790d79281..e2c8f24d08 100644 --- a/tests/full_matrix/full_matrix_vector_01.cc +++ b/tests/full_matrix/full_matrix_vector_01.cc @@ -68,7 +68,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/full_matrix/full_matrix_vector_02.cc b/tests/full_matrix/full_matrix_vector_02.cc index a45884528a..419bd2c5f4 100644 --- a/tests/full_matrix/full_matrix_vector_02.cc +++ b/tests/full_matrix/full_matrix_vector_02.cc @@ -69,7 +69,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/full_matrix/full_matrix_vector_05.cc b/tests/full_matrix/full_matrix_vector_05.cc index 804beccbba..d4d9d0aaca 100644 --- a/tests/full_matrix/full_matrix_vector_05.cc +++ b/tests/full_matrix/full_matrix_vector_05.cc @@ -75,7 +75,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/full_matrix/full_matrix_vector_06.cc b/tests/full_matrix/full_matrix_vector_06.cc index 6dc3449324..57cdff120a 100644 --- a/tests/full_matrix/full_matrix_vector_06.cc +++ b/tests/full_matrix/full_matrix_vector_06.cc @@ -67,7 +67,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/full_matrix/full_matrix_vector_07.cc b/tests/full_matrix/full_matrix_vector_07.cc index 529a9c731f..ad3f90d3f6 100644 --- a/tests/full_matrix/full_matrix_vector_07.cc +++ b/tests/full_matrix/full_matrix_vector_07.cc @@ -77,7 +77,7 @@ main() Vector x(100); test(v, w, x); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_generator_open_torus.cc b/tests/grid/grid_generator_open_torus.cc index c5cfff2e31..bd9553de8c 100644 --- a/tests/grid/grid_generator_open_torus.cc +++ b/tests/grid/grid_generator_open_torus.cc @@ -76,7 +76,7 @@ main(int argc, char **argv) test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/grid/grid_in_3d.cc b/tests/grid/grid_in_3d.cc index da0d533081..6a324a4969 100644 --- a/tests/grid/grid_in_3d.cc +++ b/tests/grid/grid_in_3d.cc @@ -46,7 +46,7 @@ test(const char *filename) { gi.read_xda(in); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << " caught exception:" << std::endl << exc.what() << std::endl; return; diff --git a/tests/grid/grid_in_3d_02.cc b/tests/grid/grid_in_3d_02.cc index a3a2d760a0..ff794742d2 100644 --- a/tests/grid/grid_in_3d_02.cc +++ b/tests/grid/grid_in_3d_02.cc @@ -49,7 +49,7 @@ test(const char *filename) { gi.read_ucd(in); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << " caught exception:" << std::endl << exc.what() << std::endl; return; diff --git a/tests/grid/grid_in_abaqus_01.cc b/tests/grid/grid_in_abaqus_01.cc index f65d621315..b0faf9b296 100644 --- a/tests/grid/grid_in_abaqus_01.cc +++ b/tests/grid/grid_in_abaqus_01.cc @@ -85,7 +85,7 @@ main() deallog << "3d_test_abaqus.inp" << std::endl; abaqus_grid<3>(SOURCE_DIR "/grids/abaqus/3d/3d_test_abaqus.inp"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_in_abaqus_02.cc b/tests/grid/grid_in_abaqus_02.cc index 068f254a45..59666f593f 100644 --- a/tests/grid/grid_in_abaqus_02.cc +++ b/tests/grid/grid_in_abaqus_02.cc @@ -86,7 +86,7 @@ main() false, "codim_1-jagged_surface"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_in_comsol_mphtxt_01.cc b/tests/grid/grid_in_comsol_mphtxt_01.cc index 940950ca7c..0b34f15d08 100644 --- a/tests/grid/grid_in_comsol_mphtxt_01.cc +++ b/tests/grid/grid_in_comsol_mphtxt_01.cc @@ -119,7 +119,7 @@ main() { comsol_grid<3>(SOURCE_DIR "/grids/comsol/mesh_1.mphtxt"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_in_comsol_mphtxt_02.cc b/tests/grid/grid_in_comsol_mphtxt_02.cc index a21c627567..aeed396efb 100644 --- a/tests/grid/grid_in_comsol_mphtxt_02.cc +++ b/tests/grid/grid_in_comsol_mphtxt_02.cc @@ -86,7 +86,7 @@ main() "/grids/comsol/mesh_example_without_domain_geom_info.mphtxt"); comsol_grid<3>(SOURCE_DIR "/grids/comsol/busbar_with_selections.mphtxt"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_in_comsol_mphtxt_04.cc b/tests/grid/grid_in_comsol_mphtxt_04.cc index c10047bbf1..9f16a304bc 100644 --- a/tests/grid/grid_in_comsol_mphtxt_04.cc +++ b/tests/grid/grid_in_comsol_mphtxt_04.cc @@ -371,7 +371,7 @@ main() { comsol_grid<2, 2>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_in_gmsh_01.cc b/tests/grid/grid_in_gmsh_01.cc index 19889e6046..9b8d7d3809 100644 --- a/tests/grid/grid_in_gmsh_01.cc +++ b/tests/grid/grid_in_gmsh_01.cc @@ -63,7 +63,7 @@ main() gmsh_grid<3>(SOURCE_DIR "/grids/grid_in_msh_01.3da.msh"); gmsh_grid<3>(SOURCE_DIR "/grids/grid_in_msh_01.3d_neg.msh"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_in_gmsh_01_v4.cc b/tests/grid/grid_in_gmsh_01_v4.cc index c4f7d1889c..c23594d8dd 100644 --- a/tests/grid/grid_in_gmsh_01_v4.cc +++ b/tests/grid/grid_in_gmsh_01_v4.cc @@ -106,7 +106,7 @@ main() gmsh_grid<3>(SOURCE_DIR "/grids/grid_in_msh_01.3d_neg.msh", SOURCE_DIR "/grids/grid_in_msh_01.3d_neg.v4.msh"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_in_gmsh_01_v41.cc b/tests/grid/grid_in_gmsh_01_v41.cc index 354fe11073..3637be786f 100644 --- a/tests/grid/grid_in_gmsh_01_v41.cc +++ b/tests/grid/grid_in_gmsh_01_v41.cc @@ -107,7 +107,7 @@ main() gmsh_grid<3>(SOURCE_DIR "/grids/grid_in_msh_01.3d_neg.msh", SOURCE_DIR "/grids/grid_in_msh_01.3d_neg.v41.msh"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/grid/grid_tools_aspect_ratio.cc b/tests/grid/grid_tools_aspect_ratio.cc index 1277d91dbb..996ad81905 100644 --- a/tests/grid/grid_tools_aspect_ratio.cc +++ b/tests/grid/grid_tools_aspect_ratio.cc @@ -203,7 +203,7 @@ main(int argc, char **argv) deallog << "aspect ratio max = " << ar << std::endl << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/grid/mesh_smoothing_02.cc b/tests/grid/mesh_smoothing_02.cc index 99b5e58d46..df926e1b4a 100644 --- a/tests/grid/mesh_smoothing_02.cc +++ b/tests/grid/mesh_smoothing_02.cc @@ -135,7 +135,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/grid/mesh_smoothing_03.cc b/tests/grid/mesh_smoothing_03.cc index bb870c5c0b..3d0b14851e 100644 --- a/tests/grid/mesh_smoothing_03.cc +++ b/tests/grid/mesh_smoothing_03.cc @@ -114,7 +114,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/grid/number_cache_02.cc b/tests/grid/number_cache_02.cc index 8fce78e76a..2b14b8e2ca 100644 --- a/tests/grid/number_cache_02.cc +++ b/tests/grid/number_cache_02.cc @@ -91,7 +91,7 @@ test(const char *filename) deallog << dcv.distorted_cells.size() << " cells are distorted." << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << " caught exception:" << std::endl << exc.what() << std::endl; return; diff --git a/tests/hp/crash_17.cc b/tests/hp/crash_17.cc index 024fdfc7c9..29376226d3 100644 --- a/tests/hp/crash_17.cc +++ b/tests/hp/crash_17.cc @@ -680,7 +680,7 @@ main() LaplaceProblem<3> laplace_problem_2d; laplace_problem_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/crash_18.cc b/tests/hp/crash_18.cc index f6ef48d67e..caee3829d9 100644 --- a/tests/hp/crash_18.cc +++ b/tests/hp/crash_18.cc @@ -687,7 +687,7 @@ main() LaplaceProblem<3> laplace_problem_2d; laplace_problem_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/crash_19.cc b/tests/hp/crash_19.cc index 41ceecdda8..7c3b33e1a8 100644 --- a/tests/hp/crash_19.cc +++ b/tests/hp/crash_19.cc @@ -123,7 +123,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/hp_constraints_neither_dominate_01.cc b/tests/hp/hp_constraints_neither_dominate_01.cc index 9196285288..7a0741d6ad 100644 --- a/tests/hp/hp_constraints_neither_dominate_01.cc +++ b/tests/hp/hp_constraints_neither_dominate_01.cc @@ -233,7 +233,7 @@ main(int argc, char **argv) test2cells<3>( 2, 1); // Q(2) x FE_Nothing vs Q(1) x Q(1) => common Q(1) x FE_Nothing } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/hp_constraints_neither_dominate_02.cc b/tests/hp/hp_constraints_neither_dominate_02.cc index bf8788225b..bec5aa61cb 100644 --- a/tests/hp/hp_constraints_neither_dominate_02.cc +++ b/tests/hp/hp_constraints_neither_dominate_02.cc @@ -362,7 +362,7 @@ main(int argc, char **argv) FESystem(FE_Q(1), 1, FE_Q(1), 1, FE_Q(1), 1)); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/step-11.cc b/tests/hp/step-11.cc index aac059729d..0c05abe55d 100644 --- a/tests/hp/step-11.cc +++ b/tests/hp/step-11.cc @@ -236,7 +236,7 @@ main() ++mapping_degree) LaplaceProblem<2>(mapping_degree).run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/step-12.cc b/tests/hp/step-12.cc index 9a9167f6d3..fb9d492098 100644 --- a/tests/hp/step-12.cc +++ b/tests/hp/step-12.cc @@ -965,7 +965,7 @@ main() DGMethod<2> dgmethod; dgmethod.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/step-13.cc b/tests/hp/step-13.cc index b2e0d77da3..28ee0daa7f 100644 --- a/tests/hp/step-13.cc +++ b/tests/hp/step-13.cc @@ -814,7 +814,7 @@ main() solve_problem<2>("global"); solve_problem<2>("kelly"); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/step-27.cc b/tests/hp/step-27.cc index 8dc1f2d723..c925cd8016 100644 --- a/tests/hp/step-27.cc +++ b/tests/hp/step-27.cc @@ -438,7 +438,7 @@ main() LaplaceProblem<2> laplace_problem; laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/step-7.cc b/tests/hp/step-7.cc index 617709c956..f507a4e244 100644 --- a/tests/hp/step-7.cc +++ b/tests/hp/step-7.cc @@ -711,7 +711,7 @@ main() deallog << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/hp/step-8.cc b/tests/hp/step-8.cc index 84283a9607..bb8ce1eccd 100644 --- a/tests/hp/step-8.cc +++ b/tests/hp/step-8.cc @@ -435,7 +435,7 @@ main() ElasticProblem<2> elastic_problem_2d; elastic_problem_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/block_matrices_01.cc b/tests/lac/block_matrices_01.cc index bcd5061ec6..7f78a24bbe 100644 --- a/tests/lac/block_matrices_01.cc +++ b/tests/lac/block_matrices_01.cc @@ -208,7 +208,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/block_matrices_02.cc b/tests/lac/block_matrices_02.cc index d97b969af3..97c3fa28d8 100644 --- a/tests/lac/block_matrices_02.cc +++ b/tests/lac/block_matrices_02.cc @@ -98,7 +98,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/block_matrices_03.cc b/tests/lac/block_matrices_03.cc index d9b3f07c82..01928af4b0 100644 --- a/tests/lac/block_matrices_03.cc +++ b/tests/lac/block_matrices_03.cc @@ -101,7 +101,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/block_vector.cc b/tests/lac/block_vector.cc index 5527d7456b..3e237d1db6 100644 --- a/tests/lac/block_vector.cc +++ b/tests/lac/block_vector.cc @@ -154,7 +154,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/block_vector_copy.cc b/tests/lac/block_vector_copy.cc index f101e5dff6..b1e8e6c6c4 100644 --- a/tests/lac/block_vector_copy.cc +++ b/tests/lac/block_vector_copy.cc @@ -82,7 +82,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/block_vector_iterator.cc b/tests/lac/block_vector_iterator.cc index 6b05d06f64..58e151791f 100644 --- a/tests/lac/block_vector_iterator.cc +++ b/tests/lac/block_vector_iterator.cc @@ -333,7 +333,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << std::endl << std::endl diff --git a/tests/lac/block_vector_vector_assign.cc b/tests/lac/block_vector_vector_assign.cc index f2e9da6034..e27174fe8f 100644 --- a/tests/lac/block_vector_vector_assign.cc +++ b/tests/lac/block_vector_vector_assign.cc @@ -76,7 +76,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << std::endl << std::endl diff --git a/tests/lac/complex_block_vector.cc b/tests/lac/complex_block_vector.cc index 592f79c9fc..baa239397b 100644 --- a/tests/lac/complex_block_vector.cc +++ b/tests/lac/complex_block_vector.cc @@ -194,7 +194,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/complex_block_vector_iterator.cc b/tests/lac/complex_block_vector_iterator.cc index c5f3b29bae..df2d35552e 100644 --- a/tests/lac/complex_block_vector_iterator.cc +++ b/tests/lac/complex_block_vector_iterator.cc @@ -336,7 +336,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << std::endl << std::endl diff --git a/tests/lac/complex_block_vector_vector_assign.cc b/tests/lac/complex_block_vector_vector_assign.cc index 2cf1d5826d..edd49d11dc 100644 --- a/tests/lac/complex_block_vector_vector_assign.cc +++ b/tests/lac/complex_block_vector_vector_assign.cc @@ -76,7 +76,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << std::endl << std::endl diff --git a/tests/lac/is_block_matrix.cc b/tests/lac/is_block_matrix.cc index 0b1cd28a14..c654fd0a3b 100644 --- a/tests/lac/is_block_matrix.cc +++ b/tests/lac/is_block_matrix.cc @@ -69,7 +69,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/is_block_vector.cc b/tests/lac/is_block_vector.cc index fdbf45c1d7..795a40048b 100644 --- a/tests/lac/is_block_vector.cc +++ b/tests/lac/is_block_vector.cc @@ -47,7 +47,7 @@ main() { test(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/lac/linear_operator_11.cc b/tests/lac/linear_operator_11.cc index 9c30872b68..405c2142ac 100644 --- a/tests/lac/linear_operator_11.cc +++ b/tests/lac/linear_operator_11.cc @@ -295,7 +295,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/lac/linear_operator_12.cc b/tests/lac/linear_operator_12.cc index 0b36942fad..44985907ed 100644 --- a/tests/lac/linear_operator_12.cc +++ b/tests/lac/linear_operator_12.cc @@ -366,7 +366,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/lac/linear_operator_12a.cc b/tests/lac/linear_operator_12a.cc index ea5a3b0481..0fe70ed77f 100644 --- a/tests/lac/linear_operator_12a.cc +++ b/tests/lac/linear_operator_12a.cc @@ -367,7 +367,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/lac/solver.cc b/tests/lac/solver.cc index bc8cdde563..b206453048 100644 --- a/tests/lac/solver.cc +++ b/tests/lac/solver.cc @@ -255,7 +255,7 @@ main() deallog.pop(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/solver_control_01.cc b/tests/lac/solver_control_01.cc index fe7547113c..6e3246d94b 100644 --- a/tests/lac/solver_control_01.cc +++ b/tests/lac/solver_control_01.cc @@ -54,7 +54,7 @@ check_solve(SolverControl & solver_control, deallog << "Success. "; success = true; } - catch (std::exception &e) + catch (const std::exception &e) { deallog << "Failure. "; } diff --git a/tests/lac/solver_control_02.cc b/tests/lac/solver_control_02.cc index 32b27c2eab..d056cb5ad0 100644 --- a/tests/lac/solver_control_02.cc +++ b/tests/lac/solver_control_02.cc @@ -54,7 +54,7 @@ check_solve(SolverControl & solver_control, deallog << "Success. "; success = true; } - catch (std::exception &e) + catch (const std::exception &e) { deallog << "Failure. "; } diff --git a/tests/lac/solver_control_03.cc b/tests/lac/solver_control_03.cc index dbf0b7ad7f..188b9e2745 100644 --- a/tests/lac/solver_control_03.cc +++ b/tests/lac/solver_control_03.cc @@ -54,7 +54,7 @@ check_solve(SolverControl & solver_control, deallog << "Success. "; success = true; } - catch (std::exception &e) + catch (const std::exception &e) { deallog << "Failure. "; } diff --git a/tests/lac/solver_control_04.cc b/tests/lac/solver_control_04.cc index 6f286aa358..009d67051b 100644 --- a/tests/lac/solver_control_04.cc +++ b/tests/lac/solver_control_04.cc @@ -54,7 +54,7 @@ check_solve(SolverControl & solver_control, deallog << "Success. " << std::endl; success = true; } - catch (std::exception &e) + catch (const std::exception &e) { deallog << "Failure. " << std::endl; } diff --git a/tests/lac/solver_memorytest.cc b/tests/lac/solver_memorytest.cc index 41a1cff127..aa8e49c27b 100644 --- a/tests/lac/solver_memorytest.cc +++ b/tests/lac/solver_memorytest.cc @@ -56,7 +56,7 @@ check_solve(const MatrixType & A, { solver.solve(A, u, f, prec_no); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << e.what() << std::endl; } diff --git a/tests/lac/solver_monitor.cc b/tests/lac/solver_monitor.cc index d45c998c75..c3913665c9 100644 --- a/tests/lac/solver_monitor.cc +++ b/tests/lac/solver_monitor.cc @@ -139,7 +139,7 @@ main() check_solve(cg, A, u, f, prec_ssor); check_solve(gmres, A, u, f, prec_ssor); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/solver_monitor_disconnect.cc b/tests/lac/solver_monitor_disconnect.cc index bf5bdeb32d..6f57d2276d 100644 --- a/tests/lac/solver_monitor_disconnect.cc +++ b/tests/lac/solver_monitor_disconnect.cc @@ -133,7 +133,7 @@ main() { check_solve(cg, A, u, f, prec_ssor); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/solver_relaxation_01.cc b/tests/lac/solver_relaxation_01.cc index add4c72c5c..28e66827d4 100644 --- a/tests/lac/solver_relaxation_01.cc +++ b/tests/lac/solver_relaxation_01.cc @@ -117,7 +117,7 @@ main() r2 = check_solve(relax, A, u, f, prec_ssor2); deallog << "SSOR1.2 diff " << std::fabs(r1 - r2) / r1 << std::endl; } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/solver_relaxation_02.cc b/tests/lac/solver_relaxation_02.cc index 7a36e37a49..e5ec9fbc43 100644 --- a/tests/lac/solver_relaxation_02.cc +++ b/tests/lac/solver_relaxation_02.cc @@ -149,7 +149,7 @@ main() deallog << "diff " << std::fabs(r1 - r2) / r1 << std::endl; deallog.pop(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/solver_relaxation_03.cc b/tests/lac/solver_relaxation_03.cc index c50a5b26d5..af432d6a6f 100644 --- a/tests/lac/solver_relaxation_03.cc +++ b/tests/lac/solver_relaxation_03.cc @@ -204,7 +204,7 @@ main() deallog << "diff " << std::fabs(r1 - r2) / r1 << std::endl; deallog.pop(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/solver_relaxation_04.cc b/tests/lac/solver_relaxation_04.cc index 12abc26c18..c543cd501d 100644 --- a/tests/lac/solver_relaxation_04.cc +++ b/tests/lac/solver_relaxation_04.cc @@ -137,7 +137,7 @@ main() deallog << "diff " << std::fabs(r1 - r2) / r1 << std::endl; deallog.pop(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/solver_signals.cc b/tests/lac/solver_signals.cc index f5ae004e70..2dc2fe90cf 100644 --- a/tests/lac/solver_signals.cc +++ b/tests/lac/solver_signals.cc @@ -186,7 +186,7 @@ main() "Arnoldi vectors norms: ")); solver_gmres.solve(A, u, f, PreconditionIdentity()); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/lac/step-40-linear_operator_01.cc b/tests/lac/step-40-linear_operator_01.cc index ba0d590cd7..3c414b70f9 100644 --- a/tests/lac/step-40-linear_operator_01.cc +++ b/tests/lac/step-40-linear_operator_01.cc @@ -320,7 +320,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/step-40-linear_operator_02.cc b/tests/lac/step-40-linear_operator_02.cc index 1b924159da..057c219ea4 100644 --- a/tests/lac/step-40-linear_operator_02.cc +++ b/tests/lac/step-40-linear_operator_02.cc @@ -323,7 +323,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/step-40-linear_operator_03.cc b/tests/lac/step-40-linear_operator_03.cc index 9144770d1a..d4c2571ea2 100644 --- a/tests/lac/step-40-linear_operator_03.cc +++ b/tests/lac/step-40-linear_operator_03.cc @@ -324,7 +324,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/step-40-linear_operator_04.cc b/tests/lac/step-40-linear_operator_04.cc index 70156c9758..fd9a24110d 100644 --- a/tests/lac/step-40-linear_operator_04.cc +++ b/tests/lac/step-40-linear_operator_04.cc @@ -324,7 +324,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/step-40-linear_operator_05.cc b/tests/lac/step-40-linear_operator_05.cc index e5858dd24c..238623c87a 100644 --- a/tests/lac/step-40-linear_operator_05.cc +++ b/tests/lac/step-40-linear_operator_05.cc @@ -322,7 +322,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/step-40-linear_operator_06.cc b/tests/lac/step-40-linear_operator_06.cc index 0b47d597f9..93d8304798 100644 --- a/tests/lac/step-40-linear_operator_06.cc +++ b/tests/lac/step-40-linear_operator_06.cc @@ -322,7 +322,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/utilities_02.cc b/tests/lac/utilities_02.cc index 81d6671d9f..5035a6d205 100644 --- a/tests/lac/utilities_02.cc +++ b/tests/lac/utilities_02.cc @@ -285,7 +285,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/lac/vector_type_traits_is_serial_01.cc b/tests/lac/vector_type_traits_is_serial_01.cc index f472c89b1a..e620f34e55 100644 --- a/tests/lac/vector_type_traits_is_serial_01.cc +++ b/tests/lac/vector_type_traits_is_serial_01.cc @@ -134,7 +134,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/lac/vector_type_traits_is_serial_02.cc b/tests/lac/vector_type_traits_is_serial_02.cc index 9bbc24f578..5533610ad8 100644 --- a/tests/lac/vector_type_traits_is_serial_02.cc +++ b/tests/lac/vector_type_traits_is_serial_02.cc @@ -57,7 +57,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/lac/vector_type_traits_is_serial_03.cc b/tests/lac/vector_type_traits_is_serial_03.cc index e7676dbc09..8aa413d4d3 100644 --- a/tests/lac/vector_type_traits_is_serial_03.cc +++ b/tests/lac/vector_type_traits_is_serial_03.cc @@ -56,7 +56,7 @@ main() { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/lapack/full_matrix_14.cc b/tests/lapack/full_matrix_14.cc index 407c1b5b87..27f3b7c77f 100644 --- a/tests/lapack/full_matrix_14.cc +++ b/tests/lapack/full_matrix_14.cc @@ -41,7 +41,7 @@ test(const bool is_singular) { A.compute_lu_factorization(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << "matrix is singular" << std::endl; // Some implementations of LAPACK do not detect that the vector we pass diff --git a/tests/lapack/solver_cg.cc b/tests/lapack/solver_cg.cc index ce445e24b0..4fd77a9d51 100644 --- a/tests/lapack/solver_cg.cc +++ b/tests/lapack/solver_cg.cc @@ -165,7 +165,7 @@ main() check_solve(cg, A, u, f, prec_ssor); deallog.pop(); } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << "Exception: " << e.what() << std::endl; } diff --git a/tests/matrix_free/stokes_computation.cc b/tests/matrix_free/stokes_computation.cc index 58a4c813df..8ca1d28423 100644 --- a/tests/matrix_free/stokes_computation.cc +++ b/tests/matrix_free/stokes_computation.cc @@ -1467,7 +1467,7 @@ main(int argc, char *argv[]) deallog.pop(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/meshworker/step-50-mesh_loop.cc b/tests/meshworker/step-50-mesh_loop.cc index 75f302045b..214544a06c 100644 --- a/tests/meshworker/step-50-mesh_loop.cc +++ b/tests/meshworker/step-50-mesh_loop.cc @@ -556,7 +556,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/metis/metis_01.cc b/tests/metis/metis_01.cc index 3acaec7419..54023a66f1 100644 --- a/tests/metis/metis_01.cc +++ b/tests/metis/metis_01.cc @@ -69,7 +69,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/metis/metis_01a.cc b/tests/metis/metis_01a.cc index 0d6fd2563b..14ab51c1cc 100644 --- a/tests/metis/metis_01a.cc +++ b/tests/metis/metis_01a.cc @@ -150,7 +150,7 @@ main() { test<1>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/metis/metis_02.cc b/tests/metis/metis_02.cc index 4ae7b50508..c9550d8dfe 100644 --- a/tests/metis/metis_02.cc +++ b/tests/metis/metis_02.cc @@ -100,7 +100,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/metis/metis_03.cc b/tests/metis/metis_03.cc index 75261b9673..ce3e6a87fc 100644 --- a/tests/metis/metis_03.cc +++ b/tests/metis/metis_03.cc @@ -96,7 +96,7 @@ main() test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/metis/metis_05.cc b/tests/metis/metis_05.cc index a5239f9ef1..8465dfd269 100644 --- a/tests/metis/metis_05.cc +++ b/tests/metis/metis_05.cc @@ -137,7 +137,7 @@ main() test<2>(true); test<3>(true); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/mpi/data_out_faces_01.cc b/tests/mpi/data_out_faces_01.cc index cfff728709..c8239076f0 100644 --- a/tests/mpi/data_out_faces_01.cc +++ b/tests/mpi/data_out_faces_01.cc @@ -189,7 +189,7 @@ main(int argc, char *argv[]) return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/mpi/data_out_hdf5_01.cc b/tests/mpi/data_out_hdf5_01.cc index 72bf59a855..1dd4bb881d 100644 --- a/tests/mpi/data_out_hdf5_01.cc +++ b/tests/mpi/data_out_hdf5_01.cc @@ -88,7 +88,7 @@ main(int argc, char *argv[]) return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/mpi/data_out_hdf5_02.cc b/tests/mpi/data_out_hdf5_02.cc index 5e518c6faf..61def44c80 100644 --- a/tests/mpi/data_out_hdf5_02.cc +++ b/tests/mpi/data_out_hdf5_02.cc @@ -132,7 +132,7 @@ main(int argc, char *argv[]) return 0; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/mpi/flux_edge_01.cc b/tests/mpi/flux_edge_01.cc index 68de5c1665..0089d96029 100644 --- a/tests/mpi/flux_edge_01.cc +++ b/tests/mpi/flux_edge_01.cc @@ -220,7 +220,7 @@ main(int argc, char *argv[]) InteriorPenaltyProblem<2> test1(fe1); test1.run(20); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/hp_step-40.cc b/tests/mpi/hp_step-40.cc index 32bdeb1558..9841d385b7 100644 --- a/tests/mpi/hp_step-40.cc +++ b/tests/mpi/hp_step-40.cc @@ -370,7 +370,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/hp_step-40_variable_01.cc b/tests/mpi/hp_step-40_variable_01.cc index f22db6db55..d6fc24085a 100644 --- a/tests/mpi/hp_step-40_variable_01.cc +++ b/tests/mpi/hp_step-40_variable_01.cc @@ -373,7 +373,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/mg_ghost_dofs_periodic_01.cc b/tests/mpi/mg_ghost_dofs_periodic_01.cc index efe797c5b6..33eb4867e7 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_01.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_01.cc @@ -114,7 +114,7 @@ main(int argc, char *argv[]) test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/mg_ghost_dofs_periodic_02.cc b/tests/mpi/mg_ghost_dofs_periodic_02.cc index 3c2cc16144..6dbc70117c 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_02.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_02.cc @@ -94,7 +94,7 @@ main(int argc, char *argv[]) { test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/mg_ghost_dofs_periodic_03.cc b/tests/mpi/mg_ghost_dofs_periodic_03.cc index 4dca1034ee..54bf6acea9 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_03.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_03.cc @@ -108,7 +108,7 @@ main(int argc, char *argv[]) { test<2>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/mg_ghost_dofs_periodic_04.cc b/tests/mpi/mg_ghost_dofs_periodic_04.cc index 3cb75fe4ce..453f4b6d6c 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_04.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_04.cc @@ -122,7 +122,7 @@ main(int argc, char *argv[]) test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/mg_ghost_layer_periodic.cc b/tests/mpi/mg_ghost_layer_periodic.cc index 05a5ce0bed..4428984918 100644 --- a/tests/mpi/mg_ghost_layer_periodic.cc +++ b/tests/mpi/mg_ghost_layer_periodic.cc @@ -95,7 +95,7 @@ main(int argc, char *argv[]) test<2>(); test<3>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/muelu_periodicity.cc b/tests/mpi/muelu_periodicity.cc index b04708f531..7a6b65d088 100644 --- a/tests/mpi/muelu_periodicity.cc +++ b/tests/mpi/muelu_periodicity.cc @@ -814,7 +814,7 @@ main(int argc, char *argv[]) flow_problem.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/multigrid_adaptive.cc b/tests/mpi/multigrid_adaptive.cc index bd8291efe4..77b97e38fe 100644 --- a/tests/mpi/multigrid_adaptive.cc +++ b/tests/mpi/multigrid_adaptive.cc @@ -571,7 +571,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/multigrid_uniform.cc b/tests/mpi/multigrid_uniform.cc index d21333d30f..0496505829 100644 --- a/tests/mpi/multigrid_uniform.cc +++ b/tests/mpi/multigrid_uniform.cc @@ -552,7 +552,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/periodic_neighbor_01.cc b/tests/mpi/periodic_neighbor_01.cc index 84849bb74e..1d47fec5f3 100644 --- a/tests/mpi/periodic_neighbor_01.cc +++ b/tests/mpi/periodic_neighbor_01.cc @@ -373,7 +373,7 @@ main(int argc, char *argv[]) // test_3D.write_grid(); test_3D.check_periodicity(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/periodicity_01.cc b/tests/mpi/periodicity_01.cc index a79effaa83..30f90c3be8 100644 --- a/tests/mpi/periodicity_01.cc +++ b/tests/mpi/periodicity_01.cc @@ -598,7 +598,7 @@ main(int argc, char *argv[]) } } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/periodicity_02.cc b/tests/mpi/periodicity_02.cc index 04eb58e419..370d8c0a95 100644 --- a/tests/mpi/periodicity_02.cc +++ b/tests/mpi/periodicity_02.cc @@ -835,7 +835,7 @@ main(int argc, char *argv[]) flow_problem.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/periodicity_03.cc b/tests/mpi/periodicity_03.cc index 7b7b75ef79..314132dfec 100644 --- a/tests/mpi/periodicity_03.cc +++ b/tests/mpi/periodicity_03.cc @@ -896,7 +896,7 @@ main(int argc, char *argv[]) flow_problem.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/periodicity_04.cc b/tests/mpi/periodicity_04.cc index 2b09265665..5425106a94 100644 --- a/tests/mpi/periodicity_04.cc +++ b/tests/mpi/periodicity_04.cc @@ -342,7 +342,7 @@ main(int argc, char *argv[]) } } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/petsc_step-27.cc b/tests/mpi/petsc_step-27.cc index 987f96dcd9..e92b98983e 100644 --- a/tests/mpi/petsc_step-27.cc +++ b/tests/mpi/petsc_step-27.cc @@ -483,7 +483,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem; laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/project_bv_div_conf.cc b/tests/mpi/project_bv_div_conf.cc index 3f978665d2..1fb9715582 100644 --- a/tests/mpi/project_bv_div_conf.cc +++ b/tests/mpi/project_bv_div_conf.cc @@ -251,7 +251,7 @@ main(int argc, char *argv[]) ResFlowProblem resflow(press_order); resflow.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/step-37.cc b/tests/mpi/step-37.cc index e1d1c4d663..5309203dd3 100644 --- a/tests/mpi/step-37.cc +++ b/tests/mpi/step-37.cc @@ -579,7 +579,7 @@ main(int argc, char *argv[]) LaplaceProblem laplace_problem; laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/step-39.cc b/tests/mpi/step-39.cc index 31aa6a820a..30f3a5ddb8 100644 --- a/tests/mpi/step-39.cc +++ b/tests/mpi/step-39.cc @@ -795,7 +795,7 @@ main(int argc, char *argv[]) InteriorPenaltyProblem<2> test1(fe1); test1.run(6); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/step-40.cc b/tests/mpi/step-40.cc index 723da7fa01..98d9823e09 100644 --- a/tests/mpi/step-40.cc +++ b/tests/mpi/step-40.cc @@ -355,7 +355,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/step-40_cuthill_mckee.cc b/tests/mpi/step-40_cuthill_mckee.cc index 7ff0aa02fc..81c7d807ad 100644 --- a/tests/mpi/step-40_cuthill_mckee.cc +++ b/tests/mpi/step-40_cuthill_mckee.cc @@ -417,7 +417,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/step-40_cuthill_mckee_MPI-subset.cc b/tests/mpi/step-40_cuthill_mckee_MPI-subset.cc index b34eaeecde..69ba4ced49 100644 --- a/tests/mpi/step-40_cuthill_mckee_MPI-subset.cc +++ b/tests/mpi/step-40_cuthill_mckee_MPI-subset.cc @@ -420,7 +420,7 @@ test_mpi(MPI_Comm comm) laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/step-40_direct_solver.cc b/tests/mpi/step-40_direct_solver.cc index e731775d19..ef8a176db1 100644 --- a/tests/mpi/step-40_direct_solver.cc +++ b/tests/mpi/step-40_direct_solver.cc @@ -333,7 +333,7 @@ test_mpi() laplace_problem_2d.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/mpi/trilinos_step-27.cc b/tests/mpi/trilinos_step-27.cc index 49abb2f0b1..778fc84972 100644 --- a/tests/mpi/trilinos_step-27.cc +++ b/tests/mpi/trilinos_step-27.cc @@ -481,7 +481,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem; laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/events_01.cc b/tests/multigrid/events_01.cc index 91a9d9ac65..45393acaaa 100644 --- a/tests/multigrid/events_01.cc +++ b/tests/multigrid/events_01.cc @@ -572,7 +572,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(3 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/mg_coarse_01.cc b/tests/multigrid/mg_coarse_01.cc index 5e2dc76854..434a488791 100644 --- a/tests/multigrid/mg_coarse_01.cc +++ b/tests/multigrid/mg_coarse_01.cc @@ -656,7 +656,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(3 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-02.cc b/tests/multigrid/step-16-02.cc index 7035cba0b4..1c261864d9 100644 --- a/tests/multigrid/step-16-02.cc +++ b/tests/multigrid/step-16-02.cc @@ -617,7 +617,7 @@ main() LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-03.cc b/tests/multigrid/step-16-03.cc index 8f8ac391b4..01218f0e63 100644 --- a/tests/multigrid/step-16-03.cc +++ b/tests/multigrid/step-16-03.cc @@ -491,7 +491,7 @@ main() LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-04.cc b/tests/multigrid/step-16-04.cc index 9a9eec0069..ea43792b31 100644 --- a/tests/multigrid/step-16-04.cc +++ b/tests/multigrid/step-16-04.cc @@ -518,7 +518,7 @@ main(int argc, char **argv) LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-05.cc b/tests/multigrid/step-16-05.cc index eadb8d1679..6a8ff7c741 100644 --- a/tests/multigrid/step-16-05.cc +++ b/tests/multigrid/step-16-05.cc @@ -496,7 +496,7 @@ main(int argc, char **argv) LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-06.cc b/tests/multigrid/step-16-06.cc index 360a662960..e01a7794b6 100644 --- a/tests/multigrid/step-16-06.cc +++ b/tests/multigrid/step-16-06.cc @@ -496,7 +496,7 @@ main(int argc, char **argv) LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-07.cc b/tests/multigrid/step-16-07.cc index 0b89f35698..a88ef577ff 100644 --- a/tests/multigrid/step-16-07.cc +++ b/tests/multigrid/step-16-07.cc @@ -611,7 +611,7 @@ main() LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-08.cc b/tests/multigrid/step-16-08.cc index 379a0b26aa..d444a66432 100644 --- a/tests/multigrid/step-16-08.cc +++ b/tests/multigrid/step-16-08.cc @@ -619,7 +619,7 @@ main() LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-50-mpi-linear-operator.cc b/tests/multigrid/step-16-50-mpi-linear-operator.cc index ea174094e5..c6f216d17f 100644 --- a/tests/multigrid/step-16-50-mpi-linear-operator.cc +++ b/tests/multigrid/step-16-50-mpi-linear-operator.cc @@ -578,7 +578,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-50-mpi-smoother.cc b/tests/multigrid/step-16-50-mpi-smoother.cc index 58a1b62a3f..45ee33fa7b 100644 --- a/tests/multigrid/step-16-50-mpi-smoother.cc +++ b/tests/multigrid/step-16-50-mpi-smoother.cc @@ -563,7 +563,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-50-mpi.cc b/tests/multigrid/step-16-50-mpi.cc index dd7ee66ca1..e115437a2e 100644 --- a/tests/multigrid/step-16-50-mpi.cc +++ b/tests/multigrid/step-16-50-mpi.cc @@ -564,7 +564,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-50-serial.cc b/tests/multigrid/step-16-50-serial.cc index 6d89e1fc5a..8210080984 100644 --- a/tests/multigrid/step-16-50-serial.cc +++ b/tests/multigrid/step-16-50-serial.cc @@ -475,7 +475,7 @@ main() LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16-bdry1.cc b/tests/multigrid/step-16-bdry1.cc index d8681b30b1..bf5c8e9938 100644 --- a/tests/multigrid/step-16-bdry1.cc +++ b/tests/multigrid/step-16-bdry1.cc @@ -640,7 +640,7 @@ main() LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-16.cc b/tests/multigrid/step-16.cc index 6dfb9f37f0..543cc22dcd 100644 --- a/tests/multigrid/step-16.cc +++ b/tests/multigrid/step-16.cc @@ -612,7 +612,7 @@ main() LaplaceProblem<2> laplace_problem(1); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-39-02.cc b/tests/multigrid/step-39-02.cc index 493da72316..2679e83ded 100644 --- a/tests/multigrid/step-39-02.cc +++ b/tests/multigrid/step-39-02.cc @@ -805,7 +805,7 @@ main() InteriorPenaltyProblem<2> test1(fe1); test1.run(6); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-39-02a.cc b/tests/multigrid/step-39-02a.cc index d420214a95..4f650b1a64 100644 --- a/tests/multigrid/step-39-02a.cc +++ b/tests/multigrid/step-39-02a.cc @@ -812,7 +812,7 @@ main() InteriorPenaltyProblem<2> test1(fe1); test1.run(6); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-39-03.cc b/tests/multigrid/step-39-03.cc index 825e93104f..6f242fc345 100644 --- a/tests/multigrid/step-39-03.cc +++ b/tests/multigrid/step-39-03.cc @@ -813,7 +813,7 @@ main() InteriorPenaltyProblem<2> test1(fe1); test1.run(6); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-39.cc b/tests/multigrid/step-39.cc index da2ebc8908..e9ae4679e9 100644 --- a/tests/multigrid/step-39.cc +++ b/tests/multigrid/step-39.cc @@ -793,7 +793,7 @@ main() InteriorPenaltyProblem<2> test1(fe1); test1.run(6); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-50_01.cc b/tests/multigrid/step-50_01.cc index 831f4dcc67..101d9466a9 100644 --- a/tests/multigrid/step-50_01.cc +++ b/tests/multigrid/step-50_01.cc @@ -614,7 +614,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/multigrid/step-50_02.cc b/tests/multigrid/step-50_02.cc index c70c72376b..712b5dfdc8 100644 --- a/tests/multigrid/step-50_02.cc +++ b/tests/multigrid/step-50_02.cc @@ -570,7 +570,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem(1 /*degree*/); laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/non_matching/step-70.cc b/tests/non_matching/step-70.cc index 6b84983b35..376b22874d 100644 --- a/tests/non_matching/step-70.cc +++ b/tests/non_matching/step-70.cc @@ -1930,7 +1930,7 @@ main(int argc, char *argv[]) StokesImmersedProblem<2> problem(par); problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/numerics/no_flux_18.cc b/tests/numerics/no_flux_18.cc index 7d42a17830..7d06cc8c01 100644 --- a/tests/numerics/no_flux_18.cc +++ b/tests/numerics/no_flux_18.cc @@ -1490,7 +1490,7 @@ main(int argc, char *argv[]) deallog.pop(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/numerics/subtract_mean_value_01.cc b/tests/numerics/subtract_mean_value_01.cc index 1a60fa38ac..ac92f0c703 100644 --- a/tests/numerics/subtract_mean_value_01.cc +++ b/tests/numerics/subtract_mean_value_01.cc @@ -86,7 +86,7 @@ main() test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/numerics/subtract_mean_value_02.cc b/tests/numerics/subtract_mean_value_02.cc index ab8a77f03f..27e3b3147d 100644 --- a/tests/numerics/subtract_mean_value_02.cc +++ b/tests/numerics/subtract_mean_value_02.cc @@ -90,7 +90,7 @@ main(int argc, char *argv[]) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/optimization/step-44-with_line_search.cc b/tests/optimization/step-44-with_line_search.cc index 2f9836be53..da5077ea1a 100644 --- a/tests/optimization/step-44-with_line_search.cc +++ b/tests/optimization/step-44-with_line_search.cc @@ -38,7 +38,7 @@ main(int argc, char **argv) "/prm/parameters-step-44-with_linesearch.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/optimization/step-44-with_line_search_ptrb.cc b/tests/optimization/step-44-with_line_search_ptrb.cc index 631284111c..3cdb80e87d 100644 --- a/tests/optimization/step-44-with_line_search_ptrb.cc +++ b/tests/optimization/step-44-with_line_search_ptrb.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) "/prm/parameters-step-44-with_linesearch_ptrb.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/optimization/step-44-without_line_search.cc b/tests/optimization/step-44-without_line_search.cc index e91d9041b0..ac428219fc 100644 --- a/tests/optimization/step-44-without_line_search.cc +++ b/tests/optimization/step-44-without_line_search.cc @@ -37,7 +37,7 @@ main(int argc, char **argv) "/prm/parameters-step-44-without_linesearch.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_19.cc b/tests/parameter_handler/parameter_handler_19.cc index 1682496321..94b35a6363 100644 --- a/tests/parameter_handler/parameter_handler_19.cc +++ b/tests/parameter_handler/parameter_handler_19.cc @@ -41,7 +41,7 @@ check() { prm.leave_subsection(); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << "Exception " << e.what() << std::endl; } @@ -68,7 +68,7 @@ check() prm.leave_subsection(); deallog << "error, why could we leave a subsection?" << std::endl; } - catch (std::exception &e) + catch (const std::exception &e) { deallog << "Exception " << e.what() << std::endl; } diff --git a/tests/parameter_handler/parameter_handler_23.cc b/tests/parameter_handler/parameter_handler_23.cc index abbd973637..6929ca0d1d 100644 --- a/tests/parameter_handler/parameter_handler_23.cc +++ b/tests/parameter_handler/parameter_handler_23.cc @@ -217,7 +217,7 @@ test_getting_types() { prm.get_integer({"foo", "bar"}, "baz"); } - catch (StandardExceptions::ExcMessage &e) + catch (const StandardExceptions::ExcMessage &e) { log_exception(e); } @@ -226,7 +226,7 @@ test_getting_types() { prm.get_integer({"foo", "bar"}, "yox"); } - catch (StandardExceptions::ExcMessage &e) + catch (const StandardExceptions::ExcMessage &e) { log_exception(e); } @@ -235,7 +235,7 @@ test_getting_types() { prm.get_double({"foo", "bar"}, "yox"); } - catch (StandardExceptions::ExcMessage &e) + catch (const StandardExceptions::ExcMessage &e) { log_exception(e); } @@ -244,7 +244,7 @@ test_getting_types() { prm.get_bool({"foo", "bar"}, "jik"); } - catch (StandardExceptions::ExcMessage &e) + catch (const StandardExceptions::ExcMessage &e) { log_exception(e); } @@ -253,7 +253,7 @@ test_getting_types() { prm.get_bool({"foo", "bar"}, "spam"); } - catch (StandardExceptions::ExcMessage &e) + catch (const StandardExceptions::ExcMessage &e) { log_exception(e); } @@ -308,7 +308,7 @@ main() test_getting_types(); test_weird_strings(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_25.cc b/tests/parameter_handler/parameter_handler_25.cc index 734b335324..fe093f58ae 100644 --- a/tests/parameter_handler/parameter_handler_25.cc +++ b/tests/parameter_handler/parameter_handler_25.cc @@ -47,7 +47,7 @@ success() prm.set("Precision", "float"); prm.leave_subsection(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } @@ -57,7 +57,7 @@ success() { prm.assert_that_entries_have_been_set(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } @@ -91,7 +91,7 @@ fail() // dim is not set! prm.leave_subsection(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } @@ -101,7 +101,7 @@ fail() { prm.assert_that_entries_have_been_set(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } @@ -119,7 +119,7 @@ main() success(); fail(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } diff --git a/tests/parameter_handler/parameter_handler_26.cc b/tests/parameter_handler/parameter_handler_26.cc index 8960c73c0a..2670de2fb3 100644 --- a/tests/parameter_handler/parameter_handler_26.cc +++ b/tests/parameter_handler/parameter_handler_26.cc @@ -44,7 +44,7 @@ success(const std::string &filename) { prm.parse_input(filename, "", true, true); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } @@ -74,7 +74,7 @@ fail(const std::string &filename) { prm.parse_input(filename, "", true, true); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } @@ -95,7 +95,7 @@ main() success(source + "/prm/parameter_handler_26_success.prm"); fail(source + "/prm/parameter_handler_26_fail.prm"); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } diff --git a/tests/parameter_handler/parameter_handler_3.cc b/tests/parameter_handler/parameter_handler_3.cc index 297bc80853..3eb094ed1d 100644 --- a/tests/parameter_handler/parameter_handler_3.cc +++ b/tests/parameter_handler/parameter_handler_3.cc @@ -43,7 +43,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_3_with_alias_01.cc b/tests/parameter_handler/parameter_handler_3_with_alias_01.cc index 3a5f574e6c..230ef3046a 100644 --- a/tests/parameter_handler/parameter_handler_3_with_alias_01.cc +++ b/tests/parameter_handler/parameter_handler_3_with_alias_01.cc @@ -47,7 +47,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_3_with_alias_02.cc b/tests/parameter_handler/parameter_handler_3_with_alias_02.cc index 1453365574..bd784a5167 100644 --- a/tests/parameter_handler/parameter_handler_3_with_alias_02.cc +++ b/tests/parameter_handler/parameter_handler_3_with_alias_02.cc @@ -47,7 +47,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_3_with_alias_03.cc b/tests/parameter_handler/parameter_handler_3_with_alias_03.cc index cd5c9725a7..bddb707ea8 100644 --- a/tests/parameter_handler/parameter_handler_3_with_alias_03.cc +++ b/tests/parameter_handler/parameter_handler_3_with_alias_03.cc @@ -45,7 +45,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3_with_alias_03.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_3_with_alias_04.cc b/tests/parameter_handler/parameter_handler_3_with_alias_04.cc index 5d66af1b52..afcab7e8ee 100644 --- a/tests/parameter_handler/parameter_handler_3_with_alias_04.cc +++ b/tests/parameter_handler/parameter_handler_3_with_alias_04.cc @@ -45,7 +45,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3_with_alias_04.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_3_with_sorting_01.cc b/tests/parameter_handler/parameter_handler_3_with_sorting_01.cc index 93b040847a..6bc018c031 100644 --- a/tests/parameter_handler/parameter_handler_3_with_sorting_01.cc +++ b/tests/parameter_handler/parameter_handler_3_with_sorting_01.cc @@ -46,7 +46,7 @@ main() ParameterHandler::Text | ParameterHandler::KeepDeclarationOrder); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_3_with_space.cc b/tests/parameter_handler/parameter_handler_3_with_space.cc index b352794877..21195e9c9e 100644 --- a/tests/parameter_handler/parameter_handler_3_with_space.cc +++ b/tests/parameter_handler/parameter_handler_3_with_space.cc @@ -48,7 +48,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3_with_space.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_4.cc b/tests/parameter_handler/parameter_handler_4.cc index db5a3b05e6..7f6b6d5daa 100644 --- a/tests/parameter_handler/parameter_handler_4.cc +++ b/tests/parameter_handler/parameter_handler_4.cc @@ -46,7 +46,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::LaTeX); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_4a.cc b/tests/parameter_handler/parameter_handler_4a.cc index 7d558ee477..701da93239 100644 --- a/tests/parameter_handler/parameter_handler_4a.cc +++ b/tests/parameter_handler/parameter_handler_4a.cc @@ -66,7 +66,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::LaTeX); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_4a_with_alias.cc b/tests/parameter_handler/parameter_handler_4a_with_alias.cc index 0daaa97a1a..56f668fa49 100644 --- a/tests/parameter_handler/parameter_handler_4a_with_alias.cc +++ b/tests/parameter_handler/parameter_handler_4a_with_alias.cc @@ -68,7 +68,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::LaTeX); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_4a_with_alias_deprecated.cc b/tests/parameter_handler/parameter_handler_4a_with_alias_deprecated.cc index da612d74ec..8473474a66 100644 --- a/tests/parameter_handler/parameter_handler_4a_with_alias_deprecated.cc +++ b/tests/parameter_handler/parameter_handler_4a_with_alias_deprecated.cc @@ -68,7 +68,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_3.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::LaTeX); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_4b.cc b/tests/parameter_handler/parameter_handler_4b.cc index ee29ed0579..422feb0171 100644 --- a/tests/parameter_handler/parameter_handler_4b.cc +++ b/tests/parameter_handler/parameter_handler_4b.cc @@ -37,7 +37,7 @@ main() prm.leave_subsection(); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::LaTeX); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_5.cc b/tests/parameter_handler/parameter_handler_5.cc index c69c668b68..cf209c3d95 100644 --- a/tests/parameter_handler/parameter_handler_5.cc +++ b/tests/parameter_handler/parameter_handler_5.cc @@ -36,7 +36,7 @@ main() prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_6.cc b/tests/parameter_handler/parameter_handler_6.cc index 94105af3ab..3f62f6768e 100644 --- a/tests/parameter_handler/parameter_handler_6.cc +++ b/tests/parameter_handler/parameter_handler_6.cc @@ -53,7 +53,7 @@ main() // then write prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_6_bool.cc b/tests/parameter_handler/parameter_handler_6_bool.cc index 10b589beb5..5931193b3b 100644 --- a/tests/parameter_handler/parameter_handler_6_bool.cc +++ b/tests/parameter_handler/parameter_handler_6_bool.cc @@ -55,7 +55,7 @@ main() // then write prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_7.cc b/tests/parameter_handler/parameter_handler_7.cc index 4e8f490a57..f7a2f1e25b 100644 --- a/tests/parameter_handler/parameter_handler_7.cc +++ b/tests/parameter_handler/parameter_handler_7.cc @@ -47,7 +47,7 @@ main() prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Description); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_8.cc b/tests/parameter_handler/parameter_handler_8.cc index 6641d4feba..7fbc3b1288 100644 --- a/tests/parameter_handler/parameter_handler_8.cc +++ b/tests/parameter_handler/parameter_handler_8.cc @@ -69,7 +69,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_8.prm"); prm.print_parameters(deallog.get_file_stream(), ParameterHandler::Text); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/parameter_handler/parameter_handler_9.cc b/tests/parameter_handler/parameter_handler_9.cc index 290a67fb1a..eb452c08c2 100644 --- a/tests/parameter_handler/parameter_handler_9.cc +++ b/tests/parameter_handler/parameter_handler_9.cc @@ -67,7 +67,7 @@ main() prm.parse_input(SOURCE_DIR "/prm/parameter_handler_8.prm"); prm.log_parameters(deallog); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/particles/step-19.cc b/tests/particles/step-19.cc index 560bff1321..ed0b453909 100644 --- a/tests/particles/step-19.cc +++ b/tests/particles/step-19.cc @@ -1124,7 +1124,7 @@ main() Step19::CathodeRaySimulator<2> cathode_ray_simulator_2d; cathode_ray_simulator_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/particles/step-68.cc b/tests/particles/step-68.cc index 54c8cc03d0..7f2d6037ec 100644 --- a/tests/particles/step-68.cc +++ b/tests/particles/step-68.cc @@ -753,7 +753,7 @@ main(int argc, char *argv[]) particle_tracking.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/01.cc b/tests/petsc/01.cc index c6e2ebfa3e..3ec8d8d3ba 100644 --- a/tests/petsc/01.cc +++ b/tests/petsc/01.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/02.cc b/tests/petsc/02.cc index c5c00b7a50..aa65750562 100644 --- a/tests/petsc/02.cc +++ b/tests/petsc/02.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/04.cc b/tests/petsc/04.cc index 9c2099a80c..3948e39809 100644 --- a/tests/petsc/04.cc +++ b/tests/petsc/04.cc @@ -48,7 +48,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/05.cc b/tests/petsc/05.cc index 99e6cd1384..f39b294ad5 100644 --- a/tests/petsc/05.cc +++ b/tests/petsc/05.cc @@ -62,7 +62,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/06.cc b/tests/petsc/06.cc index f0e784e157..1dbc02eaa0 100644 --- a/tests/petsc/06.cc +++ b/tests/petsc/06.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/07.cc b/tests/petsc/07.cc index 31d2f49563..a5c7de4458 100644 --- a/tests/petsc/07.cc +++ b/tests/petsc/07.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/08.cc b/tests/petsc/08.cc index 9420bf1b3e..54adefa2f6 100644 --- a/tests/petsc/08.cc +++ b/tests/petsc/08.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/09.cc b/tests/petsc/09.cc index 00b2ac0030..c28b2936b9 100644 --- a/tests/petsc/09.cc +++ b/tests/petsc/09.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/10.cc b/tests/petsc/10.cc index 9f0e1462d2..46c2c3deb3 100644 --- a/tests/petsc/10.cc +++ b/tests/petsc/10.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/11.cc b/tests/petsc/11.cc index c3c1b28faf..8271bb2f85 100644 --- a/tests/petsc/11.cc +++ b/tests/petsc/11.cc @@ -55,7 +55,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/12.cc b/tests/petsc/12.cc index 81ec2a6ba8..93a4d32bf3 100644 --- a/tests/petsc/12.cc +++ b/tests/petsc/12.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/13.cc b/tests/petsc/13.cc index 9fa6deda41..eb9e7eb94c 100644 --- a/tests/petsc/13.cc +++ b/tests/petsc/13.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/17.cc b/tests/petsc/17.cc index f28498920d..35cb60ff38 100644 --- a/tests/petsc/17.cc +++ b/tests/petsc/17.cc @@ -60,7 +60,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/18.cc b/tests/petsc/18.cc index d26c3c09c5..34df0086c1 100644 --- a/tests/petsc/18.cc +++ b/tests/petsc/18.cc @@ -61,7 +61,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/19.cc b/tests/petsc/19.cc index 88c58d8e46..741660adae 100644 --- a/tests/petsc/19.cc +++ b/tests/petsc/19.cc @@ -60,7 +60,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/20.cc b/tests/petsc/20.cc index 05282a151a..1429bb512c 100644 --- a/tests/petsc/20.cc +++ b/tests/petsc/20.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/21.cc b/tests/petsc/21.cc index d5a9209776..6997ba8707 100644 --- a/tests/petsc/21.cc +++ b/tests/petsc/21.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/22.cc b/tests/petsc/22.cc index 57f0b8a4dc..8984ad2f6a 100644 --- a/tests/petsc/22.cc +++ b/tests/petsc/22.cc @@ -63,7 +63,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/23.cc b/tests/petsc/23.cc index 17c25c6d86..a4567e8151 100644 --- a/tests/petsc/23.cc +++ b/tests/petsc/23.cc @@ -70,7 +70,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/24.cc b/tests/petsc/24.cc index 24c60d7d6f..4b89599106 100644 --- a/tests/petsc/24.cc +++ b/tests/petsc/24.cc @@ -63,7 +63,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/26.cc b/tests/petsc/26.cc index 1ca01edd0d..0fe04e9fac 100644 --- a/tests/petsc/26.cc +++ b/tests/petsc/26.cc @@ -60,7 +60,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/27.cc b/tests/petsc/27.cc index 58fa5b52bf..9ba5aa9149 100644 --- a/tests/petsc/27.cc +++ b/tests/petsc/27.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/28.cc b/tests/petsc/28.cc index 0b976f11c8..b0d2c47fcb 100644 --- a/tests/petsc/28.cc +++ b/tests/petsc/28.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/29.cc b/tests/petsc/29.cc index 8c73d82901..1479d71263 100644 --- a/tests/petsc/29.cc +++ b/tests/petsc/29.cc @@ -52,7 +52,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/30.cc b/tests/petsc/30.cc index e0642345e7..6726394abf 100644 --- a/tests/petsc/30.cc +++ b/tests/petsc/30.cc @@ -60,7 +60,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/31.cc b/tests/petsc/31.cc index 4e01a8d22f..3b02ec7dac 100644 --- a/tests/petsc/31.cc +++ b/tests/petsc/31.cc @@ -61,7 +61,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/32.cc b/tests/petsc/32.cc index 44f2428af9..e370954fe9 100644 --- a/tests/petsc/32.cc +++ b/tests/petsc/32.cc @@ -62,7 +62,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/33.cc b/tests/petsc/33.cc index 17db0c3220..4955080247 100644 --- a/tests/petsc/33.cc +++ b/tests/petsc/33.cc @@ -63,7 +63,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/34.cc b/tests/petsc/34.cc index 391671170a..695d06bce3 100644 --- a/tests/petsc/34.cc +++ b/tests/petsc/34.cc @@ -63,7 +63,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/35.cc b/tests/petsc/35.cc index 50f5e8fc0b..33f7386502 100644 --- a/tests/petsc/35.cc +++ b/tests/petsc/35.cc @@ -79,7 +79,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/36.cc b/tests/petsc/36.cc index f89b57f57f..c984b5a26d 100644 --- a/tests/petsc/36.cc +++ b/tests/petsc/36.cc @@ -79,7 +79,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/37.cc b/tests/petsc/37.cc index 8af129d128..4872b49a46 100644 --- a/tests/petsc/37.cc +++ b/tests/petsc/37.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/39.cc b/tests/petsc/39.cc index 083b210505..2915196a39 100644 --- a/tests/petsc/39.cc +++ b/tests/petsc/39.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/40.cc b/tests/petsc/40.cc index aae1dde5f0..7d8f6845af 100644 --- a/tests/petsc/40.cc +++ b/tests/petsc/40.cc @@ -73,7 +73,7 @@ main(int argc, char **argv) test(v, w, x); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/41.cc b/tests/petsc/41.cc index c8babea13c..e0203ef344 100644 --- a/tests/petsc/41.cc +++ b/tests/petsc/41.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/42.cc b/tests/petsc/42.cc index ce171ab0de..18e0eecc7a 100644 --- a/tests/petsc/42.cc +++ b/tests/petsc/42.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/45.cc b/tests/petsc/45.cc index 944c5cf504..97187d33a4 100644 --- a/tests/petsc/45.cc +++ b/tests/petsc/45.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/46.cc b/tests/petsc/46.cc index 443b59a755..5e0a8da096 100644 --- a/tests/petsc/46.cc +++ b/tests/petsc/46.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/49.cc b/tests/petsc/49.cc index 0e1cfb82f9..c3ba838edd 100644 --- a/tests/petsc/49.cc +++ b/tests/petsc/49.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/50.cc b/tests/petsc/50.cc index 2a00cbc363..05ed166c39 100644 --- a/tests/petsc/50.cc +++ b/tests/petsc/50.cc @@ -80,7 +80,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/51.cc b/tests/petsc/51.cc index 0696b5f53b..fc9badff56 100644 --- a/tests/petsc/51.cc +++ b/tests/petsc/51.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/52.cc b/tests/petsc/52.cc index 57ce114c61..257b17327d 100644 --- a/tests/petsc/52.cc +++ b/tests/petsc/52.cc @@ -73,7 +73,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/55.cc b/tests/petsc/55.cc index 5e74a31ed4..a17cee91e5 100644 --- a/tests/petsc/55.cc +++ b/tests/petsc/55.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/56.cc b/tests/petsc/56.cc index bfd9d5a539..e2815e6e2f 100644 --- a/tests/petsc/56.cc +++ b/tests/petsc/56.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/57.cc b/tests/petsc/57.cc index b758bce52b..00ad7a5920 100644 --- a/tests/petsc/57.cc +++ b/tests/petsc/57.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/58.cc b/tests/petsc/58.cc index 1af9caf60a..478a0a0389 100644 --- a/tests/petsc/58.cc +++ b/tests/petsc/58.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/59.cc b/tests/petsc/59.cc index 1f05a67038..165bbf72c0 100644 --- a/tests/petsc/59.cc +++ b/tests/petsc/59.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/60.cc b/tests/petsc/60.cc index 60e0ad4cff..05a4b83c11 100644 --- a/tests/petsc/60.cc +++ b/tests/petsc/60.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/61.cc b/tests/petsc/61.cc index 77e88a869b..86fd5680a2 100644 --- a/tests/petsc/61.cc +++ b/tests/petsc/61.cc @@ -76,7 +76,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/62.cc b/tests/petsc/62.cc index 02aeba028a..e8a3eefdd7 100644 --- a/tests/petsc/62.cc +++ b/tests/petsc/62.cc @@ -55,7 +55,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/63.cc b/tests/petsc/63.cc index 06f51fc546..15c2380f3e 100644 --- a/tests/petsc/63.cc +++ b/tests/petsc/63.cc @@ -53,7 +53,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/64.cc b/tests/petsc/64.cc index 35a01db505..fb680fe5c2 100644 --- a/tests/petsc/64.cc +++ b/tests/petsc/64.cc @@ -84,7 +84,7 @@ main(int argc, char **argv) test(v2); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/65.cc b/tests/petsc/65.cc index f88b3a0920..652e4eb582 100644 --- a/tests/petsc/65.cc +++ b/tests/petsc/65.cc @@ -51,7 +51,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/66.cc b/tests/petsc/66.cc index 2d447189ec..6f3871323e 100644 --- a/tests/petsc/66.cc +++ b/tests/petsc/66.cc @@ -107,7 +107,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/67.cc b/tests/petsc/67.cc index 16da27196f..935baa14af 100644 --- a/tests/petsc/67.cc +++ b/tests/petsc/67.cc @@ -122,7 +122,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/68.cc b/tests/petsc/68.cc index 01675e9d01..63a0220060 100644 --- a/tests/petsc/68.cc +++ b/tests/petsc/68.cc @@ -111,7 +111,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/69.cc b/tests/petsc/69.cc index e14a141df5..99eb53914b 100644 --- a/tests/petsc/69.cc +++ b/tests/petsc/69.cc @@ -126,7 +126,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/block_vector_iterator_01.cc b/tests/petsc/block_vector_iterator_01.cc index 876d7f9a0c..ed509c2853 100644 --- a/tests/petsc/block_vector_iterator_01.cc +++ b/tests/petsc/block_vector_iterator_01.cc @@ -92,7 +92,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/block_vector_iterator_02.cc b/tests/petsc/block_vector_iterator_02.cc index f2bc141664..78cc9df0b9 100644 --- a/tests/petsc/block_vector_iterator_02.cc +++ b/tests/petsc/block_vector_iterator_02.cc @@ -86,7 +86,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/block_vector_iterator_03.cc b/tests/petsc/block_vector_iterator_03.cc index 94c5c5fbcd..e8d066b450 100644 --- a/tests/petsc/block_vector_iterator_03.cc +++ b/tests/petsc/block_vector_iterator_03.cc @@ -250,7 +250,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_00.cc b/tests/petsc/full_matrix_00.cc index 0800b49433..7b9121dba4 100644 --- a/tests/petsc/full_matrix_00.cc +++ b/tests/petsc/full_matrix_00.cc @@ -93,7 +93,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_01.cc b/tests/petsc/full_matrix_01.cc index 6212f53d30..30403d3691 100644 --- a/tests/petsc/full_matrix_01.cc +++ b/tests/petsc/full_matrix_01.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_02.cc b/tests/petsc/full_matrix_02.cc index 589629f8e2..17e7163a46 100644 --- a/tests/petsc/full_matrix_02.cc +++ b/tests/petsc/full_matrix_02.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_04.cc b/tests/petsc/full_matrix_04.cc index 38f033a230..75b4ade52d 100644 --- a/tests/petsc/full_matrix_04.cc +++ b/tests/petsc/full_matrix_04.cc @@ -48,7 +48,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_05.cc b/tests/petsc/full_matrix_05.cc index f6b9fac1d0..48317ef7ca 100644 --- a/tests/petsc/full_matrix_05.cc +++ b/tests/petsc/full_matrix_05.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_06.cc b/tests/petsc/full_matrix_06.cc index 8d3363dc94..04cb7a5ab6 100644 --- a/tests/petsc/full_matrix_06.cc +++ b/tests/petsc/full_matrix_06.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_07.cc b/tests/petsc/full_matrix_07.cc index d883ad4b23..56226de45f 100644 --- a/tests/petsc/full_matrix_07.cc +++ b/tests/petsc/full_matrix_07.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_08.cc b/tests/petsc/full_matrix_08.cc index 29b27498f8..e670cd45d5 100644 --- a/tests/petsc/full_matrix_08.cc +++ b/tests/petsc/full_matrix_08.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_09.cc b/tests/petsc/full_matrix_09.cc index 1970338708..26b55aa0e3 100644 --- a/tests/petsc/full_matrix_09.cc +++ b/tests/petsc/full_matrix_09.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_10.cc b/tests/petsc/full_matrix_10.cc index 234e136c96..2b06bb8e50 100644 --- a/tests/petsc/full_matrix_10.cc +++ b/tests/petsc/full_matrix_10.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_iterator_01.cc b/tests/petsc/full_matrix_iterator_01.cc index 6822cf166a..3006dcd891 100644 --- a/tests/petsc/full_matrix_iterator_01.cc +++ b/tests/petsc/full_matrix_iterator_01.cc @@ -56,7 +56,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_vector_01.cc b/tests/petsc/full_matrix_vector_01.cc index aa5c1c31b8..f86108848c 100644 --- a/tests/petsc/full_matrix_vector_01.cc +++ b/tests/petsc/full_matrix_vector_01.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_vector_02.cc b/tests/petsc/full_matrix_vector_02.cc index d9c866ecff..56fc7978b4 100644 --- a/tests/petsc/full_matrix_vector_02.cc +++ b/tests/petsc/full_matrix_vector_02.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_vector_03.cc b/tests/petsc/full_matrix_vector_03.cc index 1c4c26b4d5..809a1a045b 100644 --- a/tests/petsc/full_matrix_vector_03.cc +++ b/tests/petsc/full_matrix_vector_03.cc @@ -79,7 +79,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_vector_04.cc b/tests/petsc/full_matrix_vector_04.cc index 3cdca7b3e1..8d669c723b 100644 --- a/tests/petsc/full_matrix_vector_04.cc +++ b/tests/petsc/full_matrix_vector_04.cc @@ -79,7 +79,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_vector_05.cc b/tests/petsc/full_matrix_vector_05.cc index b8b4053ddd..8fddaefd3c 100644 --- a/tests/petsc/full_matrix_vector_05.cc +++ b/tests/petsc/full_matrix_vector_05.cc @@ -82,7 +82,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_vector_06.cc b/tests/petsc/full_matrix_vector_06.cc index 88c703e4a6..77d5ae4571 100644 --- a/tests/petsc/full_matrix_vector_06.cc +++ b/tests/petsc/full_matrix_vector_06.cc @@ -74,7 +74,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/full_matrix_vector_07.cc b/tests/petsc/full_matrix_vector_07.cc index 6d4000fabe..5bcb931740 100644 --- a/tests/petsc/full_matrix_vector_07.cc +++ b/tests/petsc/full_matrix_vector_07.cc @@ -86,7 +86,7 @@ main(int argc, char **argv) test(v, w, x); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/parallel_sparse_matrix_01.cc b/tests/petsc/parallel_sparse_matrix_01.cc index cb9c3f3e54..5a702741b4 100644 --- a/tests/petsc/parallel_sparse_matrix_01.cc +++ b/tests/petsc/parallel_sparse_matrix_01.cc @@ -131,7 +131,7 @@ main(int argc, char **argv) Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/petsc_snes_02.cc b/tests/petsc/petsc_snes_02.cc index 1ce565056e..e987a8f7ec 100644 --- a/tests/petsc/petsc_snes_02.cc +++ b/tests/petsc/petsc_snes_02.cc @@ -77,11 +77,11 @@ main(int argc, char **argv) AssertThrow(snes == static_cast(mysolver), ExcInternalError()); mysolver.solve(v, A); } - catch (StandardExceptions::ExcFunctionNotProvided &) + catch (const StandardExceptions::ExcFunctionNotProvided &) { deallog << "catching expected exception" << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } diff --git a/tests/petsc/petsc_snes_04.cc b/tests/petsc/petsc_snes_04.cc index 498cfd8c93..1ec92e7cf6 100644 --- a/tests/petsc/petsc_snes_04.cc +++ b/tests/petsc/petsc_snes_04.cc @@ -55,7 +55,7 @@ main(int argc, char **argv) { auto nit = solver.solve(x); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } diff --git a/tests/petsc/petsc_snes_05.cc b/tests/petsc/petsc_snes_05.cc index 4619f9f90e..20e48e60af 100644 --- a/tests/petsc/petsc_snes_05.cc +++ b/tests/petsc/petsc_snes_05.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) deallog << "Found the solution x=" << x(0) << " after " << nit << " iterations." << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } diff --git a/tests/petsc/petsc_snes_06.cc b/tests/petsc/petsc_snes_06.cc index 12320877b9..6e29cf38b9 100644 --- a/tests/petsc/petsc_snes_06.cc +++ b/tests/petsc/petsc_snes_06.cc @@ -102,7 +102,7 @@ main(int argc, char **argv) deallog << "Found the solution x=" << x(0) << " after " << nit << " iterations." << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } diff --git a/tests/petsc/petsc_snes_07.cc b/tests/petsc/petsc_snes_07.cc index 22f72e4906..282c4b1102 100644 --- a/tests/petsc/petsc_snes_07.cc +++ b/tests/petsc/petsc_snes_07.cc @@ -169,7 +169,7 @@ run_test(int testcase, bool recoverable) deallog << "Found the solution x=" << x(0) << " after " << nit << " iterations." << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << "Caught exception." << std::endl; deallog << exc.what() << std::endl; diff --git a/tests/petsc/petsc_ts_01.cc b/tests/petsc/petsc_ts_01.cc index 43cdf09f7b..b51f73e4c5 100644 --- a/tests/petsc/petsc_ts_01.cc +++ b/tests/petsc/petsc_ts_01.cc @@ -79,11 +79,11 @@ main(int argc, char **argv) AssertThrow(ts == static_cast(myode), ExcInternalError()); myode.solve(v, A); } - catch (StandardExceptions::ExcFunctionNotProvided &) + catch (const StandardExceptions::ExcFunctionNotProvided &) { deallog << "catching expected exception" << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << exc.what() << std::endl; } diff --git a/tests/petsc/slowness_01.cc b/tests/petsc/slowness_01.cc index 68b3d7ad22..36dfeeba7f 100644 --- a/tests/petsc/slowness_01.cc +++ b/tests/petsc/slowness_01.cc @@ -121,7 +121,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/slowness_02.cc b/tests/petsc/slowness_02.cc index 117aceffc3..8319bdaf6e 100644 --- a/tests/petsc/slowness_02.cc +++ b/tests/petsc/slowness_02.cc @@ -97,7 +97,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/slowness_03.cc b/tests/petsc/slowness_03.cc index f90ab76a3f..892443cdd5 100644 --- a/tests/petsc/slowness_03.cc +++ b/tests/petsc/slowness_03.cc @@ -133,7 +133,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/slowness_04.cc b/tests/petsc/slowness_04.cc index 6aaa48c7f9..2ee38b5bec 100644 --- a/tests/petsc/slowness_04.cc +++ b/tests/petsc/slowness_04.cc @@ -166,7 +166,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_02.cc b/tests/petsc/sparse_matrix_02.cc index 87347fae48..f5b33de8ff 100644 --- a/tests/petsc/sparse_matrix_02.cc +++ b/tests/petsc/sparse_matrix_02.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) deallog << "OK" << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_iterator_01.cc b/tests/petsc/sparse_matrix_iterator_01.cc index c340faa070..7daf3be72c 100644 --- a/tests/petsc/sparse_matrix_iterator_01.cc +++ b/tests/petsc/sparse_matrix_iterator_01.cc @@ -56,7 +56,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_iterator_02.cc b/tests/petsc/sparse_matrix_iterator_02.cc index 7921b69cb0..a93295e40c 100644 --- a/tests/petsc/sparse_matrix_iterator_02.cc +++ b/tests/petsc/sparse_matrix_iterator_02.cc @@ -66,7 +66,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_matrix_01.cc b/tests/petsc/sparse_matrix_matrix_01.cc index bf12fd0147..8ae27f0697 100644 --- a/tests/petsc/sparse_matrix_matrix_01.cc +++ b/tests/petsc/sparse_matrix_matrix_01.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_matrix_02.cc b/tests/petsc/sparse_matrix_matrix_02.cc index 67d3caba8b..6b2901290d 100644 --- a/tests/petsc/sparse_matrix_matrix_02.cc +++ b/tests/petsc/sparse_matrix_matrix_02.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_matrix_03.cc b/tests/petsc/sparse_matrix_matrix_03.cc index c9cc052ae9..0df7dc111c 100644 --- a/tests/petsc/sparse_matrix_matrix_03.cc +++ b/tests/petsc/sparse_matrix_matrix_03.cc @@ -83,7 +83,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_matrix_04.cc b/tests/petsc/sparse_matrix_matrix_04.cc index 277f31e83e..5ced1d2e32 100644 --- a/tests/petsc/sparse_matrix_matrix_04.cc +++ b/tests/petsc/sparse_matrix_matrix_04.cc @@ -83,7 +83,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_vector_01.cc b/tests/petsc/sparse_matrix_vector_01.cc index 82c7f9e7f1..5b43dd739f 100644 --- a/tests/petsc/sparse_matrix_vector_01.cc +++ b/tests/petsc/sparse_matrix_vector_01.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_vector_02.cc b/tests/petsc/sparse_matrix_vector_02.cc index bc6bc1d570..66c3dc2dc4 100644 --- a/tests/petsc/sparse_matrix_vector_02.cc +++ b/tests/petsc/sparse_matrix_vector_02.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_vector_03.cc b/tests/petsc/sparse_matrix_vector_03.cc index 524644a3a7..6a6085169e 100644 --- a/tests/petsc/sparse_matrix_vector_03.cc +++ b/tests/petsc/sparse_matrix_vector_03.cc @@ -79,7 +79,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_vector_04.cc b/tests/petsc/sparse_matrix_vector_04.cc index 427d4f2540..757fb42a67 100644 --- a/tests/petsc/sparse_matrix_vector_04.cc +++ b/tests/petsc/sparse_matrix_vector_04.cc @@ -79,7 +79,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_vector_05.cc b/tests/petsc/sparse_matrix_vector_05.cc index 802d0d56ab..3cbac36ece 100644 --- a/tests/petsc/sparse_matrix_vector_05.cc +++ b/tests/petsc/sparse_matrix_vector_05.cc @@ -82,7 +82,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_vector_06.cc b/tests/petsc/sparse_matrix_vector_06.cc index 1ef88d4794..3f53aba826 100644 --- a/tests/petsc/sparse_matrix_vector_06.cc +++ b/tests/petsc/sparse_matrix_vector_06.cc @@ -74,7 +74,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/sparse_matrix_vector_07.cc b/tests/petsc/sparse_matrix_vector_07.cc index d83618cfec..f5c6ed1531 100644 --- a/tests/petsc/sparse_matrix_vector_07.cc +++ b/tests/petsc/sparse_matrix_vector_07.cc @@ -86,7 +86,7 @@ main(int argc, char **argv) test(v, w, x); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/subtract_mean_value_03.cc b/tests/petsc/subtract_mean_value_03.cc index 07c783fc6b..4bf54da905 100644 --- a/tests/petsc/subtract_mean_value_03.cc +++ b/tests/petsc/subtract_mean_value_03.cc @@ -69,7 +69,7 @@ main(int argc, char *argv[]) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/petsc/vector_assign_01.cc b/tests/petsc/vector_assign_01.cc index a388763973..b1b2b4a3ed 100644 --- a/tests/petsc/vector_assign_01.cc +++ b/tests/petsc/vector_assign_01.cc @@ -66,7 +66,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/vector_assign_02.cc b/tests/petsc/vector_assign_02.cc index 67bacfa4a8..56c9e2c877 100644 --- a/tests/petsc/vector_assign_02.cc +++ b/tests/petsc/vector_assign_02.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/vector_equality_1.cc b/tests/petsc/vector_equality_1.cc index e0f5b453d2..b9aacc2bde 100644 --- a/tests/petsc/vector_equality_1.cc +++ b/tests/petsc/vector_equality_1.cc @@ -61,7 +61,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/vector_equality_2.cc b/tests/petsc/vector_equality_2.cc index 79b6ca8ad1..c3b7ce77c9 100644 --- a/tests/petsc/vector_equality_2.cc +++ b/tests/petsc/vector_equality_2.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/vector_equality_3.cc b/tests/petsc/vector_equality_3.cc index 4b0b8b3d12..90a9c11f4e 100644 --- a/tests/petsc/vector_equality_3.cc +++ b/tests/petsc/vector_equality_3.cc @@ -61,7 +61,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/vector_equality_4.cc b/tests/petsc/vector_equality_4.cc index 091897b32b..8dcaaad6d5 100644 --- a/tests/petsc/vector_equality_4.cc +++ b/tests/petsc/vector_equality_4.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/vector_print.cc b/tests/petsc/vector_print.cc index d72d57710e..44473eb44d 100644 --- a/tests/petsc/vector_print.cc +++ b/tests/petsc/vector_print.cc @@ -55,7 +55,7 @@ main(int argc, char **argv) deallog << numbers::PI << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc/vector_wrap_01.cc b/tests/petsc/vector_wrap_01.cc index 0bee30c751..f0249a7a83 100644 --- a/tests/petsc/vector_wrap_01.cc +++ b/tests/petsc/vector_wrap_01.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) AssertThrow(ierr == 0, ExcPETScError(ierr)); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/00.cc b/tests/petsc_complex/00.cc index a098ec4af3..02ec7b31d4 100644 --- a/tests/petsc_complex/00.cc +++ b/tests/petsc_complex/00.cc @@ -171,7 +171,7 @@ main(int argc, char **argv) } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/01.cc b/tests/petsc_complex/01.cc index cf3f4c9f27..6a665f8efb 100644 --- a/tests/petsc_complex/01.cc +++ b/tests/petsc_complex/01.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/02.cc b/tests/petsc_complex/02.cc index 0ea8701370..fd8688770a 100644 --- a/tests/petsc_complex/02.cc +++ b/tests/petsc_complex/02.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/04.cc b/tests/petsc_complex/04.cc index b77ffeb2d4..e1cea872df 100644 --- a/tests/petsc_complex/04.cc +++ b/tests/petsc_complex/04.cc @@ -47,7 +47,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/05.cc b/tests/petsc_complex/05.cc index e9716fb1f4..f10f2107c1 100644 --- a/tests/petsc_complex/05.cc +++ b/tests/petsc_complex/05.cc @@ -62,7 +62,7 @@ main(int argc, char **argv) deallog << "OK" << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/06.cc b/tests/petsc_complex/06.cc index 393e58d864..5beef7a859 100644 --- a/tests/petsc_complex/06.cc +++ b/tests/petsc_complex/06.cc @@ -56,7 +56,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/07.cc b/tests/petsc_complex/07.cc index 4f6e7335d0..dac2a5835f 100644 --- a/tests/petsc_complex/07.cc +++ b/tests/petsc_complex/07.cc @@ -57,7 +57,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/08.cc b/tests/petsc_complex/08.cc index bcdf0bb29e..a55e4f709c 100644 --- a/tests/petsc_complex/08.cc +++ b/tests/petsc_complex/08.cc @@ -63,7 +63,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/09.cc b/tests/petsc_complex/09.cc index 568328a4a9..52452e8171 100644 --- a/tests/petsc_complex/09.cc +++ b/tests/petsc_complex/09.cc @@ -78,7 +78,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/10.cc b/tests/petsc_complex/10.cc index f1b694eff0..b87e7a33ae 100644 --- a/tests/petsc_complex/10.cc +++ b/tests/petsc_complex/10.cc @@ -76,7 +76,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/11.cc b/tests/petsc_complex/11.cc index 27f55bed03..a124e25513 100644 --- a/tests/petsc_complex/11.cc +++ b/tests/petsc_complex/11.cc @@ -53,7 +53,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/12.cc b/tests/petsc_complex/12.cc index 5de65acaf5..775734753f 100644 --- a/tests/petsc_complex/12.cc +++ b/tests/petsc_complex/12.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/13.cc b/tests/petsc_complex/13.cc index c707658fb4..95d4bb8195 100644 --- a/tests/petsc_complex/13.cc +++ b/tests/petsc_complex/13.cc @@ -66,7 +66,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/17.cc b/tests/petsc_complex/17.cc index 87e3f1fad7..b26bbf0323 100644 --- a/tests/petsc_complex/17.cc +++ b/tests/petsc_complex/17.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/18.cc b/tests/petsc_complex/18.cc index 262d87c32a..d4437f07c3 100644 --- a/tests/petsc_complex/18.cc +++ b/tests/petsc_complex/18.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/19.cc b/tests/petsc_complex/19.cc index 8e72ed9a38..15cafa7d51 100644 --- a/tests/petsc_complex/19.cc +++ b/tests/petsc_complex/19.cc @@ -60,7 +60,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/20.cc b/tests/petsc_complex/20.cc index 851b7dc789..7095d0f649 100644 --- a/tests/petsc_complex/20.cc +++ b/tests/petsc_complex/20.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/element_access_00.cc b/tests/petsc_complex/element_access_00.cc index 1bbd5885a9..aa15fef4e4 100644 --- a/tests/petsc_complex/element_access_00.cc +++ b/tests/petsc_complex/element_access_00.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/element_access_01.cc b/tests/petsc_complex/element_access_01.cc index 3dc1571cb8..30a0f8fec4 100644 --- a/tests/petsc_complex/element_access_01.cc +++ b/tests/petsc_complex/element_access_01.cc @@ -73,7 +73,7 @@ main(int argc, char **argv) } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/element_access_02.cc b/tests/petsc_complex/element_access_02.cc index e7097ace7e..e4954d4486 100644 --- a/tests/petsc_complex/element_access_02.cc +++ b/tests/petsc_complex/element_access_02.cc @@ -61,7 +61,7 @@ main(int argc, char **argv) } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/element_access_03.cc b/tests/petsc_complex/element_access_03.cc index c2ca56e34c..b7be3fb71f 100644 --- a/tests/petsc_complex/element_access_03.cc +++ b/tests/petsc_complex/element_access_03.cc @@ -82,7 +82,7 @@ main(int argc, char **argv) } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/parallel_sparse_matrix_01.cc b/tests/petsc_complex/parallel_sparse_matrix_01.cc index 9aceebe449..d0b14e1095 100644 --- a/tests/petsc_complex/parallel_sparse_matrix_01.cc +++ b/tests/petsc_complex/parallel_sparse_matrix_01.cc @@ -201,7 +201,7 @@ main(int argc, char *argv[]) Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); test<2>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/solver_real_03.cc b/tests/petsc_complex/solver_real_03.cc index 511dd1faf6..7b80ee5337 100644 --- a/tests/petsc_complex/solver_real_03.cc +++ b/tests/petsc_complex/solver_real_03.cc @@ -47,7 +47,7 @@ check_solve(SOLVER & solver, { solver.solve(A, u, f, P); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << e.what() << std::endl; abort(); diff --git a/tests/petsc_complex/solver_real_03_mf.cc b/tests/petsc_complex/solver_real_03_mf.cc index 2c2656075f..d0c2fd2d5e 100644 --- a/tests/petsc_complex/solver_real_03_mf.cc +++ b/tests/petsc_complex/solver_real_03_mf.cc @@ -58,7 +58,7 @@ check_solve(SOLVER & solver, { solver.solve(A, u, f, P); } - catch (std::exception &e) + catch (const std::exception &e) { std::cout << e.what() << std::endl; deallog << e.what() << std::endl; diff --git a/tests/petsc_complex/solver_real_04.cc b/tests/petsc_complex/solver_real_04.cc index d2da9cede0..7b87595f5d 100644 --- a/tests/petsc_complex/solver_real_04.cc +++ b/tests/petsc_complex/solver_real_04.cc @@ -47,7 +47,7 @@ check_solve(SOLVER & solver, { solver.solve(A, u, f, P); } - catch (std::exception &e) + catch (const std::exception &e) { deallog << e.what() << std::endl; abort(); diff --git a/tests/petsc_complex/sparse_matrix_01.cc b/tests/petsc_complex/sparse_matrix_01.cc index 69a1e32e7e..d1d847fc81 100644 --- a/tests/petsc_complex/sparse_matrix_01.cc +++ b/tests/petsc_complex/sparse_matrix_01.cc @@ -82,7 +82,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/vector_02.cc b/tests/petsc_complex/vector_02.cc index ae3e27f380..6d8f69e866 100644 --- a/tests/petsc_complex/vector_02.cc +++ b/tests/petsc_complex/vector_02.cc @@ -81,7 +81,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/vector_assign_01.cc b/tests/petsc_complex/vector_assign_01.cc index 2c2e6daaff..8c654da6f3 100644 --- a/tests/petsc_complex/vector_assign_01.cc +++ b/tests/petsc_complex/vector_assign_01.cc @@ -57,7 +57,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/vector_assign_02.cc b/tests/petsc_complex/vector_assign_02.cc index b656fa090f..1be040b389 100644 --- a/tests/petsc_complex/vector_assign_02.cc +++ b/tests/petsc_complex/vector_assign_02.cc @@ -66,7 +66,7 @@ main(int argc, char **argv) deallog << "OK" << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/vector_equality_1.cc b/tests/petsc_complex/vector_equality_1.cc index d133426343..df66d14ed2 100644 --- a/tests/petsc_complex/vector_equality_1.cc +++ b/tests/petsc_complex/vector_equality_1.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) deallog << "OK" << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/vector_equality_2.cc b/tests/petsc_complex/vector_equality_2.cc index fa5bb74842..b29b93b3bf 100644 --- a/tests/petsc_complex/vector_equality_2.cc +++ b/tests/petsc_complex/vector_equality_2.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) deallog << "OK" << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/vector_print.cc b/tests/petsc_complex/vector_print.cc index de252b5ad8..7c847a06c0 100644 --- a/tests/petsc_complex/vector_print.cc +++ b/tests/petsc_complex/vector_print.cc @@ -48,7 +48,7 @@ main(int argc, char **argv) v.print(deallog.get_file_stream(), 3, false, true); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/petsc_complex/vector_wrap_01.cc b/tests/petsc_complex/vector_wrap_01.cc index 7613001919..6e2e737a81 100644 --- a/tests/petsc_complex/vector_wrap_01.cc +++ b/tests/petsc_complex/vector_wrap_01.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) AssertThrow(ierr == 0, ExcPETScError(ierr)); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/physics/step-18-rotation_matrix.cc b/tests/physics/step-18-rotation_matrix.cc index 130238b4c2..a55fbca894 100644 --- a/tests/physics/step-18-rotation_matrix.cc +++ b/tests/physics/step-18-rotation_matrix.cc @@ -786,7 +786,7 @@ main(int argc, char **argv) TopLevel<3> elastic_problem; elastic_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/physics/step-18.cc b/tests/physics/step-18.cc index 212b2ff149..55f21962ea 100644 --- a/tests/physics/step-18.cc +++ b/tests/physics/step-18.cc @@ -802,7 +802,7 @@ main(int argc, char **argv) TopLevel<3> elastic_problem; elastic_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/physics/step-44-dgp_monomial.cc b/tests/physics/step-44-dgp_monomial.cc index 05bf1fa1ef..8554ff36c5 100644 --- a/tests/physics/step-44-dgp_monomial.cc +++ b/tests/physics/step-44-dgp_monomial.cc @@ -2103,7 +2103,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/physics/step-44-standard_tensors-material_push_forward.cc b/tests/physics/step-44-standard_tensors-material_push_forward.cc index 5a511dacec..0b89710bd2 100644 --- a/tests/physics/step-44-standard_tensors-material_push_forward.cc +++ b/tests/physics/step-44-standard_tensors-material_push_forward.cc @@ -2289,7 +2289,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/physics/step-44-standard_tensors-spatial.cc b/tests/physics/step-44-standard_tensors-spatial.cc index b475de7478..3f81437fee 100644 --- a/tests/physics/step-44-standard_tensors-spatial.cc +++ b/tests/physics/step-44-standard_tensors-spatial.cc @@ -2088,7 +2088,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/physics/step-44.cc b/tests/physics/step-44.cc index 2ad659a7a3..e99dce27dc 100644 --- a/tests/physics/step-44.cc +++ b/tests/physics/step-44.cc @@ -2104,7 +2104,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/quick_tests/step-metis.cc b/tests/quick_tests/step-metis.cc index 57318505fb..72f5362a98 100644 --- a/tests/quick_tests/step-metis.cc +++ b/tests/quick_tests/step-metis.cc @@ -58,7 +58,7 @@ main(int argc, char **argv) } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/quick_tests/step-petsc.cc b/tests/quick_tests/step-petsc.cc index 17382885c3..c85c84a687 100644 --- a/tests/quick_tests/step-petsc.cc +++ b/tests/quick_tests/step-petsc.cc @@ -194,7 +194,7 @@ main(int argc, char **argv) } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/quick_tests/step-slepc.cc b/tests/quick_tests/step-slepc.cc index 661666fe57..6162e09619 100644 --- a/tests/quick_tests/step-slepc.cc +++ b/tests/quick_tests/step-slepc.cc @@ -238,7 +238,7 @@ main(int argc, char **argv) } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/quick_tests/step-trilinos.cc b/tests/quick_tests/step-trilinos.cc index f24b3641b8..a5d70615af 100644 --- a/tests/quick_tests/step-trilinos.cc +++ b/tests/quick_tests/step-trilinos.cc @@ -197,7 +197,7 @@ main(int argc, char **argv) } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/quick_tests/step.cc b/tests/quick_tests/step.cc index 12495f2cee..8ea2903f86 100644 --- a/tests/quick_tests/step.cc +++ b/tests/quick_tests/step.cc @@ -230,7 +230,7 @@ main() { LaplaceProblem<2>(1).run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/rol/vector_adaptor_01.cc b/tests/rol/vector_adaptor_01.cc index f0113ee8a0..91573661bf 100644 --- a/tests/rol/vector_adaptor_01.cc +++ b/tests/rol/vector_adaptor_01.cc @@ -78,7 +78,7 @@ main(int argc, char **argv) test(trilinos_vector); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/rol/vector_adaptor_02.cc b/tests/rol/vector_adaptor_02.cc index 3d53b56344..f2838c2f74 100644 --- a/tests/rol/vector_adaptor_02.cc +++ b/tests/rol/vector_adaptor_02.cc @@ -125,7 +125,7 @@ main() test(-0.1, 0.1); test(9.1, -6.1); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/rol/vector_adaptor_apply_binary_01.cc b/tests/rol/vector_adaptor_apply_binary_01.cc index 6d453fbadc..e36caf392b 100644 --- a/tests/rol/vector_adaptor_apply_binary_01.cc +++ b/tests/rol/vector_adaptor_apply_binary_01.cc @@ -118,7 +118,7 @@ main(int argc, char **argv) test(); test>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/rol/vector_adaptor_no_ghost_01.cc b/tests/rol/vector_adaptor_no_ghost_01.cc index 5bf3eea433..d5136fc7fd 100644 --- a/tests/rol/vector_adaptor_no_ghost_01.cc +++ b/tests/rol/vector_adaptor_no_ghost_01.cc @@ -121,7 +121,7 @@ main(int argc, char **argv) test(); test>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/rol/vector_adaptor_with_ghost_01.cc b/tests/rol/vector_adaptor_with_ghost_01.cc index 405271e2ef..ee13df9aed 100644 --- a/tests/rol/vector_adaptor_with_ghost_01.cc +++ b/tests/rol/vector_adaptor_with_ghost_01.cc @@ -140,7 +140,7 @@ main(int argc, char **argv) { test>(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_res_lin_01_1.cc b/tests/sacado/step-44-helper_res_lin_01_1.cc index 35170f3ba7..4a56d6708c 100644 --- a/tests/sacado/step-44-helper_res_lin_01_1.cc +++ b/tests/sacado/step-44-helper_res_lin_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_res_lin_01_2.cc b/tests/sacado/step-44-helper_res_lin_01_2.cc index 41c659abc0..648633f1bb 100644 --- a/tests/sacado/step-44-helper_res_lin_01_2.cc +++ b/tests/sacado/step-44-helper_res_lin_01_2.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_res_lin_01_3.cc b/tests/sacado/step-44-helper_res_lin_01_3.cc index f981aed224..b997981b85 100644 --- a/tests/sacado/step-44-helper_res_lin_01_3.cc +++ b/tests/sacado/step-44-helper_res_lin_01_3.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_res_lin_01_4.cc b/tests/sacado/step-44-helper_res_lin_01_4.cc index cfb2ec21ea..257197e5b3 100644 --- a/tests/sacado/step-44-helper_res_lin_01_4.cc +++ b/tests/sacado/step-44-helper_res_lin_01_4.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_scalar_01_1.cc b/tests/sacado/step-44-helper_scalar_01_1.cc index b3083b8f5f..53abda6d98 100644 --- a/tests/sacado/step-44-helper_scalar_01_1.cc +++ b/tests/sacado/step-44-helper_scalar_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_scalar_01_2.cc b/tests/sacado/step-44-helper_scalar_01_2.cc index 3730bd3bca..164df25b16 100644 --- a/tests/sacado/step-44-helper_scalar_01_2.cc +++ b/tests/sacado/step-44-helper_scalar_01_2.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_var_form_01_1.cc b/tests/sacado/step-44-helper_var_form_01_1.cc index 4a5eb85cd5..394c8e66e0 100644 --- a/tests/sacado/step-44-helper_var_form_01_1.cc +++ b/tests/sacado/step-44-helper_var_form_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_var_form_01_2.cc b/tests/sacado/step-44-helper_var_form_01_2.cc index 3460ae6b4b..c702bef680 100644 --- a/tests/sacado/step-44-helper_var_form_01_2.cc +++ b/tests/sacado/step-44-helper_var_form_01_2.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_vector_01_1.cc b/tests/sacado/step-44-helper_vector_01_1.cc index 2950f256e0..53818c9a6c 100644 --- a/tests/sacado/step-44-helper_vector_01_1.cc +++ b/tests/sacado/step-44-helper_vector_01_1.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_vector_01_2.cc b/tests/sacado/step-44-helper_vector_01_2.cc index 17f3449ccd..9862a63b2e 100644 --- a/tests/sacado/step-44-helper_vector_01_2.cc +++ b/tests/sacado/step-44-helper_vector_01_2.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_vector_01_3.cc b/tests/sacado/step-44-helper_vector_01_3.cc index a8e7a94d21..ba6aaab9ce 100644 --- a/tests/sacado/step-44-helper_vector_01_3.cc +++ b/tests/sacado/step-44-helper_vector_01_3.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/sacado/step-44-helper_vector_01_4.cc b/tests/sacado/step-44-helper_vector_01_4.cc index f4f753c9a8..664dd4f155 100644 --- a/tests/sacado/step-44-helper_vector_01_4.cc +++ b/tests/sacado/step-44-helper_vector_01_4.cc @@ -39,7 +39,7 @@ main(int argc, char **argv) SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-06.cc b/tests/simplex/step-06.cc index 4f6292a166..01e55d0ad8 100644 --- a/tests/simplex/step-06.cc +++ b/tests/simplex/step-06.cc @@ -369,7 +369,7 @@ main() Step6<2> laplace_problem_2d; laplace_problem_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-07.cc b/tests/simplex/step-07.cc index 25f52b808e..09345eb267 100644 --- a/tests/simplex/step-07.cc +++ b/tests/simplex/step-07.cc @@ -776,7 +776,7 @@ main() deallog << std::endl; } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-08.cc b/tests/simplex/step-08.cc index c224815ecb..c97bff1804 100644 --- a/tests/simplex/step-08.cc +++ b/tests/simplex/step-08.cc @@ -353,7 +353,7 @@ main() Step8::ElasticProblem<2> elastic_problem_2d; elastic_problem_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-12.cc b/tests/simplex/step-12.cc index 4bc7b2b764..e70ba2cc0d 100644 --- a/tests/simplex/step-12.cc +++ b/tests/simplex/step-12.cc @@ -492,7 +492,7 @@ main() Step12::AdvectionProblem<2> dgmethod; dgmethod.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-12b.cc b/tests/simplex/step-12b.cc index 6110f0df9a..4d9bc295a5 100644 --- a/tests/simplex/step-12b.cc +++ b/tests/simplex/step-12b.cc @@ -1119,7 +1119,7 @@ main() dgmethod.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-12c.cc b/tests/simplex/step-12c.cc index 6f2c95993f..8c80046ec0 100644 --- a/tests/simplex/step-12c.cc +++ b/tests/simplex/step-12c.cc @@ -1119,7 +1119,7 @@ main() dgmethod.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-17.cc b/tests/simplex/step-17.cc index c20aa103af..75f6fce3da 100644 --- a/tests/simplex/step-17.cc +++ b/tests/simplex/step-17.cc @@ -462,7 +462,7 @@ main(int argc, char **argv) ElasticProblem<2> elastic_problem; elastic_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-18.cc b/tests/simplex/step-18.cc index 57af8e2090..b7ce5ed292 100644 --- a/tests/simplex/step-18.cc +++ b/tests/simplex/step-18.cc @@ -1029,7 +1029,7 @@ main(int argc, char **argv) TopLevel<3> elastic_problem; elastic_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-20.cc b/tests/simplex/step-20.cc index 08499c9c6f..b19380898a 100644 --- a/tests/simplex/step-20.cc +++ b/tests/simplex/step-20.cc @@ -518,7 +518,7 @@ main() MixedLaplaceProblem<2> mixed_laplace_problem(fe_degree); mixed_laplace_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-23.cc b/tests/simplex/step-23.cc index da72ab0390..8f2bdefd2c 100644 --- a/tests/simplex/step-23.cc +++ b/tests/simplex/step-23.cc @@ -448,7 +448,7 @@ main(int argc, char **argv) WaveEquation<2> wave_equation_solver; wave_equation_solver.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-31.cc b/tests/simplex/step-31.cc index 3ed466fe5b..ce7c032186 100644 --- a/tests/simplex/step-31.cc +++ b/tests/simplex/step-31.cc @@ -165,7 +165,7 @@ namespace Step31 { cg.solve(*matrix, dst, src, preconditioner); } - catch (std::exception &e) + catch (const std::exception &e) { Assert(false, ExcMessage(e.what())); } @@ -1098,7 +1098,7 @@ main(int argc, char *argv[]) BoussinesqFlowProblem<2> flow_problem; flow_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-38.cc b/tests/simplex/step-38.cc index 4b4a742e09..74b580cc3a 100644 --- a/tests/simplex/step-38.cc +++ b/tests/simplex/step-38.cc @@ -418,7 +418,7 @@ main() LaplaceBeltramiProblem<3> laplace_beltrami; laplace_beltrami.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-40.cc b/tests/simplex/step-40.cc index c08c073809..86e83665a7 100644 --- a/tests/simplex/step-40.cc +++ b/tests/simplex/step-40.cc @@ -419,7 +419,7 @@ main(int argc, char *argv[]) LaplaceProblem<2> laplace_problem_2d; laplace_problem_2d.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-55.cc b/tests/simplex/step-55.cc index 3b77662bf7..37c8538643 100644 --- a/tests/simplex/step-55.cc +++ b/tests/simplex/step-55.cc @@ -162,7 +162,7 @@ namespace Step55 { cg.solve(*matrix, dst, src, preconditioner); } - catch (std::exception &e) + catch (const std::exception &e) { Assert(false, ExcMessage(e.what())); } @@ -910,7 +910,7 @@ main(int argc, char *argv[]) StokesProblem<2> problem(2); problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-67.cc b/tests/simplex/step-67.cc index 2cb113b694..d26aaec31e 100644 --- a/tests/simplex/step-67.cc +++ b/tests/simplex/step-67.cc @@ -2527,7 +2527,7 @@ main(int argc, char **argv) EulerProblem euler_problem; euler_problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-68.cc b/tests/simplex/step-68.cc index 3a2ef2c034..897fa26657 100644 --- a/tests/simplex/step-68.cc +++ b/tests/simplex/step-68.cc @@ -549,7 +549,7 @@ main(int argc, char *argv[]) Step68::ParticleTracking<2> particle_tracking; particle_tracking.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/simplex/step-74.cc b/tests/simplex/step-74.cc index 0d85310b17..56538f3908 100644 --- a/tests/simplex/step-74.cc +++ b/tests/simplex/step-74.cc @@ -992,7 +992,7 @@ main() SIPGLaplace<2> problem(test_case); problem.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/slepc/00.cc b/tests/slepc/00.cc index f8ab929e6f..62dad0ddfa 100644 --- a/tests/slepc/00.cc +++ b/tests/slepc/00.cc @@ -57,7 +57,7 @@ main(int argc, char **argv) deallog.get_file_stream() << "ok" << std::endl << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/slepc/step-36_parallel.cc b/tests/slepc/step-36_parallel.cc index a71f4fd7b9..102ab4b41f 100644 --- a/tests/slepc/step-36_parallel.cc +++ b/tests/slepc/step-36_parallel.cc @@ -374,7 +374,7 @@ main(int argc, char **argv) // test ("JacobiDavidson"); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/slepc/step-36_parallel_02.cc b/tests/slepc/step-36_parallel_02.cc index 704c59023e..914288d53d 100644 --- a/tests/slepc/step-36_parallel_02.cc +++ b/tests/slepc/step-36_parallel_02.cc @@ -371,7 +371,7 @@ main(int argc, char **argv) // test ("JacobiDavidson"); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/slepc/step-36_parallel_03.cc b/tests/slepc/step-36_parallel_03.cc index 1790c98c9e..96fc6f81f1 100644 --- a/tests/slepc/step-36_parallel_03.cc +++ b/tests/slepc/step-36_parallel_03.cc @@ -366,7 +366,7 @@ main(int argc, char **argv) // test ("JacobiDavidson"); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/slepc_complex/00.cc b/tests/slepc_complex/00.cc index ee018bd452..c4c0e79fde 100644 --- a/tests/slepc_complex/00.cc +++ b/tests/slepc_complex/00.cc @@ -61,7 +61,7 @@ main(int argc, char **argv) deallog.get_file_stream() << "ok" << std::endl << std::endl; } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/symengine/step-44-sd-quadrature_level_01.cc b/tests/symengine/step-44-sd-quadrature_level_01.cc index 05f383249e..afebef8b26 100644 --- a/tests/symengine/step-44-sd-quadrature_level_01.cc +++ b/tests/symengine/step-44-sd-quadrature_level_01.cc @@ -310,7 +310,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/symengine/step-44-sd-quadrature_level_02.cc b/tests/symengine/step-44-sd-quadrature_level_02.cc index c2ecc20579..ddb0d05735 100644 --- a/tests/symengine/step-44-sd-quadrature_level_02.cc +++ b/tests/symengine/step-44-sd-quadrature_level_02.cc @@ -327,7 +327,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/symengine/step-44-sd-quadrature_level_03.cc b/tests/symengine/step-44-sd-quadrature_level_03.cc index d3397c1488..10325f0791 100644 --- a/tests/symengine/step-44-sd-quadrature_level_03.cc +++ b/tests/symengine/step-44-sd-quadrature_level_03.cc @@ -328,7 +328,7 @@ main(int argc, char **argv) Solid solid(SOURCE_DIR "/prm/parameters-step-44.prm"); solid.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/01.cc b/tests/trilinos/01.cc index 004ca271f4..171d0ed518 100644 --- a/tests/trilinos/01.cc +++ b/tests/trilinos/01.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/02.cc b/tests/trilinos/02.cc index d3001fe09e..89bdfc4fb6 100644 --- a/tests/trilinos/02.cc +++ b/tests/trilinos/02.cc @@ -77,7 +77,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/03a.cc b/tests/trilinos/03a.cc index c9e4534cf4..5aa1a10e09 100644 --- a/tests/trilinos/03a.cc +++ b/tests/trilinos/03a.cc @@ -81,7 +81,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/03b.cc b/tests/trilinos/03b.cc index cdc2878f38..2b489a5c2a 100644 --- a/tests/trilinos/03b.cc +++ b/tests/trilinos/03b.cc @@ -88,7 +88,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/04.cc b/tests/trilinos/04.cc index 9feb7a2362..135846306d 100644 --- a/tests/trilinos/04.cc +++ b/tests/trilinos/04.cc @@ -53,7 +53,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/05.cc b/tests/trilinos/05.cc index e0620d8bb7..864bcf627d 100644 --- a/tests/trilinos/05.cc +++ b/tests/trilinos/05.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/06.cc b/tests/trilinos/06.cc index 78c3228b86..cc161c2055 100644 --- a/tests/trilinos/06.cc +++ b/tests/trilinos/06.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/07.cc b/tests/trilinos/07.cc index 5960d36ac5..8d3c129a01 100644 --- a/tests/trilinos/07.cc +++ b/tests/trilinos/07.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/08.cc b/tests/trilinos/08.cc index f026bdd8e5..7dca54514c 100644 --- a/tests/trilinos/08.cc +++ b/tests/trilinos/08.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/09.cc b/tests/trilinos/09.cc index 9da2b6ecc0..6d8455ecf6 100644 --- a/tests/trilinos/09.cc +++ b/tests/trilinos/09.cc @@ -76,7 +76,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/10.cc b/tests/trilinos/10.cc index 20423703c4..bb41b050f3 100644 --- a/tests/trilinos/10.cc +++ b/tests/trilinos/10.cc @@ -76,7 +76,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/11.cc b/tests/trilinos/11.cc index fb5cab0574..419f7b668b 100644 --- a/tests/trilinos/11.cc +++ b/tests/trilinos/11.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/12.cc b/tests/trilinos/12.cc index 2ea988adb5..9717f18dc5 100644 --- a/tests/trilinos/12.cc +++ b/tests/trilinos/12.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/13.cc b/tests/trilinos/13.cc index 6018780298..4320f44b06 100644 --- a/tests/trilinos/13.cc +++ b/tests/trilinos/13.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/14.cc b/tests/trilinos/14.cc index 9fd12cfbfe..c06ae961b2 100644 --- a/tests/trilinos/14.cc +++ b/tests/trilinos/14.cc @@ -90,7 +90,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/15.cc b/tests/trilinos/15.cc index 3d85e72ff1..8b5359cbcc 100644 --- a/tests/trilinos/15.cc +++ b/tests/trilinos/15.cc @@ -89,7 +89,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/16.cc b/tests/trilinos/16.cc index b7af1a27f0..affa05c7f5 100644 --- a/tests/trilinos/16.cc +++ b/tests/trilinos/16.cc @@ -90,7 +90,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/17.cc b/tests/trilinos/17.cc index fc4019b806..57931d5be2 100644 --- a/tests/trilinos/17.cc +++ b/tests/trilinos/17.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/18.cc b/tests/trilinos/18.cc index 3ebb1c36ab..7f19f31921 100644 --- a/tests/trilinos/18.cc +++ b/tests/trilinos/18.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/19.cc b/tests/trilinos/19.cc index fdf5a258f4..eb9545c606 100644 --- a/tests/trilinos/19.cc +++ b/tests/trilinos/19.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/20.cc b/tests/trilinos/20.cc index 4652a82906..5a9bfb02a1 100644 --- a/tests/trilinos/20.cc +++ b/tests/trilinos/20.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/21.cc b/tests/trilinos/21.cc index 8894dcc864..3e609f28bb 100644 --- a/tests/trilinos/21.cc +++ b/tests/trilinos/21.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/22.cc b/tests/trilinos/22.cc index 02de1dd262..39088448b1 100644 --- a/tests/trilinos/22.cc +++ b/tests/trilinos/22.cc @@ -68,7 +68,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/23.cc b/tests/trilinos/23.cc index 02a74d4f59..cf8daa857e 100644 --- a/tests/trilinos/23.cc +++ b/tests/trilinos/23.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/24.cc b/tests/trilinos/24.cc index f6551ef20f..930ed64b32 100644 --- a/tests/trilinos/24.cc +++ b/tests/trilinos/24.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/26.cc b/tests/trilinos/26.cc index c603621f79..72f4b3964b 100644 --- a/tests/trilinos/26.cc +++ b/tests/trilinos/26.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/27.cc b/tests/trilinos/27.cc index 457aed7980..59c1b92df0 100644 --- a/tests/trilinos/27.cc +++ b/tests/trilinos/27.cc @@ -70,7 +70,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/28.cc b/tests/trilinos/28.cc index c03574c313..572d4da130 100644 --- a/tests/trilinos/28.cc +++ b/tests/trilinos/28.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/29.cc b/tests/trilinos/29.cc index 564986b932..9accc3de19 100644 --- a/tests/trilinos/29.cc +++ b/tests/trilinos/29.cc @@ -56,7 +56,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/30.cc b/tests/trilinos/30.cc index 84b057260a..1fe6ad9030 100644 --- a/tests/trilinos/30.cc +++ b/tests/trilinos/30.cc @@ -64,7 +64,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/31.cc b/tests/trilinos/31.cc index 3e23f54844..05f149487c 100644 --- a/tests/trilinos/31.cc +++ b/tests/trilinos/31.cc @@ -65,7 +65,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/32.cc b/tests/trilinos/32.cc index f9d1c46bcb..dce3d9d827 100644 --- a/tests/trilinos/32.cc +++ b/tests/trilinos/32.cc @@ -66,7 +66,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/33.cc b/tests/trilinos/33.cc index 87dd104651..ea3706b69a 100644 --- a/tests/trilinos/33.cc +++ b/tests/trilinos/33.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/34.cc b/tests/trilinos/34.cc index 09cb855b00..5544c93373 100644 --- a/tests/trilinos/34.cc +++ b/tests/trilinos/34.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/35.cc b/tests/trilinos/35.cc index 40ccdac29a..a8dae00a57 100644 --- a/tests/trilinos/35.cc +++ b/tests/trilinos/35.cc @@ -84,7 +84,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/36.cc b/tests/trilinos/36.cc index a69b3cf8fb..10f8669c17 100644 --- a/tests/trilinos/36.cc +++ b/tests/trilinos/36.cc @@ -84,7 +84,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/37.cc b/tests/trilinos/37.cc index 261cec9b60..8881180a02 100644 --- a/tests/trilinos/37.cc +++ b/tests/trilinos/37.cc @@ -63,7 +63,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/38.cc b/tests/trilinos/38.cc index 245e390416..bd054a5d1f 100644 --- a/tests/trilinos/38.cc +++ b/tests/trilinos/38.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/39.cc b/tests/trilinos/39.cc index b68e5638af..9398c0947a 100644 --- a/tests/trilinos/39.cc +++ b/tests/trilinos/39.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/40.cc b/tests/trilinos/40.cc index aa5dcd17df..2d85c13391 100644 --- a/tests/trilinos/40.cc +++ b/tests/trilinos/40.cc @@ -79,7 +79,7 @@ main(int argc, char **argv) test(v, w, x); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/41.cc b/tests/trilinos/41.cc index 98685b8aca..6098172207 100644 --- a/tests/trilinos/41.cc +++ b/tests/trilinos/41.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/42.cc b/tests/trilinos/42.cc index a73f18a235..3696cd87e7 100644 --- a/tests/trilinos/42.cc +++ b/tests/trilinos/42.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/45.cc b/tests/trilinos/45.cc index 86509dcba2..602dbc3adf 100644 --- a/tests/trilinos/45.cc +++ b/tests/trilinos/45.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/46.cc b/tests/trilinos/46.cc index 30ab478439..3dc72f488b 100644 --- a/tests/trilinos/46.cc +++ b/tests/trilinos/46.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/49.cc b/tests/trilinos/49.cc index 0e82fbb90d..000433a4dd 100644 --- a/tests/trilinos/49.cc +++ b/tests/trilinos/49.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/49a.cc b/tests/trilinos/49a.cc index 9652fc6d29..5d98cbe67d 100644 --- a/tests/trilinos/49a.cc +++ b/tests/trilinos/49a.cc @@ -84,7 +84,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/49b.cc b/tests/trilinos/49b.cc index 9c7e87636b..60858388c3 100644 --- a/tests/trilinos/49b.cc +++ b/tests/trilinos/49b.cc @@ -83,7 +83,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/50.cc b/tests/trilinos/50.cc index ee09544387..bb14e29a3d 100644 --- a/tests/trilinos/50.cc +++ b/tests/trilinos/50.cc @@ -85,7 +85,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/51.cc b/tests/trilinos/51.cc index 9e15f30c1d..e3b38e0a15 100644 --- a/tests/trilinos/51.cc +++ b/tests/trilinos/51.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/52.cc b/tests/trilinos/52.cc index 2f66d1b846..78c0583281 100644 --- a/tests/trilinos/52.cc +++ b/tests/trilinos/52.cc @@ -78,7 +78,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/53.cc b/tests/trilinos/53.cc index 5f083f41e0..7d9f03ab1c 100644 --- a/tests/trilinos/53.cc +++ b/tests/trilinos/53.cc @@ -74,7 +74,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/54.cc b/tests/trilinos/54.cc index 42dc53af90..36cccedc4e 100644 --- a/tests/trilinos/54.cc +++ b/tests/trilinos/54.cc @@ -74,7 +74,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/55.cc b/tests/trilinos/55.cc index 58120ecf55..774b243156 100644 --- a/tests/trilinos/55.cc +++ b/tests/trilinos/55.cc @@ -73,7 +73,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/56.cc b/tests/trilinos/56.cc index 69df145f28..378f8d138a 100644 --- a/tests/trilinos/56.cc +++ b/tests/trilinos/56.cc @@ -73,7 +73,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/57.cc b/tests/trilinos/57.cc index ad879c1d5d..28f26aa2c2 100644 --- a/tests/trilinos/57.cc +++ b/tests/trilinos/57.cc @@ -72,7 +72,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/58.cc b/tests/trilinos/58.cc index 2547d487fb..749a6ee66a 100644 --- a/tests/trilinos/58.cc +++ b/tests/trilinos/58.cc @@ -73,7 +73,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/60.cc b/tests/trilinos/60.cc index 1bb2c6a7d4..649d5a2a8a 100644 --- a/tests/trilinos/60.cc +++ b/tests/trilinos/60.cc @@ -75,7 +75,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/61.cc b/tests/trilinos/61.cc index ebb4c897c9..a1f1742252 100644 --- a/tests/trilinos/61.cc +++ b/tests/trilinos/61.cc @@ -82,7 +82,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/62.cc b/tests/trilinos/62.cc index ea4a63e568..16202ffc11 100644 --- a/tests/trilinos/62.cc +++ b/tests/trilinos/62.cc @@ -60,7 +60,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/63.cc b/tests/trilinos/63.cc index 75265da959..e262f2f548 100644 --- a/tests/trilinos/63.cc +++ b/tests/trilinos/63.cc @@ -58,7 +58,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/64.cc b/tests/trilinos/64.cc index 777429f363..7f5038efb7 100644 --- a/tests/trilinos/64.cc +++ b/tests/trilinos/64.cc @@ -80,7 +80,7 @@ main(int argc, char **argv) test(v2); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/66.cc b/tests/trilinos/66.cc index 8dbf9babdd..50850489b1 100644 --- a/tests/trilinos/66.cc +++ b/tests/trilinos/66.cc @@ -112,7 +112,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/67.cc b/tests/trilinos/67.cc index e4a0d72d77..f8213e4c2f 100644 --- a/tests/trilinos/67.cc +++ b/tests/trilinos/67.cc @@ -118,7 +118,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/68.cc b/tests/trilinos/68.cc index 1d937fe9e7..e6ecbb35b4 100644 --- a/tests/trilinos/68.cc +++ b/tests/trilinos/68.cc @@ -118,7 +118,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/69.cc b/tests/trilinos/69.cc index fdc8738ff6..d50a24ded5 100644 --- a/tests/trilinos/69.cc +++ b/tests/trilinos/69.cc @@ -126,7 +126,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/add_matrices_01.cc b/tests/trilinos/add_matrices_01.cc index 3636ee725a..6409f08813 100644 --- a/tests/trilinos/add_matrices_01.cc +++ b/tests/trilinos/add_matrices_01.cc @@ -109,7 +109,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/add_matrices_02.cc b/tests/trilinos/add_matrices_02.cc index 7ecc5417d4..34cedc622d 100644 --- a/tests/trilinos/add_matrices_02.cc +++ b/tests/trilinos/add_matrices_02.cc @@ -100,7 +100,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/add_matrices_03.cc b/tests/trilinos/add_matrices_03.cc index 483132ec59..353ed38a68 100644 --- a/tests/trilinos/add_matrices_03.cc +++ b/tests/trilinos/add_matrices_03.cc @@ -104,7 +104,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/add_matrices_04.cc b/tests/trilinos/add_matrices_04.cc index 5392e46cec..fbf5da88e3 100644 --- a/tests/trilinos/add_matrices_04.cc +++ b/tests/trilinos/add_matrices_04.cc @@ -80,7 +80,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/add_matrices_05.cc b/tests/trilinos/add_matrices_05.cc index 9aa8f45d04..01a4bcb76b 100644 --- a/tests/trilinos/add_matrices_05.cc +++ b/tests/trilinos/add_matrices_05.cc @@ -85,7 +85,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/add_matrices_06.cc b/tests/trilinos/add_matrices_06.cc index 4a605671b0..02eeef7dfb 100644 --- a/tests/trilinos/add_matrices_06.cc +++ b/tests/trilinos/add_matrices_06.cc @@ -98,7 +98,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_sparse_matrix_add_01.cc b/tests/trilinos/block_sparse_matrix_add_01.cc index 0268088411..f170e57102 100644 --- a/tests/trilinos/block_sparse_matrix_add_01.cc +++ b/tests/trilinos/block_sparse_matrix_add_01.cc @@ -151,7 +151,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_sparse_matrix_set_01.cc b/tests/trilinos/block_sparse_matrix_set_01.cc index 91c826dd63..6f98ef72cf 100644 --- a/tests/trilinos/block_sparse_matrix_set_01.cc +++ b/tests/trilinos/block_sparse_matrix_set_01.cc @@ -152,7 +152,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_sparse_matrix_vector_01.cc b/tests/trilinos/block_sparse_matrix_vector_01.cc index c3e0871368..d473e6f5a9 100644 --- a/tests/trilinos/block_sparse_matrix_vector_01.cc +++ b/tests/trilinos/block_sparse_matrix_vector_01.cc @@ -104,7 +104,7 @@ main(int argc, char **argv) { test(50, 47); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_sparse_matrix_vector_02.cc b/tests/trilinos/block_sparse_matrix_vector_02.cc index 7c755393e1..1ade68bc0d 100644 --- a/tests/trilinos/block_sparse_matrix_vector_02.cc +++ b/tests/trilinos/block_sparse_matrix_vector_02.cc @@ -98,7 +98,7 @@ main(int argc, char **argv) { test(50, 47); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_sparse_matrix_vector_03.cc b/tests/trilinos/block_sparse_matrix_vector_03.cc index 28f3e1450b..62b9cc222b 100644 --- a/tests/trilinos/block_sparse_matrix_vector_03.cc +++ b/tests/trilinos/block_sparse_matrix_vector_03.cc @@ -98,7 +98,7 @@ main(int argc, char **argv) { test(50, 47); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_sparse_matrix_vector_04.cc b/tests/trilinos/block_sparse_matrix_vector_04.cc index 72404ce407..2c9f73f0f2 100644 --- a/tests/trilinos/block_sparse_matrix_vector_04.cc +++ b/tests/trilinos/block_sparse_matrix_vector_04.cc @@ -90,7 +90,7 @@ main(int argc, char **argv) { test(50, 47); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_vector_iterator_01.cc b/tests/trilinos/block_vector_iterator_01.cc index d6ad2980fd..fbb0f3f567 100644 --- a/tests/trilinos/block_vector_iterator_01.cc +++ b/tests/trilinos/block_vector_iterator_01.cc @@ -102,7 +102,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_vector_iterator_02.cc b/tests/trilinos/block_vector_iterator_02.cc index 3b6c05b9fe..d4196e85a4 100644 --- a/tests/trilinos/block_vector_iterator_02.cc +++ b/tests/trilinos/block_vector_iterator_02.cc @@ -96,7 +96,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/block_vector_iterator_03.cc b/tests/trilinos/block_vector_iterator_03.cc index e07169641c..1f436d6a60 100644 --- a/tests/trilinos/block_vector_iterator_03.cc +++ b/tests/trilinos/block_vector_iterator_03.cc @@ -255,7 +255,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &e) + catch (const std::exception &e) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/direct_solver.cc b/tests/trilinos/direct_solver.cc index da25191fa3..d3876aa1a0 100644 --- a/tests/trilinos/direct_solver.cc +++ b/tests/trilinos/direct_solver.cc @@ -321,7 +321,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/direct_solver_2.cc b/tests/trilinos/direct_solver_2.cc index 26cedb5cda..b8791a94c4 100644 --- a/tests/trilinos/direct_solver_2.cc +++ b/tests/trilinos/direct_solver_2.cc @@ -398,7 +398,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/n_nonzeros_01.cc b/tests/trilinos/n_nonzeros_01.cc index 637182d19b..b17bcdaefd 100644 --- a/tests/trilinos/n_nonzeros_01.cc +++ b/tests/trilinos/n_nonzeros_01.cc @@ -52,7 +52,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/n_nonzeros_02.cc b/tests/trilinos/n_nonzeros_02.cc index 3e14eda2a5..8a8057534c 100644 --- a/tests/trilinos/n_nonzeros_02.cc +++ b/tests/trilinos/n_nonzeros_02.cc @@ -78,7 +78,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/n_nonzeros_02_parallel.cc b/tests/trilinos/n_nonzeros_02_parallel.cc index bc210218a7..4d256367ee 100644 --- a/tests/trilinos/n_nonzeros_02_parallel.cc +++ b/tests/trilinos/n_nonzeros_02_parallel.cc @@ -91,7 +91,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/parallel_sparse_matrix_01.cc b/tests/trilinos/parallel_sparse_matrix_01.cc index a6a23105dc..13fba939d2 100644 --- a/tests/trilinos/parallel_sparse_matrix_01.cc +++ b/tests/trilinos/parallel_sparse_matrix_01.cc @@ -117,7 +117,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/precondition.cc b/tests/trilinos/precondition.cc index 06e4956961..1073e9007e 100644 --- a/tests/trilinos/precondition.cc +++ b/tests/trilinos/precondition.cc @@ -451,7 +451,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/precondition_amg_dgp_01.cc b/tests/trilinos/precondition_amg_dgp_01.cc index dcd723d875..fb7d7872f8 100644 --- a/tests/trilinos/precondition_amg_dgp_01.cc +++ b/tests/trilinos/precondition_amg_dgp_01.cc @@ -244,7 +244,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/precondition_amg_dgp_03.cc b/tests/trilinos/precondition_amg_dgp_03.cc index fb254d09d2..bd431eadae 100644 --- a/tests/trilinos/precondition_amg_dgp_03.cc +++ b/tests/trilinos/precondition_amg_dgp_03.cc @@ -244,7 +244,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/precondition_amg_smoother.cc b/tests/trilinos/precondition_amg_smoother.cc index f98452c3d4..7b5223709f 100644 --- a/tests/trilinos/precondition_amg_smoother.cc +++ b/tests/trilinos/precondition_amg_smoother.cc @@ -288,7 +288,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/precondition_muelu_dgp.cc b/tests/trilinos/precondition_muelu_dgp.cc index 891e602a72..a680ac05d1 100644 --- a/tests/trilinos/precondition_muelu_dgp.cc +++ b/tests/trilinos/precondition_muelu_dgp.cc @@ -249,7 +249,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/precondition_muelu_q_iso_q1.cc b/tests/trilinos/precondition_muelu_q_iso_q1.cc index 21b349f11f..a071d5d58a 100644 --- a/tests/trilinos/precondition_muelu_q_iso_q1.cc +++ b/tests/trilinos/precondition_muelu_q_iso_q1.cc @@ -352,7 +352,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/precondition_muelu_smoother.cc b/tests/trilinos/precondition_muelu_smoother.cc index 36fd126be5..c52841fe64 100644 --- a/tests/trilinos/precondition_muelu_smoother.cc +++ b/tests/trilinos/precondition_muelu_smoother.cc @@ -288,7 +288,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/precondition_q_iso_q1.cc b/tests/trilinos/precondition_q_iso_q1.cc index a635d0698f..f8e561dc8d 100644 --- a/tests/trilinos/precondition_q_iso_q1.cc +++ b/tests/trilinos/precondition_q_iso_q1.cc @@ -344,7 +344,7 @@ main(int argc, char **argv) Step4<2> test; test.run(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/slowness_01.cc b/tests/trilinos/slowness_01.cc index 78101d8919..fd5ac46ac8 100644 --- a/tests/trilinos/slowness_01.cc +++ b/tests/trilinos/slowness_01.cc @@ -125,7 +125,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/slowness_02.cc b/tests/trilinos/slowness_02.cc index f29e9572e9..5acce9bebc 100644 --- a/tests/trilinos/slowness_02.cc +++ b/tests/trilinos/slowness_02.cc @@ -99,7 +99,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/slowness_03.cc b/tests/trilinos/slowness_03.cc index 7d2bff92a1..80a6ea5fa8 100644 --- a/tests/trilinos/slowness_03.cc +++ b/tests/trilinos/slowness_03.cc @@ -97,7 +97,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/slowness_04.cc b/tests/trilinos/slowness_04.cc index c4e7ea016a..a6d685653d 100644 --- a/tests/trilinos/slowness_04.cc +++ b/tests/trilinos/slowness_04.cc @@ -128,7 +128,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_add_01.cc b/tests/trilinos/sparse_matrix_add_01.cc index 3d55407914..4510a0f64a 100644 --- a/tests/trilinos/sparse_matrix_add_01.cc +++ b/tests/trilinos/sparse_matrix_add_01.cc @@ -106,7 +106,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_add_02.cc b/tests/trilinos/sparse_matrix_add_02.cc index bfda9613d0..96dbf085ce 100644 --- a/tests/trilinos/sparse_matrix_add_02.cc +++ b/tests/trilinos/sparse_matrix_add_02.cc @@ -105,7 +105,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_iterator_01.cc b/tests/trilinos/sparse_matrix_iterator_01.cc index aa359f53dd..1c18c33338 100644 --- a/tests/trilinos/sparse_matrix_iterator_01.cc +++ b/tests/trilinos/sparse_matrix_iterator_01.cc @@ -61,7 +61,7 @@ main(int argc, char **argv) test(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_set_01.cc b/tests/trilinos/sparse_matrix_set_01.cc index 5ead83c83e..af55245516 100644 --- a/tests/trilinos/sparse_matrix_set_01.cc +++ b/tests/trilinos/sparse_matrix_set_01.cc @@ -101,7 +101,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_set_02.cc b/tests/trilinos/sparse_matrix_set_02.cc index 2dc72c4a5d..7d0166c8cd 100644 --- a/tests/trilinos/sparse_matrix_set_02.cc +++ b/tests/trilinos/sparse_matrix_set_02.cc @@ -102,7 +102,7 @@ main(int argc, char **argv) test(m); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_01.cc b/tests/trilinos/sparse_matrix_vector_01.cc index 7d2d06118d..756c20a239 100644 --- a/tests/trilinos/sparse_matrix_vector_01.cc +++ b/tests/trilinos/sparse_matrix_vector_01.cc @@ -81,7 +81,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_02.cc b/tests/trilinos/sparse_matrix_vector_02.cc index 6568d1e964..e80c0afb29 100644 --- a/tests/trilinos/sparse_matrix_vector_02.cc +++ b/tests/trilinos/sparse_matrix_vector_02.cc @@ -81,7 +81,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_03.cc b/tests/trilinos/sparse_matrix_vector_03.cc index a645095cb2..112759569c 100644 --- a/tests/trilinos/sparse_matrix_vector_03.cc +++ b/tests/trilinos/sparse_matrix_vector_03.cc @@ -84,7 +84,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_04.cc b/tests/trilinos/sparse_matrix_vector_04.cc index 952bb2b5bc..6587ca9474 100644 --- a/tests/trilinos/sparse_matrix_vector_04.cc +++ b/tests/trilinos/sparse_matrix_vector_04.cc @@ -83,7 +83,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_05.cc b/tests/trilinos/sparse_matrix_vector_05.cc index 07352b53a4..55d66b7ba2 100644 --- a/tests/trilinos/sparse_matrix_vector_05.cc +++ b/tests/trilinos/sparse_matrix_vector_05.cc @@ -87,7 +87,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_06.cc b/tests/trilinos/sparse_matrix_vector_06.cc index 4942797b8d..41031f05c1 100644 --- a/tests/trilinos/sparse_matrix_vector_06.cc +++ b/tests/trilinos/sparse_matrix_vector_06.cc @@ -78,7 +78,7 @@ main(int argc, char **argv) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_07.cc b/tests/trilinos/sparse_matrix_vector_07.cc index be57232044..5dd8950380 100644 --- a/tests/trilinos/sparse_matrix_vector_07.cc +++ b/tests/trilinos/sparse_matrix_vector_07.cc @@ -92,7 +92,7 @@ main(int argc, char **argv) test(v, w, x); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_08.cc b/tests/trilinos/sparse_matrix_vector_08.cc index 75b04b0ebd..51ea46249e 100644 --- a/tests/trilinos/sparse_matrix_vector_08.cc +++ b/tests/trilinos/sparse_matrix_vector_08.cc @@ -85,7 +85,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_09.cc b/tests/trilinos/sparse_matrix_vector_09.cc index 626bc355f4..bcf4d4063c 100644 --- a/tests/trilinos/sparse_matrix_vector_09.cc +++ b/tests/trilinos/sparse_matrix_vector_09.cc @@ -85,7 +85,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_10.cc b/tests/trilinos/sparse_matrix_vector_10.cc index 7644d366da..92190df473 100644 --- a/tests/trilinos/sparse_matrix_vector_10.cc +++ b/tests/trilinos/sparse_matrix_vector_10.cc @@ -87,7 +87,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_11.cc b/tests/trilinos/sparse_matrix_vector_11.cc index 495d0a5140..a498ce17f9 100644 --- a/tests/trilinos/sparse_matrix_vector_11.cc +++ b/tests/trilinos/sparse_matrix_vector_11.cc @@ -86,7 +86,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_12.cc b/tests/trilinos/sparse_matrix_vector_12.cc index 19461bbe85..a28e3d71f7 100644 --- a/tests/trilinos/sparse_matrix_vector_12.cc +++ b/tests/trilinos/sparse_matrix_vector_12.cc @@ -97,7 +97,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_13.cc b/tests/trilinos/sparse_matrix_vector_13.cc index 950cbbbe4f..8cee07fa82 100644 --- a/tests/trilinos/sparse_matrix_vector_13.cc +++ b/tests/trilinos/sparse_matrix_vector_13.cc @@ -96,7 +96,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_14.cc b/tests/trilinos/sparse_matrix_vector_14.cc index dc198a87f8..d0e2f7612d 100644 --- a/tests/trilinos/sparse_matrix_vector_14.cc +++ b/tests/trilinos/sparse_matrix_vector_14.cc @@ -97,7 +97,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/sparse_matrix_vector_15.cc b/tests/trilinos/sparse_matrix_vector_15.cc index 1cd7c857aa..75d7c5d595 100644 --- a/tests/trilinos/sparse_matrix_vector_15.cc +++ b/tests/trilinos/sparse_matrix_vector_15.cc @@ -96,7 +96,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/subtract_mean_value_04.cc b/tests/trilinos/subtract_mean_value_04.cc index 736f0d7c9c..8643c8618b 100644 --- a/tests/trilinos/subtract_mean_value_04.cc +++ b/tests/trilinos/subtract_mean_value_04.cc @@ -80,7 +80,7 @@ main(int argc, char *argv[]) test(v); } } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc index c392a4fdd7..70b8e5dea9 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc @@ -59,7 +59,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc index 5e6c1026a0..80695c71dc 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc @@ -66,7 +66,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc index 4b177cddca..f132761ea7 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc @@ -66,7 +66,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc index f31c34412d..65cda3ac27 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc @@ -63,7 +63,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc index a0ed770c2f..e242ff2d23 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc index 99c85e4721..b326ce5451 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc index 290207aead..499a418e2d 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc index 0d2d7ee5cd..fa1e9b9d06 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc index 8ceed8147d..bce3bde992 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc @@ -60,7 +60,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc index 4002fa0760..8065cba479 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc @@ -62,7 +62,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc index 20c5393347..7f377640d7 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc @@ -70,7 +70,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc index f7db512a42..e202fc3a27 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc @@ -70,7 +70,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparsity_pattern_01.cc b/tests/trilinos/trilinos_sparsity_pattern_01.cc index 734403f31a..66bf8aaca3 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_01.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_01.cc @@ -81,7 +81,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparsity_pattern_02.cc b/tests/trilinos/trilinos_sparsity_pattern_02.cc index ba87cc6726..47f40873f3 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_02.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_02.cc @@ -173,7 +173,7 @@ main(int argc, char *argv[]) flow_problem.run(); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc b/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc index a3f180b2ca..1917cfc785 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc b/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc index fddfd96271..6dc62fbfc6 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc @@ -87,7 +87,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/trilinos/vector_assign_01.cc b/tests/trilinos/vector_assign_01.cc index 030b414520..3f516503b8 100644 --- a/tests/trilinos/vector_assign_01.cc +++ b/tests/trilinos/vector_assign_01.cc @@ -71,7 +71,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/vector_assign_02.cc b/tests/trilinos/vector_assign_02.cc index 37103087bc..7f1bde5e7d 100644 --- a/tests/trilinos/vector_assign_02.cc +++ b/tests/trilinos/vector_assign_02.cc @@ -70,7 +70,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/vector_equality_1.cc b/tests/trilinos/vector_equality_1.cc index 5f35dc6463..6f5ac40011 100644 --- a/tests/trilinos/vector_equality_1.cc +++ b/tests/trilinos/vector_equality_1.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/vector_equality_2.cc b/tests/trilinos/vector_equality_2.cc index 7dac4304b6..bd46a6a774 100644 --- a/tests/trilinos/vector_equality_2.cc +++ b/tests/trilinos/vector_equality_2.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/vector_equality_3.cc b/tests/trilinos/vector_equality_3.cc index d9567a88dd..0bf1342ea4 100644 --- a/tests/trilinos/vector_equality_3.cc +++ b/tests/trilinos/vector_equality_3.cc @@ -67,7 +67,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/vector_equality_4.cc b/tests/trilinos/vector_equality_4.cc index 3e2c9143bb..5433ec077c 100644 --- a/tests/trilinos/vector_equality_4.cc +++ b/tests/trilinos/vector_equality_4.cc @@ -69,7 +69,7 @@ main(int argc, char **argv) test(v, w); } } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/vector_swap_01.cc b/tests/trilinos/vector_swap_01.cc index eb243ac798..c76f79b94a 100644 --- a/tests/trilinos/vector_swap_01.cc +++ b/tests/trilinos/vector_swap_01.cc @@ -83,7 +83,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/trilinos/vector_swap_02.cc b/tests/trilinos/vector_swap_02.cc index ea95d1523d..bdd606b7f6 100644 --- a/tests/trilinos/vector_swap_02.cc +++ b/tests/trilinos/vector_swap_02.cc @@ -88,7 +88,7 @@ main(int argc, char **argv) { test(); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl diff --git a/tests/vector/complex_vector_11.cc b/tests/vector/complex_vector_11.cc index eb82ea22a0..2cf7d537db 100644 --- a/tests/vector/complex_vector_11.cc +++ b/tests/vector/complex_vector_11.cc @@ -48,7 +48,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_12.cc b/tests/vector/complex_vector_12.cc index 0283edb91d..21a07e7bae 100644 --- a/tests/vector/complex_vector_12.cc +++ b/tests/vector/complex_vector_12.cc @@ -62,7 +62,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_13.cc b/tests/vector/complex_vector_13.cc index d3a0a66936..781efb3d5c 100644 --- a/tests/vector/complex_vector_13.cc +++ b/tests/vector/complex_vector_13.cc @@ -62,7 +62,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_14.cc b/tests/vector/complex_vector_14.cc index f1137f4256..9bec0bd6bb 100644 --- a/tests/vector/complex_vector_14.cc +++ b/tests/vector/complex_vector_14.cc @@ -68,7 +68,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_15.cc b/tests/vector/complex_vector_15.cc index 18dd564c04..20ac8ad2ee 100644 --- a/tests/vector/complex_vector_15.cc +++ b/tests/vector/complex_vector_15.cc @@ -65,7 +65,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_16.cc b/tests/vector/complex_vector_16.cc index 320e4b6115..06ed6ab4e4 100644 --- a/tests/vector/complex_vector_16.cc +++ b/tests/vector/complex_vector_16.cc @@ -67,7 +67,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_17.cc b/tests/vector/complex_vector_17.cc index dad15ecdeb..d01f47d9b3 100644 --- a/tests/vector/complex_vector_17.cc +++ b/tests/vector/complex_vector_17.cc @@ -54,7 +54,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_18.cc b/tests/vector/complex_vector_18.cc index 5f882782ef..98045cbe6b 100644 --- a/tests/vector/complex_vector_18.cc +++ b/tests/vector/complex_vector_18.cc @@ -57,7 +57,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_19.cc b/tests/vector/complex_vector_19.cc index 27dee34715..98063f2518 100644 --- a/tests/vector/complex_vector_19.cc +++ b/tests/vector/complex_vector_19.cc @@ -54,7 +54,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_20.cc b/tests/vector/complex_vector_20.cc index 37de4dbe67..a3886cfef1 100644 --- a/tests/vector/complex_vector_20.cc +++ b/tests/vector/complex_vector_20.cc @@ -63,7 +63,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_21.cc b/tests/vector/complex_vector_21.cc index ed71aac475..e3dc7bd7b4 100644 --- a/tests/vector/complex_vector_21.cc +++ b/tests/vector/complex_vector_21.cc @@ -63,7 +63,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_21_negative.cc b/tests/vector/complex_vector_21_negative.cc index 5f0f56cbf5..b401316fd4 100644 --- a/tests/vector/complex_vector_21_negative.cc +++ b/tests/vector/complex_vector_21_negative.cc @@ -67,7 +67,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_22.cc b/tests/vector/complex_vector_22.cc index 10af76a760..df121f180f 100644 --- a/tests/vector/complex_vector_22.cc +++ b/tests/vector/complex_vector_22.cc @@ -57,7 +57,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_23.cc b/tests/vector/complex_vector_23.cc index 4a2f617631..2271d0fd24 100644 --- a/tests/vector/complex_vector_23.cc +++ b/tests/vector/complex_vector_23.cc @@ -71,7 +71,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_24.cc b/tests/vector/complex_vector_24.cc index bf3a3813a4..1c56f393e9 100644 --- a/tests/vector/complex_vector_24.cc +++ b/tests/vector/complex_vector_24.cc @@ -57,7 +57,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_25.cc b/tests/vector/complex_vector_25.cc index 4ce96161db..3fa46e8b82 100644 --- a/tests/vector/complex_vector_25.cc +++ b/tests/vector/complex_vector_25.cc @@ -53,7 +53,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_26.cc b/tests/vector/complex_vector_26.cc index 084b899d20..d47d86ee6c 100644 --- a/tests/vector/complex_vector_26.cc +++ b/tests/vector/complex_vector_26.cc @@ -52,7 +52,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_27.cc b/tests/vector/complex_vector_27.cc index 51652ee98a..21d132ea2a 100644 --- a/tests/vector/complex_vector_27.cc +++ b/tests/vector/complex_vector_27.cc @@ -59,7 +59,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_28.cc b/tests/vector/complex_vector_28.cc index 899032248d..1cfcf77cb6 100644 --- a/tests/vector/complex_vector_28.cc +++ b/tests/vector/complex_vector_28.cc @@ -61,7 +61,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_29.cc b/tests/vector/complex_vector_29.cc index 29c92659f8..20f2546c2e 100644 --- a/tests/vector/complex_vector_29.cc +++ b/tests/vector/complex_vector_29.cc @@ -46,7 +46,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_30.cc b/tests/vector/complex_vector_30.cc index f915e83f1c..109fb7dce7 100644 --- a/tests/vector/complex_vector_30.cc +++ b/tests/vector/complex_vector_30.cc @@ -54,7 +54,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_31.cc b/tests/vector/complex_vector_31.cc index c0bf8986a1..c5f4a01b84 100644 --- a/tests/vector/complex_vector_31.cc +++ b/tests/vector/complex_vector_31.cc @@ -56,7 +56,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_32.cc b/tests/vector/complex_vector_32.cc index 78f5ac4d03..7b6d2b5391 100644 --- a/tests/vector/complex_vector_32.cc +++ b/tests/vector/complex_vector_32.cc @@ -56,7 +56,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_33.cc b/tests/vector/complex_vector_33.cc index a166b35759..0d52a0f8bf 100644 --- a/tests/vector/complex_vector_33.cc +++ b/tests/vector/complex_vector_33.cc @@ -56,7 +56,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_34.cc b/tests/vector/complex_vector_34.cc index 38761bd956..671c8c71e3 100644 --- a/tests/vector/complex_vector_34.cc +++ b/tests/vector/complex_vector_34.cc @@ -55,7 +55,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_35.cc b/tests/vector/complex_vector_35.cc index 1910f57776..96a5d466a6 100644 --- a/tests/vector/complex_vector_35.cc +++ b/tests/vector/complex_vector_35.cc @@ -75,7 +75,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_36.cc b/tests/vector/complex_vector_36.cc index cc4135f428..deff1530a1 100644 --- a/tests/vector/complex_vector_36.cc +++ b/tests/vector/complex_vector_36.cc @@ -75,7 +75,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_37.cc b/tests/vector/complex_vector_37.cc index e9d03dcc40..83fddecfc2 100644 --- a/tests/vector/complex_vector_37.cc +++ b/tests/vector/complex_vector_37.cc @@ -54,7 +54,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_39.cc b/tests/vector/complex_vector_39.cc index 2385d8432d..71469ef93b 100644 --- a/tests/vector/complex_vector_39.cc +++ b/tests/vector/complex_vector_39.cc @@ -63,7 +63,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_40.cc b/tests/vector/complex_vector_40.cc index 7990a04bf9..4a7ce415f6 100644 --- a/tests/vector/complex_vector_40.cc +++ b/tests/vector/complex_vector_40.cc @@ -70,7 +70,7 @@ main() Vector> x(100); test(v, w, x); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_41.cc b/tests/vector/complex_vector_41.cc index 6ed2338868..ec62b201e1 100644 --- a/tests/vector/complex_vector_41.cc +++ b/tests/vector/complex_vector_41.cc @@ -63,7 +63,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_42.cc b/tests/vector/complex_vector_42.cc index b8db6eb583..f91143d655 100644 --- a/tests/vector/complex_vector_42.cc +++ b/tests/vector/complex_vector_42.cc @@ -63,7 +63,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_45.cc b/tests/vector/complex_vector_45.cc index 9e1001340c..4c59e56300 100644 --- a/tests/vector/complex_vector_45.cc +++ b/tests/vector/complex_vector_45.cc @@ -63,7 +63,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_46.cc b/tests/vector/complex_vector_46.cc index f623775756..d2af75dd21 100644 --- a/tests/vector/complex_vector_46.cc +++ b/tests/vector/complex_vector_46.cc @@ -63,7 +63,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_49.cc b/tests/vector/complex_vector_49.cc index 6bc9c2f283..1b23596430 100644 --- a/tests/vector/complex_vector_49.cc +++ b/tests/vector/complex_vector_49.cc @@ -59,7 +59,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_1.cc b/tests/vector/complex_vector_equality_1.cc index d95bf22f22..50bf714ec5 100644 --- a/tests/vector/complex_vector_equality_1.cc +++ b/tests/vector/complex_vector_equality_1.cc @@ -55,7 +55,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_2.cc b/tests/vector/complex_vector_equality_2.cc index 4d1fb5cf13..e32d1fa9a2 100644 --- a/tests/vector/complex_vector_equality_2.cc +++ b/tests/vector/complex_vector_equality_2.cc @@ -57,7 +57,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_3.cc b/tests/vector/complex_vector_equality_3.cc index 0a80f13672..ffbd4a7007 100644 --- a/tests/vector/complex_vector_equality_3.cc +++ b/tests/vector/complex_vector_equality_3.cc @@ -55,7 +55,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_4.cc b/tests/vector/complex_vector_equality_4.cc index 9dddcfe300..3f9cdf54eb 100644 --- a/tests/vector/complex_vector_equality_4.cc +++ b/tests/vector/complex_vector_equality_4.cc @@ -57,7 +57,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_5.cc b/tests/vector/complex_vector_equality_5.cc index 75a2e3b6aa..31deeef815 100644 --- a/tests/vector/complex_vector_equality_5.cc +++ b/tests/vector/complex_vector_equality_5.cc @@ -56,7 +56,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_6.cc b/tests/vector/complex_vector_equality_6.cc index 2e1898ae95..5eb79b9447 100644 --- a/tests/vector/complex_vector_equality_6.cc +++ b/tests/vector/complex_vector_equality_6.cc @@ -58,7 +58,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_7.cc b/tests/vector/complex_vector_equality_7.cc index c4297641c5..c3d6d377a3 100644 --- a/tests/vector/complex_vector_equality_7.cc +++ b/tests/vector/complex_vector_equality_7.cc @@ -56,7 +56,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_equality_8.cc b/tests/vector/complex_vector_equality_8.cc index cd98cc772c..66bb706a7a 100644 --- a/tests/vector/complex_vector_equality_8.cc +++ b/tests/vector/complex_vector_equality_8.cc @@ -58,7 +58,7 @@ main() Vector> w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/complex_vector_vector_01.cc b/tests/vector/complex_vector_vector_01.cc index fe061fbe46..6e09bf6aa8 100644 --- a/tests/vector/complex_vector_vector_01.cc +++ b/tests/vector/complex_vector_vector_01.cc @@ -50,7 +50,7 @@ main() Vector> v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_11.cc b/tests/vector/vector_11.cc index 47327afd13..685d6f008d 100644 --- a/tests/vector/vector_11.cc +++ b/tests/vector/vector_11.cc @@ -48,7 +48,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_12.cc b/tests/vector/vector_12.cc index a7c409919b..08c4f45eb5 100644 --- a/tests/vector/vector_12.cc +++ b/tests/vector/vector_12.cc @@ -61,7 +61,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_13.cc b/tests/vector/vector_13.cc index 4113f00cf7..27d5c35dfb 100644 --- a/tests/vector/vector_13.cc +++ b/tests/vector/vector_13.cc @@ -61,7 +61,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_14.cc b/tests/vector/vector_14.cc index bb01f4224a..57b48d5c95 100644 --- a/tests/vector/vector_14.cc +++ b/tests/vector/vector_14.cc @@ -67,7 +67,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_15.cc b/tests/vector/vector_15.cc index 81a1824903..caf53e1883 100644 --- a/tests/vector/vector_15.cc +++ b/tests/vector/vector_15.cc @@ -64,7 +64,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_16.cc b/tests/vector/vector_16.cc index 529a543137..27f6c5a7f2 100644 --- a/tests/vector/vector_16.cc +++ b/tests/vector/vector_16.cc @@ -66,7 +66,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_17.cc b/tests/vector/vector_17.cc index 6dbc30fab0..a95c9274a5 100644 --- a/tests/vector/vector_17.cc +++ b/tests/vector/vector_17.cc @@ -54,7 +54,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_18.cc b/tests/vector/vector_18.cc index f8312110cf..24f1247d21 100644 --- a/tests/vector/vector_18.cc +++ b/tests/vector/vector_18.cc @@ -56,7 +56,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_19.cc b/tests/vector/vector_19.cc index 6396ab52d1..cfd7c2ed98 100644 --- a/tests/vector/vector_19.cc +++ b/tests/vector/vector_19.cc @@ -54,7 +54,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_20.cc b/tests/vector/vector_20.cc index 09699d52e8..9fdea9a783 100644 --- a/tests/vector/vector_20.cc +++ b/tests/vector/vector_20.cc @@ -62,7 +62,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_21.cc b/tests/vector/vector_21.cc index 54f21a644a..53fc24786e 100644 --- a/tests/vector/vector_21.cc +++ b/tests/vector/vector_21.cc @@ -62,7 +62,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_21_negative.cc b/tests/vector/vector_21_negative.cc index b668e8536b..a2234569b7 100644 --- a/tests/vector/vector_21_negative.cc +++ b/tests/vector/vector_21_negative.cc @@ -64,7 +64,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_22.cc b/tests/vector/vector_22.cc index df3d710919..c6019a96b8 100644 --- a/tests/vector/vector_22.cc +++ b/tests/vector/vector_22.cc @@ -57,7 +57,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_23.cc b/tests/vector/vector_23.cc index 5d64cdbcc6..9ae182ecfe 100644 --- a/tests/vector/vector_23.cc +++ b/tests/vector/vector_23.cc @@ -64,7 +64,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_24.cc b/tests/vector/vector_24.cc index e3773a7b5c..cd651878f7 100644 --- a/tests/vector/vector_24.cc +++ b/tests/vector/vector_24.cc @@ -57,7 +57,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_26.cc b/tests/vector/vector_26.cc index 93c7796e3b..e7d8216690 100644 --- a/tests/vector/vector_26.cc +++ b/tests/vector/vector_26.cc @@ -52,7 +52,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_27.cc b/tests/vector/vector_27.cc index e1db592b24..878e7960e2 100644 --- a/tests/vector/vector_27.cc +++ b/tests/vector/vector_27.cc @@ -58,7 +58,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_28.cc b/tests/vector/vector_28.cc index 85c92e4275..2cd0d34dda 100644 --- a/tests/vector/vector_28.cc +++ b/tests/vector/vector_28.cc @@ -60,7 +60,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_29.cc b/tests/vector/vector_29.cc index f3a22ef810..ee2b951ae4 100644 --- a/tests/vector/vector_29.cc +++ b/tests/vector/vector_29.cc @@ -46,7 +46,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_30.cc b/tests/vector/vector_30.cc index b855f3b0f7..dcf00c0735 100644 --- a/tests/vector/vector_30.cc +++ b/tests/vector/vector_30.cc @@ -54,7 +54,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_31.cc b/tests/vector/vector_31.cc index 881597b19e..ad7147511e 100644 --- a/tests/vector/vector_31.cc +++ b/tests/vector/vector_31.cc @@ -55,7 +55,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_32.cc b/tests/vector/vector_32.cc index 8ff09c4d69..9f2a0c9d0e 100644 --- a/tests/vector/vector_32.cc +++ b/tests/vector/vector_32.cc @@ -56,7 +56,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_33.cc b/tests/vector/vector_33.cc index 986a9d1e11..14049caf81 100644 --- a/tests/vector/vector_33.cc +++ b/tests/vector/vector_33.cc @@ -56,7 +56,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_34.cc b/tests/vector/vector_34.cc index d9623636bf..0a74ab55b8 100644 --- a/tests/vector/vector_34.cc +++ b/tests/vector/vector_34.cc @@ -57,7 +57,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_35.cc b/tests/vector/vector_35.cc index a2c5081b12..6ffd2acaff 100644 --- a/tests/vector/vector_35.cc +++ b/tests/vector/vector_35.cc @@ -73,7 +73,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_36.cc b/tests/vector/vector_36.cc index d00c9d5b58..9c75a90174 100644 --- a/tests/vector/vector_36.cc +++ b/tests/vector/vector_36.cc @@ -73,7 +73,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_37.cc b/tests/vector/vector_37.cc index 4277307547..be2be643e3 100644 --- a/tests/vector/vector_37.cc +++ b/tests/vector/vector_37.cc @@ -53,7 +53,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_39.cc b/tests/vector/vector_39.cc index 1879e7c1d1..526ed15e8f 100644 --- a/tests/vector/vector_39.cc +++ b/tests/vector/vector_39.cc @@ -61,7 +61,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_40.cc b/tests/vector/vector_40.cc index aa740704d5..1e3f2a0e8c 100644 --- a/tests/vector/vector_40.cc +++ b/tests/vector/vector_40.cc @@ -65,7 +65,7 @@ main() Vector x(100); test(v, w, x); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_41.cc b/tests/vector/vector_41.cc index 78ed71f65c..4dbf8c7d45 100644 --- a/tests/vector/vector_41.cc +++ b/tests/vector/vector_41.cc @@ -61,7 +61,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_42.cc b/tests/vector/vector_42.cc index 760b78aef2..2d8b9fce9c 100644 --- a/tests/vector/vector_42.cc +++ b/tests/vector/vector_42.cc @@ -61,7 +61,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_45.cc b/tests/vector/vector_45.cc index 428b563d08..d0383c107a 100644 --- a/tests/vector/vector_45.cc +++ b/tests/vector/vector_45.cc @@ -61,7 +61,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_46.cc b/tests/vector/vector_46.cc index 3305ae3658..4cfff227d3 100644 --- a/tests/vector/vector_46.cc +++ b/tests/vector/vector_46.cc @@ -61,7 +61,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_49.cc b/tests/vector/vector_49.cc index 95dfb30c57..bf286da699 100644 --- a/tests/vector/vector_49.cc +++ b/tests/vector/vector_49.cc @@ -58,7 +58,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_57.cc b/tests/vector/vector_57.cc index 6024fb16c3..b8ee83cb10 100644 --- a/tests/vector/vector_57.cc +++ b/tests/vector/vector_57.cc @@ -62,7 +62,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_1.cc b/tests/vector/vector_equality_1.cc index 38e5f98710..421adc9da6 100644 --- a/tests/vector/vector_equality_1.cc +++ b/tests/vector/vector_equality_1.cc @@ -55,7 +55,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_2.cc b/tests/vector/vector_equality_2.cc index ed91b07f35..50130a2322 100644 --- a/tests/vector/vector_equality_2.cc +++ b/tests/vector/vector_equality_2.cc @@ -57,7 +57,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_3.cc b/tests/vector/vector_equality_3.cc index 84083faa96..45e8a613d4 100644 --- a/tests/vector/vector_equality_3.cc +++ b/tests/vector/vector_equality_3.cc @@ -55,7 +55,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_4.cc b/tests/vector/vector_equality_4.cc index f0d37aecf6..3bc3fee75d 100644 --- a/tests/vector/vector_equality_4.cc +++ b/tests/vector/vector_equality_4.cc @@ -57,7 +57,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_5.cc b/tests/vector/vector_equality_5.cc index 40e215d6df..2028e03f2a 100644 --- a/tests/vector/vector_equality_5.cc +++ b/tests/vector/vector_equality_5.cc @@ -56,7 +56,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_6.cc b/tests/vector/vector_equality_6.cc index 2eefb5067b..9551df8198 100644 --- a/tests/vector/vector_equality_6.cc +++ b/tests/vector/vector_equality_6.cc @@ -58,7 +58,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_7.cc b/tests/vector/vector_equality_7.cc index 5b5011ee46..b8542082b2 100644 --- a/tests/vector/vector_equality_7.cc +++ b/tests/vector/vector_equality_7.cc @@ -56,7 +56,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_equality_8.cc b/tests/vector/vector_equality_8.cc index abcb1a4ba5..5bb111d479 100644 --- a/tests/vector/vector_equality_8.cc +++ b/tests/vector/vector_equality_8.cc @@ -58,7 +58,7 @@ main() Vector w(100); test(v, w); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/vector/vector_vector_01.cc b/tests/vector/vector_vector_01.cc index 75e20da802..035014bbd3 100644 --- a/tests/vector/vector_vector_01.cc +++ b/tests/vector/vector_vector_01.cc @@ -49,7 +49,7 @@ main() Vector v(100); test(v); } - catch (std::exception &exc) + catch (const std::exception &exc) { deallog << std::endl << std::endl diff --git a/tests/zoltan/tria_zoltan_01.cc b/tests/zoltan/tria_zoltan_01.cc index 4f9da4bbf4..71de529131 100644 --- a/tests/zoltan/tria_zoltan_01.cc +++ b/tests/zoltan/tria_zoltan_01.cc @@ -54,7 +54,7 @@ main(int argc, char *argv[]) test<2>(MPI_COMM_WORLD); test<3>(MPI_COMM_WORLD); } - catch (std::exception &exc) + catch (const std::exception &exc) { std::cerr << std::endl << std::endl