]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
9 months agoMark arguments as used. 16560/head
Wolfgang Bangerth [Mon, 29 Jan 2024 19:28:38 +0000 (12:28 -0700)]
Mark arguments as used.

9 months agoSilence a warning.
Wolfgang Bangerth [Mon, 29 Jan 2024 18:49:42 +0000 (11:49 -0700)]
Silence a warning.

9 months agoSimplify the Copy-Constructor in TpetraWrappers::Vector 16559/head
Sebastian Kinnewig [Mon, 29 Jan 2024 12:03:11 +0000 (13:03 +0100)]
Simplify the Copy-Constructor in TpetraWrappers::Vector

9 months agoMake a deep-copy of the Tpetra::Vector in the assignment operator.
Sebastian Kinnewig [Mon, 29 Jan 2024 11:40:11 +0000 (12:40 +0100)]
Make a deep-copy of the Tpetra::Vector in the assignment operator.

9 months agoAdd factory functions for FERemoteEvaluationCommunicator
Johannes Heinz [Mon, 22 Jan 2024 08:52:34 +0000 (09:52 +0100)]
Add factory functions for FERemoteEvaluationCommunicator

9 months agoMerge pull request #16543 from bangerth/exc-not-implemented
Matthias Maier [Sat, 27 Jan 2024 23:18:26 +0000 (23:18 +0000)]
Merge pull request #16543 from bangerth/exc-not-implemented

Introduce DEAL_II_NOT_IMPLEMENTED() and associated machinery.

9 months agoMerge pull request #16551 from tamiko/testsuite_improvements_1
David Wells [Sat, 27 Jan 2024 20:22:20 +0000 (15:22 -0500)]
Merge pull request #16551 from tamiko/testsuite_improvements_1

Testsuite: use `./serial` subdirectory

9 months agoMerge pull request #16545 from kinnewig/fix-add-operator
Wolfgang Bangerth [Sat, 27 Jan 2024 17:20:59 +0000 (10:20 -0700)]
Merge pull request #16545 from kinnewig/fix-add-operator

Fix Copy Constructor in TpetraWrappers::Vector.

9 months agoMerge pull request #16550 from masterleinad/add_missing_includes
Martin Kronbichler [Sat, 27 Jan 2024 07:05:27 +0000 (08:05 +0100)]
Merge pull request #16550 from masterleinad/add_missing_includes

Add a couple missing includes

9 months agoMerge pull request #16548 from bangerth/cmake
Daniel Arndt [Fri, 26 Jan 2024 20:21:18 +0000 (13:21 -0700)]
Merge pull request #16548 from bangerth/cmake

Simplify generation of a cmake message.

9 months agoAdd a couple missing includes 16550/head
Daniel Arndt [Fri, 26 Jan 2024 20:11:12 +0000 (15:11 -0500)]
Add a couple missing includes

9 months agoCMake: deal_ii_add_test(): use ./serial subdirectory for output of serial tests 16551/head
Matthias Maier [Fri, 26 Jan 2024 19:44:14 +0000 (13:44 -0600)]
CMake: deal_ii_add_test(): use ./serial subdirectory for output of serial tests

9 months agoCMake: update comments
Matthias Maier [Fri, 26 Jan 2024 19:42:15 +0000 (13:42 -0600)]
CMake: update comments

9 months agoMerge pull request #16547 from kinnewig/locally_owned_elements
Martin Kronbichler [Fri, 26 Jan 2024 17:53:39 +0000 (18:53 +0100)]
Merge pull request #16547 from kinnewig/locally_owned_elements

Simplify locally_owned_elements in TpetraWrappers::Vector.

9 months agoAdd a changelog entry. 16543/head
Wolfgang Bangerth [Thu, 25 Jan 2024 21:18:09 +0000 (14:18 -0700)]
Add a changelog entry.

9 months agoUse DEAL_II_NOT_IMPLEMENTED().
Wolfgang Bangerth [Thu, 25 Jan 2024 21:15:00 +0000 (14:15 -0700)]
Use DEAL_II_NOT_IMPLEMENTED().

