]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
19 months agoMerge pull request #14767 from bangerth/cleanups
Timo Heister [Wed, 8 Feb 2023 11:51:57 +0000 (06:51 -0500)]
Merge pull request #14767 from bangerth/cleanups

Minor cleanups in PETSc interfaces.

19 months agoMerge pull request #14765 from pengfej/fixing_random_number_generator
Daniel Arndt [Wed, 8 Feb 2023 02:55:49 +0000 (21:55 -0500)]
Merge pull request #14765 from pengfej/fixing_random_number_generator

19 months agoMinor cleanups in PETSc interfaces. 14767/head
Wolfgang Bangerth [Wed, 8 Feb 2023 00:30:12 +0000 (17:30 -0700)]
Minor cleanups in PETSc interfaces.

Specifically, silence a warning about an unused variable. While there,
mark a couple more variables as 'const'.

19 months agoUpdate source/base/mu_parser_internal.cc 14765/head
Pengfei Jia [Tue, 7 Feb 2023 18:50:32 +0000 (13:50 -0500)]
Update source/base/mu_parser_internal.cc

Co-authored-by: Timo Heister <timo.heister@gmail.com>
19 months agoindent
Pengfei Jia [Tue, 7 Feb 2023 18:26:29 +0000 (13:26 -0500)]
indent

19 months agoAdding tests and fixing comments
Pengfei Jia [Tue, 7 Feb 2023 18:25:32 +0000 (13:25 -0500)]
Adding tests and fixing comments

19 months agoFixing random number generator function parser
Pengfei Jia [Tue, 7 Feb 2023 17:17:31 +0000 (12:17 -0500)]
Fixing random number generator function parser

19 months agoMerge pull request #14728 from peterrum/find_all_active_cells_around_point
Daniel Arndt [Tue, 7 Feb 2023 13:35:57 +0000 (08:35 -0500)]
Merge pull request #14728 from peterrum/find_all_active_cells_around_point

19 months agoFix find_all_active_cells_around_point() 14728/head
Peter Munch [Wed, 25 Jan 2023 22:17:53 +0000 (23:17 +0100)]
Fix find_all_active_cells_around_point()

Co-authored-by: Magdalena Schreter <schreter.magdalena@gmail.com>
19 months agoMerge pull request #14763 from Rombur/static_tests
Marc Fehling [Tue, 7 Feb 2023 07:41:50 +0000 (00:41 -0700)]
Merge pull request #14763 from Rombur/static_tests

Don't use static variables in tests

19 months agoDon't use static variables in tests 14763/head
Bruno Turcksin [Tue, 7 Feb 2023 02:40:44 +0000 (21:40 -0500)]
Don't use static variables in tests

19 months agoMerge pull request #14756 from dealii/dependabot/github_actions/docker/build-push...
Marc Fehling [Mon, 6 Feb 2023 18:32:46 +0000 (11:32 -0700)]
Merge pull request #14756 from dealii/dependabot/github_actions/docker/build-push-action-4

Bump docker/build-push-action from 3 to 4

19 months agoBump docker/build-push-action from 3 to 4 dependabot/github_actions/docker/build-push-action-4 14756/head
dependabot[bot] [Mon, 6 Feb 2023 02:24:41 +0000 (02:24 +0000)]
Bump docker/build-push-action from 3 to 4

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
19 months agoMerge pull request #14755 from Rombur/kokko_mpi
Timo Heister [Sun, 5 Feb 2023 22:21:28 +0000 (17:21 -0500)]
Merge pull request #14755 from Rombur/kokko_mpi

Add Kokkos::initialize and finalize to MPI_InitFinalize

19 months agoAdd Kokkos::initalize and finalize to MPI_InitFinalize 14755/head
Bruno Turcksin [Fri, 3 Feb 2023 15:03:54 +0000 (10:03 -0500)]
Add Kokkos::initalize and finalize to MPI_InitFinalize

