]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
3 years agoConvert most DEAL_II_CONSTEXPR to constexpr. 11122/head
David Wells [Fri, 30 Oct 2020 18:02:35 +0000 (14:02 -0400)]
Convert most DEAL_II_CONSTEXPR to constexpr.

Now that we require C++14 we can treat this differently. Not everything can be
converted yet - some older compilers encounter internal compiler errors when we
try to mark more things as constexpr.

3 years agoMerge pull request #12057 from bangerth/move
Daniel Arndt [Fri, 23 Apr 2021 19:15:30 +0000 (15:15 -0400)]
Merge pull request #12057 from bangerth/move

3 years agoMerge pull request #12088 from bangerth/static-assert
Daniel Arndt [Fri, 23 Apr 2021 18:36:11 +0000 (14:36 -0400)]
Merge pull request #12088 from bangerth/static-assert

Fix a static_assert to actually make sense.

3 years agoMerge pull request #12085 from drwells/fix-compilation-gcc-5
Daniel Arndt [Fri, 23 Apr 2021 17:26:47 +0000 (13:26 -0400)]
Merge pull request #12085 from drwells/fix-compilation-gcc-5

Fix compilation with gcc-5.

3 years agoFix a static_assert to actually make sense. 12088/head
Wolfgang Bangerth [Fri, 23 Apr 2021 15:49:32 +0000 (09:49 -0600)]
Fix a static_assert to actually make sense.

More specifically, there is a specialization Tensor<0,dim,Number> so we should
reallly never get here with rank==0.

3 years agoMerge pull request #12086 from masterleinad/fix_petsc_warning
Wolfgang Bangerth [Fri, 23 Apr 2021 15:47:29 +0000 (09:47 -0600)]
Merge pull request #12086 from masterleinad/fix_petsc_warning

Fix warning about unused function in PETScWrappers source file

3 years agoFix compilation with gcc-5. 12085/head
David Wells [Fri, 23 Apr 2021 14:30:06 +0000 (10:30 -0400)]
Fix compilation with gcc-5.

The compiler generates identical symbols for each static declaration, which
leads to a problem in the assembler. Work around it by not declaring the
variable as static.

3 years agoFix warning about ununed function in PETScWrappers source file 12086/head
Daniel Arndt [Fri, 23 Apr 2021 13:50:50 +0000 (09:50 -0400)]
Fix warning about ununed function in PETScWrappers source file

3 years agoMerge pull request #12082 from drwells/remove-gridreordering-3
Daniel Arndt [Fri, 23 Apr 2021 02:24:19 +0000 (22:24 -0400)]
Merge pull request #12082 from drwells/remove-gridreordering-3

Move GridReordering::reorder_cells().

3 years agoMerge pull request #12084 from masterleinad/guard_sundials
Daniel Arndt [Fri, 23 Apr 2021 02:23:25 +0000 (22:23 -0400)]
Merge pull request #12084 from masterleinad/guard_sundials

Guard SUNDIALS variables more carefully

3 years agoMerge pull request #12076 from harmonj/FE_NEDELEC_BUG_REMOVAL
Bruno Turcksin [Fri, 23 Apr 2021 02:05:29 +0000 (22:05 -0400)]
Merge pull request #12076 from harmonj/FE_NEDELEC_BUG_REMOVAL

Correct 2-D FE_Nedelec Interpolation

3 years agoMerge pull request #12074 from marcfehling/bug-predict-error
Marc Fehling [Thu, 22 Apr 2021 21:57:03 +0000 (23:57 +0200)]
Merge pull request #12074 from marcfehling/bug-predict-error

Bugfix: `hp::Refinement::predict_error` - cast to int

3 years agoGuard SUNDIALS variables more carefully 12084/head
Daniel Arndt [Thu, 22 Apr 2021 20:16:05 +0000 (16:16 -0400)]
Guard SUNDIALS variables more carefully

3 years agoMove GridReordering::reorder_cells(). 12082/head
David Wells [Thu, 22 Apr 2021 15:48:15 +0000 (11:48 -0400)]
Move GridReordering::reorder_cells().