9 months agoIntroduce DEAL_II_NOT_IMPLEMENTED() and associated machinery.
Wolfgang Bangerth [Thu, 25 Jan 2024 21:01:05 +0000 (14:01 -0700)]
Introduce DEAL_II_NOT_IMPLEMENTED() and associated machinery.

9 months agoSimplify generation of a cmake message. 16548/head
Wolfgang Bangerth [Fri, 26 Jan 2024 16:59:50 +0000 (09:59 -0700)]
Simplify generation of a cmake message.

9 months agoMerge pull request #16359 from bergbauer/fcl
Martin Kronbichler [Fri, 26 Jan 2024 13:45:03 +0000 (14:45 +0100)]
Merge pull request #16359 from bergbauer/fcl

Introduce FEFacePointEvaluation with optimized FCL path

9 months agoMerge pull request #16542 from tamiko/update_test
Martin Kronbichler [Fri, 26 Jan 2024 11:36:52 +0000 (12:36 +0100)]
Merge pull request #16542 from tamiko/update_test

Tests serialization/fe_series_0?.output: update libc++ output variant

9 months agoSimplify locally_owned_elements in TpetraWrappers::Vector. 16547/head
Sebastian Kinnewig [Fri, 26 Jan 2024 10:48:48 +0000 (11:48 +0100)]
Simplify locally_owned_elements in TpetraWrappers::Vector.

9 months agoRework import_elements() in read_write_vector for TpetraWrapper::Vector 16546/head
Sebastian Kinnewig [Fri, 26 Jan 2024 10:18:59 +0000 (11:18 +0100)]
Rework import_elements() in read_write_vector for TpetraWrapper::Vector

9 months agoFix Copy Constructor in TpetraWrappers::Vector. 16545/head
Sebastian Kinnewig [Fri, 26 Jan 2024 09:44:37 +0000 (10:44 +0100)]
Fix Copy Constructor in TpetraWrappers::Vector.

9 months agoTests serialization/fe_series_0?.output: update libc++ output variant 16542/head
Matthias Maier [Thu, 25 Jan 2024 19:55:25 +0000 (13:55 -0600)]
Tests serialization/fe_series_0?.output: update libc++ output variant

9 months agoMerge pull request #16531 from masterleinad/enforce_expt_relaxed_constexpr
Bruno Turcksin [Thu, 25 Jan 2024 15:11:01 +0000 (10:11 -0500)]
Merge pull request #16531 from masterleinad/enforce_expt_relaxed_constexpr

Kokkos+Cuda: enforce expt-relaxed-constexpr

9 months agoMerge pull request #16533 from bangerth/test-cleanup
Marc Fehling [Thu, 25 Jan 2024 02:03:07 +0000 (19:03 -0700)]
Merge pull request #16533 from bangerth/test-cleanup

Clean up a test.

9 months agoMerge pull request #16527 from tamiko/add_missing_instantiation_2
Matthias Maier [Wed, 24 Jan 2024 22:37:47 +0000 (22:37 +0000)]
Merge pull request #16527 from tamiko/add_missing_instantiation_2

base/mpi.h: also instantiate for signed long long int

9 months agoClean up a test. 16533/head
Wolfgang Bangerth [Wed, 24 Jan 2024 22:05:50 +0000 (15:05 -0700)]
Clean up a test.

Specifically:
* Move variable declarations down to first use; there is a variable with
  same name further up (in an inner scope), so moving the outer one
  avoids confusion.
* Simplify an assertion.

9 months agoFix performance quadrature generator
Maximilian Bergbauer [Wed, 24 Jan 2024 21:40:50 +0000 (22:40 +0100)]
Fix performance quadrature generator

9 months agoKokkos+Cuda: enforce expt-relaxed-constexpr 16531/head
Daniel Arndt [Wed, 24 Jan 2024 20:28:59 +0000 (15:28 -0500)]
Kokkos+Cuda: enforce expt-relaxed-constexpr

9 months agoMerge pull request #16526 from bangerth/constexpr-vectorizedarray
Daniel Arndt [Wed, 24 Jan 2024 18:51:02 +0000 (11:51 -0700)]
Merge pull request #16526 from bangerth/constexpr-vectorizedarray

Make some parts of VectorizedArray infrastructure 'constexpr'.

