]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
4 months agostd::uncaught_exceptions(): use > 0, not != 0. 17515/head
David Wells [Tue, 13 Aug 2024 20:47:30 +0000 (14:47 -0600)]
std::uncaught_exceptions(): use > 0, not != 0.

This is more consistent.

4 months agoDon't use std::uncaught_exception().
David Wells [Tue, 13 Aug 2024 20:43:55 +0000 (14:43 -0600)]
Don't use std::uncaught_exception().

This is a C++17 feature which was shipped with GCC-6: we can get rid of the
workaround now.

4 months agoMerge pull request #17485 from tjhei/disable-std-lib-checks
David Wells [Tue, 13 Aug 2024 20:56:22 +0000 (14:56 -0600)]
Merge pull request #17485 from tjhei/disable-std-lib-checks

enable c++ standard library debug checks

4 months agoRevert "Update tests/examples/step-49.diff" 17461/head
Lóránt Hadnagy [Tue, 13 Aug 2024 20:29:43 +0000 (23:29 +0300)]
Revert "Update tests/examples/step-49.diff"

This reverts commit 96801c77d0b6faa79b63aa701cfc24747d9860f1.

4 months agoMerge pull request #17495 from eterrell11/remove_void_cast_manifold
Timo Heister [Tue, 13 Aug 2024 20:00:08 +0000 (16:00 -0400)]
Merge pull request #17495 from eterrell11/remove_void_cast_manifold

Replaced void casts with maybe unused

4 months agoMerge pull request #17492 from tjhei/portable-mf-evaluation-flags
Daniel Arndt [Tue, 13 Aug 2024 19:53:21 +0000 (13:53 -0600)]
Merge pull request #17492 from tjhei/portable-mf-evaluation-flags

portable::FEEvaluation documentation fixes

4 months agoMerge pull request #17502 from magmaxt/remove_void_cast_grid_tools_cc
Timo Heister [Tue, 13 Aug 2024 19:47:58 +0000 (15:47 -0400)]
Merge pull request #17502 from magmaxt/remove_void_cast_grid_tools_cc

Use `[[maybe_unused]]` instead of void cast

4 months agocleanup maybe-unused in fe.cc 17514/head
Timo Heister [Tue, 13 Aug 2024 19:45:17 +0000 (15:45 -0400)]
cleanup maybe-unused in fe.cc

followup to #17508

4 months agoMerge pull request #17490 from landinjm/maybe_unused_cpp17
Timo Heister [Tue, 13 Aug 2024 19:44:26 +0000 (15:44 -0400)]
Merge pull request #17490 from landinjm/maybe_unused_cpp17

Removed first four void casts in `source/distributed/tria.cc` and replaced them with `[[maybe_unused]]`

4 months agoMerge pull request #17489 from mkghadban/fix_something_funcion_lib
Timo Heister [Tue, 13 Aug 2024 19:43:03 +0000 (15:43 -0400)]
Merge pull request #17489 from mkghadban/fix_something_funcion_lib

Use `[[maybe_unused]]` instead of `(void)` cast

4 months agoFix undefined behavior when advancing nullptr 17512/head
Daniel Arndt [Tue, 13 Aug 2024 19:29:13 +0000 (13:29 -0600)]
Fix undefined behavior when advancing nullptr

4 months agoMerge pull request #17510 from tamiko/minimize_unused_parameter_warnings
Timo Heister [Tue, 13 Aug 2024 19:23:52 +0000 (15:23 -0400)]
Merge pull request #17510 from tamiko/minimize_unused_parameter_warnings

Assert Macro: avoid unused parameters (etc.) warnings by always using macro arguments

4 months agoMerge pull request #17508 from tjhei/fix-warn
Matthias Maier [Tue, 13 Aug 2024 19:22:29 +0000 (19:22 +0000)]
Merge pull request #17508 from tjhei/fix-warn

remove [[maybe_unused]] in fe.cc

4 months agoMerge pull request #17507 from drwells/fix-petsc-matrix-base-set-add
Matthias Maier [Tue, 13 Aug 2024 17:28:50 +0000 (17:28 +0000)]
Merge pull request #17507 from drwells/fix-petsc-matrix-base-set-add