3 years agoMerge pull request #11971 from dangars/step62_no_jupyter
David Wells [Thu, 22 Apr 2021 19:17:40 +0000 (15:17 -0400)]
Merge pull request #11971 from dangars/step62_no_jupyter

Give the option to use step-62 without the jupyter notebook

3 years agoMerge pull request #12081 from masterleinad/fix_copy_connectivity_unity
David Wells [Thu, 22 Apr 2021 19:17:20 +0000 (15:17 -0400)]
Merge pull request #12081 from masterleinad/fix_copy_connectivity_unity

Forward declare explicit template specializations for copy_connectivity

3 years agoMerge pull request #12073 from marcfehling/step-27-limitplevel
Wolfgang Bangerth [Thu, 22 Apr 2021 18:57:03 +0000 (12:57 -0600)]
Merge pull request #12073 from marcfehling/step-27-limitplevel

step-27: limit p-level difference

3 years agoBugfix: `hp::Refinement::predict_error` - cast to int 12074/head
Marc Fehling [Thu, 22 Apr 2021 04:16:08 +0000 (22:16 -0600)]
Bugfix: `hp::Refinement::predict_error` - cast to int

3 years agoCorrects 2-D FE_Nedelec Interpolation 12076/head
Jake Harmon [Thu, 22 Apr 2021 04:49:38 +0000 (22:49 -0600)]
Corrects 2-D FE_Nedelec Interpolation

Fixes a conditional statement in FE_Nedelec::convert_...to_dof_values. Adds a new test function in tests/fe/interpolation_common.h for use in tests/fe/interpolation_nedelec.cc as the previous test case indicated (incorrectly) that the function returned correct DoF values.

3 years agoForward declare explicit template specilaizations for copy_connectivity 12081/head
Daniel Arndt [Thu, 22 Apr 2021 16:12:57 +0000 (12:12 -0400)]
Forward declare explicit template specilaizations for copy_connectivity

3 years agoMerge pull request #12071 from drwells/remove-gridreordering-2
Wolfgang Bangerth [Thu, 22 Apr 2021 14:47:19 +0000 (08:47 -0600)]
Merge pull request #12071 from drwells/remove-gridreordering-2

Move GridReordering<dim>::invert_all_negative_measure_cells().

3 years agoMerge pull request #12075 from marcfehling/doc-renamed
Wolfgang Bangerth [Thu, 22 Apr 2021 13:04:20 +0000 (07:04 -0600)]
Merge pull request #12075 from marcfehling/doc-renamed

Doc: Function has been renamed

3 years agoDoc: Function has been renamed 12075/head
Marc Fehling [Thu, 22 Apr 2021 05:20:24 +0000 (23:20 -0600)]
Doc: Function has been renamed

3 years agostep-27: limit p-level difference 12073/head
Marc Fehling [Thu, 22 Apr 2021 02:36:08 +0000 (20:36 -0600)]
step-27: limit p-level difference

3 years agoMerge pull request #12050 from peterrum/categorize_by_boundary_ids_01_fix
David Wells [Wed, 21 Apr 2021 20:29:46 +0000 (16:29 -0400)]
Merge pull request #12050 from peterrum/categorize_by_boundary_ids_01_fix

Fix test matrix_free/categorize_by_boundary_ids_01

3 years agoUse the Jupyter Notebook only the analyze the results 11971/head
Daniel Garcia-Sanchez [Wed, 21 Apr 2021 19:41:05 +0000 (21:41 +0200)]
Use the Jupyter Notebook only the analyze the results

3 years agoRemove an obsolete comment. 12071/head
David Wells [Wed, 21 Apr 2021 17:46:34 +0000 (13:46 -0400)]
Remove an obsolete comment.

3 years agoMove GridReordering<dim>::invert_all_negative_measure_cells().
David Wells [Wed, 21 Apr 2021 15:40:49 +0000 (11:40 -0400)]
Move GridReordering<dim>::invert_all_negative_measure_cells().

