]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
16 months agoMerge pull request #15805 from AbbBallout/VectorFunctionFromTensorFunction_gradient
Daniel Arndt [Thu, 3 Aug 2023 23:08:19 +0000 (19:08 -0400)]
Merge pull request #15805 from AbbBallout/VectorFunctionFromTensorFunction_gradient

16 months agoAdded gradient() evaluation to VectorFunctionFromTensorFunction 15805/head
Abbas Ballout [Fri, 28 Jul 2023 09:18:04 +0000 (11:18 +0200)]
Added gradient() evaluation to VectorFunctionFromTensorFunction

Added gradient() evaluation to VectorFunctionFromTensorFunction

Added gradient() evaluation to VectorFunctionFromTensorFunction

Added gradient() evaluation to VectorFunctionFromTensorFunction

Added gradient() evaluation to VectorFunctionFromTensorFunction

Added gradient() evaluation to VectorFunctionFromTensorFunction

Add test functions_08_gradient

Removed value() functions_08_gradient test

Added doc/news/changes/minor/

Update doc/news/changes/minor/20230730AbbasBallout

Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
Update doc/news/changes/minor/20230730AbbasBallout

Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
Update 20230730AbbasBallout doc minor changes

Fix test in base/functions_08_gradient.cc

16 months agoMerge pull request #15826 from peterrum/fix_test2
Rene Gassmoeller [Wed, 2 Aug 2023 21:33:29 +0000 (17:33 -0400)]
Merge pull request #15826 from peterrum/fix_test2

Fix a build warning

16 months agoFix test 15826/head
Peter Munch [Wed, 2 Aug 2023 18:47:38 +0000 (20:47 +0200)]
Fix test

16 months agoMerge pull request #15815 from peterrum/NoncontiguousPartitioner_import_from_ghosted_...
Bruno Turcksin [Wed, 2 Aug 2023 14:50:57 +0000 (10:50 -0400)]
Merge pull request #15815 from peterrum/NoncontiguousPartitioner_import_from_ghosted_array

16 months agoMerge pull request #15822 from peterrum/fix_test
Daniel Arndt [Wed, 2 Aug 2023 12:56:04 +0000 (08:56 -0400)]
Merge pull request #15822 from peterrum/fix_test

16 months agoMerge pull request #14976 from peterrum/pack_rtree_of_indices_win
Luca Heltai [Wed, 2 Aug 2023 11:16:31 +0000 (13:16 +0200)]
Merge pull request #14976 from peterrum/pack_rtree_of_indices_win

16 months agoFix test 15822/head
Peter Munch [Wed, 2 Aug 2023 10:04:54 +0000 (12:04 +0200)]
Fix test

16 months agoAdd NoncontiguousPartitioner::import_from_ghosted_array() 15815/head
Peter Munch [Tue, 1 Aug 2023 07:32:28 +0000 (09:32 +0200)]
Add NoncontiguousPartitioner::import_from_ghosted_array()

16 months agoMerge pull request #15802 from bangerth/x4
Bruno Turcksin [Wed, 2 Aug 2023 00:59:33 +0000 (20:59 -0400)]
Merge pull request #15802 from bangerth/x4

16 months agoMerge pull request #15811 from peterrum/simplices_find_cell
Luca Heltai [Tue, 1 Aug 2023 23:43:53 +0000 (01:43 +0200)]
Merge pull request #15811 from peterrum/simplices_find_cell

GridTools::find_active_cell_around_point() and find_all_active_cells_around_point() for simplices

16 months agoGridTools::find_active_cell_around_point() and find_all_active_cells_around_point... 15811/head
Peter Munch [Sun, 30 Jul 2023 20:30:14 +0000 (22:30 +0200)]
GridTools::find_active_cell_around_point() and find_all_active_cells_around_point() for simplices

16 months agoMerge pull request #15808 from peterrum/find_all_locally_owned_active_cells_around_po...
Peter Munch [Tue, 1 Aug 2023 18:12:22 +0000 (20:12 +0200)]
Merge pull request #15808 from peterrum/find_all_locally_owned_active_cells_around_point_cache_get_vertex_to_cell_map