19 months agoRemove Kokkos::initialize and finalize
Bruno Turcksin [Fri, 3 Feb 2023 14:58:55 +0000 (09:58 -0500)]
Remove Kokkos::initialize and finalize

19 months agoMerge pull request #14753 from masterleinad/kokkos_clean_up
Matthias Maier [Fri, 3 Feb 2023 16:03:25 +0000 (16:03 +0000)]
Merge pull request #14753 from masterleinad/kokkos_clean_up

Avoid __CUDA_ARCH__ in source code

19 months agoWrap Kokkos::abort 14753/head
Daniel Arndt [Thu, 2 Feb 2023 20:57:44 +0000 (15:57 -0500)]
Wrap Kokkos::abort

19 months agoFix nvcc
Daniel Arndt [Thu, 2 Feb 2023 15:50:39 +0000 (15:50 +0000)]
Fix nvcc

19 months agoifdef KOKKOS_VERSION -> if KOKKOS_VERSION
Daniel Arndt [Thu, 2 Feb 2023 13:16:39 +0000 (08:16 -0500)]
ifdef KOKKOS_VERSION -> if KOKKOS_VERSION

19 months agoMerge pull request #14752 from simonsticko/fix_missing_kokkos_header
Marc Fehling [Thu, 2 Feb 2023 06:44:47 +0000 (23:44 -0700)]
Merge pull request #14752 from simonsticko/fix_missing_kokkos_header

Make sure all Kokkos headers are installed

19 months agoDisable warnings in Kokkos headers
Daniel Arndt [Thu, 2 Feb 2023 03:32:32 +0000 (22:32 -0500)]
Disable warnings in Kokkos headers

19 months agoAvoid __CUDA_ARCH__ in source code
Daniel Arndt [Wed, 1 Feb 2023 22:02:19 +0000 (17:02 -0500)]
Avoid __CUDA_ARCH__ in source code

19 months agoMake sure all Kokkos headers are installed 14752/head
Simon Sticko [Wed, 1 Feb 2023 18:30:24 +0000 (19:30 +0100)]
Make sure all Kokkos headers are installed

One of the Kokkos headers has a .h extension and not .hpp as the
others. Add *.h to the the pattern of headers we copy over when we
install the library.

19 months agoMerge pull request #14726 from tamiko/silence_warnings
Daniel Arndt [Wed, 1 Feb 2023 14:39:42 +0000 (09:39 -0500)]
Merge pull request #14726 from tamiko/silence_warnings

19 months agoMerge pull request #14746 from bangerth/thread
Daniel Arndt [Wed, 1 Feb 2023 14:38:07 +0000 (09:38 -0500)]
Merge pull request #14746 from bangerth/thread

19 months agoMerge pull request #14744 from singima/kinsol_edits
Daniel Arndt [Wed, 1 Feb 2023 14:37:18 +0000 (09:37 -0500)]
Merge pull request #14744 from singima/kinsol_edits

19 months agoSome edits of the KINSol documentation. 14744/head
Sean Ingimarson [Fri, 27 Jan 2023 17:45:20 +0000 (12:45 -0500)]
Some edits of the KINSol documentation.

19 months agoMerge pull request #14747 from marcfehling/doc-setactivefe
David Wells [Tue, 31 Jan 2023 13:31:22 +0000 (08:31 -0500)]
Merge pull request #14747 from marcfehling/doc-setactivefe

Doc: Inform user how to exchange active FE indices on ghost cells.

19 months agoDoc: Inform user how to exchange active FE indices on ghost cells. 14747/head
Marc Fehling [Tue, 31 Jan 2023 05:54:50 +0000 (22:54 -0700)]
Doc: Inform user how to exchange active FE indices on ghost cells.

19 months agoMerge pull request #14745 from drwells/exodus-lines
Wolfgang Bangerth [Tue, 31 Jan 2023 02:00:36 +0000 (19:00 -0700)]
Merge pull request #14745 from drwells/exodus-lines

