]>
https://gitweb.dealii.org/ - dealii.git/log
Matthias Maier [Fri, 27 Oct 2023 02:28:26 +0000 (21:28 -0500)]
tests: add unit tests for dealii::Lazy<T>
Matthias Maier [Tue, 24 Oct 2023 16:33:04 +0000 (11:33 -0500)]
base: Implement a Lazy<T> wrapper
Implement an optimized, thin wrapper that provides a convenient
mechanism for lazy initialization of the contained object on first use.
The class ensures that on-demand initialization of some expensive data
structure happens (a) in a thread-safe manner, and that (b) subsequent
checks in hot paths are cheap:
- The class implements proper copy and move semantics inherited from
std::optional. This is particularly desirable for our typical use
case in deal.II where we want to initialize some payload exactly once
(and simply copy or move it along with the container).
- The "passive" call, i.e., when the object is already initialized is
much cheaper than a call to std::call_once, or thread synchronization
with a std::shared_mutex (because the initialize() or
value_or_initialize() functions are inlined and consist of a mere
check of a boolean followed by a conditional jump).
Wolfgang Bangerth [Thu, 26 Oct 2023 19:58:31 +0000 (13:58 -0600)]
Use RefinementCase::all_refinement_cases() and assorted cleanups.
Wolfgang Bangerth [Thu, 26 Oct 2023 19:58:10 +0000 (13:58 -0600)]
Introduce RefinementCase::all_refinement_cases().
David Wells [Sun, 22 Oct 2023 00:34:42 +0000 (20:34 -0400)]
Remove an unused function.
David Wells [Wed, 25 Oct 2023 12:11:20 +0000 (08:11 -0400)]
Use the standardized orientation functions in a few more places.
Daniel Arndt [Thu, 26 Oct 2023 17:24:02 +0000 (13:24 -0400)]
Merge pull request #16192 from marcfehling/badge
Fix github badges.
Marc Fehling [Thu, 26 Oct 2023 02:19:47 +0000 (20:19 -0600)]
Fix github badges.
Wolfgang Bangerth [Thu, 26 Oct 2023 14:55:52 +0000 (08:55 -0600)]
Merge pull request #16191 from marcfehling/citations
Let CITATATIONS file refer to 9.5 paper.
Maximilian Bergbauer [Thu, 12 Oct 2023 07:57:57 +0000 (09:57 +0200)]
Compress mapping info for faces
Maximilian Bergbauer [Thu, 12 Oct 2023 07:57:57 +0000 (09:57 +0200)]
Allow container in reinit_faces and reinit_surface
David Wells [Thu, 26 Oct 2023 12:51:25 +0000 (08:51 -0400)]
Merge pull request #16187 from bangerth/move
Move things into place, rather than swap.
David Wells [Thu, 26 Oct 2023 12:42:16 +0000 (08:42 -0400)]
Merge pull request #16190 from bangerth/bool
Use std::bool_constant instead of std::integral_constant.
Sebastian Kinnewig [Tue, 17 Oct 2023 14:24:40 +0000 (16:24 +0200)]
Qualify TpetraWrappers::Vectors for use with AffineConstraints.
Marc Fehling [Thu, 26 Oct 2023 02:01:51 +0000 (20:01 -0600)]
Let CITATATIONS file refer to 9.5 paper.
Wolfgang Bangerth [Thu, 26 Oct 2023 00:19:24 +0000 (18:19 -0600)]
Use std::bool_constant instead of std::integral_constant.
Wolfgang Bangerth [Thu, 26 Oct 2023 00:02:09 +0000 (18:02 -0600)]
Merge pull request #16189 from masterleinad/exceptions_include_kokkos_abort
Only include Kokkos_Abort.hpp in exceptions.h for Kokkos 4.2.0 and higher
Daniel Arndt [Wed, 25 Oct 2023 17:46:03 +0000 (13:46 -0400)]
Only include Kokkos_Abort.hpp in exceptions.h for Kokkos 4.2.0 and higher
Wolfgang Bangerth [Wed, 25 Oct 2023 16:14:07 +0000 (10:14 -0600)]
Split a mutex into two that each guard one set of variables.
Wolfgang Bangerth [Tue, 24 Oct 2023 23:17:06 +0000 (17:17 -0600)]
Move things into place, rather than swap.
Matthias Maier [Tue, 24 Oct 2023 22:28:24 +0000 (22:28 +0000)]
Merge pull request #16181 from bangerth/shared-1
Use a shared mutex instead of a unique one.
Matthias Maier [Tue, 24 Oct 2023 22:28:02 +0000 (22:28 +0000)]
Merge pull request #16183 from bangerth/cleanup
Minor clean-up in dof_info.cc.
Matthias Maier [Tue, 24 Oct 2023 22:27:23 +0000 (22:27 +0000)]
Merge pull request #16184 from drwells/remove-old-comment
Remove a stray comment about pointer lifetimes.
Bruno Turcksin [Tue, 24 Oct 2023 21:14:53 +0000 (17:14 -0400)]
Python: write_vtu write a serialized mesh
Wolfgang Bangerth [Tue, 24 Oct 2023 21:12:22 +0000 (15:12 -0600)]
Move a variable to the .cc file.
Wolfgang Bangerth [Tue, 24 Oct 2023 21:06:01 +0000 (15:06 -0600)]
Use std::shared_mutex in get_fe_by_name().
David Wells [Tue, 24 Oct 2023 21:03:15 +0000 (17:03 -0400)]
Merge pull request #16180 from bangerth/mu
Make a bunch of arguments 'const'.
David Wells [Tue, 24 Oct 2023 19:41:40 +0000 (15:41 -0400)]
Remove a stray comment about pointer lifetimes.
Nowadays we use Manifold::clone() to avoid this problem.
Wolfgang Bangerth [Tue, 24 Oct 2023 18:47:11 +0000 (12:47 -0600)]
Minor clean-up in dof_info.cc.
Wolfgang Bangerth [Tue, 24 Oct 2023 15:55:16 +0000 (09:55 -0600)]
Use FEValues extractors, avoid explicit use of view.
Wolfgang Bangerth [Tue, 24 Oct 2023 16:23:32 +0000 (10:23 -0600)]
Make a bunch of arguments 'const'.
Wolfgang Bangerth [Tue, 24 Oct 2023 17:08:18 +0000 (11:08 -0600)]
Make a variable a member variable.
Wolfgang Bangerth [Tue, 24 Oct 2023 17:04:00 +0000 (11:04 -0600)]
Use a shared mutex instead of a unique one.
Martin Kronbichler [Tue, 24 Oct 2023 08:22:22 +0000 (10:22 +0200)]
Merge pull request #16173 from bangerth/x5
Move objects into place rather than swapping them.
Martin Kronbichler [Tue, 24 Oct 2023 08:21:24 +0000 (10:21 +0200)]
Merge pull request #16174 from bangerth/x4
Split a mutex into two, give them better names.
Martin Kronbichler [Tue, 24 Oct 2023 07:35:40 +0000 (09:35 +0200)]
Merge pull request #16177 from marcfehling/test-lobatto
Added test for hp-constraints on Q elements with Gauss-Lobatto support points.
Martin Kronbichler [Tue, 24 Oct 2023 07:23:11 +0000 (09:23 +0200)]
Merge pull request #16176 from bangerth/constrain-to-zero
Make it not an error to call constrain_dof_to_zero() more than once. Convert a bunch of tests.
Wolfgang Bangerth [Mon, 23 Oct 2023 12:53:44 +0000 (06:53 -0600)]
Move objects into place rather than swapping them.
Marc Fehling [Mon, 23 Oct 2023 22:00:12 +0000 (16:00 -0600)]
Merge pull request #16171 from bangerth/x1
Use std::any instead of boost::any.
Marc Fehling [Mon, 23 Oct 2023 21:57:49 +0000 (15:57 -0600)]
Merge pull request #16172 from bangerth/x3
Use std::any instead of boost::any in GeneralDataStorage.
Marc Fehling [Mon, 23 Oct 2023 21:57:06 +0000 (15:57 -0600)]
Merge pull request #16175 from bangerth/x2
Use std::any instead of boost::any in AnyData.
Marc Fehling [Mon, 23 Oct 2023 18:40:13 +0000 (12:40 -0600)]
Added test for hp-constraints on Q elements with Gauss-Lobatto support points.
Wolfgang Bangerth [Mon, 23 Oct 2023 12:49:29 +0000 (06:49 -0600)]
Split a mutex into two, give them better names.
Wolfgang Bangerth [Mon, 23 Oct 2023 12:49:06 +0000 (06:49 -0600)]
Use std::any instead of boost::any in GeneralDataStorage.
Wolfgang Bangerth [Mon, 23 Oct 2023 12:48:52 +0000 (06:48 -0600)]
Use std::any instead of boost::any in AnyData.
Wolfgang Bangerth [Sun, 15 Oct 2023 17:15:51 +0000 (11:15 -0600)]
Use std::any instead of boost::any.
Wolfgang Bangerth [Mon, 23 Oct 2023 17:08:11 +0000 (11:08 -0600)]
Use constrain_dof_to_zero() in tests.
Wolfgang Bangerth [Thu, 19 Oct 2023 20:37:40 +0000 (14:37 -0600)]
Convert tests to use AffineConstraints::constrain_dof_to_zero().
Wolfgang Bangerth [Mon, 23 Oct 2023 17:03:42 +0000 (11:03 -0600)]
Make it not an error to call constrain_dof_to_zero() more than once.
Martin Kronbichler [Mon, 23 Oct 2023 14:25:59 +0000 (16:25 +0200)]
Merge pull request #16167 from peterrum/mg_test_identity_diagonal
MGTransferGlobalCoarsening: test operator with ones on operator
David Wells [Mon, 23 Oct 2023 12:56:08 +0000 (08:56 -0400)]
Merge pull request #16163 from bangerth/constrain-to-zero
Add AffineConstraints::constrain_dof_to_zero().
Marc Fehling [Sat, 21 Oct 2023 03:03:17 +0000 (21:03 -0600)]
Merge pull request #16166 from marcfehling/docker-njobs
Build all docker images only using one job.
Peter Munch [Fri, 20 Oct 2023 16:59:58 +0000 (18:59 +0200)]
MGTransferGlobalCoarsening: test operator with ones on operator
Peter Munch [Fri, 20 Oct 2023 16:37:46 +0000 (18:37 +0200)]
Merge pull request #16164 from lpsaavedra/copy_triangulation_periodic_bcs
Copy periodic faces when copying triangulation
Wolfgang Bangerth [Fri, 20 Oct 2023 14:42:21 +0000 (08:42 -0600)]
Merge pull request #16161 from peterrum/mg_set_periodicity_constraints
Fix PBC in MGConstrainedDoFs
Laura Prieto Saavedra [Fri, 20 Oct 2023 13:52:55 +0000 (09:52 -0400)]
Update loop
Peter Munch [Fri, 20 Oct 2023 07:48:06 +0000 (09:48 +0200)]
Update comment
Marc Fehling [Fri, 20 Oct 2023 03:59:14 +0000 (21:59 -0600)]
Build all docker images only using one job.
Wolfgang Bangerth [Thu, 19 Oct 2023 23:24:35 +0000 (17:24 -0600)]
Merge pull request #16162 from peterrum/log_rename
Rename a change-log entry
Laura Prieto Saavedra [Thu, 19 Oct 2023 21:34:00 +0000 (17:34 -0400)]
Copy periodic faces when using copy_triangulation
Peter Munch [Thu, 19 Oct 2023 20:28:17 +0000 (22:28 +0200)]
Rename a change-log entry
Peter Munch [Wed, 18 Oct 2023 19:45:07 +0000 (21:45 +0200)]
Fix PBC in MGConstrainedDoFs
Wolfgang Bangerth [Thu, 19 Oct 2023 20:06:32 +0000 (14:06 -0600)]
Use AffineConstraints::constrain_dof_to_zero().
Wolfgang Bangerth [Thu, 19 Oct 2023 20:06:20 +0000 (14:06 -0600)]
Add a changelog entry.
Wolfgang Bangerth [Thu, 19 Oct 2023 20:06:05 +0000 (14:06 -0600)]
Add AffineConstraints::constrain_dof_to_zero().
Martin Kronbichler [Thu, 19 Oct 2023 19:33:58 +0000 (21:33 +0200)]
Merge pull request #16160 from drwells/grid-tools-topology
Move topological GridTools functions to a new file.
Wolfgang Bangerth [Thu, 19 Oct 2023 17:35:30 +0000 (11:35 -0600)]
Merge pull request #16133 from kronbichler/presort_columns
DoFTools constraints: Pre-sort column indices in filter_constraints
David Wells [Thu, 19 Oct 2023 14:05:57 +0000 (10:05 -0400)]
Move topological GridTools functions to a new file.
David Wells [Thu, 19 Oct 2023 13:49:14 +0000 (09:49 -0400)]
Move another function to grid_tools_geometry.h.
David Wells [Thu, 19 Oct 2023 13:23:53 +0000 (09:23 -0400)]
Remove extra text from grid_tools_geometry.h
David Wells [Thu, 19 Oct 2023 15:10:15 +0000 (11:10 -0400)]
Merge pull request #16159 from kinnewig/rcp_tpetra_map_compatibility
Check for the Trilinos version when calling getLocalNumElements.
Martin Kronbichler [Thu, 19 Oct 2023 14:13:47 +0000 (16:13 +0200)]
DoFTools constraints: Pre-sort column indices in filter_constraints
Sebastian Kinnewig [Thu, 19 Oct 2023 08:52:59 +0000 (10:52 +0200)]
Check for the Trilinos version when calling getLocalNumElements.
Martin Kronbichler [Thu, 19 Oct 2023 06:40:23 +0000 (08:40 +0200)]
Merge pull request #16145 from bangerth/add-constraints
Use AffineConstraints::add_constraint() throughout.
Wolfgang Bangerth [Mon, 16 Oct 2023 23:37:33 +0000 (17:37 -0600)]
Work around an issue with the clang CUDA compiler.
Matthias Maier [Wed, 18 Oct 2023 19:36:06 +0000 (19:36 +0000)]
Merge pull request #16026 from masterleinad/enfore_assert_semicolon
Assert* should end with a semicolon
Matthias Maier [Wed, 18 Oct 2023 19:34:20 +0000 (19:34 +0000)]
Merge pull request #16120 from bangerth/assertion
Make an assertion text more informative.
Matthias Maier [Wed, 18 Oct 2023 19:33:27 +0000 (19:33 +0000)]
Merge pull request #16153 from kinnewig/rcp_tpetra_map_compatibility
Make IndexSet compatible with Teuchos::RCP<Tpetra::Map>>
Martin Kronbichler [Wed, 18 Oct 2023 10:51:14 +0000 (12:51 +0200)]
Merge pull request #16150 from drwells/deprecate-distorted-function
Deprecate the distorted child cell function.
Martin Kronbichler [Wed, 18 Oct 2023 10:50:27 +0000 (12:50 +0200)]
Merge pull request #16155 from bangerth/array-view-generic
Make ArrayView constructors more generic.
Sebastian Kinnewig [Fri, 29 Sep 2023 16:57:23 +0000 (18:57 +0200)]
Make IndexSet compatible with Teuchos::RCP<Tpetra::Map>>
Wolfgang Bangerth [Mon, 16 Oct 2023 22:35:31 +0000 (16:35 -0600)]
Merge pull request #16138 from marcfehling/delimiter
Added separator to Matrix::print_formatted().
Wolfgang Bangerth [Mon, 16 Oct 2023 22:35:01 +0000 (16:35 -0600)]
Merge pull request #16149 from drwells/grid-tools-geometry
Move geometric GridTools functions to a new file.
Wolfgang Bangerth [Mon, 16 Oct 2023 22:31:26 +0000 (16:31 -0600)]
Avoid constraining DoFs more than once.
Wolfgang Bangerth [Mon, 16 Oct 2023 17:48:11 +0000 (11:48 -0600)]
Make ArrayView constructors more generic.
Wolfgang Bangerth [Mon, 16 Oct 2023 17:47:53 +0000 (11:47 -0600)]
Add a concept for contiguous containers.
Peter Munch [Mon, 16 Oct 2023 15:43:35 +0000 (17:43 +0200)]
Merge pull request #16137 from bergbauer/fix_face_path_linear
FEPointEvaluation: Fix integrate linear for face path
Wolfgang Bangerth [Mon, 16 Oct 2023 15:21:08 +0000 (09:21 -0600)]
Merge pull request #16152 from peterrum/typo_3
Fix two typos
Peter Munch [Mon, 16 Oct 2023 07:47:00 +0000 (09:47 +0200)]
Fix two typos
Martin Kronbichler [Mon, 16 Oct 2023 07:23:24 +0000 (09:23 +0200)]
Merge pull request #16136 from kronbichler/simplify_code
AffineConstraints::close(): Simplify combination of constraints
Maximilian Bergbauer [Mon, 16 Oct 2023 07:00:31 +0000 (09:00 +0200)]
Test linear face path 3d
David Wells [Sun, 15 Oct 2023 22:30:58 +0000 (18:30 -0400)]
Move geometric GridTools functions to a new file.
grid_tools.cc is presently our most expensive file to compile. This is the first
commit in a sequence which will chop it up in the same way we chopped up
VectorTools.
David Wells [Sun, 15 Oct 2023 22:44:45 +0000 (18:44 -0400)]
Deprecate the distorted child cell function.
David Wells [Sun, 15 Oct 2023 22:19:58 +0000 (18:19 -0400)]
Merge pull request #16147 from drwells/petsc-scalar
Use PetscScalar when compressing vectors.
Marc Fehling [Fri, 13 Oct 2023 22:03:10 +0000 (16:03 -0600)]
Added separator to Matrix::print_formatted().
David Wells [Sun, 15 Oct 2023 19:35:28 +0000 (15:35 -0400)]
Use PetscScalar when compressing vectors.
Wolfgang Bangerth [Thu, 12 Oct 2023 22:37:35 +0000 (16:37 -0600)]
Use AffineConstraints::add_constraint() throughout.
Wolfgang Bangerth [Sun, 15 Oct 2023 17:08:54 +0000 (11:08 -0600)]
Merge pull request #16132 from kronbichler/constraints_sort
AffineConstraints::close(): Avoid sorting of sorted list
Peter Munch [Sun, 15 Oct 2023 16:23:15 +0000 (18:23 +0200)]
Merge pull request #16124 from drwells/simplex-p3
Add cubic simplex elements.
Martin Kronbichler [Fri, 13 Oct 2023 18:18:56 +0000 (20:18 +0200)]
AffineConstraints::close(): Simplify combination of constraints
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.