Use Cache::get_vertex_to_cell_map() in GT::find_all_locally_owned_act…

16 months agoUse Cache::get_vertex_to_cell_map() in GT::find_all_locally_owned_active_cells_around... 15808/head
Peter Munch [Mon, 31 Jul 2023 13:37:38 +0000 (15:37 +0200)]
Use Cache::get_vertex_to_cell_map() in GT::find_all_locally_owned_active_cells_around_point()

16 months agoMerge pull request #15810 from peterrum/vertex_to_cell_map_check_hn
Luca Heltai [Tue, 1 Aug 2023 15:26:58 +0000 (17:26 +0200)]
Merge pull request #15810 from peterrum/vertex_to_cell_map_check_hn

GT::vertex_to_cell_map(): check if triangulation is locally refined.

16 months agoMerge pull request #15812 from luca-heltai/fix_hanging_nodes_in_parallel_nnmg
Peter Munch [Tue, 1 Aug 2023 10:40:57 +0000 (12:40 +0200)]
Merge pull request #15812 from luca-heltai/fix_hanging_nodes_in_parallel_nnmg

Add constrained entries to partitioner_coarse in NonNestedMG

16 months agoMerge pull request #15649 from pcafrica/serialization_test
Peter Munch [Tue, 1 Aug 2023 10:39:37 +0000 (12:39 +0200)]
Merge pull request #15649 from pcafrica/serialization_test

Test serialization for serial and shared triangulations

16 months agoGT::vertex_to_cell_map(): check if tria has hn 15810/head
Peter Munch [Mon, 31 Jul 2023 13:55:14 +0000 (15:55 +0200)]
GT::vertex_to_cell_map(): check if tria has hn

16 months agoMove create_coarse_partitioner to public 15812/head
Marco Feder [Mon, 31 Jul 2023 19:40:06 +0000 (19:40 +0000)]
Move create_coarse_partitioner to public

16 months agoMerge pull request #15809 from peterrum/use_create_extended
David Wells [Mon, 31 Jul 2023 19:24:52 +0000 (15:24 -0400)]
Merge pull request #15809 from peterrum/use_create_extended

Use BB::create_extended()

16 months agoAdd warning to pack_rtree_of_indices() 14976/head
Peter Munch [Fri, 24 Mar 2023 21:08:22 +0000 (22:08 +0100)]
Add warning to pack_rtree_of_indices()

16 months agoAdd test with locally refined distributed grids
Marco Feder [Mon, 31 Jul 2023 15:27:07 +0000 (15:27 +0000)]
Add test with locally refined distributed grids

16 months agoAdd constrained DoFs to locally relevant DoFs in non-nested MG
Marco Feder [Mon, 31 Jul 2023 15:25:15 +0000 (15:25 +0000)]
Add constrained DoFs to locally relevant DoFs in non-nested MG

16 months agoUse BB::create_extended() 15809/head
Peter Munch [Mon, 31 Jul 2023 13:45:56 +0000 (15:45 +0200)]
Use BB::create_extended()

16 months agoMerge pull request #15752 from peterrum/gc_init_MGConstrainedDoFs
Peter Munch [Sat, 29 Jul 2023 19:04:55 +0000 (21:04 +0200)]
Merge pull request #15752 from peterrum/gc_init_MGConstrainedDoFs

MGTransferGlobalCoarsening: initialize with MGConstrainedDoFs

16 months agoMGTransferGlobalCoarsening: initialize with MGConstrainedDoFs 15752/head
Peter Munch [Sat, 15 Jul 2023 12:34:58 +0000 (14:34 +0200)]
MGTransferGlobalCoarsening: initialize with MGConstrainedDoFs

17 months agoMerge pull request #15793 from peterrum/interpolate_to_mg_zero
Peter Munch [Thu, 27 Jul 2023 04:57:30 +0000 (06:57 +0200)]
Merge pull request #15793 from peterrum/interpolate_to_mg_zero

`MGTransferMF::interpolate_to_mg()`: zero out ghost values