3 years agoMerge pull request #12069 from bangerth/table-6
David Wells [Wed, 21 Apr 2021 16:39:02 +0000 (12:39 -0400)]
Merge pull request #12069 from bangerth/table-6

Simplify control flow in AlignedVector::resize{,_fast}.

3 years agoMerge pull request #12065 from bangerth/grid
David Wells [Wed, 21 Apr 2021 16:22:10 +0000 (12:22 -0400)]
Merge pull request #12065 from bangerth/grid

Minor updates to the grid reordering module.

3 years agoMerge pull request #12070 from bangerth/broadcast
Daniel Arndt [Wed, 21 Apr 2021 14:28:14 +0000 (10:28 -0400)]
Merge pull request #12070 from bangerth/broadcast

Minor optimization in Utilities::MPI::broadcast().

3 years agoMerge pull request #12067 from bangerth/number-of-children
Bruno Turcksin [Wed, 21 Apr 2021 01:14:14 +0000 (21:14 -0400)]
Merge pull request #12067 from bangerth/number-of-children

3 years agoMerge pull request #12068 from drwells/improve-zero-assignment-message
Bruno Turcksin [Wed, 21 Apr 2021 01:11:20 +0000 (21:11 -0400)]
Merge pull request #12068 from drwells/improve-zero-assignment-message

Improve the scalar assignment exception message.

3 years agoMinor optimization in Utilities::MPI::broadcast(). 12070/head
Wolfgang Bangerth [Wed, 21 Apr 2021 00:02:06 +0000 (18:02 -0600)]
Minor optimization in Utilities::MPI::broadcast().

3 years agoSimplify control flow in AlignedVector::resize{,_fast}. 12069/head
Wolfgang Bangerth [Tue, 20 Apr 2021 21:30:28 +0000 (15:30 -0600)]
Simplify control flow in AlignedVector::resize{,_fast}.

3 years agoImprove the scalar assignment exception message. 12068/head
David Wells [Tue, 20 Apr 2021 21:00:48 +0000 (17:00 -0400)]
Improve the scalar assignment exception message.

3 years agoMerge pull request #12064 from bangerth/table-5
Timo Heister [Tue, 20 Apr 2021 20:18:06 +0000 (16:18 -0400)]
Merge pull request #12064 from bangerth/table-5

Add a test for AlignedVector.

3 years agoAdd a changelog entry. 12067/head
Wolfgang Bangerth [Tue, 20 Apr 2021 16:56:56 +0000 (10:56 -0600)]
Add a changelog entry.

3 years agoDeprecate TriaAccessor::number_of_children.
Wolfgang Bangerth [Tue, 20 Apr 2021 16:55:52 +0000 (10:55 -0600)]
Deprecate TriaAccessor::number_of_children.

Use TriaAccessor::n_active_descendants() instead.

3 years agoMerge pull request #12063 from peterrum/grid_in_exc
Daniel Arndt [Tue, 20 Apr 2021 16:11:18 +0000 (12:11 -0400)]
Merge pull request #12063 from peterrum/grid_in_exc

Add error message to GridIn::ExcNoTriangulationSelected

3 years agoMinor updates to the grid reordering module. 12065/head
Wolfgang Bangerth [Tue, 20 Apr 2021 15:38:48 +0000 (09:38 -0600)]
Minor updates to the grid reordering module.

3 years agoMerge pull request #12059 from drwells/remove-gridreordering-1
Wolfgang Bangerth [Tue, 20 Apr 2021 15:33:17 +0000 (09:33 -0600)]
Merge pull request #12059 from drwells/remove-gridreordering-1

Remove GridReordering part 1

3 years agoAdd a test for AlignedVector. 12064/head
Wolfgang Bangerth [Tue, 20 Apr 2021 15:05:41 +0000 (09:05 -0600)]
Add a test for AlignedVector.

3 years agoAdd error message to GridIn::ExcNoTriangulationSelected 12063/head
Peter Munch [Tue, 20 Apr 2021 05:50:49 +0000 (07:50 +0200)]
Add error message to GridIn::ExcNoTriangulationSelected

