]>
https://gitweb.dealii.org/ - dealii.git/log
Stefano Zampini [Mon, 16 Jan 2023 13:27:34 +0000 (16:27 +0300)]
rename assign_petsc_matrix/vector to reinit
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 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
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: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
Wolfgang Bangerth [Wed, 18 Jan 2023 00:49:55 +0000 (17:49 -0700)]
Declare the existence of explicit instantiations.
Wolfgang Bangerth [Tue, 17 Jan 2023 22:03:49 +0000 (15:03 -0700)]
Add a comment for a recent patch.
Wolfgang Bangerth [Tue, 17 Jan 2023 21:16:32 +0000 (14:16 -0700)]
Merge pull request #14694 from drwells/n-face-orientations-2
Use ReferenceCell::n_face_orientations() in a few more places.
Matthias Maier [Tue, 17 Jan 2023 20:54:34 +0000 (14:54 -0600)]
Tests: optimization/* add missing include
Some of the optimization tests use a std::function object but forget to
include the header. These tests work with older versions of libstdc++
due to some transitive include but fail for current versions:
/home/testsuite/workspace/regression_tests/dealii/include/deal.II/optimization/line_minimization.h:323:16: error: 'function' in namespace 'std' does not name a template type
323 | const std::function<std::pair<NumberType, NumberType>(const NumberType x)>
| ^~~~~~~~
/home/testsuite/workspace/regression_tests/dealii/include/deal.II/optimization/line_minimization.h:30:1: note: 'std::function' is defined in header '<functional>'; did you forget to '#include <functional>'?
29 | #include <fstream>
+++ |+#include <functional>
30 | #include <limits>
Daniel Arndt [Tue, 17 Jan 2023 20:49:39 +0000 (14:49 -0600)]
Merge pull request #14688 from vyushut/keywords
Vladimir Yushutin [Tue, 17 Jan 2023 20:14:23 +0000 (15:14 -0500)]
Update doc/doxygen/tutorial/tutorial.h.in
Co-authored-by: Timo Heister <timo.heister@gmail.com>
Daniel Arndt [Tue, 17 Jan 2023 19:29:07 +0000 (13:29 -0600)]
Merge pull request #14690 from tamiko/always_run_quicktests
David Wells [Tue, 17 Jan 2023 18:18:27 +0000 (13:18 -0500)]
Use ReferenceCell::n_face_orientations() in a few more places.
Luca Heltai [Tue, 17 Jan 2023 15:18:14 +0000 (16:18 +0100)]
Merge pull request #14677 from luca-heltai/stefanozampini/petsckokkos
Configure: support KOKKOS when found with PETSc
Peter Munch [Tue, 17 Jan 2023 07:10:31 +0000 (08:10 +0100)]
Merge pull request #14687 from drwells/n-lines-warning
Re-implement a compiler warning workaround
Stefano Zampini [Tue, 17 Jan 2023 07:10:07 +0000 (10:10 +0300)]
Remove outdated comments
Stefano Zampini [Tue, 17 Jan 2023 07:06:55 +0000 (10:06 +0300)]
Add comments
Matthias Maier [Tue, 17 Jan 2023 06:37:38 +0000 (00:37 -0600)]
Testsuite: run quick tests during build test
Stefano Zampini [Tue, 17 Jan 2023 05:04:13 +0000 (08:04 +0300)]
Apply suggestions from code review
Co-authored-by: Wolfgang Bangerth <bangerth@colostate.edu>
Stefano Zampini [Tue, 17 Jan 2023 04:55:19 +0000 (07:55 +0300)]
Update source/lac/petsc_matrix_base.cc
Co-authored-by: Wolfgang Bangerth <bangerth@colostate.edu>
Daniel Arndt [Tue, 17 Jan 2023 03:29:31 +0000 (22:29 -0500)]
Merge pull request #14681 from nlsmrg/replace-ucd-to-deal
Timo Heister [Tue, 17 Jan 2023 02:09:01 +0000 (21:09 -0500)]
Merge pull request #14689 from tamiko/add_tester_ng
CMake: Promote "tester-ng" to official regression tester
Matthias Maier [Tue, 17 Jan 2023 00:37:32 +0000 (18:37 -0600)]
CMake: Promote "tester-ng" to official regression tester
Marc Fehling [Mon, 16 Jan 2023 23:56:42 +0000 (16:56 -0700)]
Merge pull request #14682 from luca-heltai/stefanozampini/petsc-mpivectorbase
PETScWrappers::MPI::Vector use VectorBase contructor from Vec
Marc Fehling [Mon, 16 Jan 2023 22:18:13 +0000 (15:18 -0700)]
Merge pull request #14679 from bangerth/vtu-cleanup
Minor cleanup in the VTU writer.
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.