]>
https://gitweb.dealii.org/ - dealii.git/log
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;
}
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.
Martin Kronbichler [Sat, 15 Jul 2023 07:01:21 +0000 (09:01 +0200)]
Merge pull request #15730 from bangerth/affine-constraints-10
Keep track of constraints we have already determined are finalized.
Martin Kronbichler [Sat, 15 Jul 2023 06:59:39 +0000 (08:59 +0200)]
Merge pull request #15731 from masterleinad/manual_empty
Use "empty()" instead of "size() == 0"
Wolfgang Bangerth [Fri, 14 Jul 2023 22:23:59 +0000 (16:23 -0600)]
When outputting numbers of tests, align the text.
This then looks as follows:
-- Test category codim_one : 8 tests (and 0 test dependencies)
-- Test category distributed_grids : 156 tests (and 28 test dependencies)
-- Test category feinterface : 2 tests (and 0 test dependencies)
-- Test category fullydistributed_grids : 80 tests (and 54 test dependencies)
-- Test category grid : 764 tests (and 54 test dependencies)
-- Test category mappings : 2 tests (and 0 test dependencies)
-- Test category matrix_free : 52 tests (and 38 test dependencies)
-- Test category mpi : 8 tests (and 4 test dependencies)
-- Test category multigrid : 270 tests (and 79 test dependencies)
-- Test category multigrid-global-coarsening: 78 tests (and 50 test dependencies)
-- Test category sharedtria : 4 tests (and 4 test dependencies)
-- Test category simplex : 14 tests (and 0 test dependencies)
Matthias Maier [Sat, 15 Jul 2023 03:37:41 +0000 (03:37 +0000)]
Merge pull request #15746 from bangerth/is_base_of
[C++17] Prefer std::is_base_of_v over std::is_base_of::value.
Matthias Maier [Sat, 15 Jul 2023 03:37:34 +0000 (03:37 +0000)]
Merge pull request #15745 from bangerth/fixes
Small markup fixes.
Matthias Maier [Sat, 15 Jul 2023 03:36:54 +0000 (03:36 +0000)]
Merge pull request #15744 from lethe-cfd/step-68_changlog
Add missing changelog entry about the improvement to step-68
Wolfgang Bangerth [Fri, 14 Jul 2023 19:27:52 +0000 (13:27 -0600)]
Avoid using a std::set. Use std::vector instead.
Wolfgang Bangerth [Fri, 14 Jul 2023 18:37:26 +0000 (12:37 -0600)]
Prefer std::is_base_of_v over std::is_base_of::value.
Daniel Arndt [Fri, 14 Jul 2023 18:36:53 +0000 (14:36 -0400)]
Merge pull request #15538 from luca-heltai/use_ArborX_goe
Wolfgang Bangerth [Fri, 14 Jul 2023 18:25:13 +0000 (12:25 -0600)]
Small markup fixes.
Daniel Arndt [Fri, 14 Jul 2023 16:43:05 +0000 (12:43 -0400)]
Merge pull request #15743 from tamiko/fix_petsc_test
Marco Feder [Fri, 14 Jul 2023 13:38:28 +0000 (15:38 +0200)]
Allow ArborX to be used also when spacedim==1
Martin Kronbichler [Fri, 14 Jul 2023 12:49:39 +0000 (14:49 +0200)]
Merge pull request #15696 from bangerth/gg
Minor updates to GridGenerator::hyper_cube_with_cylindrical_hole().
Daniel Arndt [Fri, 14 Jul 2023 12:45:16 +0000 (08:45 -0400)]
Sanitize parameter_handler_25 output
Daniel Arndt [Thu, 13 Jul 2023 14:32:38 +0000 (10:32 -0400)]
Fix more output files for parameter_handler_25
Daniel Arndt [Thu, 13 Jul 2023 11:46:23 +0000 (07:46 -0400)]
Fix tests
Daniel Arndt [Thu, 13 Jul 2023 02:56:34 +0000 (22:56 -0400)]
Fix some more
Daniel Arndt [Wed, 12 Jul 2023 21:43:04 +0000 (17:43 -0400)]
Use "empty()" instead of "size() == 0"
Bruno Blais [Fri, 14 Jul 2023 11:38:28 +0000 (07:38 -0400)]
Add changelog entry
Marco Feder [Tue, 11 Jul 2023 23:17:44 +0000 (01:17 +0200)]
Fix CI
Marco Feder [Tue, 11 Jul 2023 19:03:31 +0000 (21:03 +0200)]
Forward declarations for ArborXWrappers
Marco Feder [Tue, 11 Jul 2023 15:52:11 +0000 (17:52 +0200)]
Use old version if spacedim==1
Marco Feder [Mon, 10 Jul 2023 14:50:00 +0000 (16:50 +0200)]
Use ArborX only when global_bboxes.size()==1
Marco Feder [Thu, 6 Jul 2023 18:09:35 +0000 (20:09 +0200)]
Avoid undefined reference when spacedim==1
Marco Feder [Wed, 5 Jul 2023 22:50:40 +0000 (00:50 +0200)]
Unify 2D and 3D implementations
Marco Feder [Wed, 5 Jul 2023 17:09:20 +0000 (19:09 +0200)]
Use structured binding
Marco Feder [Wed, 5 Jul 2023 07:21:01 +0000 (09:21 +0200)]
Use ifdef
Marco Feder [Fri, 30 Jun 2023 18:19:35 +0000 (20:19 +0200)]
Choose right predicate with std::is_same
Marco Feder [Thu, 29 Jun 2023 23:33:55 +0000 (01:33 +0200)]
Use arborX for spatial search in distributed_compute_point_locations
Wolfgang Bangerth [Fri, 14 Jul 2023 06:49:16 +0000 (00:49 -0600)]
Avoid the use of GeometryInfo.
Matthias Maier [Fri, 14 Jul 2023 04:58:51 +0000 (23:58 -0500)]
Test mpi/petsc_step-27: adjust test output
Matthias Maier [Fri, 14 Jul 2023 04:53:36 +0000 (23:53 -0500)]
Test mpi/petsc_step-27: make sure to only write to the file »output« from rank 0
Matthias Maier [Fri, 14 Jul 2023 04:02:03 +0000 (04:02 +0000)]
Merge pull request #15715 from bangerth/set-zero-mean
Re-add LinearAlgebra::set_zero_mean_value().
Matthias Maier [Fri, 14 Jul 2023 04:01:06 +0000 (04:01 +0000)]
Merge pull request #15739 from bangerth/_v
[C++17] Use std::is_same_v instead of std::is_same<...>::value.
Wolfgang Bangerth [Thu, 13 Jul 2023 23:06:28 +0000 (17:06 -0600)]
Avoid repeated re-allocation of memory.
While there, also keep track of information as we build it.
Wolfgang Bangerth [Wed, 12 Jul 2023 19:09:18 +0000 (13:09 -0600)]
Avoid a warning about an unused variable.
Matthias Maier [Thu, 13 Jul 2023 22:38:26 +0000 (22:38 +0000)]
Merge pull request #15740 from bangerth/_v-2
[C++17] Use std::is_floating_point_v instead of std::is_floating_point<...>::value.
Wolfgang Bangerth [Thu, 13 Jul 2023 18:15:11 +0000 (12:15 -0600)]
Use std::is_floating_point_v instead of std::is_floating_point<...>::value.
Wolfgang Bangerth [Thu, 13 Jul 2023 17:24:08 +0000 (11:24 -0600)]
Use std::is_same_v instead of std::is_same<...>::value.
Matthias Maier [Thu, 13 Jul 2023 18:03:18 +0000 (18:03 +0000)]
Merge pull request #15720 from masterleinad/arborx_1d
Add 1d support for ArborXWrappers
Matthias Maier [Thu, 13 Jul 2023 16:35:17 +0000 (16:35 +0000)]
Merge pull request #15736 from masterleinad/early_deprecated_headers
Only warn about deprecated std_cxx17 headers for DEAL_II_EARLY_DEPRECATIONS
Matthias Maier [Thu, 13 Jul 2023 16:27:46 +0000 (16:27 +0000)]
Merge pull request #15737 from masterleinad/copy_tpetra_vector_for_sync
Copy Tpetra vector if we need to call "sync"
Daniel Arndt [Thu, 13 Jul 2023 15:44:37 +0000 (11:44 -0400)]
Merge pull request #15723 from tamiko/dont_use_diff_option
Daniel Arndt [Thu, 13 Jul 2023 11:48:01 +0000 (07:48 -0400)]
Address review suggestion
Co-authored-by: Wolfgang Bangerth <bangerth@colostate.edu>
Daniel Arndt [Thu, 13 Jul 2023 13:09:20 +0000 (09:09 -0400)]
Copy Tpetra vector if we need to call "sync"
Daniel Arndt [Thu, 13 Jul 2023 12:43:10 +0000 (08:43 -0400)]
Only warn about deprecated std_cxx17 headers for DEAL_II_EARLY_DEPRECATIONS
Daniel Arndt [Thu, 13 Jul 2023 12:38:05 +0000 (08:38 -0400)]
Remove deprecated std_cxx14 header files
Peter Munch [Thu, 13 Jul 2023 12:40:58 +0000 (14:40 +0200)]
Merge pull request #15734 from tamiko/update_badges
README.md: update and rearrange badges
Peter Munch [Thu, 13 Jul 2023 12:06:30 +0000 (14:06 +0200)]
Merge pull request #15727 from simonsticko/use_as_dof_handler_iterator
Simplify a few places using cell->as_dof_handler_iterator(..).
Peter Munch [Thu, 13 Jul 2023 09:44:14 +0000 (11:44 +0200)]
Merge pull request #15735 from peterrum/sum_const
Make VectorizedArray::sum() const
Simon Sticko [Wed, 12 Jul 2023 07:08:50 +0000 (09:08 +0200)]
Simplify a few places using cell->as_dof_handler_iterator(..).
Peter Munch [Thu, 13 Jul 2023 07:21:49 +0000 (09:21 +0200)]
Make VectorizedArray::sum() const
Matthias Maier [Thu, 13 Jul 2023 07:05:08 +0000 (02:05 -0500)]
README.md: update and rearrange badges
Wolfgang Bangerth [Wed, 12 Jul 2023 19:13:34 +0000 (13:13 -0600)]
Merge pull request #15705 from masterleinad/use_readability_qualified_auto
Use readability-qualified-auto clang-tidy check
Wolfgang Bangerth [Wed, 12 Jul 2023 19:10:23 +0000 (13:10 -0600)]
Merge pull request #15729 from bergbauer/memory_ecl
MatrixFree: Memory consumption of mapping data faces by cells in MappingInfo
Timo Heister [Wed, 12 Jul 2023 16:24:18 +0000 (12:24 -0400)]
Merge pull request #15722 from tamiko/update_ci_status
README.md: reorganize badges in a nice row
Matthias Maier [Wed, 12 Jul 2023 03:44:20 +0000 (22:44 -0500)]
README.md: add regression testsuite
Wolfgang Bangerth [Tue, 11 Jul 2023 05:08:16 +0000 (23:08 -0600)]
Keep track of constraints we have already determined are finalized.
Wolfgang Bangerth [Tue, 11 Jul 2023 02:16:50 +0000 (20:16 -0600)]
Restructure the loop in AffineConstraints::close().
Matthias Maier [Wed, 12 Jul 2023 14:28:46 +0000 (14:28 +0000)]
Merge pull request #15725 from tamiko/compilation_fix
bundled/tbb: fix compilation with gcc-13
Daniel Arndt [Wed, 12 Jul 2023 13:11:04 +0000 (09:11 -0400)]
Introduce conversion functions
Martin Kronbichler [Wed, 12 Jul 2023 11:49:09 +0000 (13:49 +0200)]
Merge pull request #15683 from luca-heltai/add_simplex_fe_names
Make sure get_fe_by_name works for simplices.
Martin Kronbichler [Wed, 12 Jul 2023 11:46:35 +0000 (13:46 +0200)]
Merge pull request #15713 from bangerth/affine-constraints-10
Some more small AffineConstraints code improvements.
Maximilian Bergbauer [Wed, 12 Jul 2023 11:40:49 +0000 (13:40 +0200)]
Memory consumption of mapping data faces by cells
Matthias Maier [Wed, 12 Jul 2023 06:02:19 +0000 (01:02 -0500)]
bundled/tbb: fix compilation with gcc-13
This fixes compilation with gcc-13 that complains about the unqualified
identifier "task" changing meaning: it first refers to `class task` in
the offending line and later is defined as a member function `task()`:
```
FAILED: bundled/tbb-2018_U2/src/CMakeFiles/bundled_tbb_release.dir/tbb/arena.cpp.o
/usr/bin/c++ -DDO_ITT_NOTIFY -DNDEBUG -DUSE_PTHREAD -D__TBB_BUILD=1 -I/home/tamiko/workspace/dealii/build/bundled/tbb-2018_U2/src -I/home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src -I/home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/../include -I/home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/rml/include -I/home/tamiko/workspace/dealii/build/include -I/home/tamiko/workspace/dealii/include -std=c++17 -fPIC -Wextra -Wmissing-braces -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -Wno-parentheses -Wno-unused-local-typedefs -Wno-implicit-fallthrough -Wno-stringop-overflow -Wno-deprecated-copy -fopenmp-simd -flifetime-dse=1 -O2 -funroll-loops -funroll-all-loops -fstrict-aliasing -MD -MT bundled/tbb-2018_U2/src/CMakeFiles/bundled_tbb_release.dir/tbb/arena.cpp.o -MF bundled/tbb-2018_U2/src/CMakeFiles/bundled_tbb_release.dir/tbb/arena.cpp.o.d -o bundled/tbb-2018_U2/src/CMakeFiles/bundled_tbb_release.dir/tbb/arena.cpp.o -c /home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/tbb/arena.cpp
In file included from /home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/tbb/scheduler_common.h:43,
from /home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/tbb/scheduler.h:24,
from /home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/tbb/arena.cpp:23:
/home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/../include/tbb/task.h:266:20: error: declaration of ‘tbb::task& tbb::internal::task_prefix::task()’ changes meaning of
task’ [-Wchanges-meaning]
266 | tbb::task& task() {return *reinterpret_cast<tbb::task*>(this+1);}
| ^~~~
/home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/../include/tbb/task.h:225:9: note: used here to mean ‘class tbb::task’
225 | task* next_offloaded;
| ^~~~
/home/tamiko/workspace/dealii/bundled/tbb-2018_U2/src/../include/tbb/task.h:33:7: note: declared here
33 | class task;
| ^~~~
```
Matthias Maier [Tue, 11 Jul 2023 22:10:49 +0000 (17:10 -0500)]
README.md: add tidy workflow status badge
Matthias Maier [Tue, 11 Jul 2023 21:37:34 +0000 (16:37 -0500)]
README.md: reorganize badges in a nice row
Matthias Maier [Wed, 12 Jul 2023 03:24:45 +0000 (03:24 +0000)]
Merge pull request #15719 from tamiko/print_summary
Testsuite: let run_testsuite() print a summary
Matthias Maier [Tue, 11 Jul 2023 23:28:27 +0000 (23:28 +0000)]
Merge pull request #15721 from tjhei/test-examples2
tests/examples/ fix script return value
Matthias Maier [Tue, 11 Jul 2023 22:28:19 +0000 (17:28 -0500)]
Test examples/*: update diffs
Matthias Maier [Tue, 11 Jul 2023 22:28:01 +0000 (17:28 -0500)]
Test examples: store diffs without full paths
Timo Heister [Tue, 11 Jul 2023 20:03:42 +0000 (16:03 -0400)]
tests/examples/ fix script return value
The target update_diffs fails for me without the explicit ``exit 0``
Daniel Arndt [Tue, 11 Jul 2023 19:27:56 +0000 (15:27 -0400)]
Merge pull request #15717 from lethe-cfd/fix_step_68_perf_warnings
Daniel Arndt [Tue, 11 Jul 2023 19:27:01 +0000 (15:27 -0400)]
Merge pull request #15718 from bergbauer/empty_quadrature
Daniel Arndt [Tue, 11 Jul 2023 18:42:53 +0000 (14:42 -0400)]
Add 1d support for ArborXWrappers
Matthias Maier [Tue, 11 Jul 2023 18:16:47 +0000 (13:16 -0500)]
Testsuite: exclude configure warnings from "failure" condition
Matthias Maier [Tue, 11 Jul 2023 18:13:04 +0000 (13:13 -0500)]
Testsuite: add more emojis
Matthias Maier [Tue, 11 Jul 2023 16:34:02 +0000 (11:34 -0500)]
Testsuite: also report status and summary
Matthias Maier [Tue, 11 Jul 2023 15:53:21 +0000 (10:53 -0500)]
Testsuite: print summary also for SKIP_SUBMISSION=true
Matthias Maier [Tue, 11 Jul 2023 15:48:44 +0000 (10:48 -0500)]
Testsuite: also record revision and start to report on status
Matthias Maier [Tue, 11 Jul 2023 06:13:09 +0000 (01:13 -0500)]
Testsuite: Print submission URL after successful upload in run_testsuite.cmake
Bruno Blais [Tue, 11 Jul 2023 14:56:40 +0000 (10:56 -0400)]
Update tests/performance/timing_step_68.cc
Co-authored-by: Timo Heister <timo.heister@gmail.com>
Daniel Arndt [Tue, 11 Jul 2023 14:50:07 +0000 (10:50 -0400)]
Use an explicit type in base/utilities.h
Daniel Arndt [Mon, 10 Jul 2023 15:58:20 +0000 (11:58 -0400)]
Use readability-qualified-auto clang-tidy check
Timo Heister [Tue, 11 Jul 2023 13:34:48 +0000 (09:34 -0400)]
Merge pull request #15716 from tamiko/remove_run_memcheck
CMake: remove support for ctest_memcheck() and run_memorycheck.cmake
Bruno Blais [Tue, 11 Jul 2023 11:58:38 +0000 (07:58 -0400)]
Fix warnings + remove uncessary mpi call
Maximilian Bergbauer [Tue, 11 Jul 2023 11:09:24 +0000 (13:09 +0200)]
empty() function for Quadrature
Martin Kronbichler [Tue, 11 Jul 2023 08:25:44 +0000 (10:25 +0200)]
Merge pull request #15687 from bangerth/consistency
Assert some basic mesh consistency notions.
Matthias Maier [Tue, 11 Jul 2023 05:59:32 +0000 (00:59 -0500)]
CMake: remove support for ctest_memcheck() and run_memorycheck.cmake
Instead of using valgrind it is much better to use compiler sanitizers
such as "-fsanitize=address,undefined,leak" with clang.
Martin Kronbichler [Tue, 11 Jul 2023 05:24:36 +0000 (07:24 +0200)]
Merge pull request #15709 from masterleinad/restrict_nox_tests
Restrict tests requiring NOX
Martin Kronbichler [Tue, 11 Jul 2023 05:23:38 +0000 (07:23 +0200)]
Merge pull request #15711 from bangerth/nox
Recommend NOX for building Trilinos.
Wolfgang Bangerth [Tue, 11 Jul 2023 05:16:18 +0000 (23:16 -0600)]
Re-add LinearAlgebra::set_zero_mean_value().
Matthias Maier [Tue, 11 Jul 2023 04:34:46 +0000 (04:34 +0000)]
Merge pull request #15707 from tamiko/proper_cell_status_deprecation
Triangulation::CellStatus: provide proper compatibility type
Matthias Maier [Tue, 11 Jul 2023 00:02:48 +0000 (19:02 -0500)]
Triangulation::CellStatus: add compatibility identifiers for CellStatus::* members
Matthias Maier [Mon, 10 Jul 2023 20:40:35 +0000 (15:40 -0500)]
Triangulation: include compatibility CellStatus via using instead of defining a new enum
Matthias Maier [Mon, 10 Jul 2023 20:40:17 +0000 (15:40 -0500)]
CellStatus: provide old name aliases
Wolfgang Bangerth [Mon, 10 Jul 2023 23:23:53 +0000 (17:23 -0600)]
Some more small AffineConstraints code improvements.
Wolfgang Bangerth [Mon, 10 Jul 2023 22:36:50 +0000 (16:36 -0600)]
Recommend NOX for building Trilinos.
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.