Make the ExodusII reader work with line types.

19 months agoMerge pull request #14740 from bangerth/doc-12
David Wells [Mon, 30 Jan 2023 20:25:23 +0000 (15:25 -0500)]
Merge pull request #14740 from bangerth/doc-12

Better document CommunicationPatternBase and derived classes.

19 months agoRemove a BOOST src directory we don't use. 14746/head
Wolfgang Bangerth [Mon, 30 Jan 2023 19:51:22 +0000 (12:51 -0700)]
Remove a BOOST src directory we don't use.

19 months agoMake ExodusII work with line types. 14745/head
David Wells [Fri, 27 Jan 2023 22:28:09 +0000 (17:28 -0500)]
Make ExodusII work with line types.

This is useful for loading codim 1 and codim 2 meshes.

19 months agoMerge pull request #14741 from bangerth/index-set
David Wells [Fri, 27 Jan 2023 22:29:04 +0000 (17:29 -0500)]
Merge pull request #14741 from bangerth/index-set

Introduce IndexSet::get_index_vector().

19 months agoReplace deprecated function in tests. 14741/head
Wolfgang Bangerth [Fri, 27 Jan 2023 20:15:37 +0000 (13:15 -0700)]
Replace deprecated function in tests.

19 months agoDeprecate a fill function.
Wolfgang Bangerth [Fri, 27 Jan 2023 20:11:50 +0000 (13:11 -0700)]
Deprecate a fill function.

19 months agoMerge pull request #14737 from drwells/default-orientation
Daniel Arndt [Fri, 27 Jan 2023 18:34:46 +0000 (13:34 -0500)]
Merge pull request #14737 from drwells/default-orientation

19 months agoMerge pull request #14731 from tamiko/fix_tests_3
David Wells [Fri, 27 Jan 2023 14:10:53 +0000 (09:10 -0500)]
Merge pull request #14731 from tamiko/fix_tests_3

Test cgal/cgal_intersect_simplices_1d_3d: constrain to version 5.5 or newer

19 months agoMerge pull request #14571 from masterleinad/kokkos_la_d_vector_device_aware_mpi
Bruno Turcksin [Fri, 27 Jan 2023 13:46:34 +0000 (08:46 -0500)]
Merge pull request #14571 from masterleinad/kokkos_la_d_vector_device_aware_mpi

19 months agoMerge pull request #14743 from tamiko/cmake_improvements_2
David Wells [Fri, 27 Jan 2023 12:42:11 +0000 (07:42 -0500)]
Merge pull request #14743 from tamiko/cmake_improvements_2

Documentation: update to reflect recent CMake changes

19 months agoMerge pull request #14742 from tamiko/cmake_improvements
David Wells [Fri, 27 Jan 2023 12:34:31 +0000 (07:34 -0500)]
Merge pull request #14742 from tamiko/cmake_improvements

CMake: Uniformly raise the minimum required version to 3.13.4

19 months agoMerge pull request #14738 from tamiko/make_older_cmake_happy
David Wells [Fri, 27 Jan 2023 12:32:42 +0000 (07:32 -0500)]
Merge pull request #14738 from tamiko/make_older_cmake_happy

CMake: do not use VERSION for interface targets for older CMake versions

19 months agoMerge pull request #14739 from masterleinad/strip_x_cuda
Marc Fehling [Fri, 27 Jan 2023 05:40:34 +0000 (22:40 -0700)]
Merge pull request #14739 from masterleinad/strip_x_cuda

Strip "-x cuda" from Trilinos flags without configured Cuda support

19 months agodoc/users: update to new cmake syntax, update to recent changes 14743/head
Matthias Maier [Fri, 27 Jan 2023 01:12:19 +0000 (19:12 -0600)]
doc/users: update to new cmake syntax, update to recent changes