Fix PETScWrappers::MatrixBase::add()

4 months agostep-37: use MatrixFreeTools::compute_diagonal() 17517/head
Timo Heister [Tue, 13 Aug 2024 17:11:15 +0000 (13:11 -0400)]
step-37: use MatrixFreeTools::compute_diagonal()

4 months agoAssert Macro: avoid unused parameters (etc.) warnings by always using macro arguments 17510/head
Matthias Maier [Tue, 13 Aug 2024 15:50:44 +0000 (10:50 -0500)]
Assert Macro: avoid unused parameters (etc.) warnings by always using macro arguments

4 months agoCheck that diff file exists for every example. 17486/head
Marc Fehling [Mon, 12 Aug 2024 20:24:26 +0000 (14:24 -0600)]
Check that diff file exists for every example.

4 months agoAdd remaining examples to tests as run_only.
Marc Fehling [Mon, 12 Aug 2024 17:39:35 +0000 (11:39 -0600)]
Add remaining examples to tests as run_only.

4 months agoAdded default parameter file for step-71.
Marc Fehling [Tue, 13 Aug 2024 15:11:35 +0000 (09:11 -0600)]
Added default parameter file for step-71.

4 months agoExclude test output from check 17482/head
Rene Gassmoeller [Tue, 13 Aug 2024 15:08:38 +0000 (09:08 -0600)]
Exclude test output from check

4 months agoindent and add [[maybe_unused]] to parameter list 17509/head
Jerett Cherry [Tue, 13 Aug 2024 15:06:19 +0000 (09:06 -0600)]
indent and add [[maybe_unused]] to parameter list

4 months agoremove [[maybe_unused]] in fe.cc 17508/head
Timo Heister [Tue, 13 Aug 2024 15:02:53 +0000 (11:02 -0400)]
remove [[maybe_unused]] in fe.cc

This fixes the serial jenkins (gcc 9.4+unity build)

4 months agoMerge pull request #17499 from Sam0h51/remove_void_cast_init_finalize
Wolfgang Bangerth [Tue, 13 Aug 2024 15:00:29 +0000 (09:00 -0600)]
Merge pull request #17499 from Sam0h51/remove_void_cast_init_finalize

Replaced void cast with [[maybe_unused]] in init_finalize.cc

4 months agoUpdate tests/examples/step-49.diff
Lóránt Hadnagy [Tue, 13 Aug 2024 15:00:12 +0000 (18:00 +0300)]
Update tests/examples/step-49.diff

Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
4 months agoUpdate step-49, step-50 and their diffs.
Lóránt Hadnagy [Wed, 7 Aug 2024 21:05:31 +0000 (00:05 +0300)]
Update step-49, step-50 and their diffs.
Closes #17249.

4 months agoportable::FEEvaluation documentation fixes 17492/head
Timo Heister [Mon, 12 Aug 2024 21:14:23 +0000 (17:14 -0400)]
portable::FEEvaluation documentation fixes

4 months agofix test: invalid memory access 17485/head
Timo Heister [Tue, 13 Aug 2024 03:45:59 +0000 (23:45 -0400)]
fix test: invalid memory access

4 months agoMGTransferMF: fix nullptr access
Timo Heister [Tue, 13 Aug 2024 03:14:02 +0000 (23:14 -0400)]
MGTransferMF: fix nullptr access

transfer[min_level] is never used and okay to be null

4 months agoReplaced (void) cast with maybe unused | Modernize void cast 17502/head
Xiaochuan Tian [Mon, 12 Aug 2024 21:38:50 +0000 (15:38 -0600)]
Replaced (void) cast with maybe unused | Modernize void cast

4 months agoMerge pull request #17498 from jordanhoffart/remove_void_cast_fe
Matthias Maier [Tue, 13 Aug 2024 03:19:05 +0000 (03:19 +0000)]
Merge pull request #17498 from jordanhoffart/remove_void_cast_fe

Remove first 6/13 void casts in fe.cc

4 months agoindent 17497/head
Matthias Maier [Tue, 13 Aug 2024 03:18:39 +0000 (22:18 -0500)]
indent