17 months agoMerge pull request #15800 from peterrum/ac_warning
Peter Munch [Wed, 26 Jul 2023 20:41:40 +0000 (22:41 +0200)]
Merge pull request #15800 from peterrum/ac_warning

AffineConstraints: fix warnings

17 months agoMGTransferMF::interpolate_to_mg(): zero out ghost values 15793/head
Peter Munch [Tue, 25 Jul 2023 21:42:59 +0000 (23:42 +0200)]
MGTransferMF::interpolate_to_mg(): zero out ghost values

17 months agoMerge pull request #15799 from masterleinad/restrict_trilinos_sparse_matrix_mmult_01
Wolfgang Bangerth [Wed, 26 Jul 2023 18:43:01 +0000 (12:43 -0600)]
Merge pull request #15799 from masterleinad/restrict_trilinos_sparse_matrix_mmult_01

trilinos_sparse_matrix_mmult needs EpetraExt

17 months agoMerge pull request #15797 from peterrum/add_mg_data_vector
Wolfgang Bangerth [Wed, 26 Jul 2023 18:37:27 +0000 (12:37 -0600)]
Merge pull request #15797 from peterrum/add_mg_data_vector

DataOut::add_mg_data_vector(): copy vector and update ghost values

17 months agoAdjust expectations in a function. 15802/head
Wolfgang Bangerth [Mon, 24 Jul 2023 22:24:59 +0000 (16:24 -0600)]
Adjust expectations in a function.

17 months agoAffineConstraints: fix warnings 15800/head
Peter Munch [Wed, 26 Jul 2023 17:38:36 +0000 (19:38 +0200)]
AffineConstraints: fix warnings

17 months agoMerge pull request #15798 from masterleinad/fix_block_vector_vector_assign
Peter Munch [Wed, 26 Jul 2023 17:02:04 +0000 (19:02 +0200)]
Merge pull request #15798 from masterleinad/fix_block_vector_vector_assign

Fix block_vector_vector_assign

17 months agotrilinos_sparse_matrix_mmult needs EpetraExt 15799/head
Daniel Arndt [Wed, 26 Jul 2023 15:07:27 +0000 (11:07 -0400)]
trilinos_sparse_matrix_mmult needs EpetraExt

17 months agoFix [complex_]block_vector_vector_assign 15798/head
Daniel Arndt [Wed, 26 Jul 2023 13:18:13 +0000 (09:18 -0400)]
Fix [complex_]block_vector_vector_assign

17 months agoMerge pull request #15795 from bangerth/x2
Peter Munch [Wed, 26 Jul 2023 08:09:41 +0000 (10:09 +0200)]
Merge pull request #15795 from bangerth/x2

Minor addition to the documentation of a GridTools function.

17 months agoMerge pull request #15796 from bangerth/x1
Peter Munch [Wed, 26 Jul 2023 08:08:29 +0000 (10:08 +0200)]
Merge pull request #15796 from bangerth/x1

Simplify code using structured bindings.

17 months agoRemove VectorHelper 15797/head
Peter Munch [Wed, 26 Jul 2023 08:04:56 +0000 (10:04 +0200)]
Remove VectorHelper

17 months agoDataOut::add_mg_data_vector(): copy vector and update ghost values
Peter Munch [Wed, 26 Jul 2023 07:10:11 +0000 (09:10 +0200)]
DataOut::add_mg_data_vector(): copy vector and update ghost values

17 months agoMerge pull request #15792 from peterrum/mg_level_object_clear
Wolfgang Bangerth [Wed, 26 Jul 2023 02:01:10 +0000 (20:01 -0600)]
Merge pull request #15792 from peterrum/mg_level_object_clear

Add MGLevelObject::clear()

17 months agoMinor addition to the documentation of a GridTools function. 15795/head
Wolfgang Bangerth [Mon, 24 Jul 2023 20:55:06 +0000 (14:55 -0600)]
Minor addition to the documentation of a GridTools function.

17 months agoSimplify code using structured bindings. 15796/head
Wolfgang Bangerth [Mon, 24 Jul 2023 20:56:49 +0000 (14:56 -0600)]
Simplify code using structured bindings.

