]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
22 months agoAdd a changelog entry.
Wolfgang Bangerth [Thu, 2 Feb 2023 02:42:23 +0000 (19:42 -0700)]
Add a changelog entry.

22 months agoFix the type used to initialize a DerivativeForm from a tensor.
Wolfgang Bangerth [Thu, 2 Feb 2023 02:38:18 +0000 (19:38 -0700)]
Fix the type used to initialize a DerivativeForm from a tensor.

22 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

22 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

22 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

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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().

22 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.

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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

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

22 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

22 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

22 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

22 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

22 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().

22 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

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

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

22 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.

22 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.

22 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'.

22 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.

22 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

22 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}.

22 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

22 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

23 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

23 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

23 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

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

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

23 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

23 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

23 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}.

23 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.

23 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

23 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.

23 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'.

23 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

23 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.

23 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

23 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

23 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

23 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

23 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.

23 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

23 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

23 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

23 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

23 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

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

23 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

23 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);
      |                             ^~~~~~~~~~~

23 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

23 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

23 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

23 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

23 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)

23 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.

23 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.

23 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.

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

23 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

23 months agoUse initlog() in more tests. 14719/head
David Wells [Tue, 24 Jan 2023 18:28:15 +0000 (13:28 -0500)]
Use initlog() in more tests.

These required a small amount of manual tidying-up but the script I used to
generate most of the changes is

#!/usr/bin/env python3

import sys

lines = list()
skip_next_if_blank = False
with open(sys.argv[1], 'r') as handle:
    for line in handle:
        if line != 'std::ofstream logfile("output");\n':
            if "deallog.attach" not in line:
                if skip_next_if_blank and line == "\n":
                    pass
                else:
                    lines.append(line.replace("logfile",
                                              "deallog.get_file_stream()"))
                    skip_next_if_blank = False
        else:
            skip_next_if_blank = True

found_main = False
line_after_main = -1
with open(sys.argv[1], 'w') as handle:
    for line in lines:
        handle.write(line)
        if line.startswith("main("):
            found_main = True
        if found_main:
            line_after_main = line_after_main + 1
        if line_after_main == 1:
            handle.write("  initlog();\n")

23 months agoSparseDirectUMFPACK: Use the correct type alias. 14720/head
David Wells [Tue, 24 Jan 2023 17:30:41 +0000 (12:30 -0500)]
SparseDirectUMFPACK: Use the correct type alias.

23 months agoMerge pull request #14715 from luca-heltai/stefanozampini/cmake-slepc
Matthias Maier [Tue, 24 Jan 2023 16:43:07 +0000 (16:43 +0000)]
Merge pull request #14715 from luca-heltai/stefanozampini/cmake-slepc

Configure: enhance discovery of SLEPc

23 months agoAdd explicit instantiations for VectorTools::get_position_vector overload 14718/head
Daniel Arndt [Tue, 24 Jan 2023 14:05:16 +0000 (09:05 -0500)]
Add explicit instantiations for VectorTools::get_position_vector overload

23 months agoConfigure: allow discovery of SLEPc when PETSc has been configure with --download... 14715/head
Stefano Zampini [Mon, 23 Jan 2023 14:58:53 +0000 (17:58 +0300)]
Configure: allow discovery of SLEPc when PETSc has been configure with --download-slepc

23 months agoMake ensure_kokkos_initialized thread-safe 14714/head
Daniel Arndt [Tue, 24 Jan 2023 04:10:16 +0000 (23:10 -0500)]
Make ensure_kokkos_initialized thread-safe

23 months agoMerge pull request #14628 from masterleinad/move_cuda_tests
Bruno Turcksin [Tue, 24 Jan 2023 02:45:28 +0000 (21:45 -0500)]
Merge pull request #14628 from masterleinad/move_cuda_tests

23 months agodefine_interface_target: guard link options with generator expression 14508/head
Matthias Maier [Tue, 24 Jan 2023 01:10:01 +0000 (19:10 -0600)]
define_interface_target: guard link options with generator expression

23 months agoadd a news/changes entry
Matthias Maier [Fri, 2 Dec 2022 16:41:32 +0000 (10:41 -0600)]
add a news/changes entry

23 months agoCMake: update the set of admissible feature variables
Matthias Maier [Tue, 29 Nov 2022 05:09:24 +0000 (23:09 -0600)]
CMake: update the set of admissible feature variables

23 months agoCMake: add define_interface_target()
Matthias Maier [Sun, 27 Nov 2022 11:49:09 +0000 (05:49 -0600)]
CMake: add define_interface_target()

This function defines interface targets for a given feature described by
appropriate CMake variables <FEATURE>_<SUFFIX>.

23 months agoCMake: require CMake version 3.11
Matthias Maier [Tue, 29 Nov 2022 03:20:23 +0000 (21:20 -0600)]
CMake: require CMake version 3.11

23 months agoMerge pull request #14601 from luca-heltai/petsc-mpi-comm-in-vectors
Wolfgang Bangerth [Mon, 23 Jan 2023 22:25:48 +0000 (15:25 -0700)]
Merge pull request #14601 from luca-heltai/petsc-mpi-comm-in-vectors

Align PETSc mpi comm with comm of PETSc Vec type, and expose VecNest type

23 months agoMerge pull request #14712 from peterrum/test_mg_k1
Daniel Arndt [Mon, 23 Jan 2023 21:56:52 +0000 (16:56 -0500)]
Merge pull request #14712 from peterrum/test_mg_k1

23 months agoMerge pull request #14710 from drwells/reference-cell-consolidate-tables
Wolfgang Bangerth [Mon, 23 Jan 2023 21:44:26 +0000 (14:44 -0700)]
Merge pull request #14710 from drwells/reference-cell-consolidate-tables

ReferenceCell: consolidate some tables.

23 months agoGlobal-coarsening MG: test linear elements 14712/head
Peter Munch [Mon, 23 Jan 2023 18:48:36 +0000 (19:48 +0100)]
Global-coarsening MG: test linear elements

23 months agoMerge pull request #14708 from marcfehling/cellweights
David Wells [Sun, 22 Jan 2023 21:57:03 +0000 (16:57 -0500)]
Merge pull request #14708 from marcfehling/cellweights

Added default constructor for CellWeights.

23 months agoReferenceCell: split a string. 14709/head
David Wells [Sun, 22 Jan 2023 19:22:10 +0000 (14:22 -0500)]
ReferenceCell: split a string.

23 months agoReferenceCell: use more switch statements.
David Wells [Sat, 21 Jan 2023 23:15:59 +0000 (18:15 -0500)]
ReferenceCell: use more switch statements.

23 months agoReferenceCell: use std::numeric_limits.
David Wells [Sat, 21 Jan 2023 23:15:33 +0000 (18:15 -0500)]
ReferenceCell: use std::numeric_limits.

23 months agoReferenceCell: Introduce an alias for std::equal().
David Wells [Sat, 21 Jan 2023 18:24:04 +0000 (13:24 -0500)]
ReferenceCell: Introduce an alias for std::equal().

This makes this a lot easier to read.

23 months agoReferenceCell: consolidate some tables. 14710/head
David Wells [Sun, 22 Jan 2023 00:30:12 +0000 (19:30 -0500)]
ReferenceCell: consolidate some tables.


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.