]>
https://gitweb.dealii.org/ - dealii.git/log
David Wells [Sat, 21 May 2022 19:29:18 +0000 (15:29 -0400)]
Move the initialize function to the base class.
David Wells [Sat, 21 May 2022 19:05:18 +0000 (15:05 -0400)]
Remove redundant preprocessor checks.
David Wells [Sat, 21 May 2022 19:04:20 +0000 (15:04 -0400)]
Move most of the muParser implementation to the new base class.
David Wells [Sat, 21 May 2022 18:27:01 +0000 (14:27 -0400)]
Move up some declarations.
David Wells [Sat, 21 May 2022 04:03:01 +0000 (00:03 -0400)]
Move some more fields into the function parser base class.
David Wells [Sat, 21 May 2022 03:43:45 +0000 (23:43 -0400)]
Move FunctionParser's thread-local data into a base class.
David Wells [Sat, 21 May 2022 03:24:47 +0000 (23:24 -0400)]
Convert an extern value into a function.
David Wells [Sat, 21 May 2022 03:23:13 +0000 (23:23 -0400)]
Add a new muParser function base class.
Peter Munch [Sat, 21 May 2022 16:36:16 +0000 (18:36 +0200)]
Merge pull request #13772 from tamiko/doxygen_fixes
Doxygen: Ensure that opening and closing glossary quotes are on the same line
Matthias Maier [Sat, 21 May 2022 15:55:12 +0000 (10:55 -0500)]
Doxygen: Ensure that opening and closing glossary quotes are on the same line
David Wells [Fri, 20 May 2022 14:44:59 +0000 (10:44 -0400)]
Merge pull request #13754 from luca-heltai/cgal-dealii-tria-to-CGAL-surface-mesh
Convert a deal.II tria to a CGAL::Surface_mesh
David Wells [Fri, 20 May 2022 14:29:54 +0000 (10:29 -0400)]
Merge pull request #13763 from kronbichler/fix_compile_error
Fix compile error of test on certain compilers
Martin Kronbichler [Fri, 20 May 2022 07:00:19 +0000 (09:00 +0200)]
Fix compile error of test on certain compilers
Luca Heltai [Fri, 20 May 2022 06:51:17 +0000 (08:51 +0200)]
Merge pull request #13759 from tamiko/fix_cgal_configure
CMake: Do not configure CGAL with bundled boost
Martin Kronbichler [Fri, 20 May 2022 06:50:28 +0000 (08:50 +0200)]
Merge pull request #13751 from marcfehling/fixtest-bfgs
Check for range of function calls in bfgs tests.
Marc Fehling [Fri, 20 May 2022 04:06:09 +0000 (22:06 -0600)]
Merge pull request #13762 from bangerth/once_flag
Use std::call_once() instead of hand-rolling a solution.
Marc Fehling [Fri, 20 May 2022 04:05:35 +0000 (22:05 -0600)]
Merge pull request #13761 from bangerth/indent-cmake
Properly indent a cmake command.
Wolfgang Bangerth [Fri, 20 May 2022 01:52:53 +0000 (19:52 -0600)]
Properly indent a cmake command.
Wolfgang Bangerth [Fri, 20 May 2022 01:52:22 +0000 (19:52 -0600)]
Use std::call_once() instead of hand-rolling a solution.
Bruno Turcksin [Fri, 20 May 2022 01:10:50 +0000 (21:10 -0400)]
Merge pull request #13760 from kronbichler/test_robustness2
Marc Fehling [Thu, 19 May 2022 21:17:14 +0000 (15:17 -0600)]
Check for range of function calls in bfgs tests.
Marc Fehling [Thu, 19 May 2022 21:15:40 +0000 (15:15 -0600)]
Remove number of function calls from bfgs tests.
Martin Kronbichler [Thu, 19 May 2022 20:38:32 +0000 (22:38 +0200)]
Make sure to reach numbers small enough to be below numdiff threshold
Martin Kronbichler [Thu, 19 May 2022 20:37:50 +0000 (22:37 +0200)]
Improve robustness of two tests
Daniel Arndt [Thu, 19 May 2022 20:22:18 +0000 (16:22 -0400)]
Merge pull request #13745 from drwells/muparser-tls
Avoid doing extra TLS lookups in FunctionParser.
Daniel Arndt [Thu, 19 May 2022 20:21:13 +0000 (16:21 -0400)]
Merge pull request #13757 from tamiko/silence_cmake_warning
Daniel Arndt [Thu, 19 May 2022 20:19:15 +0000 (16:19 -0400)]
Merge pull request #13758 from drwells/add-boost-definition-note
Add a comment explaining BOOST_DEFINITIONS
Matthias Maier [Thu, 19 May 2022 06:30:28 +0000 (01:30 -0500)]
CMake: Avoid a CMake policy warning
Matthias Maier [Thu, 19 May 2022 19:30:02 +0000 (14:30 -0500)]
CMake: Do not configure CGAL with bundled boost
David Wells [Thu, 19 May 2022 17:06:12 +0000 (13:06 -0400)]
Add a comment describing our boost definitions.
Martin Kronbichler [Thu, 19 May 2022 17:58:33 +0000 (19:58 +0200)]
Merge pull request #12664 from drwells/unghost-matrix-diagonals
Unghost matrix diagonals
David Wells [Thu, 19 May 2022 13:53:29 +0000 (09:53 -0400)]
Don't set ghost values in diagonal matrices.
We never read them.
Martin Kronbichler [Thu, 19 May 2022 13:11:32 +0000 (15:11 +0200)]
Merge pull request #13741 from drwells/more-sundials-6
Fix sundials 6 tests, part 1
David Wells [Thu, 19 May 2022 13:01:08 +0000 (09:01 -0400)]
Merge pull request #13735 from luca-heltai/cgal-support-c3t3
CGAL C3T3 to deal.II Triangulation.
David Wells [Thu, 19 May 2022 12:56:17 +0000 (08:56 -0400)]
Merge pull request #13752 from marcfehling/fixtest-consensus
Fix compute_index_owner_01.
Martin Kronbichler [Thu, 19 May 2022 06:50:48 +0000 (08:50 +0200)]
Merge pull request #13755 from kronbichler/test_robustness
Make multigrid test more robust
Marc Fehling [Tue, 17 May 2022 21:04:50 +0000 (15:04 -0600)]
Fix compute_index_owner_01.
David Wells [Wed, 18 May 2022 14:22:34 +0000 (10:22 -0400)]
Merge pull request #13756 from kronbichler/add_instantiation
MatrixFree: Add instantiation for ConstraintValues::insert_entries
Marco Feder [Wed, 18 May 2022 08:38:29 +0000 (10:38 +0200)]
Fix clockwise_ordering
Marco Feder [Sat, 14 May 2022 18:07:50 +0000 (20:07 +0200)]
Convert a deal.II tria to a CGAL::Surface_mesh
Martin Kronbichler [Wed, 18 May 2022 08:09:47 +0000 (10:09 +0200)]
MatrixFree: Add instantiation for ConstraintValues::insert_entries
Martin Kronbichler [Wed, 18 May 2022 07:56:04 +0000 (09:56 +0200)]
Also apply robust setup to other test
Martin Kronbichler [Wed, 18 May 2022 07:45:15 +0000 (09:45 +0200)]
Make multigrid test more robust
Marc Fehling [Wed, 18 May 2022 00:18:38 +0000 (18:18 -0600)]
Merge pull request #13750 from marcfehling/fixtest-petsc
Update petsc test output.
Marc Fehling [Tue, 17 May 2022 20:35:29 +0000 (14:35 -0600)]
Update petsc test output.
Luca Heltai [Tue, 17 May 2022 19:32:43 +0000 (22:32 +0300)]
Code review.
Luca Heltai [Mon, 16 May 2022 16:59:53 +0000 (19:59 +0300)]
CGAL C3T3 to deal.II Triangulation.
David Wells [Mon, 16 May 2022 02:44:45 +0000 (22:44 -0400)]
Clean up the declaration of make_nvector_view().
David Wells [Sun, 15 May 2022 22:02:56 +0000 (18:02 -0400)]
Use SUNContext as needed in SUNDIALS tests, part 1.
This new context object is mostly for logging (i.e., its API is for profiling
and logging only at the moment) so we just need to make sure it exists.
David Wells [Mon, 16 May 2022 18:00:19 +0000 (14:00 -0400)]
Avoid doing extra TLS lookups in FunctionParser.
While we are at it, get rid of the calls to begin_raw() and end_raw() (they are
deprecated).
Martin Kronbichler [Tue, 17 May 2022 10:36:56 +0000 (12:36 +0200)]
Merge pull request #13748 from simonsticko/assert_mapping_cartesian
Assert that the incoming cell is Cartesian in MappingCartesian
Martin Kronbichler [Tue, 17 May 2022 10:36:05 +0000 (12:36 +0200)]
Merge pull request #13749 from simonsticko/rename_ExcReclassifyNotCalled
Rename an exception
Peter Munch [Tue, 17 May 2022 08:17:46 +0000 (10:17 +0200)]
Merge pull request #13747 from tamiko/fix_step_75_emplace
Step-75: use well-formed deleter
Simon Sticko [Tue, 17 May 2022 06:41:09 +0000 (08:41 +0200)]
Assert that the incoming cell is Cartesian in MappingCartesian
Simon Sticko [Tue, 17 May 2022 07:00:54 +0000 (09:00 +0200)]
Rename an exception
To be consistent with the names of the other exceptions.
Matthias Maier [Tue, 17 May 2022 04:29:57 +0000 (23:29 -0500)]
Step-75: use well-formed deleter
LLVM/Clang's libc++ library version 13/14 got stricter by checking
requirements of the deleter, in particular, according to [1] a deleter
must pass the requirement `__shared_ptr_deleter_ctor_reqs` which is
defined as follows:
```
template <class _Dp, class _Pt, class = decltype(declval<_Dp>()(declval<_Pt>()))>
static true_type __well_formed_deleter_test(int);
template <class, class>
static false_type __well_formed_deleter_test(...);
template <class _Dp, class _Pt>
struct __well_formed_deleter : decltype(__well_formed_deleter_test<_Dp, _Pt>(0)) {};
template<class _Dp, class _Tp, class _Yp>
struct __shared_ptr_deleter_ctor_reqs
{
static const bool value = __compatible_with<_Tp, _Yp>::value &&
is_move_constructible<_Dp>::value &&
__well_formed_deleter<_Dp, _Tp*>::value;
};
```
Unfortunately, our construct
```
coarse_grid_triangulations.emplace_back(
const_cast<Triangulation<dim> *>(&(dof_handler.get_triangulation())),
[](auto &) {});
```
does not pass this test. The issue is that the deleter takes a pointer,
not a reference which, so the lambda `[](auto &){}` does not pass above
`__shared_ptr_deleter_ctor_reqs`.
While at it, remove the const cast: `coarse_grid_triangulations` is
declared as a vector holding a `shared_ptr<const Triangulation<dim>>`,
thus we should simply take the address and not convert to a non-const
object.
[1] https://github.com/llvm/llvm-project/blob/main/libcxx/include/__memory/shared_ptr.h
Martin Kronbichler [Tue, 17 May 2022 05:47:20 +0000 (07:47 +0200)]
Merge pull request #13744 from tamiko/transfinite_fix_codim_one
TransfiniteInterpolationManifold: fix codimension one case
Marc Fehling [Tue, 17 May 2022 04:38:27 +0000 (22:38 -0600)]
Merge pull request #13746 from tamiko/fix_typo
base/tensor.h: Fix a typo
Matthias Maier [Tue, 17 May 2022 02:21:36 +0000 (21:21 -0500)]
base/tensor.h: Fix a typo
Matthias Maier [Mon, 16 May 2022 17:51:49 +0000 (12:51 -0500)]
TransfiniteInterpolationManifold: add a test
Daniel Arndt [Mon, 16 May 2022 18:09:17 +0000 (14:09 -0400)]
Merge pull request #13742 from bangerth/typo
Matthias Maier [Mon, 16 May 2022 17:36:16 +0000 (12:36 -0500)]
TransfiniteInterpolationManifold: fix codimension one case
The codimension one case currently fails with an assertion:
```
An error occurred in line <290> of file <source/grid/grid_tools.cc> in function
std::pair<DerivativeForm<1, dim, spacedim>, Tensor<1, spacedim>> dealii::GridTools::affine_cell_approximation(const ArrayView<const Point<spacedim>> &) [dim = 2, spacedim = 3]
The violated condition was:
::dealii::deal_II_exceptions::internals::compare_for_equality(vertices.size(), GeometryInfo<dim>::vertices_per_cell)
Additional information:
Dimension 9 not equal to 4.
```
This is triggered because we take a compatibility branch in case of
`dim < spacedim` (in `include/deal.II/fe/mapping_q_internal.h`):
```
908 if (real_support_points.size() ==
909 GeometryInfo<dim>::vertices_per_cell ||
910 dim < spacedim)
911 {
```
but still initialize the vector `unit_points` by a subdivided quadrature
(which is needed for the default quadratic approximation; in
`source/grid/manifold_lib.cc`):
```
1686 std::vector<Point<dim>> unit_points =
1687 QIterated<dim>(QTrapez<1>(), 2).get_points();
1688 std::vector<Point<spacedim>> real_points(unit_points.size());
```
Fix this by simply initializing `unit_points` with the right number of
interpolation points for the `dim < spacedim` variant.
Wolfgang Bangerth [Mon, 16 May 2022 16:27:48 +0000 (10:27 -0600)]
Fix a typo.
Peter Munch [Mon, 16 May 2022 09:47:34 +0000 (11:47 +0200)]
Merge pull request #13730 from kronbichler/add_test_output_variant
Add another variant for multigrid test
Peter Munch [Mon, 16 May 2022 09:08:53 +0000 (11:08 +0200)]
Merge pull request #13717 from luca-heltai/cgal-compute_boolean_operation
Corefine and compute boolean operations in CGAL
David Wells [Mon, 16 May 2022 02:18:59 +0000 (22:18 -0400)]
Merge pull request #13739 from marcfehling/fixtest_sharedtria_refine
Added missing headers to failing test.
David Wells [Sun, 15 May 2022 22:02:28 +0000 (18:02 -0400)]
Convert "not less than" to "greater than or equal to".
The later is much simpler.
Marc Fehling [Sun, 15 May 2022 22:56:39 +0000 (16:56 -0600)]
Added missing headers to failing test.
Luca Heltai [Sun, 15 May 2022 20:11:25 +0000 (23:11 +0300)]
Fixed documenation.
Peter Munch [Sun, 15 May 2022 19:14:17 +0000 (21:14 +0200)]
Merge pull request #13737 from peterrum/ldv_fix_size
LA:d:V: fix size in the case of shared memory
Luca Heltai [Sun, 15 May 2022 18:49:28 +0000 (21:49 +0300)]
Merge pull request #13738 from gfcas/typo
Fix typo w_cycle
Martin Kronbichler [Sun, 15 May 2022 14:03:47 +0000 (16:03 +0200)]
Merge pull request #13736 from drwells/gcc-12-warnings
Fix some GCC-12 warnings.
Timo Heister [Sun, 15 May 2022 12:02:42 +0000 (08:02 -0400)]
Merge pull request #13732 from tamiko/remove_as_needed
CMake: remove -Wl,--as-needed flag setup
Fabian Castelli [Sun, 15 May 2022 10:59:37 +0000 (12:59 +0200)]
Fix typo w_cycle
Peter Munch [Sun, 15 May 2022 10:13:30 +0000 (12:13 +0200)]
LA:d:V: fix size in the case of shared memory
Marco Feder [Tue, 10 May 2022 16:50:04 +0000 (18:50 +0200)]
Add boolean operations between surface_meshes
David Wells [Sat, 14 May 2022 18:12:24 +0000 (14:12 -0400)]
Simplify some code.
David Wells [Sat, 14 May 2022 18:12:09 +0000 (14:12 -0400)]
Fix some GCC-12 warnings.
Luca Heltai [Sat, 14 May 2022 12:48:14 +0000 (15:48 +0300)]
Merge pull request #13712 from marcfehling/security
Restrict permissions for GITHUB_TOKEN.
Luca Heltai [Sat, 14 May 2022 09:50:41 +0000 (12:50 +0300)]
Merge pull request #13705 from luca-heltai/cgal-surface_mesh-to-coarse_mesh
Create coarse mesh out of a CGAL::Surface_mesh
Peter Munch [Sat, 14 May 2022 07:17:57 +0000 (09:17 +0200)]
Merge pull request #13733 from bangerth/ca-types-4
Avoid double packing/unpacking for CA algorithms.
Peter Munch [Sat, 14 May 2022 07:16:10 +0000 (09:16 +0200)]
Merge pull request #13731 from bangerth/ca-types-3
Simplify the type used by ConsensusAlgorithm in compute_n_point_to_point_communications().
Peter Munch [Sat, 14 May 2022 07:15:28 +0000 (09:15 +0200)]
Merge pull request #13729 from simonsticko/quadrature_initialize
Set is_tensor_product_flag in Quadrature::initialize(..)
Wolfgang Bangerth [Fri, 13 May 2022 22:31:04 +0000 (16:31 -0600)]
Avoid double packing/unpacking for CA algorithms.
Matthias Maier [Fri, 13 May 2022 20:57:15 +0000 (15:57 -0500)]
CMake: remove -Wl,--as-needed flag setup
The issue with the current handling of the --Wl,--as-needed flag is the
fact that we set it internally but later on filter it (unconditionally)
for user projects.
This has the issue that it is currently not possible to set
--Wl,--as-needed by hand when needed.
Thus, let us simply remove the setup and the workarounds.
Wolfgang Bangerth [Fri, 13 May 2022 20:55:11 +0000 (14:55 -0600)]
Simplify the type used by ConsensusAlgorithm in compute_n_point_to_point_communications().
Daniel Arndt [Fri, 13 May 2022 11:33:43 +0000 (13:33 +0200)]
Merge pull request #13722 from bangerth/ca-type-2
Daniel Arndt [Fri, 13 May 2022 10:22:13 +0000 (12:22 +0200)]
Merge pull request #13728 from sebproell/mf-reinit-empty-procs
Martin Kronbichler [Fri, 13 May 2022 10:18:01 +0000 (12:18 +0200)]
Add another variant for multigrid test
Simon Sticko [Fri, 13 May 2022 09:29:11 +0000 (11:29 +0200)]
Set is_tensor_product_flag in Quadrature::initialize(..)
If you first create a quadrature which is a tensor product and then
call initialize with points and weights which does not correspond
to a tensor product, you can make is_tensor_product_flag have the
wrong value. Set the flag in intialize(..) to avoid this.
Sebastian Proell [Thu, 12 May 2022 08:44:41 +0000 (10:44 +0200)]
New test for MatrixFree::reinit with empty procs
Luca Heltai [Fri, 13 May 2022 06:12:51 +0000 (09:12 +0300)]
Merge pull request #13726 from tamiko/silence_warning
CMake: Do not warn about not finding CGAL
Matthias Maier [Thu, 12 May 2022 22:40:02 +0000 (17:40 -0500)]
CMake: Do not warn about not finding CGAL
Newer CMake versions (encountered with CMake 3.20) seem to warn very
verbosely about not finding a package. Let's add the "QUIET" keyword to
the find_package() call to silence the warning.
Matthias Maier [Thu, 12 May 2022 22:01:07 +0000 (17:01 -0500)]
Merge pull request #13723 from kronbichler/fix_cg_interleave
Fix three bugs in interleaved CG method
Matthias Maier [Thu, 12 May 2022 21:59:40 +0000 (16:59 -0500)]
Merge pull request #13724 from kronbichler/simplify_chebyshev
Choose common SFINAE detection path for PreconditionChebyshev
Peter Munch [Thu, 12 May 2022 21:15:02 +0000 (23:15 +0200)]
Merge pull request #13725 from peterrum/mf_fe_nothing_fix
MF: fix if all cells of a process are FE_Nothing
Peter Munch [Thu, 12 May 2022 19:12:21 +0000 (21:12 +0200)]
MF: fix if all cells of a process are FE_Nothing
Martin Kronbichler [Thu, 12 May 2022 16:12:45 +0000 (18:12 +0200)]
Choose common SFINAE detection path for PreconditionChebyshev
Martin Kronbichler [Thu, 12 May 2022 13:40:54 +0000 (15:40 +0200)]
Fix two bugs in interleaved CG method
Wolfgang Bangerth [Thu, 12 May 2022 16:02:58 +0000 (10:02 -0600)]
Do not compress data.
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.