19 months agodoc/developers: update to new cmake syntax, update to recent changes
Matthias Maier [Fri, 27 Jan 2023 01:03:22 +0000 (19:03 -0600)]
doc/developers: update to new cmake syntax, update to recent changes

19 months agoupdate news entry 14742/head
Matthias Maier [Fri, 27 Jan 2023 00:51:19 +0000 (18:51 -0600)]
update news entry

19 months agoexamples/step-81: depend on deal.II 9.5.0
Matthias Maier [Fri, 27 Jan 2023 00:41:42 +0000 (18:41 -0600)]
examples/step-81: depend on deal.II 9.5.0

19 months agoCMake: Uniformly raise the minimum required version to 3.13.4
Matthias Maier [Fri, 27 Jan 2023 00:40:52 +0000 (18:40 -0600)]
CMake: Uniformly raise the minimum required version to 3.13.4

19 months agoMerge pull request #14735 from luca-heltai/stefanozampini/issue-14656
Wolfgang Bangerth [Fri, 27 Jan 2023 00:18:52 +0000 (17:18 -0700)]
Merge pull request #14735 from luca-heltai/stefanozampini/issue-14656

partially address https://github.com/dealii/dealii/issues/14656

19 months agoCMake: do use VERSION for interface targets for older CMake versions 14738/head
Matthias Maier [Thu, 26 Jan 2023 15:07:35 +0000 (09:07 -0600)]
CMake: do use VERSION for interface targets for older CMake versions

19 months agoUse get_index_vector() instead of fill_index_vector().
Wolfgang Bangerth [Thu, 26 Jan 2023 23:14:25 +0000 (16:14 -0700)]
Use get_index_vector() instead of fill_index_vector().

19 months agoStrip "-x cuda" from Trilinos flags without configured Cuda support 14739/head
Daniel Arndt [Thu, 26 Jan 2023 22:25:13 +0000 (17:25 -0500)]
Strip "-x cuda" from Trilinos flags without configured Cuda support

19 months agoAdd a changelog entry.
Wolfgang Bangerth [Thu, 26 Jan 2023 23:08:16 +0000 (16:08 -0700)]
Add a changelog entry.

19 months agoIntroduce IndexSet::get_index_vector().
Wolfgang Bangerth [Thu, 26 Jan 2023 23:07:09 +0000 (16:07 -0700)]
Introduce IndexSet::get_index_vector().

19 months agoBetter document CommunicationPatternBase and derived classes. 14740/head
Wolfgang Bangerth [Thu, 26 Jan 2023 22:45:20 +0000 (15:45 -0700)]
Better document CommunicationPatternBase and derived classes.

19 months agoAdd some comments describing our orientation implementation. 14737/head
David Wells [Thu, 26 Jan 2023 03:32:44 +0000 (22:32 -0500)]
Add some comments describing our orientation implementation.

19 months agoConsistently name things 'combined face orientation'.
David Wells [Sat, 21 Jan 2023 22:40:29 +0000 (17:40 -0500)]
Consistently name things 'combined face orientation'.

19 months agoUn-hardcode some more face and line orientations.
David Wells [Sat, 21 Jan 2023 18:16:40 +0000 (13:16 -0500)]
Un-hardcode some more face and line orientations.

19 months agoMerge pull request #14685 from luca-heltai/stefanozampini/petsc-precon
Wolfgang Bangerth [Thu, 26 Jan 2023 20:58:11 +0000 (13:58 -0700)]
Merge pull request #14685 from luca-heltai/stefanozampini/petsc-precon

PETScWrappers: improve preconditioner class

19 months agoMerge pull request #14732 from drwells/unhardcode-fe-p-orientation
Wolfgang Bangerth [Thu, 26 Jan 2023 20:54:53 +0000 (13:54 -0700)]
Merge pull request #14732 from drwells/unhardcode-fe-p-orientation

Un-hardcode some orientation info in FE_SimplexP{_Bubbles}.