9 months agoMerge pull request #16524 from bangerth/tensor
Daniel Arndt [Wed, 24 Jan 2024 18:50:42 +0000 (11:50 -0700)]
Merge pull request #16524 from bangerth/tensor

Fix type confusion in Tensor initialization.

9 months agoMerge pull request #16530 from mschreter/improve_docu
Wolfgang Bangerth [Wed, 24 Jan 2024 17:52:28 +0000 (10:52 -0700)]
Merge pull request #16530 from mschreter/improve_docu

Fix docu of `p::d::SolutionTransfer::interpolate()` for the use with multiple functions

9 months agoMerge pull request #16529 from kinnewig/fix-set-zero
Daniel Arndt [Wed, 24 Jan 2024 17:10:46 +0000 (10:10 -0700)]
Merge pull request #16529 from kinnewig/fix-set-zero

Fix TpetraWrappers::Vector::operator=(double)

9 months agofix/improve docu of p::d::SolutionTransfer::interpolate for multiple functions 16530/head
Magdalena Schreter [Wed, 24 Jan 2024 13:31:58 +0000 (14:31 +0100)]
fix/improve docu of p::d::SolutionTransfer::interpolate for multiple functions

9 months agoFix TpetraWrappers::Vector::operator=(double) 16529/head
Sebastian Kinnewig [Wed, 24 Jan 2024 12:44:47 +0000 (13:44 +0100)]
Fix TpetraWrappers::Vector::operator=(double)

9 months agoAdd a test. 16524/head
Wolfgang Bangerth [Wed, 24 Jan 2024 01:43:17 +0000 (18:43 -0700)]
Add a test.

9 months agoFix type confusion in Tensor initialization.
Wolfgang Bangerth [Tue, 23 Jan 2024 15:47:14 +0000 (08:47 -0700)]
Fix type confusion in Tensor initialization.

9 months agoMake some parts of VectorizedArray infrastructure 'constexpr'. 16526/head
Wolfgang Bangerth [Tue, 23 Jan 2024 16:58:26 +0000 (09:58 -0700)]
Make some parts of VectorizedArray infrastructure 'constexpr'.

9 months agobase/mpi.h: also instantiate for signed long long int 16527/head
Matthias Maier [Tue, 23 Jan 2024 20:34:26 +0000 (14:34 -0600)]
base/mpi.h: also instantiate for signed long long int

9 months agoMerge pull request #16521 from tamiko/parameter_acceptor_add_test
Bruno Blais [Tue, 23 Jan 2024 13:46:15 +0000 (08:46 -0500)]
Merge pull request #16521 from tamiko/parameter_acceptor_add_test

ParameterAcceptor: check that we set values correctly for multiple live objects of the same class

9 months agoForce inlining in release mode 16359/head
Maximilian Bergbauer [Mon, 22 Jan 2024 17:26:49 +0000 (18:26 +0100)]
Force inlining in release mode

9 months agoAddress review comments
Maximilian Bergbauer [Thu, 18 Jan 2024 21:18:29 +0000 (22:18 +0100)]
Address review comments

9 months agoMerge pull request #16339 from peterrum/gc_indices
Martin Kronbichler [Tue, 23 Jan 2024 07:53:54 +0000 (08:53 +0100)]
Merge pull request #16339 from peterrum/gc_indices

MGTwoLevelTransfer: improve setup of indices

9 months agoMerge pull request #16523 from YiminJin/changelog-DoFCellAccessor
Wolfgang Bangerth [Tue, 23 Jan 2024 05:07:47 +0000 (22:07 -0700)]
Merge pull request #16523 from YiminJin/changelog-DoFCellAccessor

changelog for PR 16489

9 months agochangelog for PR 16489 16523/head
Yimin Jin [Tue, 23 Jan 2024 02:10:13 +0000 (10:10 +0800)]
changelog for PR 16489

9 months agoMerge pull request #16518 from tamiko/fix_sacado_return_type
David Wells [Mon, 22 Jan 2024 22:23:05 +0000 (17:23 -0500)]
Merge pull request #16518 from tamiko/fix_sacado_return_type

Physics::Elasticity::Kinematics::w: change intermediate value to 'auto'