3 years agoMerge pull request #12061 from tamiko/fix_a_warning_2
Bruno Turcksin [Tue, 20 Apr 2021 12:44:55 +0000 (08:44 -0400)]
Merge pull request #12061 from tamiko/fix_a_warning_2

fix a warning

3 years agofix a warning 12061/head
Matthias Maier [Tue, 20 Apr 2021 01:23:51 +0000 (20:23 -0500)]
fix a warning

This fixes a warning emitted by gcc-10.3.0:

  warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]

3 years agoMerge pull request #12054 from tamiko/mpi_memory_leak
Wolfgang Bangerth [Tue, 20 Apr 2021 03:03:38 +0000 (21:03 -0600)]
Merge pull request #12054 from tamiko/mpi_memory_leak

Utilities::MPI::mpi_sum_avg: create MPI_Datatype and MPI_Op once

3 years agoMerge pull request #12060 from tamiko/fix_a_warning
Wolfgang Bangerth [Tue, 20 Apr 2021 03:00:27 +0000 (21:00 -0600)]
Merge pull request #12060 from tamiko/fix_a_warning

fix a -Wdtor warning

3 years agoMerge pull request #12056 from bangerth/doc
Bruno Turcksin [Tue, 20 Apr 2021 01:22:37 +0000 (21:22 -0400)]
Merge pull request #12056 from bangerth/doc

Make the documentation of TableBase less chatty.

3 years agofix a -Wdtor warning 12060/head
Matthias Maier [Tue, 20 Apr 2021 01:09:09 +0000 (20:09 -0500)]
fix a -Wdtor warning

3 years agoadd a changes entry 12054/head
Matthias Maier [Sun, 18 Apr 2021 21:15:31 +0000 (16:15 -0500)]
add a changes entry

3 years agofree allocated MPI resources before we call MPI_Finalize
Matthias Maier [Mon, 19 Apr 2021 20:43:20 +0000 (15:43 -0500)]
free allocated MPI resources before we call MPI_Finalize

3 years agoforce initialization of static struct
Matthias Maier [Mon, 19 Apr 2021 20:26:19 +0000 (15:26 -0500)]
force initialization of static struct

3 years agoUtilities::MPI::mpi_sum_avg: create MPI_Datatype and MPI_Op once
Matthias Maier [Sun, 18 Apr 2021 21:11:33 +0000 (16:11 -0500)]
Utilities::MPI::mpi_sum_avg: create MPI_Datatype and MPI_Op once

Instead of repeatedly creating and freeing an MPI_Datatype and MPI_Op
for every invocation of Utilities::MPI::mpi_sum_avg let us define these
objects statically and create them only once.

This works around a memory leak issue with OpenMPI 4.1.0 that will leak
memory in the subsequent MPI_Allreduce call.

Upstream bug report: https://github.com/open-mpi/ompi/issues/8827

3 years agoadd a changes entry
Matthias Maier [Mon, 19 Apr 2021 18:17:41 +0000 (13:17 -0500)]
add a changes entry

3 years agoadd a test
Matthias Maier [Mon, 19 Apr 2021 20:48:51 +0000 (15:48 -0500)]
add a test

3 years agoMPI_InitFinalize: add an at_mpi_init and at_mpi_finalize signal handler
Matthias Maier [Mon, 19 Apr 2021 18:13:50 +0000 (13:13 -0500)]
MPI_InitFinalize: add an at_mpi_init and at_mpi_finalize signal handler

3 years agoRemove references to the old-style numbering. 12059/head
David Wells [Mon, 19 Apr 2021 19:31:29 +0000 (15:31 -0400)]
Remove references to the old-style numbering.

3 years agoMove the reordering text into a module.
David Wells [Mon, 19 Apr 2021 19:30:11 +0000 (15:30 -0400)]
Move the reordering text into a module.

3 years agoAdd a changelog entry. 12057/head
Wolfgang Bangerth [Mon, 19 Apr 2021 18:59:56 +0000 (12:59 -0600)]
Add a changelog entry.