19 months agoMerge pull request #14713 from tamiko/parallelize_tests
Wolfgang Bangerth [Thu, 26 Jan 2023 20:45:44 +0000 (13:45 -0700)]
Merge pull request #14713 from tamiko/parallelize_tests

CMake: add_test(): allow concurrent runs of tests with shared targets

19 months agoMerge pull request #14729 from tamiko/fix_tests_1
David Wells [Thu, 26 Jan 2023 14:53:41 +0000 (09:53 -0500)]
Merge pull request #14729 from tamiko/fix_tests_1

Test gmsh/gmsh_api_(01|02|03|04): add output variants

19 months agoUse DEAL_II_CONSTEXPR_IN_CONDITIONAL 14571/head
Daniel Arndt [Thu, 26 Jan 2023 14:27:08 +0000 (09:27 -0500)]
Use DEAL_II_CONSTEXPR_IN_CONDITIONAL

19 months agoMerge remote-tracking branch 'upstream/master' into kokkos_la_d_vector_device_aware_mpi
Daniel Arndt [Thu, 26 Jan 2023 14:05:35 +0000 (09:05 -0500)]
Merge remote-tracking branch 'upstream/master' into kokkos_la_d_vector_device_aware_mpi

19 months agoMerge pull request #14733 from masterleinad/fix_old_kokkos_tests
Daniel Arndt [Thu, 26 Jan 2023 13:22:40 +0000 (08:22 -0500)]
Merge pull request #14733 from masterleinad/fix_old_kokkos_tests

19 months agofix mispells 14735/head
Stefano Zampini [Tue, 17 Jan 2023 14:41:22 +0000 (17:41 +0300)]
fix mispells

19 months agoImprove documentation
Stefano Zampini [Mon, 16 Jan 2023 14:19:01 +0000 (17:19 +0300)]
Improve documentation

19 months agorename assign_petsc_matrix/vector to reinit
Stefano Zampini [Mon, 16 Jan 2023 13:27:34 +0000 (16:27 +0300)]
rename assign_petsc_matrix/vector to reinit

19 months agoFix a couple tests for older Kokkos versions used by Trilinos 14733/head
Daniel Arndt [Thu, 26 Jan 2023 04:12:36 +0000 (23:12 -0500)]
Fix a couple tests for older Kokkos versions used by Trilinos

19 months agoUn-hardcode some orientation info in FE_SimplexP{_Bubbles}. 14732/head
David Wells [Thu, 26 Jan 2023 02:44:21 +0000 (21:44 -0500)]
Un-hardcode some orientation info in FE_SimplexP{_Bubbles}.

19 months agoTest cgal/cgal_intersect_simplices_1d_3d: constrain to version 5.5 or newer 14731/head
Matthias Maier [Thu, 26 Jan 2023 01:53:59 +0000 (19:53 -0600)]
Test cgal/cgal_intersect_simplices_1d_3d: constrain to version 5.5 or newer

The test fails with the following assertion:

--------------------------------------------------------
An error occurred in line <557> of file <source/cgal/intersections.cc> in function [...]
The violated condition was:
    false
Additional information:
    This function requires a version of CGAL greater or equal than 5.5.
--------------------------------------------------------

So, let's simply not run this particular test in this case.

19 months agoMerge pull request #14508 from tamiko/modernize_cmake_part_11
Daniel Arndt [Thu, 26 Jan 2023 01:15:58 +0000 (20:15 -0500)]
Merge pull request #14508 from tamiko/modernize_cmake_part_11

19 months agoTest gmsh/gmsh_api_(01|02|03|04): add output variants 14729/head
Matthias Maier [Thu, 26 Jan 2023 01:04:39 +0000 (19:04 -0600)]
Test gmsh/gmsh_api_(01|02|03|04): add output variants

It seems that there was a change in more recent versions of gmsh and the
mesh output changed. These output variants seem to be stable among a
number of architectures and linux distributions so I simply commit them.