9 months agoParameterAcceptor: check that we set values correctly for multiple live objects of... 16521/head
Matthias Maier [Mon, 22 Jan 2024 22:17:59 +0000 (16:17 -0600)]
ParameterAcceptor: check that we set values correctly for multiple live objects of the same class

Closes #16520

9 months agoMerge pull request #16519 from tamiko/fix_tensor_tests
David Wells [Mon, 22 Jan 2024 22:12:45 +0000 (17:12 -0500)]
Merge pull request #16519 from tamiko/fix_tensor_tests

Tensor<k, dim, Number::unroll(): fix copy statement

9 months agoTensor<k, dim, Number::unroll(): fix copy statement 16519/head
Matthias Maier [Mon, 22 Jan 2024 20:14:25 +0000 (14:14 -0600)]
Tensor<k, dim, Number::unroll(): fix copy statement

The task for the rank-1 case is to copy all values from the internal
values array to the iterator range, so let us just use
```
  std::copy(std::begin(values), std::end(values), begin);
```
for this. The problem with the `&values[dim]` statement is the fact that
values[dim] is an out-of-bounds access and the address of if is
undefined.

9 months agoAdd dim component test and fix strides
Maximilian Bergbauer [Fri, 5 Jan 2024 17:05:12 +0000 (18:05 +0100)]
Add dim component test and fix strides

9 months agoadd test
Johannes Heinz [Wed, 3 Jan 2024 18:29:41 +0000 (19:29 +0100)]
add test

9 months agoFCL path
Maximilian Bergbauer [Fri, 3 Nov 2023 13:39:54 +0000 (14:39 +0100)]
FCL path

9 months agoPhysics::Elasticity::Kinematics::w: change intermediate value to 'auto' 16518/head
Matthias Maier [Mon, 22 Jan 2024 18:54:24 +0000 (12:54 -0600)]
Physics::Elasticity::Kinematics::w: change intermediate value to 'auto'

This fixes a bug uncovered by our recent base::Tensor() cleanup: The
intermediate tensor type used for the gradient in the w() function
erroneously casts the result to a Tensor<1, dim, double> which for
example for automatic differentiation then removes the underyling AD
type:

/srv/temp/testsuite-d8F1wK0J/dealii/include/deal.II/base/tensor.h:1316:13: error: cannot convert 'const value_type' (aka 'const Sacado::Fad::Exp::GeneralFad<Sacado::Fad::Exp::DynamicStorage<double>>') to 'value_type' (aka 'double') without a conversion operator
  : values{{value_type(initializer[indices])...}}
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Passes all kinematics/physics_functions tests in the testsuite

Fixes #16517

9 months agoMerge pull request #16513 from tamiko/make_assume_available
Wolfgang Bangerth [Mon, 22 Jan 2024 18:00:37 +0000 (11:00 -0700)]
Merge pull request #16513 from tamiko/make_assume_available

Reenable assume macro

9 months agoMerge pull request #16514 from dealii/dependabot/github_actions/actions/cache-4
Marc Fehling [Mon, 22 Jan 2024 04:27:10 +0000 (21:27 -0700)]
Merge pull request #16514 from dealii/dependabot/github_actions/actions/cache-4

Bump actions/cache from 3 to 4

9 months agoBump actions/cache from 3 to 4 dependabot/github_actions/actions/cache-4 16514/head
dependabot[bot] [Mon, 22 Jan 2024 02:45:28 +0000 (02:45 +0000)]
Bump actions/cache from 3 to 4

Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
9 months agoCMake: remove -Wno-assume for now 16513/head
Matthias Maier [Mon, 22 Jan 2024 00:38:59 +0000 (18:38 -0600)]
CMake: remove -Wno-assume for now

9 months agobase/exceptions.h: remove DEAL_II_CXX23_ASSUME from Assert macro
Matthias Maier [Sun, 21 Jan 2024 20:53:02 +0000 (14:53 -0600)]
base/exceptions.h: remove DEAL_II_CXX23_ASSUME from Assert macro

9 months agobase/config.h: enable DEAL_II_CXX23_ASSUME macro
Matthias Maier [Sun, 21 Jan 2024 20:52:05 +0000 (14:52 -0600)]
base/config.h: enable DEAL_II_CXX23_ASSUME macro