3 years agoAdd a test.
Wolfgang Bangerth [Mon, 19 Apr 2021 18:58:45 +0000 (12:58 -0600)]
Add a test.

3 years agoProvide a move constructor for InterpolatedTensorProductGridData.
Wolfgang Bangerth [Mon, 19 Apr 2021 18:58:32 +0000 (12:58 -0600)]
Provide a move constructor for InterpolatedTensorProductGridData.

3 years agoMake the documentation of TableBase less chatty. 12056/head
Wolfgang Bangerth [Mon, 19 Apr 2021 17:07:28 +0000 (11:07 -0600)]
Make the documentation of TableBase less chatty.

In particular, remove the 'historical context' part.

3 years agoMerge pull request #12055 from bangerth/grammar
Daniel Arndt [Mon, 19 Apr 2021 16:46:27 +0000 (12:46 -0400)]
Merge pull request #12055 from bangerth/grammar

Fix grammar.

3 years agoFix grammar. 12055/head
Wolfgang Bangerth [Mon, 19 Apr 2021 16:15:45 +0000 (10:15 -0600)]
Fix grammar.

3 years agoMerge pull request #12052 from peterrum/vector_tools_evaluate_at_points_02_fix
Daniel Arndt [Mon, 19 Apr 2021 15:22:39 +0000 (11:22 -0400)]
Merge pull request #12052 from peterrum/vector_tools_evaluate_at_points_02_fix

Make test remote_point_evaluation/vector_tools_evaluate_at_points_02 more robust

3 years agoMerge pull request #12051 from peterrum/fix_compute_diagonal_tests
David Wells [Mon, 19 Apr 2021 15:15:55 +0000 (11:15 -0400)]
Merge pull request #12051 from peterrum/fix_compute_diagonal_tests

Fix matrix_free/compute_diagonal tests in release mode

3 years agoMerge pull request #12053 from peterrum/ecl_02_fix
David Wells [Mon, 19 Apr 2021 15:13:45 +0000 (11:13 -0400)]
Merge pull request #12053 from peterrum/ecl_02_fix

Fix test matrix_free/ecl_02

3 years agoFix test matrix_free/ecl_02 12053/head
Peter Munch [Sun, 18 Apr 2021 10:54:59 +0000 (12:54 +0200)]
Fix test matrix_free/ecl_02

3 years agoMake test remote_point_evaluation/vector_tools_evaluate_at_points_02 more robust 12052/head
Peter Munch [Sun, 18 Apr 2021 07:46:00 +0000 (09:46 +0200)]
Make test remote_point_evaluation/vector_tools_evaluate_at_points_02 more robust

3 years agoFix matrix_free/compute_diagonal tests in release mode 12051/head
Peter Munch [Sun, 18 Apr 2021 07:29:36 +0000 (09:29 +0200)]
Fix matrix_free/compute_diagonal tests in release mode

3 years agoFix test matrix_free/categorize_by_boundary_ids_01 12050/head
Peter Munch [Sat, 17 Apr 2021 20:55:40 +0000 (22:55 +0200)]
Fix test matrix_free/categorize_by_boundary_ids_01

3 years agoMerge pull request #12031 from bangerth/kinsol
David Wells [Sat, 17 Apr 2021 13:24:19 +0000 (09:24 -0400)]
Merge pull request #12031 from bangerth/kinsol

Update the KINSOL callbacks to what KINSOL current provides.

3 years agoAdd tests for the new KINSOL interface. 12031/head
Wolfgang Bangerth [Fri, 16 Apr 2021 22:06:26 +0000 (16:06 -0600)]
Add tests for the new KINSOL interface.

3 years agoMerge pull request #12049 from drwells/vtk-compatibility-tria
Wolfgang Bangerth [Fri, 16 Apr 2021 22:01:00 +0000 (16:01 -0600)]
Merge pull request #12049 from drwells/vtk-compatibility-tria

Remove remaining create_triangulation_compatibility calls.