The output is similar to the main version and seems to be a "superset".
(It looks like older gmsh versions removed unused points ?!)

If we ever start to increase the number of output variants again I
suggest to change the test to ".run_only" and not compare unstable
output.

19 months agoMerge pull request #14701 from bangerth/explicit
Matthias Maier [Thu, 26 Jan 2023 00:08:16 +0000 (00:08 +0000)]
Merge pull request #14701 from bangerth/explicit

Also mark some variable instantiations as 'extern'.

19 months agoMerge pull request #14722 from masterleinad/introduce_deal_ii_if_constexpr
Matthias Maier [Thu, 26 Jan 2023 00:04:51 +0000 (00:04 +0000)]
Merge pull request #14722 from masterleinad/introduce_deal_ii_if_constexpr

Introduce DEAL_II_IF_CONSTEXPR

19 months agoMerge pull request #14719 from drwells/more-initlog
Matthias Maier [Wed, 25 Jan 2023 23:59:57 +0000 (23:59 +0000)]
Merge pull request #14719 from drwells/more-initlog

Use initlog() in more tests.

19 months agoMerge pull request #14702 from drwells/set-combined-orientation
Wolfgang Bangerth [Wed, 25 Jan 2023 23:52:25 +0000 (16:52 -0700)]
Merge pull request #14702 from drwells/set-combined-orientation

Set combined orientation

19 months agoCMake: add_tests(): do not oversubscribe mpi/thread tests 14713/head
Matthias Maier [Tue, 24 Jan 2023 17:00:25 +0000 (11:00 -0600)]
CMake: add_tests(): do not oversubscribe mpi/thread tests

19 months agoCMake: add_test() remove code duplication
Matthias Maier [Tue, 24 Jan 2023 16:56:35 +0000 (10:56 -0600)]
CMake: add_test() remove code duplication

19 months agoCMake: add_test(): remove compilation interrupt guard
Matthias Maier [Tue, 24 Jan 2023 03:06:55 +0000 (21:06 -0600)]
CMake: add_test(): remove compilation interrupt guard

19 months agoCMake: add_test(): allow concurrent runs of tests with shared targets
Matthias Maier [Tue, 24 Jan 2023 02:40:58 +0000 (20:40 -0600)]
CMake: add_test(): allow concurrent runs of tests with shared targets

In order to make this possible we define an *additional* test (and test
target) that depends on the executable target and ensures that the
target is in place before it is called concurrently.

19 months agoCMake: add_test(): refactor, add comments, fix error message
Matthias Maier [Tue, 24 Jan 2023 02:07:28 +0000 (20:07 -0600)]
CMake: add_test(): refactor, add comments, fix error message

19 months agoCMake: add_test(): refactor shared target boolean
Matthias Maier [Tue, 24 Jan 2023 01:56:46 +0000 (19:56 -0600)]
CMake: add_test(): refactor shared target boolean

19 months agoMerge pull request #14602 from luca-heltai/petsc-petscmat-to-dealiimat
Wolfgang Bangerth [Wed, 25 Jan 2023 22:53:53 +0000 (15:53 -0700)]
Merge pull request #14602 from luca-heltai/petsc-petscmat-to-dealiimat

PETScWrappers:BlockSparseMatrix: constructor from PETSc Mat

19 months agoMerge pull request #14709 from drwells/misc-reference-cell
Wolfgang Bangerth [Wed, 25 Jan 2023 22:49:34 +0000 (15:49 -0700)]
Merge pull request #14709 from drwells/misc-reference-cell

Miscellaneous improvements to ReferenceCell

19 months agoMerge pull request #14723 from tamiko/silence_configure_warnings
Wolfgang Bangerth [Wed, 25 Jan 2023 21:53:53 +0000 (14:53 -0700)]
Merge pull request #14723 from tamiko/silence_configure_warnings

CMake: silence the CMAKE_CXX_EXTENSIONS warning when including Kokkos

