]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
21 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

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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

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

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

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

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

21 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

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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

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

21 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

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

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

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

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

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

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

21 months agoReferenceCell: Use unsigned chars for orientation.
David Wells [Sat, 21 Jan 2023 18:16:58 +0000 (13:16 -0500)]
ReferenceCell: Use unsigned chars for orientation.

21 months agoTriangulation: Use lines_per_face for indexing.
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.

21 months agoMerge pull request #14361 from jh66637/is_neighbor
Daniel Arndt [Sun, 22 Jan 2023 19:49:11 +0000 (14:49 -0500)]
Merge pull request #14361 from jh66637/is_neighbor

21 months agoFix sundials test 14601/head
Stefano Zampini [Sun, 22 Jan 2023 12:40:41 +0000 (15:40 +0300)]
Fix sundials test

21 months agoAdd missing compress in tests
Stefano Zampini [Tue, 17 Jan 2023 08:59:13 +0000 (11:59 +0300)]
Add missing compress in tests

21 months agoRemove usage of VecGetValues
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

21 months agoPETScWrappers: add a couple of missing reinits
Stefano Zampini [Mon, 28 Nov 2022 21:10:36 +0000 (00:10 +0300)]
PETScWrappers: add a couple of missing reinits

21 months agoremove NULL
Stefano Zampini [Mon, 16 Jan 2023 09:18:09 +0000 (12:18 +0300)]
remove NULL

21 months agoPETScWrappers::MPI::BlockVector Add missing conversion operator for const
Stefano Zampini [Sun, 27 Nov 2022 06:15:54 +0000 (09:15 +0300)]
PETScWrappers::MPI::BlockVector Add missing conversion operator for const

21 months agoMake the documentation clear about what the assign function does.
Luca Heltai [Thu, 22 Dec 2022 08:24:45 +0000 (09:24 +0100)]
Make the documentation clear about what the assign function does.

21 months agoMoved initialization of petsc_nest_vector into ctrs.
Luca Heltai [Thu, 22 Dec 2022 08:20:50 +0000 (09:20 +0100)]
Moved initialization of petsc_nest_vector into ctrs.

21 months agoApply suggestions from code review. Documentation part.
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>
21 months agoChangeLog.
Luca Heltai [Wed, 21 Dec 2022 16:17:16 +0000 (17:17 +0100)]
ChangeLog.

21 months agoPETScWrappers: improve BlockVector class
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

21 months agoMerge pull request #14706 from drwells/remove-ReferenceCell-namespace
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

21 months agoMerge pull request #14707 from marcfehling/poisseuille
David Wells [Sun, 22 Jan 2023 01:59:23 +0000 (20:59 -0500)]
Merge pull request #14707 from marcfehling/poisseuille

Minor changes to PoisseuilleFlow.

21 months agoAdded default constructor for CellWeights. 14708/head
Marc Fehling [Sat, 21 Jan 2023 22:59:34 +0000 (15:59 -0700)]
Added default constructor for CellWeights.

21 months agoMinor changes to PoisseuilleFlow. 14707/head
Marc Fehling [Sat, 21 Jan 2023 22:54:16 +0000 (15:54 -0700)]
Minor changes to PoisseuilleFlow.

21 months agodealii::ReferenceCells -> ReferenceCells 14706/head
David Wells [Sat, 21 Jan 2023 18:56:03 +0000 (13:56 -0500)]
dealii::ReferenceCells -> ReferenceCells

21 months agoRemove the internal::ReferenceCell namespace.
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)

21 months agoMerge pull request #14705 from masterleinad/fix_race_kokkos_initialize
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

21 months agoFix race condition in implicit Kokkos initialization 14705/head
Daniel Arndt [Fri, 20 Jan 2023 21:26:07 +0000 (16:26 -0500)]
Fix race condition in implicit Kokkos initialization

21 months agoMerge pull request #14703 from tamiko/fix_race_condition
Daniel Arndt [Thu, 19 Jan 2023 03:23:20 +0000 (21:23 -0600)]
Merge pull request #14703 from tamiko/fix_race_condition

21 months agoTest: sundials/n_vector: fix race condition 14703/head
Matthias Maier [Wed, 18 Jan 2023 23:45:06 +0000 (17:45 -0600)]
Test: sundials/n_vector: fix race condition