9 months agoMerge pull request #16512 from kronbichler/fix_instantiations
Wolfgang Bangerth [Sun, 21 Jan 2024 18:58:17 +0000 (11:58 -0700)]
Merge pull request #16512 from kronbichler/fix_instantiations

DoFTools: Remove unnecessary template specializations

9 months agoDoFTools: Remove unnecessary template specializations 16512/head
Martin Kronbichler [Sun, 21 Jan 2024 08:35:00 +0000 (09:35 +0100)]
DoFTools: Remove unnecessary template specializations

9 months agoMerge pull request #16304 from kinnewig/hanging_nodes_for_NedelecSZ
Martin Kronbichler [Sun, 21 Jan 2024 08:23:44 +0000 (09:23 +0100)]
Merge pull request #16304 from kinnewig/hanging_nodes_for_NedelecSZ

Add support for hanging nodes to the NedelecSZ class.

9 months agoMerge pull request #16489 from YiminJin/fixbug-DoFCellAccessor
Martin Kronbichler [Sun, 21 Jan 2024 08:01:03 +0000 (09:01 +0100)]
Merge pull request #16489 from YiminJin/fixbug-DoFCellAccessor

fix bug in function DoFCellAccessor::distribute_local_to_global()

9 months agoMerge pull request #16510 from peterrum/warning_2
Timo Heister [Sat, 20 Jan 2024 22:23:21 +0000 (17:23 -0500)]
Merge pull request #16510 from peterrum/warning_2

Fix one more warning

9 months agoMerge pull request #16435 from jh66637/remote_fcl
Peter Munch [Sat, 20 Jan 2024 19:27:07 +0000 (20:27 +0100)]
Merge pull request #16435 from jh66637/remote_fcl

Make FERemoteEvaluation work for FCL

9 months agoMerge pull request #16509 from tjhei/fix_warning
Peter Munch [Sat, 20 Jan 2024 19:25:10 +0000 (20:25 +0100)]
Merge pull request #16509 from tjhei/fix_warning

fix compiler warning

9 months agoFix one more warning 16510/head
Peter Munch [Sat, 20 Jan 2024 17:38:02 +0000 (18:38 +0100)]
Fix one more warning

9 months agofix compiler warning 16509/head
Timo Heister [Sat, 20 Jan 2024 16:42:17 +0000 (11:42 -0500)]
fix compiler warning

9 months agoMerge pull request #16506 from bangerth/tensor-2
Bruno Blais [Sat, 20 Jan 2024 13:23:56 +0000 (08:23 -0500)]
Merge pull request #16506 from bangerth/tensor-2

Fix type in Tensor initialization.

9 months agoMerge pull request #16505 from bangerth/tensor-1
Bruno Blais [Sat, 20 Jan 2024 13:23:37 +0000 (08:23 -0500)]
Merge pull request #16505 from bangerth/tensor-1

Use simpler copy/move initialization in Tensor.

9 months agochange the test output 16489/head
Yimin Jin [Sat, 20 Jan 2024 09:16:08 +0000 (17:16 +0800)]
change the test output

9 months agoMerge pull request #16502 from tamiko/disable_assume
Matthias Maier [Fri, 19 Jan 2024 23:38:22 +0000 (23:38 +0000)]
Merge pull request #16502 from tamiko/disable_assume

Disable DEAL_II(_CXX23)_ASSUME macro for now

9 months agoMerge pull request #16504 from bangerth/parens-point-tests
Timo Heister [Fri, 19 Jan 2024 20:58:33 +0000 (15:58 -0500)]
Merge pull request #16504 from bangerth/parens-point-tests

Use p[index] instead of p(index) for class Point in tests/.

9 months agoMerge pull request #16503 from bangerth/parens-point-include
Timo Heister [Fri, 19 Jan 2024 20:57:19 +0000 (15:57 -0500)]
Merge pull request #16503 from bangerth/parens-point-include

Use p[index] instead of p(index) for class Point in one source file.

9 months agoFix type in Tensor initialization. 16506/head
Wolfgang Bangerth [Fri, 19 Jan 2024 20:49:42 +0000 (13:49 -0700)]
Fix type in Tensor initialization.