4 months agoindent 17495/head
Matthias Maier [Tue, 13 Aug 2024 03:16:57 +0000 (22:16 -0500)]
indent

4 months agoMerge pull request #17494 from gassmoeller/remove_void_cast_mapping_q_eulerian
Matthias Maier [Tue, 13 Aug 2024 03:16:03 +0000 (03:16 +0000)]
Merge pull request #17494 from gassmoeller/remove_void_cast_mapping_q_eulerian

Modernize void cast

4 months agoMerge pull request #17493 from lpsaavedra/remove_void_cast
Matthias Maier [Tue, 13 Aug 2024 03:15:21 +0000 (03:15 +0000)]
Merge pull request #17493 from lpsaavedra/remove_void_cast

Replace void cast with `[[maybe_unused]]` in FESystem source file

4 months agoreplace (void) casts with [[maybe_unused]] 17489/head
Mohamad Ghadban [Mon, 12 Aug 2024 20:51:08 +0000 (14:51 -0600)]
replace (void) casts with [[maybe_unused]]

4 months agoMerge pull request #17416 from bangerth/smart-pointer
David Wells [Tue, 13 Aug 2024 02:56:51 +0000 (20:56 -0600)]
Merge pull request #17416 from bangerth/smart-pointer

Add move operations to SmartPointer.

4 months agoPETScWrappers::MatrixBase: use small_vector to avoid an allocation. 17507/head
David Wells [Tue, 13 Aug 2024 02:13:39 +0000 (20:13 -0600)]
PETScWrappers::MatrixBase: use small_vector to avoid an allocation.

Make it big enough to support a common Stokes element.

4 months agoMerge pull request #17481 from tamiko/relax_64bit_constraints
Wolfgang Bangerth [Tue, 13 Aug 2024 02:20:20 +0000 (20:20 -0600)]
Merge pull request #17481 from tamiko/relax_64bit_constraints

CMake: allow PETSc to be configured with differing ordinals

4 months agoTypo configuration
Rene Gassmoeller [Mon, 12 Aug 2024 19:00:56 +0000 (13:00 -0600)]
Typo configuration

4 months agoFixed error in attribute placement 17487/head
David Pecoraro [Mon, 12 Aug 2024 22:54:54 +0000 (16:54 -0600)]
Fixed error in attribute placement

4 months agoPETScWrappers::MatrixBase: consolidate the add and set functions.
David Wells [Mon, 12 Aug 2024 22:24:45 +0000 (16:24 -0600)]
PETScWrappers::MatrixBase: consolidate the add and set functions.

The only difference is the VectorOperation.

4 months agorun indent 17490/head
Matthias Maier [Mon, 12 Aug 2024 22:30:45 +0000 (17:30 -0500)]
run indent

4 months agoMake indent 17494/head
Rene Gassmoeller [Mon, 12 Aug 2024 22:15:44 +0000 (16:15 -0600)]
Make indent

4 months agoRemoved void casts with maybe unused
Edward Terrell [Mon, 12 Aug 2024 21:11:20 +0000 (17:11 -0400)]
Removed void casts with maybe unused

4 months agoPETScWrappers::MatrixBase: remove some mutable variables.
David Wells [Mon, 12 Aug 2024 21:57:00 +0000 (15:57 -0600)]
PETScWrappers::MatrixBase: remove some mutable variables.

4 months agoMerge pull request #17476 from tjhei/move-changelog-entry
Marc Fehling [Mon, 12 Aug 2024 21:37:14 +0000 (15:37 -0600)]
Merge pull request #17476 from tjhei/move-changelog-entry

put a changelog entry into the right place

4 months agoWe no longer need to keep it in one line. 17500/head
Marc Fehling [Mon, 12 Aug 2024 21:29:12 +0000 (15:29 -0600)]
We no longer need to keep it in one line.

4 months agoCustom enums.
Luca Heltai [Mon, 12 Aug 2024 21:25:57 +0000 (15:25 -0600)]
Custom enums.