21 months agoMerge pull request #14700 from drwells/fix-static-assert-messages
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.

21 months agoMerge pull request #14699 from tamiko/add_missing_includes_2
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

21 months agoImprove two static_assert()s. 14700/head
David Wells [Wed, 18 Jan 2023 19:18:21 +0000 (14:18 -0500)]
Improve two static_assert()s.

21 months agoMerge pull request #14698 from bangerth/explicit
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.

21 months agoinclude/deal.II/optimization/line_minimization.h add missing include 14699/head
Matthias Maier [Wed, 18 Jan 2023 16:53:27 +0000 (10:53 -0600)]
include/deal.II/optimization/line_minimization.h add missing include

21 months agoAdd BBox::has_overlap_with() and fix NeighborType for 1D overlapping BBoxes 14361/head
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

21 months agoMerge pull request #14697 from bangerth/doc-89
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.

21 months agoMerge pull request #14683 from luca-heltai/stefanozampini/petsc-usematseqaij
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

21 months agoMerge pull request #14684 from luca-heltai/stefanozampini/petsc-zerorowscolumns
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

21 months agoMerge pull request #14696 from tamiko/add_missing_includes
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

21 months agoDeclare the existence of explicit instantiations. 14698/head
Wolfgang Bangerth [Wed, 18 Jan 2023 00:49:55 +0000 (17:49 -0700)]
Declare the existence of explicit instantiations.

21 months agoAdd a comment for a recent patch. 14697/head
Wolfgang Bangerth [Tue, 17 Jan 2023 22:03:49 +0000 (15:03 -0700)]
Add a comment for a recent patch.

21 months agoMerge pull request #14694 from drwells/n-face-orientations-2
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.