19 months agoFxi some more whitespaces 14722/head
Daniel Arndt [Wed, 25 Jan 2023 21:21:54 +0000 (16:21 -0500)]
Fxi some more whitespaces

19 months agoUse DEAL_II_IF_CONSTEXPR as attribute
Daniel Arndt [Wed, 25 Jan 2023 21:04:52 +0000 (16:04 -0500)]
Use DEAL_II_IF_CONSTEXPR as attribute

19 months agocgal: disable diagnostics when including CGAL headers 14726/head
Matthias Maier [Wed, 25 Jan 2023 04:36:31 +0000 (22:36 -0600)]
cgal: disable diagnostics when including CGAL headers

This works around a hard to trace compilation warning that can be
triggered in some configurations in CGAL and Boost headers:

In file included from /usr/include/CGAL/Static_filtered_predicate.h:15,
                 from /usr/include/CGAL/Lazy_kernel.h:18,
                 from /usr/include/CGAL/Exact_predicates_exact_constructions_kernel.h:27,
                 from /usr/include/CGAL/Arr_segment_traits_2.h:30,
                 from /usr/include/CGAL/Gps_segment_traits_2.h:20,
                 from /usr/include/CGAL/Boolean_set_operations_2/complement.h:27,
                 from /usr/include/CGAL/Boolean_set_operations_2.h:21,
                 from /srv/temp/dealii/source/cgal/intersections.cc:33:
/usr/include/CGAL/Epic_converter.h: In member function ‘std::pair<CGAL::Segment_3<CGAL::Epick>, bool> CGAL::Epic_converter<IK>::operator()(const typename IK::Segment_3&) const [with IK = CGAL::Simple_cartesian<CGAL::Interval_nt<false> >]’:
/usr/include/CGAL/Epic_converter.h:305:29: note: ‘<anonymous>’ declared here
  305 |       return std::make_pair(Segment_3(),false);
      |                             ^~~~~~~~~~~

In constructor ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = CGAL::Segment_3<CGAL::Epick>; _U2 = bool; typename std::enable_if<(std::_PCC<true, _T1, _T2>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<true, _T1, _T2>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = true; _T1 = CGAL::Segment_3<CGAL::Epick>; _T2 = bool]’,
    inlined from ‘constexpr std::pair<typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type, typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = CGAL::Segment_3<CGAL::Epick>; _T2 = bool]’ at /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_pair.h:746:72,
    inlined from ‘std::pair<CGAL::Segment_3<CGAL::Epick>, bool> CGAL::Epic_converter<IK>::operator()(const typename IK::Segment_3&) const [with IK = CGAL::Simple_cartesian<CGAL::Interval_nt<false> >]’ at /usr/include/CGAL/Epic_converter.h:309:28:
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_pair.h:535:11: warning: ‘<anonymous>’ may be used uninitialized [-Wmaybe-uninitialized]
  535 |         : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/CGAL/Epic_converter.h: In member function ‘std::pair<CGAL::Segment_3<CGAL::Epick>, bool> CGAL::Epic_converter<IK>::operator()(const typename IK::Segment_3&) const [with IK = CGAL::Simple_cartesian<CGAL::Interval_nt<false> >]’:
/usr/include/CGAL/Epic_converter.h:309:29: note: ‘<anonymous>’ declared here
  309 |       return std::make_pair(Segment_3(),false);
      |                             ^~~~~~~~~~~

19 months agoMerge pull request #14724 from tamiko/silence_configure_warnings_2
David Wells [Wed, 25 Jan 2023 16:34:24 +0000 (11:34 -0500)]
Merge pull request #14724 from tamiko/silence_configure_warnings_2

CMake: Silence a warning about HDF5_ROOT containing NOTFOUND

19 months agoConvert device-aware MPI implementation for LinearAlgebra::distributed::Vector
Daniel Arndt [Wed, 25 Jan 2023 15:16:41 +0000 (10:16 -0500)]
Convert device-aware MPI implementation for LinearAlgebra::distributed::Vector