9 months agoUse simpler copy/move initialization in Tensor. 16505/head
Wolfgang Bangerth [Fri, 19 Jan 2024 20:48:09 +0000 (13:48 -0700)]
Use simpler copy/move initialization in Tensor.

9 months agoMerge pull request #16501 from bangerth/30
Marc Fehling [Fri, 19 Jan 2024 19:58:50 +0000 (12:58 -0700)]
Merge pull request #16501 from bangerth/30

Fix types and names in step-30.

9 months agoUse p[index] instead of p(index) for class Point in one source file. 16503/head
Wolfgang Bangerth [Fri, 19 Jan 2024 17:32:18 +0000 (10:32 -0700)]
Use p[index] instead of p(index) for class Point in one source file.

9 months agoUse p[index] instead of p(index) for class Point in tests/. 16504/head
Wolfgang Bangerth [Fri, 19 Jan 2024 17:24:48 +0000 (10:24 -0700)]
Use p[index] instead of p(index) for class Point in tests/.

9 months agoconfig.h: disable DEAL_II_CXX23_ASSUME for now 16502/head
Matthias Maier [Fri, 19 Jan 2024 17:28:06 +0000 (11:28 -0600)]
config.h: disable DEAL_II_CXX23_ASSUME for now

9 months agoconfig.h: for consistency rename DEAL_II_ASSUME to DEAL_II_CXX23_ASSUME
Matthias Maier [Fri, 19 Jan 2024 17:22:11 +0000 (11:22 -0600)]
config.h: for consistency rename DEAL_II_ASSUME to DEAL_II_CXX23_ASSUME

9 months agoconfig.h: for consistency move DEAL_II_ASSUME macro to config.h.in
Matthias Maier [Fri, 19 Jan 2024 17:15:04 +0000 (11:15 -0600)]
config.h: for consistency move DEAL_II_ASSUME macro to config.h.in

9 months agoMerge pull request #16500 from marcfehling/template-arguments
Wolfgang Bangerth [Fri, 19 Jan 2024 15:18:05 +0000 (08:18 -0700)]
Merge pull request #16500 from marcfehling/template-arguments

Iterate space_dimension over the dedicated template argument list.

9 months agoMerge pull request #16323 from mschreter/rpe_additional_data
Peter Munch [Fri, 19 Jan 2024 13:04:42 +0000 (14:04 +0100)]
Merge pull request #16323 from mschreter/rpe_additional_data

RemotePointEvaluation: add AdditionalData struct

9 months agoMerge pull request #16499 from tamiko/fix_tensor_warning
Marc Fehling [Fri, 19 Jan 2024 06:57:13 +0000 (23:57 -0700)]
Merge pull request #16499 from tamiko/fix_tensor_warning

base/tensor.h: work around bogus compiler warning

9 months agoMerge pull request #16498 from tamiko/fix_trilinos_warnings
Wolfgang Bangerth [Fri, 19 Jan 2024 04:46:37 +0000 (21:46 -0700)]
Merge pull request #16498 from tamiko/fix_trilinos_warnings

TpetraWrappers: fix various compiler warnings

9 months agoMerge pull request #16496 from mschreter/fix_solution_transfer_fe_nothing_fe_dgq
Wolfgang Bangerth [Fri, 19 Jan 2024 04:46:29 +0000 (21:46 -0700)]
Merge pull request #16496 from mschreter/fix_solution_transfer_fe_nothing_fe_dgq

Enable `FE_DGQ::get_interpolation_matrix()` for source finite element type `FENothing`

9 months agoMerge pull request #16495 from marcfehling/redundant
Wolfgang Bangerth [Fri, 19 Jan 2024 04:46:18 +0000 (21:46 -0700)]
Merge pull request #16495 from marcfehling/redundant

tests: remove redundant 'using namespace dealii;' directives.

9 months agomodify the test codes to meet the format requirements
Yimin Jin [Fri, 19 Jan 2024 03:41:23 +0000 (11:41 +0800)]
modify the test codes to meet the format requirements