3 years agoMerge pull request #12048 from drwells/gmsh-compatibility-tria
Wolfgang Bangerth [Fri, 16 Apr 2021 21:58:58 +0000 (15:58 -0600)]
Merge pull request #12048 from drwells/gmsh-compatibility-tria

Get rid of create_triangulation_compatibility in the GMSH reader.

3 years agoDeprecate create_triangulation_compatibility. 12049/head
David Wells [Fri, 16 Apr 2021 17:06:43 +0000 (13:06 -0400)]
Deprecate create_triangulation_compatibility.

3 years agoRemove the rest of the create_triangulation_compatibility calls.
David Wells [Fri, 16 Apr 2021 15:41:15 +0000 (11:41 -0400)]
Remove the rest of the create_triangulation_compatibility calls.

3 years agoMake the vertex swapping algorithm work with the new-style ordering.
David Wells [Fri, 16 Apr 2021 17:03:17 +0000 (13:03 -0400)]
Make the vertex swapping algorithm work with the new-style ordering.

This is necessary for the tecplot reader, which relies on this behavior.

3 years agoGet rid of create_triangulation_compatibility in the GMSH reader. 12048/head
David Wells [Fri, 16 Apr 2021 14:59:54 +0000 (10:59 -0400)]
Get rid of create_triangulation_compatibility in the GMSH reader.

3 years agoMerge pull request #12027 from bangerth/cmake
David Wells [Fri, 16 Apr 2021 13:51:58 +0000 (09:51 -0400)]
Merge pull request #12027 from bangerth/cmake

Improve error messages during configuration.

3 years agoMerge pull request #12026 from bangerth/cmake-3
Daniel Arndt [Fri, 16 Apr 2021 04:11:57 +0000 (00:11 -0400)]
Merge pull request #12026 from bangerth/cmake-3

Use a better filename for SUNDIALS finding.

3 years agoMerge pull request #12030 from bangerth/kinsol-versions
Daniel Arndt [Fri, 16 Apr 2021 02:54:16 +0000 (22:54 -0400)]
Merge pull request #12030 from bangerth/kinsol-versions

Support different KINSOL versions.

3 years agoMerge pull request #12045 from drwells/dbmesh-xda-compatibility-tria
Wolfgang Bangerth [Fri, 16 Apr 2021 00:07:18 +0000 (18:07 -0600)]
Merge pull request #12045 from drwells/dbmesh-xda-compatibility-tria

Remove two more create_triangulation_compatibility calls.

3 years agoMerge pull request #12046 from drwells/grid-generator-compatibility-tria
Wolfgang Bangerth [Fri, 16 Apr 2021 00:06:21 +0000 (18:06 -0600)]
Merge pull request #12046 from drwells/grid-generator-compatibility-tria

Remove calls to create_triangulation_compatibility in GridGenerator.

3 years agoImprove error messages during configuration. 12027/head
Wolfgang Bangerth [Thu, 8 Apr 2021 17:40:37 +0000 (11:40 -0600)]
Improve error messages during configuration.

3 years agoUse a better filename for SUNDIALS finding. 12026/head
Wolfgang Bangerth [Thu, 8 Apr 2021 17:42:11 +0000 (11:42 -0600)]
Use a better filename for SUNDIALS finding.

3 years agoSupport different KINSOL versions. 12030/head
Wolfgang Bangerth [Thu, 8 Apr 2021 21:53:16 +0000 (15:53 -0600)]
Support different KINSOL versions.

3 years agoMerge pull request #12044 from tamiko/fix_configure
David Wells [Thu, 15 Apr 2021 14:27:07 +0000 (10:27 -0400)]
Merge pull request #12044 from tamiko/fix_configure

CMake: FindKOKKOS: Work around configuration failure

3 years agoRemove calls to create_triangulation_compatibility in GridGenerator. 12046/head
David Wells [Thu, 15 Apr 2021 14:25:45 +0000 (10:25 -0400)]
Remove calls to create_triangulation_compatibility in GridGenerator.

