]>
https://gitweb.dealii.org/ - dealii.git/log
Sebastian Kinnewig [Fri, 26 Jan 2024 09:44:37 +0000 (10:44 +0100)]
Fix Copy Constructor in TpetraWrappers::Vector.
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
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
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
Yimin Jin [Tue, 23 Jan 2024 02:10:13 +0000 (10:10 +0800)]
changelog for PR 16489
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'
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
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
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.
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
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
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
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>
Matthias Maier [Mon, 22 Jan 2024 00:38:59 +0000 (18:38 -0600)]
CMake: remove -Wno-assume for now
Matthias Maier [Sun, 21 Jan 2024 20:53:02 +0000 (14:53 -0600)]
base/exceptions.h: remove DEAL_II_CXX23_ASSUME from Assert macro
Matthias Maier [Sun, 21 Jan 2024 20:52:05 +0000 (14:52 -0600)]
base/config.h: enable DEAL_II_CXX23_ASSUME macro
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
Martin Kronbichler [Sun, 21 Jan 2024 08:35:00 +0000 (09:35 +0100)]
DoFTools: Remove unnecessary template specializations
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.
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()
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
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
Peter Munch [Sat, 20 Jan 2024 19:25:10 +0000 (20:25 +0100)]
Merge pull request #16509 from tjhei/fix_warning
fix compiler warning
Peter Munch [Sat, 20 Jan 2024 17:38:02 +0000 (18:38 +0100)]
Fix one more warning
Timo Heister [Sat, 20 Jan 2024 16:42:17 +0000 (11:42 -0500)]
fix compiler warning
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.
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.
Yimin Jin [Sat, 20 Jan 2024 09:16:08 +0000 (17:16 +0800)]
change the test output
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
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/.
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.
Wolfgang Bangerth [Fri, 19 Jan 2024 20:49:42 +0000 (13:49 -0700)]
Fix type in Tensor initialization.
Wolfgang Bangerth [Fri, 19 Jan 2024 20:48:09 +0000 (13:48 -0700)]
Use simpler copy/move initialization in Tensor.
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.
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.
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/.
Matthias Maier [Fri, 19 Jan 2024 17:28:06 +0000 (11:28 -0600)]
config.h: disable DEAL_II_CXX23_ASSUME for now
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
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
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.
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
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
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
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`
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.
Yimin Jin [Fri, 19 Jan 2024 03:41:23 +0000 (11:41 +0800)]
modify the test codes to meet the format requirements
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
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
Wolfgang Bangerth [Fri, 19 Jan 2024 00:08:57 +0000 (17:08 -0700)]
Fix types and names in step-30.
Marc Fehling [Thu, 18 Jan 2024 23:21:56 +0000 (16:21 -0700)]
Iterate space_dimension over the dedicated template argument list.
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
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.
Matthias Maier [Thu, 18 Jan 2024 22:55:57 +0000 (16:55 -0600)]
TpetraWrappers: fix unused variable 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
Matthias Maier [Thu, 18 Jan 2024 22:52:04 +0000 (16:52 -0600)]
TpetraWrappers: fix signed unsigned comparison warning
Magdalena Schreter [Thu, 18 Jan 2024 21:15:10 +0000 (22:15 +0100)]
allow interpolate for combination FENothing/FE_DGQ
Marc Fehling [Thu, 18 Jan 2024 19:35:48 +0000 (12:35 -0700)]
tests: remove redundant 'using namespace dealii;' directives.
Matthias Maier [Thu, 18 Jan 2024 18:54:49 +0000 (18:54 +0000)]
Merge pull request #16480 from bangerth/tensor-scalar-array
Use an array-of-scalars as the base case for Tensor.
Matthias Maier [Thu, 18 Jan 2024 18:50:00 +0000 (12:50 -0600)]
DofTools: add missing codimension-one instantiation
Wolfgang Bangerth [Thu, 18 Jan 2024 18:09:51 +0000 (11:09 -0700)]
Merge pull request #16490 from kinnewig/distribute_local_to_global
Check if the global vector in distribute_local_to_global has ghost elements.
Matthias Maier [Wed, 17 Jan 2024 21:38:40 +0000 (15:38 -0600)]
CMake: fix compilation with bundled boost and modern clang
std::unary_function has been removed in C++17. Fix compilation with
clang and other compiles that enforce strict standard compliance by
exporting BOOST_NO_CXX98_FUNCTION_BASE,
https://github.com/boostorg/config/pull/430
Wolfgang Bangerth [Tue, 16 Jan 2024 18:49:59 +0000 (11:49 -0700)]
Use a better initialization scheme.
Wolfgang Bangerth [Tue, 16 Jan 2024 19:13:03 +0000 (12:13 -0700)]
Also adjust value_type and array_type.
Wolfgang Bangerth [Tue, 16 Jan 2024 18:05:25 +0000 (11:05 -0700)]
Use an array-of-scalars as the base case for Tensor.
Wolfgang Bangerth [Wed, 17 Jan 2024 02:56:03 +0000 (19:56 -0700)]
Make a function 'constexpr'.
Bruno Blais [Thu, 18 Jan 2024 15:36:20 +0000 (10:36 -0500)]
Merge pull request #16488 from bangerth/point-parens
Use p[index] instead of p(index) for class Point.
Sebastian Kinnewig [Thu, 18 Jan 2024 10:10:27 +0000 (11:10 +0100)]
Check if the global vector in distribute_local_to_global has ghost elements.
Martin Kronbichler [Thu, 18 Jan 2024 09:27:32 +0000 (10:27 +0100)]
Merge pull request #16290 from kinnewig/tpetra_vector_parallel
Add parallel support to TpetraWrappers::Vector.
Yimin Jin [Thu, 18 Jan 2024 04:15:57 +0000 (12:15 +0800)]
fix bug in function DoFCellAccessor::distribute_local_to_global() and add a test
Wolfgang Bangerth [Thu, 18 Jan 2024 00:18:20 +0000 (17:18 -0700)]
Use p[index] instead of p(index) for class Point.
Timo Heister [Wed, 17 Jan 2024 17:45:41 +0000 (12:45 -0500)]
Merge pull request #16482 from peterrum/n_global_active_cells
Initialize NumberCache::n_global_active_cells
Peter Munch [Wed, 17 Jan 2024 15:55:58 +0000 (16:55 +0100)]
Initialize NumberCache::n_global_active_cells
Martin Kronbichler [Wed, 17 Jan 2024 08:02:32 +0000 (09:02 +0100)]
Merge pull request #16481 from bangerth/warning
Work around warnings about invalid array accesses.
Wolfgang Bangerth [Wed, 17 Jan 2024 00:20:43 +0000 (17:20 -0700)]
Work around warnings about invalid array accesses.
Sebastian Kinnewig [Mon, 15 Jan 2024 16:18:27 +0000 (17:18 +0100)]
Add another test to verify that inhomogeneous boundary conditions with hanging nodes work as expected.
Sebastian Kinnewig [Mon, 15 Jan 2024 10:43:30 +0000 (11:43 +0100)]
Added new test case based on fe_nedelec_sz_gradient_divergence_theorem.
Sebastian Kinnewig [Fri, 8 Dec 2023 11:28:47 +0000 (12:28 +0100)]
Add a convergence test that verifies that hanging nodes on FE_NedelecSZ elements are handled correctly.
Sebastian Kinnewig [Fri, 19 May 2023 09:19:44 +0000 (11:19 +0200)]
Add support for hanging nodes to the NedelecSZ class.
Martin Kronbichler [Tue, 16 Jan 2024 16:50:23 +0000 (17:50 +0100)]
Merge pull request #16441 from bangerth/pow-2
Use Utilities::fixed_power() where possible.
Martin Kronbichler [Tue, 16 Jan 2024 07:22:11 +0000 (08:22 +0100)]
Merge pull request #16444 from bangerth/sparse-direct-2
Also test MUMPS symmetric mode.
Martin Kronbichler [Tue, 16 Jan 2024 07:21:06 +0000 (08:21 +0100)]
Merge pull request #16478 from tjhei/exchange-doc-and-changelog
exchange refinement flags: doc and changelog
Martin Kronbichler [Tue, 16 Jan 2024 07:20:32 +0000 (08:20 +0100)]
Merge pull request #16476 from kronbichler/fix_test
cell_categorization test: Adjust output
Martin Kronbichler [Tue, 16 Jan 2024 07:17:28 +0000 (08:17 +0100)]
Merge pull request #16474 from bangerth/tensor-dev
Use a std::array instead of a C-style array for tensor elements.
Timo Heister [Mon, 15 Jan 2024 21:07:32 +0000 (16:07 -0500)]
exchange refinement flags: doc and changelog
Matthias Maier [Tue, 16 Jan 2024 01:09:10 +0000 (01:09 +0000)]
Merge pull request #16471 from tjhei/test-examples4
test examples: support loading files
Wolfgang Bangerth [Mon, 15 Jan 2024 22:23:12 +0000 (15:23 -0700)]
Merge pull request #16327 from tjhei/test-affine-float-equal
make tests/mpi/affine_constraints_get_view_01 more robust
Wolfgang Bangerth [Mon, 15 Jan 2024 22:22:41 +0000 (15:22 -0700)]
Merge pull request #16477 from kronbichler/fix_typo
Fix typo in changelog
Matthias Maier [Mon, 15 Jan 2024 21:15:41 +0000 (21:15 +0000)]
Merge pull request #16473 from bangerth/tensor-3
More Tensor simplifications with if constexpr.
Wolfgang Bangerth [Sat, 13 Jan 2024 05:08:12 +0000 (22:08 -0700)]
Use a std::array instead of a C-style array for tensor elements.
Martin Kronbichler [Mon, 15 Jan 2024 20:35:21 +0000 (21:35 +0100)]
Fix typo in changelog
Martin Kronbichler [Mon, 15 Jan 2024 20:33:34 +0000 (21:33 +0100)]
cell_categorization test: Adjust output
Timo Heister [Thu, 28 Dec 2023 01:06:47 +0000 (20:06 -0500)]
tests/examples/ add symlink
Timo Heister [Thu, 7 Dec 2023 14:29:43 +0000 (09:29 -0500)]
make test more robust
By avoiding a floating point equality comparison. This test fails for me
in release mode with march=native with a residual of 1e-14.
Timo Heister [Mon, 15 Jan 2024 20:05:25 +0000 (15:05 -0500)]
Merge pull request #16470 from tjhei/cmake-print-newline-novec
CMake: print newline when vectorization is disabled.
Martin Kronbichler [Mon, 15 Jan 2024 16:53:01 +0000 (17:53 +0100)]
Merge pull request #16382 from jh66637/dont_zero_out_whole_buffer
Enhance documentation for sum_into_values
Martin Kronbichler [Mon, 15 Jan 2024 16:52:31 +0000 (17:52 +0100)]
Merge pull request #16415 from bergbauer/fix_ecl
Fix ecl access cells
Wolfgang Bangerth [Mon, 15 Jan 2024 15:52:18 +0000 (08:52 -0700)]
More Tensor simplifications with if constexpr.
Martin Kronbichler [Mon, 15 Jan 2024 14:52:48 +0000 (15:52 +0100)]
Merge pull request #16468 from bangerth/tensor-specialization
Use if-constexpr more in Tensor.
Wolfgang Bangerth [Sun, 14 Jan 2024 18:55:27 +0000 (11:55 -0700)]
Merge pull request #16330 from quangx/exchange2
exchange refinement flags
Sebastian Kinnewig [Fri, 12 Jan 2024 08:38:54 +0000 (09:38 +0100)]
add nonlocal_vector
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.