19 months agoMerge pull request #14718 from masterleinad/fix_get_position_vector_test
David Wells [Wed, 25 Jan 2023 13:01:30 +0000 (08:01 -0500)]
Merge pull request #14718 from masterleinad/fix_get_position_vector_test

Add explicit instantiations for VectorTools::get_position_vector overload

19 months agoMerge pull request #14725 from tamiko/fix_bundled_boost_warning
David Wells [Wed, 25 Jan 2023 12:56:38 +0000 (07:56 -0500)]
Merge pull request #14725 from tamiko/fix_bundled_boost_warning

Boost: apply an upstream patch to silence -Wnonnull warnings

19 months agoBoost: apply an upstream patch to silence -Wnonnull warnings 14725/head
Matthias Maier [Wed, 25 Jan 2023 03:52:19 +0000 (21:52 -0600)]
Boost: apply an upstream patch to silence -Wnonnull warnings

This commit applies boost upstream patch:

  From affc79e04514b4cc4177967ced85f7674f3a6642 Mon Sep 17 00:00:00 2001
  From: "Romain Geissler @ Amadeus" <...>
  Date: Thu, 4 Mar 2021 03:23:14 +0100
  Subject: [PATCH] Ignore -Wnonnull new gcc 11 warnings. (#28)

19 months agoCMake: Silence a warning about HDF5_ROOT containing NOTFOUND 14724/head
Matthias Maier [Wed, 25 Jan 2023 03:01:03 +0000 (21:01 -0600)]
CMake: Silence a warning about HDF5_ROOT containing NOTFOUND

The FindHDF5.cmake package might set HDF5_DIR to "HDF5_DIR-NOTFOUND"
(even though it finds and configures an HDF5 installation without a
problem). This isn't terribly elegant, but us setting HDF5_ROOT to that
variable triggers a bogus warning.

Thus filter the invalid name.

19 months agoCMake: silence the CMAKE_CXX_EXTENSIONS warning when including Kokkos 14723/head
Matthias Maier [Wed, 25 Jan 2023 02:35:14 +0000 (20:35 -0600)]
CMake: silence the CMAKE_CXX_EXTENSIONS warning when including Kokkos

The CMAKE_CXX_EXTENSIONS variable controls whether CMake sets the
"CXX_EXTENSIONS" property for a target. If this property is set then
CMake ensures that gnu extensions are enabled by default by using
corresponding -std=gnu1X flags instead of -std=cxx1X flags.

Kokkos forcefully disables this variable as soon as FindKOKKOS.cmake is
included with a prominent warning. Thus simply set the variable prior to
including FindKOKKOS.cmake.

On a sidenote - Kokkos' workaround here is not really effective: We
currently do not use the CXX_STANDARD target property but set the
language standard by hand. Thus, the variable is simply ignored.

Also, even if a project happens to use the CMAKE_CXX_STANDARD variable,
this generally doesn't work as the project that includes
FindKOKKOS.cmake can simply override the variable later.

19 months agoMerge pull request #14720 from drwells/fix-suitesparse-type
David Wells [Tue, 24 Jan 2023 23:54:36 +0000 (18:54 -0500)]
Merge pull request #14720 from drwells/fix-suitesparse-type

SparseDirectUMFPACK: Use the correct type alias.

19 months agoIntroduce DEAL_II_IF_CONSTEXPR
Daniel Arndt [Tue, 24 Jan 2023 19:42:41 +0000 (14:42 -0500)]
Introduce DEAL_II_IF_CONSTEXPR

19 months agoMerge pull request #14714 from masterleinad/kokkos_initialization_thread-safe
Timo Heister [Tue, 24 Jan 2023 19:33:16 +0000 (14:33 -0500)]
Merge pull request #14714 from masterleinad/kokkos_initialization_thread-safe

Make ensure_kokkos_initialized thread-safe


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.