3 years agoMerge the two read_xda functions. 12045/head
David Wells [Thu, 15 Apr 2021 13:18:39 +0000 (09:18 -0400)]
Merge the two read_xda functions.

3 years agoGet rid of create_triangulation_compatibility in the XDA reader.
David Wells [Thu, 15 Apr 2021 13:12:54 +0000 (09:12 -0400)]
Get rid of create_triangulation_compatibility in the XDA reader.

3 years agoGet rid of create_triangulation_compatibility in the DB Mesh reader.
David Wells [Wed, 14 Apr 2021 04:03:20 +0000 (00:03 -0400)]
Get rid of create_triangulation_compatibility in the DB Mesh reader.

3 years agoMerge pull request #12043 from marcfehling/tut-list
Daniel Arndt [Thu, 15 Apr 2021 12:42:15 +0000 (08:42 -0400)]
Merge pull request #12043 from marcfehling/tut-list

Remove hp::DoFHandler from tutorial list.

3 years agoCMake: FindKOKKOS: Work around configuration failure 12044/head
Matthias Maier [Thu, 15 Apr 2021 04:48:56 +0000 (23:48 -0500)]
CMake: FindKOKKOS: Work around configuration failure

Configuration did fail in the following situation
 - Kokkos installed via Trilinos (MPI enabled)
 - deal.II configured without MPI

In this situation FindTRILINOS.cmake bails out because of an MPI
configuration mismatch, so the manual search for Kokkos in
FindKOKKOS.cmake is triggered. The latter one fails because Kokkos
installed via Trilinos did export a valid project configuration only
containing the Kokkos::kokkos target and not the Kokkos::kokkoscore
target.

Work around this issue by only configuring if Kokkos::kokkoscore has
indeed been imported.

3 years agoRemove hp::DoFHandler from tutorial list. 12043/head
Marc Fehling [Thu, 15 Apr 2021 03:15:01 +0000 (21:15 -0600)]
Remove hp::DoFHandler from tutorial list.

3 years agoMerge pull request #12042 from drwells/ucd-compatibility-tria
Bruno Turcksin [Thu, 15 Apr 2021 01:16:29 +0000 (21:16 -0400)]
Merge pull request #12042 from drwells/ucd-compatibility-tria

Get rid of create_triangulation_compatibility in the UCD reader.

3 years agoMerge pull request #12039 from drwells/unv-compatibility-tria
Bruno Turcksin [Wed, 14 Apr 2021 16:03:57 +0000 (12:03 -0400)]
Merge pull request #12039 from drwells/unv-compatibility-tria

Get rid of create_triangulation_compatibility in the UNV reader.

3 years agoGet rid of create_triangulation_compatibility in the UCD reader. 12042/head
David Wells [Wed, 14 Apr 2021 03:39:29 +0000 (23:39 -0400)]
Get rid of create_triangulation_compatibility in the UCD reader.

To keep reading input consistently this also requires that we slightly modify
the cell inversion algorithm. This is backwards-compatible since the option to
use the new style ordering was added in 7f9c1023b61.

3 years agoGet rid of create_triangulation_compatibility in the UNV reader. 12039/head
David Wells [Tue, 13 Apr 2021 14:22:31 +0000 (10:22 -0400)]
Get rid of create_triangulation_compatibility in the UNV reader.

This case is interesting since the current code only works by coincidence. Our
test files have vertices numbered like

    2 ---- 3
    |      |
    |      |
    1 ---- 0

which we read in in the old-style (UCD) numbering, which is like mirroring
across the y-axis. This causes all the cells to have a negative measure (but they
aren't pinched). GridReordering then fixes this by swapping vertices 1 and 3 of
every single cell - i.e., adding another -1 factor to the measure, which now
causes all cells to have positive measure. Something similar happens in 3D.

As far as I can tell there is no widely accepted node numbering for UNV like
there is for everything else so I am going by what Salome generates. Since we
now use their numbering directly (instead of something that worked by
coincidence) the output files are slightly different but all cells do end up
looking correct (nothing is twisted when we visualize with VTK).


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.