4 months agoRetire DEAL_II_COMPILE_EXAMPLES.
Marc Fehling [Mon, 12 Aug 2024 21:16:19 +0000 (15:16 -0600)]
Retire DEAL_II_COMPILE_EXAMPLES.

4 months agoMerge pull request #17478 from peterrum/static_cast_remove
Matthias Maier [Mon, 12 Aug 2024 21:12:36 +0000 (21:12 +0000)]
Merge pull request #17478 from peterrum/static_cast_remove

Remove `static_cast`

4 months agoRemove void casts in FESystem source file 17493/head
Laura Prieto Saavedra [Mon, 12 Aug 2024 21:12:35 +0000 (17:12 -0400)]
Remove void casts in FESystem source file

4 months agoReplaced void cast with [[maybe_unused]] in init_finalize.cc 17499/head
Sam Scheuerman [Mon, 12 Aug 2024 21:12:22 +0000 (15:12 -0600)]
Replaced void cast with [[maybe_unused]] in init_finalize.cc

4 months agoModernize void cast
Rene Gassmoeller [Mon, 12 Aug 2024 21:12:08 +0000 (15:12 -0600)]
Modernize void cast

4 months agoAdded support for magic_enum.
Luca Heltai [Mon, 12 Aug 2024 21:00:55 +0000 (15:00 -0600)]
Added support for magic_enum.

4 months agodeal.ii workshop tutorials on PR, tria (5-10) [[maybe_unused]] fix
Oreste Marquis [Mon, 12 Aug 2024 20:58:03 +0000 (16:58 -0400)]
deal.ii workshop tutorials on PR, tria (5-10) [[maybe_unused]] fix

4 months agomarked potentially unused with [[maybe_unused]]
Jason Landini [Mon, 12 Aug 2024 20:52:42 +0000 (16:52 -0400)]
marked potentially unused with [[maybe_unused]]

4 months agofix void pointer issue
Jerett Cherry [Mon, 12 Aug 2024 20:52:11 +0000 (14:52 -0600)]
fix void pointer issue

4 months agoRemove first 6/13 void casts in fe.cc 17498/head
Jordan Hoffart [Mon, 12 Aug 2024 20:51:50 +0000 (14:51 -0600)]
Remove first 6/13 void casts in fe.cc

4 months agoremoved last four void casts and replaced with maybe_unused
David Pecoraro [Mon, 12 Aug 2024 20:50:14 +0000 (14:50 -0600)]
removed last four void casts and replaced with maybe_unused

4 months agoMerge pull request #17480 from tjhei/fix-some-changelog-dates
Matthias Maier [Mon, 12 Aug 2024 20:34:29 +0000 (20:34 +0000)]
Merge pull request #17480 from tjhei/fix-some-changelog-dates

fix some very old changelog dates

4 months agoenable c++ standard library debug checks
Timo Heister [Mon, 12 Aug 2024 20:26:25 +0000 (16:26 -0400)]
enable c++ standard library debug checks

4 months agoAdd more C++ resources to step-1. 17483/head
Wolfgang Bangerth [Mon, 12 Aug 2024 19:30:22 +0000 (13:30 -0600)]
Add more C++ resources to step-1.

4 months agoone more 17480/head
Timo Heister [Mon, 12 Aug 2024 17:23:25 +0000 (13:23 -0400)]
one more

4 months agoMerge pull request #17471 from tjhei/really-disable-complex-int
Matthias Maier [Mon, 12 Aug 2024 16:53:23 +0000 (16:53 +0000)]
Merge pull request #17471 from tjhei/really-disable-complex-int

change DEAL_II_WITH_COMPLEX_VALUES default to OFF

4 months agofix some very old changelog dates
Timo Heister [Mon, 12 Aug 2024 15:48:23 +0000 (11:48 -0400)]
fix some very old changelog dates

4 months agoput a changelog entry into the right place 17476/head
Timo Heister [Mon, 12 Aug 2024 13:32:17 +0000 (09:32 -0400)]
put a changelog entry into the right place

4 months agoDisallow copying SmartPointers pointing to dead objects. 17416/head
Wolfgang Bangerth [Mon, 12 Aug 2024 14:27:21 +0000 (08:27 -0600)]
Disallow copying SmartPointers pointing to dead objects.