17 months agoAdd MGLevelObject::clear() 15792/head
Peter Munch [Tue, 25 Jul 2023 21:02:00 +0000 (23:02 +0200)]
Add MGLevelObject::clear()

17 months agoMerge pull request #15791 from masterleinad/fix_timing_step_37
Peter Munch [Tue, 25 Jul 2023 20:46:15 +0000 (22:46 +0200)]
Merge pull request #15791 from masterleinad/fix_timing_step_37

Fix timing_step_37.cc

17 months agoFix timing_step_37.cc 15791/head
Daniel Arndt [Tue, 25 Jul 2023 19:53:05 +0000 (15:53 -0400)]
Fix timing_step_37.cc

17 months agoMerge pull request #15784 from peterrum/MGTransferMG
Martin Kronbichler [Tue, 25 Jul 2023 07:30:07 +0000 (09:30 +0200)]
Merge pull request #15784 from peterrum/MGTransferMG

Replace MGTransferMG usages in tests/matrix_free

17 months agoMerge pull request #15783 from bangerth/_t
Matthias Maier [Mon, 24 Jul 2023 06:32:39 +0000 (06:32 +0000)]
Merge pull request #15783 from bangerth/_t

More work to replace std::*::type by std::*_t.

17 months agoMerge pull request #15781 from bangerth/no-mpi
Matthias Maier [Mon, 24 Jul 2023 06:30:39 +0000 (06:30 +0000)]
Merge pull request #15781 from bangerth/no-mpi

Allow compilation with PETSc but without MPI.

17 months agoMerge pull request #15756 from tamiko/test_draft_prs
Matthias Maier [Mon, 24 Jul 2023 06:29:55 +0000 (06:29 +0000)]
Merge pull request #15756 from tamiko/test_draft_prs

github: run all github actions on draft PRs as well

17 months agoPrefer std::remove_*_t over std::remove_*::type. 15783/head
Wolfgang Bangerth [Sun, 23 Jul 2023 02:44:32 +0000 (20:44 -0600)]
Prefer std::remove_*_t over std::remove_*::type.

17 months agoMerge pull request #15782 from peterrum/solution_copy_indices_global_mine
Peter Munch [Sun, 23 Jul 2023 09:24:11 +0000 (11:24 +0200)]
Merge pull request #15782 from peterrum/solution_copy_indices_global_mine

MGLevelGlobalTransfer: remove unused variables

17 months agoReplace MGTransferMG usages in tests/matrix_free 15784/head
Peter Munch [Sun, 23 Jul 2023 08:22:24 +0000 (10:22 +0200)]
Replace MGTransferMG usages in tests/matrix_free

17 months agoMGLevelGlobalTransfer: remove unused variables 15782/head
Peter Munch [Sat, 22 Jul 2023 21:54:21 +0000 (23:54 +0200)]
MGLevelGlobalTransfer: remove unused variables

17 months agoPrefer std::conditional_t over std::conditional::type.
Wolfgang Bangerth [Sun, 23 Jul 2023 02:39:50 +0000 (20:39 -0600)]
Prefer std::conditional_t over std::conditional::type.

17 months agoPrefer std::make_(un)signed_t over std::make_(un)signed::type.
Wolfgang Bangerth [Sun, 23 Jul 2023 02:36:40 +0000 (20:36 -0600)]
Prefer std::make_(un)signed_t over std::make_(un)signed::type.

17 months agoMerge pull request #15753 from peterrum/af_merge_number
Matthias Maier [Sat, 22 Jul 2023 23:36:39 +0000 (23:36 +0000)]
Merge pull request #15753 from peterrum/af_merge_number

AffineConstraints::merge(): allow mixed numbers

17 months agoMerge pull request #15750 from peterrum/MGTransferMatrixFree_spacedim
Matthias Maier [Sat, 22 Jul 2023 23:35:23 +0000 (23:35 +0000)]
Merge pull request #15750 from peterrum/MGTransferMatrixFree_spacedim

MGTransferMatrixFree: remove unused template argument