9 months agoMerge pull request #16486 from tamiko/fix_compilation_with_clang
Marc Fehling [Fri, 19 Jan 2024 00:41:21 +0000 (17:41 -0700)]
Merge pull request #16486 from tamiko/fix_compilation_with_clang

CMake: fix compilation with bundled boost and modern clang

9 months agoMerge pull request #16438 from masterleinad/icpx_clang_like
Marc Fehling [Fri, 19 Jan 2024 00:40:58 +0000 (17:40 -0700)]
Merge pull request #16438 from masterleinad/icpx_clang_like

Treat ICPX as gcc-style compiler

9 months agoFix types and names in step-30. 16501/head
Wolfgang Bangerth [Fri, 19 Jan 2024 00:08:57 +0000 (17:08 -0700)]
Fix types and names in step-30.

9 months agoIterate space_dimension over the dedicated template argument list. 16500/head
Marc Fehling [Thu, 18 Jan 2024 23:21:56 +0000 (16:21 -0700)]
Iterate space_dimension over the dedicated template argument list.

9 months agoMerge pull request #16494 from tamiko/add_missing_instantiation
Marc Fehling [Thu, 18 Jan 2024 23:13:39 +0000 (16:13 -0700)]
Merge pull request #16494 from tamiko/add_missing_instantiation

DofTools: add missing codimension-one instantiation

9 months agobase/tensor.h: work around bogus compiler warning 16499/head
Matthias Maier [Thu, 18 Jan 2024 23:09:04 +0000 (17:09 -0600)]
base/tensor.h: work around bogus compiler warning

gcc-9.4 warnings loudly about an unused argument "end":

```
In file included from ../include/deal.II/base/symmetric_tensor.h:26,
                 from ../include/deal.II/base/array_view.h:23,
                 from ../source/base/tensor.cc:16:
../include/deal.II/base/tensor.h: In instantiation of 'void dealii::Tensor<rank_, dim, Number>::unroll(Iterator, Iterator) const [with Iterator = float*; int rank_ = 1; int dim = 1; Number = float]':
../include/deal.II/base/tensor.h:1736:11:   required from 'void dealii::Tensor<rank_, dim, Number>::unroll(Iterator, Iterator) const [with Iterator = float*; int rank_ = 2; int dim = 1; Number = float]'
../source/base/tensor.cc:52:5:   required from 'void dealii::{anonymous}::calculate_svd_in_place(dealii::Tensor<2, dim, Number>&, dealii::Tensor<2, dim, Number>&) [with int dim = 1; Number = float]'
../source/base/tensor.cc:85:25:   required from 'dealii::Tensor<2, dim, Number> dealii::project_onto_orthogonal_tensors(const dealii::Tensor<2, dim, Number>&) [with int dim = 1; Number = float]'
../source/base/tensor.cc:92:60:   required from here
../include/deal.II/base/tensor.h:1728:51: warning: parameter 'end' set but not used [-Wunused-but-set-parameter]
 1728 |                                    const Iterator end) const
      |
```

This is of course bogus, the compiler simply lost track of the
`if constexpr(...)` branch. This is fixed in later gcc versions. Let's
simply use the usual `(void)parameter` strategy to make gcc-9.4 happy.

9 months agoTpetraWrappers: fix unused variable warning 16498/head
Matthias Maier [Thu, 18 Jan 2024 22:55:57 +0000 (16:55 -0600)]
TpetraWrappers: fix unused variable warning

9 months agoTpetraWrappers: fix dangling else warning, fix embedded macro warning
Matthias Maier [Thu, 18 Jan 2024 22:52:40 +0000 (16:52 -0600)]
TpetraWrappers: fix dangling else warning, fix embedded macro warning

Triggered on gcc-9.4.0 on Ubuntu LTS 20.04

9 months agoTpetraWrappers: fix signed unsigned comparison warning
Matthias Maier [Thu, 18 Jan 2024 22:52:04 +0000 (16:52 -0600)]
TpetraWrappers: fix signed unsigned comparison warning

9 months agoallow interpolate for combination FENothing/FE_DGQ 16496/head
Magdalena Schreter [Thu, 18 Jan 2024 21:15:10 +0000 (22:15 +0100)]
allow interpolate for combination FENothing/FE_DGQ


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.