21 months agoTests: optimization/* add missing include 14696/head
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>

21 months agoMerge pull request #14688 from vyushut/keywords
Daniel Arndt [Tue, 17 Jan 2023 20:49:39 +0000 (14:49 -0600)]
Merge pull request #14688 from vyushut/keywords

21 months agoUpdate doc/doxygen/tutorial/tutorial.h.in 14688/head
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>
21 months agoMerge pull request #14690 from tamiko/always_run_quicktests
Daniel Arndt [Tue, 17 Jan 2023 19:29:07 +0000 (13:29 -0600)]
Merge pull request #14690 from tamiko/always_run_quicktests

21 months agoUse ReferenceCell::n_face_orientations() in a few more places. 14694/head
David Wells [Tue, 17 Jan 2023 18:18:27 +0000 (13:18 -0500)]
Use ReferenceCell::n_face_orientations() in a few more places.

21 months agoMerge pull request #14677 from luca-heltai/stefanozampini/petsckokkos
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

21 months agoMerge pull request #14687 from drwells/n-lines-warning
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

21 months agoRemove outdated comments 14684/head
Stefano Zampini [Tue, 17 Jan 2023 07:10:07 +0000 (10:10 +0300)]
Remove outdated comments

21 months agoAdd comments 14683/head
Stefano Zampini [Tue, 17 Jan 2023 07:06:55 +0000 (10:06 +0300)]
Add comments

21 months agoTestsuite: run quick tests during build test 14690/head
Matthias Maier [Tue, 17 Jan 2023 06:37:38 +0000 (00:37 -0600)]
Testsuite: run quick tests during build test

21 months agoApply suggestions from code review
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>
21 months agoUpdate source/lac/petsc_matrix_base.cc 14602/head
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>
21 months agoMerge pull request #14681 from nlsmrg/replace-ucd-to-deal
Daniel Arndt [Tue, 17 Jan 2023 03:29:31 +0000 (22:29 -0500)]
Merge pull request #14681 from nlsmrg/replace-ucd-to-deal

21 months agoMerge pull request #14689 from tamiko/add_tester_ng
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

21 months agoCMake: Promote "tester-ng" to official regression tester 14689/head
Matthias Maier [Tue, 17 Jan 2023 00:37:32 +0000 (18:37 -0600)]
CMake: Promote "tester-ng" to official regression tester

21 months agoMerge pull request #14682 from luca-heltai/stefanozampini/petsc-mpivectorbase
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

21 months agoMerge pull request #14679 from bangerth/vtu-cleanup
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.

21 months agostep-59, step-64, step85 keywords added
Vladimir Yushutin [Mon, 16 Jan 2023 21:44:46 +0000 (16:44 -0500)]
step-59, step-64, step85 keywords added

21 months agoRe-implement a compiler warning workaround 14687/head
David Wells [Mon, 16 Jan 2023 18:09:42 +0000 (13:09 -0500)]
Re-implement a compiler warning workaround

21 months agoMinor cleanup in the VTU writer. 14679/head
Wolfgang Bangerth [Fri, 13 Jan 2023 20:12:26 +0000 (13:12 -0700)]
Minor cleanup in the VTU writer.

21 months agoMerge pull request #14680 from drwells/reference-cell-cases
Wolfgang Bangerth [Mon, 16 Jan 2023 17:09:19 +0000 (10:09 -0700)]
Merge pull request #14680 from drwells/reference-cell-cases

Use switch statements in ReferenceCell

21 months agoPETScWrappers::MatrixBase implement clear_rows_columns
Stefano Zampini [Sat, 26 Nov 2022 14:22:45 +0000 (17:22 +0300)]
PETScWrappers::MatrixBase implement clear_rows_columns

21 months agoPETScWrappers::MPI::SparseMatrix: use SEQAIJ with one process
Stefano Zampini [Sat, 26 Nov 2022 23:17:18 +0000 (02:17 +0300)]
PETScWrappers::MPI::SparseMatrix: use SEQAIJ with one process

21 months agoPETScWrappers::MPI::Vector use VectorBase contructor from Vec 14682/head
Stefano Zampini [Fri, 25 Nov 2022 13:19:07 +0000 (16:19 +0300)]
PETScWrappers::MPI::Vector use VectorBase contructor from Vec

21 months agoUpdate include/deal.II/lac/petsc_matrix_base.h
Stefano Zampini [Mon, 16 Jan 2023 08:27:07 +0000 (11:27 +0300)]
Update include/deal.II/lac/petsc_matrix_base.h

Co-authored-by: Wolfgang Bangerth <bangerth@colostate.edu>
21 months agoReplace ucd_to_deal with a local vertex numbering in grid_reordering.cc 14681/head
Nils Margenberg [Sun, 15 Jan 2023 21:09:30 +0000 (22:09 +0100)]
Replace ucd_to_deal with a local vertex numbering in grid_reordering.cc

21 months agoReplace ucd_to_deal with a local vertex numbering in Triangulation
Nils Margenberg [Sun, 15 Jan 2023 21:09:17 +0000 (22:09 +0100)]
Replace ucd_to_deal with a local vertex numbering in Triangulation

21 months agoMerge pull request #14652 from masterleinad/workflow_tidy
Timo Heister [Sun, 15 Jan 2023 18:51:10 +0000 (13:51 -0500)]
Merge pull request #14652 from masterleinad/workflow_tidy

Run clang-tidy in GitHub CI

21 months agoMerge pull request #14678 from luca-heltai/stefanozampini/petsc-init-finalize
Luca Heltai [Sun, 15 Jan 2023 09:09:45 +0000 (10:09 +0100)]
Merge pull request #14678 from luca-heltai/stefanozampini/petsc-init-finalize

do not finalize PETSc/SLEPc if not initalized from deal.II

21 months agoUse switch statements in ReferenceCell. 14680/head
David Wells [Thu, 12 Jan 2023 23:05:16 +0000 (18:05 -0500)]
Use switch statements in ReferenceCell.

Patches like ebd03d41278 indicate that there's a measurable performance
advantage to not using a sequence of if statements.

21 months agoReferenceCell: convert to constexpr.
David Wells [Sat, 14 Jan 2023 18:55:05 +0000 (13:55 -0500)]
ReferenceCell: convert to constexpr.

We can enable constexpr and disable the check on older compilers.

21 months agoMerge pull request #14674 from bangerth/ref-cell-centralize
Marc Fehling [Fri, 13 Jan 2023 21:22:59 +0000 (14:22 -0700)]
Merge pull request #14674 from bangerth/ref-cell-centralize

Centralize translation between deal.II and VTK numbering for pyramids.


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.