17 months agoMerge pull request #15779 from peterrum/mf_kokkos_performance
Matthias Maier [Sat, 22 Jul 2023 22:56:34 +0000 (22:56 +0000)]
Merge pull request #15779 from peterrum/mf_kokkos_performance

Small modifications to performance/timing_matrix_free_kokkos

17 months agoAllow compilation with PETSc but without MPI. 15781/head
Wolfgang Bangerth [Sat, 22 Jul 2023 18:08:49 +0000 (12:08 -0600)]
Allow compilation with PETSc but without MPI.

17 months agoSmall modifications to performance/timing_matrix_free_kokkos 15779/head
Peter Munch [Sat, 22 Jul 2023 10:40:12 +0000 (12:40 +0200)]
Small modifications to performance/timing_matrix_free_kokkos

17 months agoMerge pull request #15770 from luca-heltai/stefanozampini/petsc-version
Wolfgang Bangerth [Sat, 22 Jul 2023 01:01:27 +0000 (19:01 -0600)]
Merge pull request #15770 from luca-heltai/stefanozampini/petsc-version

Config.h.in: use PETSc/SLEPc macros to determine PETSc/SLEPc version

17 months agoMerge pull request #15769 from luca-heltai/stefanozampini/update-snes-docs-and-strict...
Wolfgang Bangerth [Sat, 22 Jul 2023 01:00:40 +0000 (19:00 -0600)]
Merge pull request #15769 from luca-heltai/stefanozampini/update-snes-docs-and-stricterrorcode

Update PETScWrappers::NonlinearSolver

17 months agoMerge pull request #15777 from masterleinad/cuda_wrappers_matrix_free_required_mirrors
Martin Kronbichler [Fri, 21 Jul 2023 19:38:56 +0000 (21:38 +0200)]
Merge pull request #15777 from masterleinad/cuda_wrappers_matrix_free_required_mirrors

CudaWrappers::MatrixFree: Only create required host mirrors

17 months agoMerge pull request #15771 from peterrum/mf_kokkos_performance
Matthias Maier [Fri, 21 Jul 2023 18:02:04 +0000 (18:02 +0000)]
Merge pull request #15771 from peterrum/mf_kokkos_performance

Add performance test for `CUDAWrapper::MatrixFree`

17 months agoMerge pull request #15776 from masterleinad/mpi_log_init_all_particles_generators
Matthias Maier [Fri, 21 Jul 2023 16:38:23 +0000 (16:38 +0000)]
Merge pull request #15776 from masterleinad/mpi_log_init_all_particles_generators

Use MPILogInitAll in particles/generators_* tests

17 months agoCudaWrappers::MatrixFree: Only create required host mirrors 15777/head
Daniel Arndt [Fri, 21 Jul 2023 14:35:19 +0000 (10:35 -0400)]
CudaWrappers::MatrixFree: Only create required host mirrors

17 months agoUse MPILogInitAll in particles/generators_* tests 15776/head
Daniel Arndt [Fri, 21 Jul 2023 13:09:11 +0000 (09:09 -0400)]
Use MPILogInitAll in particles/generators_* tests

17 months agoMerge pull request #15775 from peterrum/cmake_repeat
Luca Heltai [Fri, 21 Jul 2023 10:34:39 +0000 (12:34 +0200)]
Merge pull request #15775 from peterrum/cmake_repeat

CMake: only use REPEAT for >=3.15

17 months agoPETScWrappers::NonlinearSolver: support strict error codes 15769/head
Stefano Zampini [Wed, 19 Jul 2023 17:18:42 +0000 (19:18 +0200)]
PETScWrappers::NonlinearSolver: support strict error codes

17 months agoPETScWrappers::NonlinearSolver: Improve documentation
Stefano Zampini [Wed, 19 Jul 2023 00:08:00 +0000 (02:08 +0200)]
PETScWrappers::NonlinearSolver: Improve documentation

17 months agoMerge pull request #15764 from bangerth/p-h
Martin Kronbichler [Fri, 21 Jul 2023 09:46:49 +0000 (11:46 +0200)]
Merge pull request #15764 from bangerth/p-h

Improve an error message.

