]>
https://gitweb.dealii.org/ - dealii.git/log
Wolfgang Bangerth [Thu, 26 Jan 2023 23:07:09 +0000 (16:07 -0700)]
Introduce IndexSet::get_index_vector().
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
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}.
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
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
Daniel Arndt [Thu, 26 Jan 2023 13:22:40 +0000 (08:22 -0500)]
Merge pull request #14733 from masterleinad/fix_old_kokkos_tests
Daniel Arndt [Thu, 26 Jan 2023 04:12:36 +0000 (23:12 -0500)]
Fix a couple tests for older Kokkos versions used by Trilinos
David Wells [Thu, 26 Jan 2023 02:44:21 +0000 (21:44 -0500)]
Un-hardcode some orientation info in FE_SimplexP{_Bubbles}.
Daniel Arndt [Thu, 26 Jan 2023 01:15:58 +0000 (20:15 -0500)]
Merge pull request #14508 from tamiko/modernize_cmake_part_11
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.
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'.
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
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.
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
Matthias Maier [Tue, 24 Jan 2023 17:00:25 +0000 (11:00 -0600)]
CMake: add_tests(): do not oversubscribe mpi/thread tests
Matthias Maier [Tue, 24 Jan 2023 16:56:35 +0000 (10:56 -0600)]
CMake: add_test() remove code duplication
Matthias Maier [Tue, 24 Jan 2023 03:06:55 +0000 (21:06 -0600)]
CMake: add_test(): remove compilation interrupt guard
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.
Matthias Maier [Tue, 24 Jan 2023 02:07:28 +0000 (20:07 -0600)]
CMake: add_test(): refactor, add comments, fix error message
Matthias Maier [Tue, 24 Jan 2023 01:56:46 +0000 (19:56 -0600)]
CMake: add_test(): refactor shared target boolean
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
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
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
Daniel Arndt [Wed, 25 Jan 2023 21:21:54 +0000 (16:21 -0500)]
Fxi some more whitespaces
Daniel Arndt [Wed, 25 Jan 2023 21:04:52 +0000 (16:04 -0500)]
Use DEAL_II_IF_CONSTEXPR as attribute
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
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
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
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)
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.
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.
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.
Daniel Arndt [Tue, 24 Jan 2023 19:42:41 +0000 (14:42 -0500)]
Introduce DEAL_II_IF_CONSTEXPR
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
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")
David Wells [Tue, 24 Jan 2023 17:30:41 +0000 (12:30 -0500)]
SparseDirectUMFPACK: Use the correct type alias.
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
Daniel Arndt [Tue, 24 Jan 2023 14:05:16 +0000 (09:05 -0500)]
Add explicit instantiations for VectorTools::get_position_vector overload
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
Daniel Arndt [Tue, 24 Jan 2023 04:10:16 +0000 (23:10 -0500)]
Make ensure_kokkos_initialized thread-safe
Bruno Turcksin [Tue, 24 Jan 2023 02:45:28 +0000 (21:45 -0500)]
Merge pull request #14628 from masterleinad/move_cuda_tests
Matthias Maier [Tue, 24 Jan 2023 01:10:01 +0000 (19:10 -0600)]
define_interface_target: guard link options with generator expression
Matthias Maier [Fri, 2 Dec 2022 16:41:32 +0000 (10:41 -0600)]
add a news/changes entry
Matthias Maier [Tue, 29 Nov 2022 05:09:24 +0000 (23:09 -0600)]
CMake: update the set of admissible feature variables
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>.
Matthias Maier [Tue, 29 Nov 2022 03:20:23 +0000 (21:20 -0600)]
CMake: require CMake version 3.11
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
Daniel Arndt [Mon, 23 Jan 2023 21:56:52 +0000 (16:56 -0500)]
Merge pull request #14712 from peterrum/test_mg_k1
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.
Peter Munch [Mon, 23 Jan 2023 18:48:36 +0000 (19:48 +0100)]
Global-coarsening MG: test linear elements
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.
David Wells [Sun, 22 Jan 2023 19:22:10 +0000 (14:22 -0500)]
ReferenceCell: split a string.
David Wells [Sat, 21 Jan 2023 23:15:59 +0000 (18:15 -0500)]
ReferenceCell: use more switch statements.
David Wells [Sat, 21 Jan 2023 23:15:33 +0000 (18:15 -0500)]
ReferenceCell: use std::numeric_limits.
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.
David Wells [Sun, 22 Jan 2023 00:30:12 +0000 (19:30 -0500)]
ReferenceCell: consolidate some tables.
David Wells [Sat, 21 Jan 2023 18:16:58 +0000 (13:16 -0500)]
ReferenceCell: Use unsigned chars for orientation.
David Wells [Sat, 21 Jan 2023 13:38:41 +0000 (08:38 -0500)]
Triangulation: Use lines_per_face for indexing.
It's more descriptive as this array is only used in 3D.
Daniel Arndt [Sun, 22 Jan 2023 19:49:11 +0000 (14:49 -0500)]
Merge pull request #14361 from jh66637/is_neighbor
Stefano Zampini [Sun, 22 Jan 2023 12:53:33 +0000 (15:53 +0300)]
Fix warning: unused parameter ‘matrix_’ [-Wunused-parameter]
Stefano Zampini [Tue, 17 Jan 2023 07:43:47 +0000 (10:43 +0300)]
Use vmult and vmultT for PETSc shell preconditioning
remove defaults
Stefano Zampini [Tue, 17 Jan 2023 08:07:05 +0000 (11:07 +0300)]
PETScWrappers::VectorBase implement copy operator
Judging from
456c02ad25e , this was not implemented
Stefano Zampini [Tue, 17 Jan 2023 07:40:40 +0000 (10:40 +0300)]
Implement standard exception for missing user implementation
Stefano Zampini [Mon, 16 Jan 2023 09:24:05 +0000 (12:24 +0300)]
Remove PETSC_NULL occurrences
Stefano Zampini [Wed, 23 Nov 2022 17:14:55 +0000 (20:14 +0300)]
PETScWrappers: improve preconditioner class
Added support for SHELL preconditioning
Stefano Zampini [Sun, 22 Jan 2023 12:40:41 +0000 (15:40 +0300)]
Fix sundials test
Stefano Zampini [Tue, 17 Jan 2023 08:59:13 +0000 (11:59 +0300)]
Add missing compress in tests
Stefano Zampini [Tue, 17 Jan 2023 08:38:11 +0000 (11:38 +0300)]
Remove usage of VecGetValues
It fails with the newest versions of PETSc if the vector is not assembled
Stefano Zampini [Mon, 28 Nov 2022 21:10:36 +0000 (00:10 +0300)]
PETScWrappers: add a couple of missing reinits
Stefano Zampini [Mon, 16 Jan 2023 09:18:09 +0000 (12:18 +0300)]
remove NULL
Stefano Zampini [Sun, 27 Nov 2022 06:15:54 +0000 (09:15 +0300)]
PETScWrappers::MPI::BlockVector Add missing conversion operator for const
Luca Heltai [Thu, 22 Dec 2022 08:24:45 +0000 (09:24 +0100)]
Make the documentation clear about what the assign function does.
Luca Heltai [Thu, 22 Dec 2022 08:20:50 +0000 (09:20 +0100)]
Moved initialization of petsc_nest_vector into ctrs.
Luca Heltai [Thu, 22 Dec 2022 08:14:28 +0000 (09:14 +0100)]
Apply suggestions from code review. Documentation part.
Co-authored-by: David Wells <drwells@email.unc.edu>
Luca Heltai [Wed, 21 Dec 2022 16:17:16 +0000 (17:17 +0100)]
ChangeLog.
Stefano Zampini [Fri, 11 Nov 2022 17:53:36 +0000 (18:53 +0100)]
PETScWrappers: improve BlockVector class
remove the virtual method get_mpi_communicator,
and always return the communicator of the PETSc object
David Wells [Wed, 18 Jan 2023 02:42:24 +0000 (21:42 -0500)]
Remove now-unused orientation functions.
David Wells [Wed, 18 Jan 2023 02:42:10 +0000 (21:42 -0500)]
Switch to setting the combined orientation.
Marc Fehling [Sun, 22 Jan 2023 02:35:17 +0000 (19:35 -0700)]
Merge pull request #14706 from drwells/remove-ReferenceCell-namespace
Remove reference cell namespace
David Wells [Sun, 22 Jan 2023 01:59:23 +0000 (20:59 -0500)]
Merge pull request #14707 from marcfehling/poisseuille
Minor changes to PoisseuilleFlow.
Marc Fehling [Sat, 21 Jan 2023 22:59:34 +0000 (15:59 -0700)]
Added default constructor for CellWeights.
Marc Fehling [Sat, 21 Jan 2023 22:54:16 +0000 (15:54 -0700)]
Minor changes to PoisseuilleFlow.
David Wells [Sat, 21 Jan 2023 18:56:03 +0000 (13:56 -0500)]
dealii::ReferenceCells -> ReferenceCells
David Wells [Sat, 21 Jan 2023 18:54:24 +0000 (13:54 -0500)]
Remove the internal::ReferenceCell namespace.
This namespace is annoying since it has the same name as a class (and therefore
takes precedence in lookup inside internal namespaces)
Wolfgang Bangerth [Sat, 21 Jan 2023 01:55:21 +0000 (18:55 -0700)]
Merge pull request #14705 from masterleinad/fix_race_kokkos_initialize
Fix race condition in implicit Kokkos initialization
Wolfgang Bangerth [Fri, 20 Jan 2023 22:00:40 +0000 (15:00 -0700)]
Exclude extern declaration from MS VC consideration.
Daniel Arndt [Fri, 20 Jan 2023 21:26:07 +0000 (16:26 -0500)]
Fix race condition in implicit Kokkos initialization
Wolfgang Bangerth [Wed, 18 Jan 2023 22:41:11 +0000 (15:41 -0700)]
Also mark some variable instantiations as 'extern'.
Daniel Arndt [Thu, 19 Jan 2023 03:23:20 +0000 (21:23 -0600)]
Merge pull request #14703 from tamiko/fix_race_condition
Matthias Maier [Wed, 18 Jan 2023 23:45:06 +0000 (17:45 -0600)]
Test: sundials/n_vector: fix race condition
Wolfgang Bangerth [Wed, 18 Jan 2023 22:45:07 +0000 (15:45 -0700)]
Merge pull request #14700 from drwells/fix-static-assert-messages
Improve two static_assert()s.
Marc Fehling [Wed, 18 Jan 2023 20:37:18 +0000 (13:37 -0700)]
Merge pull request #14699 from tamiko/add_missing_includes_2
include/deal.II/optimization/line_minimization.h add missing include
David Wells [Wed, 18 Jan 2023 19:18:21 +0000 (14:18 -0500)]
Improve two static_assert()s.
Matthias Maier [Wed, 18 Jan 2023 17:02:45 +0000 (11:02 -0600)]
Merge pull request #14698 from bangerth/explicit
Declare the existence of explicit instantiations.
Matthias Maier [Wed, 18 Jan 2023 16:53:27 +0000 (10:53 -0600)]
include/deal.II/optimization/line_minimization.h add missing include
Johannes Heinz [Tue, 18 Oct 2022 15:52:20 +0000 (17:52 +0200)]
Add BBox::has_overlap_with() and fix NeighborType for 1D overlapping BBoxes
Martin Kronbichler [Wed, 18 Jan 2023 13:27:02 +0000 (14:27 +0100)]
Merge pull request #14697 from bangerth/doc-89
Add a comment for a recent patch.
Matthias Maier [Wed, 18 Jan 2023 06:26:27 +0000 (00:26 -0600)]
Merge pull request #14683 from luca-heltai/stefanozampini/petsc-usematseqaij
PETScWrappers::MPI::SparseMatrix: use SEQAIJ with one process
Matthias Maier [Wed, 18 Jan 2023 06:24:24 +0000 (00:24 -0600)]
Merge pull request #14684 from luca-heltai/stefanozampini/petsc-zerorowscolumns
PETScWrappers::MatrixBase implement clear_rows_columns
Matthias Maier [Wed, 18 Jan 2023 01:37:34 +0000 (19:37 -0600)]
Merge pull request #14696 from tamiko/add_missing_includes
Tests: optimization/* add missing includes
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.