4 months agodisable two tests 17471/head
Timo Heister [Mon, 12 Aug 2024 13:29:57 +0000 (09:29 -0400)]
disable two tests

4 months agoMerge pull request #17469 from drwells/petsc-communication-pattern-assertions
David Wells [Mon, 12 Aug 2024 13:06:07 +0000 (07:06 -0600)]
Merge pull request #17469 from drwells/petsc-communication-pattern-assertions

Check all PETSc index conversions.

4 months agoMerge pull request #17475 from tjhei/step-81-print-output
David Wells [Mon, 12 Aug 2024 04:37:43 +0000 (22:37 -0600)]
Merge pull request #17475 from tjhei/step-81-print-output

step-81: print something more to the screen

4 months agoPETScWrappers::VectorBase: use a better assertion. 17469/head
David Wells [Mon, 12 Aug 2024 02:43:54 +0000 (20:43 -0600)]
PETScWrappers::VectorBase: use a better assertion.

4 months agoPETScWrappers::MatrixBase: fix an assertion.
David Wells [Sun, 11 Aug 2024 21:24:31 +0000 (15:24 -0600)]
PETScWrappers::MatrixBase: fix an assertion.

4 months agoPETScWrappers::MPI::Vector: add index conversion checks.
David Wells [Sun, 11 Aug 2024 21:11:44 +0000 (15:11 -0600)]
PETScWrappers::MPI::Vector: add index conversion checks.

4 months agoPETScWrappers::VectorBase: add index conversion checks.
David Wells [Sun, 11 Aug 2024 21:11:15 +0000 (15:11 -0600)]
PETScWrappers::VectorBase: add index conversion checks.

4 months agoPETScWrappers::SparseMatrix: add index conversion checks.
David Wells [Sun, 11 Aug 2024 20:12:04 +0000 (14:12 -0600)]
PETScWrappers::SparseMatrix: add index conversion checks.

4 months agoPETScWrappers::MPI::SparseMatrix: add index conversion checks.
David Wells [Sun, 11 Aug 2024 20:08:48 +0000 (14:08 -0600)]
PETScWrappers::MPI::SparseMatrix: add index conversion checks.

4 months agoPetscWrappers::MatrixBase: add index conversion checks.
David Wells [Sun, 11 Aug 2024 20:08:11 +0000 (14:08 -0600)]
PetscWrappers::MatrixBase: add index conversion checks.

4 months agoIndexSet::make_petsc_is(): assert indices are in range.
David Wells [Sun, 11 Aug 2024 19:13:35 +0000 (13:13 -0600)]
IndexSet::make_petsc_is(): assert indices are in range.

4 months agoPETScWrappers::MatrixBase::add(): assert indices are in range.
David Wells [Sun, 11 Aug 2024 19:12:16 +0000 (13:12 -0600)]
PETScWrappers::MatrixBase::add(): assert indices are in range.

4 months agoPETScWrappers::MatrixBase::set(): assert indices are in range.
David Wells [Sun, 11 Aug 2024 18:49:08 +0000 (12:49 -0600)]
PETScWrappers::MatrixBase::set(): assert indices are in range.

4 months agoPETScWrappers::CommunicationPattern: assert indices are in range.
David Wells [Sun, 11 Aug 2024 18:19:14 +0000 (12:19 -0600)]
PETScWrappers::CommunicationPattern: assert indices are in range.

4 months agoAdd assertions for integer conversions.
David Wells [Sun, 11 Aug 2024 18:18:19 +0000 (12:18 -0600)]
Add assertions for integer conversions.

These are the same as AssertDimension() but for integer conversions.

4 months agoMerge pull request #17468 from drwells/fix-petsc-extract-subvector
David Wells [Mon, 12 Aug 2024 02:26:42 +0000 (20:26 -0600)]
Merge pull request #17468 from drwells/fix-petsc-extract-subvector

PETScWrappers::VectorBase: avoid hard-coding unsigned int indices.

4 months agostep-81: print something more to the screen 17475/head
Timo Heister [Sun, 11 Aug 2024 19:05:49 +0000 (15:05 -0400)]
step-81: print something more to the screen