17 months agoMGTransferMatrixFree: remove unused template argument 15750/head
Peter Munch [Sat, 15 Jul 2023 10:02:02 +0000 (12:02 +0200)]
MGTransferMatrixFree: remove unused template argument

17 months agoCMake: only use REPEAT for >=3.15 15775/head
Peter Munch [Fri, 21 Jul 2023 07:19:23 +0000 (09:19 +0200)]
CMake: only use REPEAT for >=3.15

17 months agoMerge pull request #15766 from bangerth/std_predicates
Luca Heltai [Fri, 21 Jul 2023 07:05:39 +0000 (09:05 +0200)]
Merge pull request #15766 from bangerth/std_predicates

[C++17] Prefer std::is_*_v over std::is_*::value.

17 months agoMerge pull request #15767 from luca-heltai/stefanozampini/tweak-petsc-tests
Luca Heltai [Fri, 21 Jul 2023 07:03:51 +0000 (09:03 +0200)]
Merge pull request #15767 from luca-heltai/stefanozampini/tweak-petsc-tests

tweak PETSc tests

17 months agoMerge pull request #15768 from luca-heltai/stefanozampini/strict-petscerror
Luca Heltai [Fri, 21 Jul 2023 07:02:34 +0000 (09:02 +0200)]
Merge pull request #15768 from luca-heltai/stefanozampini/strict-petscerror

PETScWrappers: Support with-strict-petscerrorcode configurations

17 months agoAdd performance test for CUDAWrapper::MatrixFree 15771/head
Peter Munch [Thu, 20 Jul 2023 09:41:10 +0000 (11:41 +0200)]
Add performance test for CUDAWrapper::MatrixFree

17 months agoMerge pull request #15772 from masterleinad/support_cmake_cxx_standard_23
Daniel Arndt [Fri, 21 Jul 2023 02:38:14 +0000 (22:38 -0400)]
Merge pull request #15772 from masterleinad/support_cmake_cxx_standard_23

17 months agoPrefer std::is_*_v over std::is_*::value. 15766/head
Wolfgang Bangerth [Wed, 19 Jul 2023 17:34:26 +0000 (11:34 -0600)]
Prefer std::is_*_v over std::is_*::value.

17 months agoAdd static call operator to C++23 feature check 15772/head
Daniel Arndt [Thu, 20 Jul 2023 21:45:34 +0000 (17:45 -0400)]
Add static call operator to C++23 feature check

17 months agoAllow configuring with CMAKE_CXX_STANDARD=23
Daniel Arndt [Thu, 20 Jul 2023 20:36:52 +0000 (16:36 -0400)]
Allow configuring with CMAKE_CXX_STANDARD=23

17 months agoMerge pull request #15765 from bangerth/decay_t
Daniel Arndt [Thu, 20 Jul 2023 19:22:24 +0000 (15:22 -0400)]
Merge pull request #15765 from bangerth/decay_t

17 months agoConfig.h.in: use PETSc/SLEPc macros to determine PETSc/SLEPc version 15770/head
Stefano Zampini [Wed, 19 Jul 2023 23:44:38 +0000 (01:44 +0200)]
Config.h.in: use PETSc/SLEPc macros to determine PETSc/SLEPc version

This allows to use code in the development version

17 months agoPETScWrappers: Support with-strict-petscerrorcode configurations 15768/head
Stefano Zampini [Wed, 19 Jul 2023 17:17:51 +0000 (19:17 +0200)]
PETScWrappers: Support with-strict-petscerrorcode configurations

SNES and TS intentionally left out since those changes  will be in separate commits

17 months agotweak PETSc tests 15767/head
Stefano Zampini [Wed, 19 Jul 2023 17:53:21 +0000 (19:53 +0200)]
tweak PETSc tests

17 months agoPrefer std::decay_t over std::decay::type. 15765/head
Wolfgang Bangerth [Wed, 19 Jul 2023 17:13:31 +0000 (11:13 -0600)]
Prefer std::decay_t over std::decay::type.

17 months agoImprove an error message. 15764/head
Wolfgang Bangerth [Wed, 19 Jul 2023 16:37:23 +0000 (10:37 -0600)]
Improve an error message.

17 months agoMerge pull request #15755 from drwells/fix-planar-measurement
Matthias Maier [Tue, 18 Jul 2023 05:34:40 +0000 (05:34 +0000)]
Merge pull request #15755 from drwells/fix-planar-measurement

Redo the quadrilateral measure function.

17 months agoRedo the quadrilateral measure function. 15755/head
David Wells [Thu, 6 Jul 2023 13:49:02 +0000 (09:49 -0400)]
Redo the quadrilateral measure function.

This is a lot simpler and somewhat more efficient:
master, best of 10, summing hyper ball face measures: 2434 ms
feature, same setup: 2124 ms

Lets not use complex checks for planarity - either we have a parallelogram (up
to the last few significant digits) or we do not. If people are reading in CAD
data then they probably don't have uniform meshes anyway.

P.S.

benchmark source:

#include <deal.II/grid/grid_generator.h>
#include <deal.II/grid/tria.h>

#include <chrono>
#include <iostream>

int
main()
{
  using namespace dealii;

  Triangulation<3> tria;
  GridGenerator::hyper_ball(tria);

  tria.refine_global(3);

  double area = 0.0;
  auto   t0   = std::chrono::high_resolution_clock::now();
  for (unsigned int i = 0; i < 1000; ++i)
    for (const auto &face : tria.active_face_iterators())
      area += face->measure();
  auto t1 = std::chrono::high_resolution_clock::now();
  std::cout
    << "time elapsed = "
    << std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0).count()
    << std::endl;
}

17 months agoMerge pull request #15757 from masterleinad/arborx_c++20_bug
Matthias Maier [Mon, 17 Jul 2023 04:01:07 +0000 (04:01 +0000)]
Merge pull request #15757 from masterleinad/arborx_c++20_bug

Check for ArborX C++20 bug

17 months agoCheck for ArborX C++20 bug 15757/head
Daniel Arndt [Sun, 16 Jul 2023 16:56:45 +0000 (12:56 -0400)]
Check for ArborX C++20 bug

17 months agoMerge pull request #15748 from bangerth/same-as
Matthias Maier [Sun, 16 Jul 2023 01:52:30 +0000 (01:52 +0000)]
Merge pull request #15748 from bangerth/same-as

Manually fix up some std::is_same<...> places.

17 months agogithub: run all github actions on draft PRs as well 15756/head
Matthias Maier [Sun, 16 Jul 2023 01:22:16 +0000 (20:22 -0500)]
github: run all github actions on draft PRs as well

17 months agoMerge pull request #15754 from luca-heltai/remove_duplicate_indices_goe_ArborX
Matthias Maier [Sun, 16 Jul 2023 00:54:48 +0000 (00:54 +0000)]
Merge pull request #15754 from luca-heltai/remove_duplicate_indices_goe_ArborX

Remove duplicate indices if ArborX is available

17 months agoMerge pull request #15751 from peterrum/mf_exception
Wolfgang Bangerth [Sat, 15 Jul 2023 19:03:47 +0000 (13:03 -0600)]
Merge pull request #15751 from peterrum/mf_exception

Remove unused exception

17 months agoRemove duplicate ranks when ArborX is available 15754/head
Marco Feder [Sat, 15 Jul 2023 19:01:36 +0000 (21:01 +0200)]
Remove duplicate ranks when ArborX is available

17 months agoAffineConstraints::merge(): allow mixed numbers 15753/head
Peter Munch [Sat, 15 Jul 2023 18:00:06 +0000 (20:00 +0200)]
AffineConstraints::merge(): allow mixed numbers

17 months agoRemove unused exception 15751/head
Peter Munch [Sat, 15 Jul 2023 10:08:34 +0000 (12:08 +0200)]
Remove unused exception

17 months agoMerge pull request #15747 from bangerth/cmake
Matthias Maier [Sat, 15 Jul 2023 07:28:07 +0000 (07:28 +0000)]
Merge pull request #15747 from bangerth/cmake

When outputting numbers of tests, align the text.


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.