4 months agoMerge pull request #17467 from tjhei/disable-complex-inst
Matthias Maier [Mon, 12 Aug 2024 00:21:54 +0000 (00:21 +0000)]
Merge pull request #17467 from tjhei/disable-complex-inst

step-81: do not require WITH_COMPLEX_VALUES

4 months agoMerge pull request #17470 from tamiko/strict_aliasing
Matthias Maier [Sun, 11 Aug 2024 23:38:27 +0000 (23:38 +0000)]
Merge pull request #17470 from tamiko/strict_aliasing

CMake: do not set -fstrict-aliasing explicitly

4 months agochangelog
Timo Heister [Sun, 11 Aug 2024 22:59:39 +0000 (18:59 -0400)]
changelog

4 months agochange DEAL_II_WITH_COMPLEX_VALUES default to OFF
Timo Heister [Sun, 11 Aug 2024 22:15:33 +0000 (18:15 -0400)]
change DEAL_II_WITH_COMPLEX_VALUES default to OFF

4 months agoMerge pull request #17465 from tjhei/kokkos-cuda-warn-return
Daniel Arndt [Sun, 11 Aug 2024 20:09:11 +0000 (14:09 -0600)]
Merge pull request #17465 from tjhei/kokkos-cuda-warn-return

Kokkos+CUDA: disable warning

4 months agoalso enable test 17467/head
Timo Heister [Sun, 11 Aug 2024 19:05:01 +0000 (15:05 -0400)]
also enable test

4 months agoCMake: do not set -fstrict-aliasing explicitly 17470/head
Matthias Maier [Sun, 11 Aug 2024 18:59:19 +0000 (13:59 -0500)]
CMake: do not set -fstrict-aliasing explicitly

This flag is part of the -O2 optimization set already. So let's not set
it manually.

4 months agoCMake: allow PETSc to be configured with differing ordinals 17481/head
Matthias Maier [Sun, 11 Aug 2024 17:50:26 +0000 (12:50 -0500)]
CMake: allow PETSc to be configured with differing ordinals

4 months agoPETScWrappers::VectorBase: avoid hard-coding unsigned int indices. 17468/head
David Wells [Sun, 11 Aug 2024 17:50:05 +0000 (11:50 -0600)]
PETScWrappers::VectorBase: avoid hard-coding unsigned int indices.

Part of #16528.

4 months agostep-81: do not require WITH_COMPLEX_VALUES
Timo Heister [Sun, 11 Aug 2024 17:31:09 +0000 (13:31 -0400)]
step-81: do not require WITH_COMPLEX_VALUES

We are not using any of the SP/Matrices with complex

4 months agoKokkos+CUDA: disable warning 17465/head
Timo Heister [Sun, 11 Aug 2024 17:21:58 +0000 (13:21 -0400)]
Kokkos+CUDA: disable warning

nvcc decides that it should produce a warning about a missing return in
a situation like this:
```
{
  if (check)
    return true;
  else
    return false;
}
```
Disable this warning.

4 months agoRemove static_cast 17478/head
Peter Munch [Sat, 10 Aug 2024 16:38:33 +0000 (18:38 +0200)]
Remove static_cast

4 months agoMerge pull request #17449 from bangerth/assertion-text
Rene Gassmoeller [Sat, 10 Aug 2024 15:46:14 +0000 (08:46 -0700)]
Merge pull request #17449 from bangerth/assertion-text

Improve an error message.

4 months agoMake sure noexcept functions are indeed noexcept.
Wolfgang Bangerth [Tue, 6 Aug 2024 17:17:18 +0000 (11:17 -0600)]
Make sure noexcept functions are indeed noexcept.

4 months agoMake code easier to read by moving a condition outward.
Wolfgang Bangerth [Tue, 6 Aug 2024 16:27:40 +0000 (10:27 -0600)]
Make code easier to read by moving a condition outward.

4 months agoAdd a forgotten std::move(...) use.
Wolfgang Bangerth [Thu, 1 Aug 2024 16:28:37 +0000 (10:28 -0600)]
Add a forgotten std::move(...) use.


In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.