]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
3 years agoMerge pull request #11914 from mschreter/QGaussSimplex_dim0
Bruno Turcksin [Wed, 17 Mar 2021 12:26:45 +0000 (08:26 -0400)]
Merge pull request #11914 from mschreter/QGaussSimplex_dim0

Enable QGaussSimplex<0>

3 years agoMerge pull request #11927 from drwells/identity-function
Wolfgang Bangerth [Wed, 17 Mar 2021 09:44:28 +0000 (10:44 +0100)]
Merge pull request #11927 from drwells/identity-function

Identity function

3 years agoMerge pull request #11925 from peterrum/build_patches_triangulation
Wolfgang Bangerth [Wed, 17 Mar 2021 09:42:14 +0000 (10:42 +0100)]
Merge pull request #11925 from peterrum/build_patches_triangulation

Simplex: DataOut::attach_triangulation()

3 years agoenable QGaussSimplex<0> 11914/head
Magdalena Schreter [Mon, 15 Mar 2021 13:45:44 +0000 (14:45 +0100)]
enable QGaussSimplex<0>

3 years agoAdd Functions::IdentityFunction. 11927/head
David Wells [Tue, 16 Mar 2021 22:59:25 +0000 (18:59 -0400)]
Add Functions::IdentityFunction.

3 years agoMerge pull request #11913 from elauksap/local_cell_relations_map
Marc Fehling [Tue, 16 Mar 2021 23:23:42 +0000 (00:23 +0100)]
Merge pull request #11913 from elauksap/local_cell_relations_map

Use std::pair for local_cell_relations

3 years agoSimplex: DataOut::attach_triangulation() 11925/head
Peter Munch [Tue, 16 Mar 2021 19:27:07 +0000 (20:27 +0100)]
Simplex: DataOut::attach_triangulation()

3 years agoMerge pull request #11921 from zjiaqi2018/simplex-test-step-67
David Wells [Tue, 16 Mar 2021 22:08:26 +0000 (18:08 -0400)]
Merge pull request #11921 from zjiaqi2018/simplex-test-step-67

step-67 simplex test

3 years agoMerge pull request #11924 from peterrum/build_patches_mapping
David Wells [Tue, 16 Mar 2021 22:05:09 +0000 (18:05 -0400)]
Merge pull request #11924 from peterrum/build_patches_mapping

DataOut::build_patches(): make mapping dependent on tria

3 years agoMerge pull request #11926 from bangerth/15
David Wells [Tue, 16 Mar 2021 22:00:07 +0000 (18:00 -0400)]
Merge pull request #11926 from bangerth/15

Minor work on step-15

3 years agoMake the structure in run() more similar to the way we use elsewhere. 11926/head
Wolfgang Bangerth [Tue, 16 Mar 2021 14:01:31 +0000 (15:01 +0100)]
Make the structure in run() more similar to the way we use elsewhere.

3 years agoUse current_solution instead of present_solution.
Wolfgang Bangerth [Tue, 16 Mar 2021 10:29:24 +0000 (11:29 +0100)]
Use current_solution instead of present_solution.

3 years agoMerge pull request #11922 from kronbichler/fix_boundary_id
Peter Munch [Tue, 16 Mar 2021 19:37:41 +0000 (20:37 +0100)]
Merge pull request #11922 from kronbichler/fix_boundary_id

Fix storage of boundary_id in MatrixFree

3 years agoDataOut::build_patches(): make mapping dependent on tria 11924/head
Peter Munch [Tue, 16 Mar 2021 19:20:58 +0000 (20:20 +0100)]
DataOut::build_patches(): make mapping dependent on tria

3 years agoadd some descriptions 11921/head
Jiaqi Zhang [Tue, 16 Mar 2021 17:43:27 +0000 (17:43 +0000)]
add some descriptions

3 years agoMerge pull request #11923 from kronbichler/fix_changelog
Peter Munch [Tue, 16 Mar 2021 17:29:34 +0000 (18:29 +0100)]
Merge pull request #11923 from kronbichler/fix_changelog

Fix date of changelog

3 years agoFix date of changelog 11923/head
Martin Kronbichler [Tue, 16 Mar 2021 16:40:51 +0000 (17:40 +0100)]
Fix date of changelog

3 years agoChangelog 11922/head
Martin Kronbichler [Tue, 16 Mar 2021 15:41:51 +0000 (16:41 +0100)]
Changelog

3 years agoNew test case
Martin Kronbichler [Tue, 16 Mar 2021 15:41:42 +0000 (16:41 +0100)]
New test case

3 years agoFix storage of boundary id in MatrixFree
Martin Kronbichler [Tue, 16 Mar 2021 15:37:38 +0000 (16:37 +0100)]
Fix storage of boundary id in MatrixFree

3 years agoMerge pull request #11920 from marcfehling/doc-shared
Daniel Arndt [Tue, 16 Mar 2021 14:38:17 +0000 (10:38 -0400)]
Merge pull request #11920 from marcfehling/doc-shared

Document that adaptation flags need to be placed on all procs for p:s:Tria.

3 years agoMerge pull request #11915 from kronbichler/fix_data_type
Daniel Arndt [Tue, 16 Mar 2021 14:37:58 +0000 (10:37 -0400)]
Merge pull request #11915 from kronbichler/fix_data_type

Use correct invalid unsigned value for 64 bit integers

3 years agostep-67 simplex test
Jiaqi Zhang [Tue, 16 Mar 2021 12:57:01 +0000 (12:57 +0000)]
step-67 simplex test

3 years agoUse std::pair<cell_iterator, CellStatus> for DistributedTriangulationBase::local_cell... 11913/head
Pasquale Africa [Mon, 15 Mar 2021 14:20:59 +0000 (14:20 +0000)]
Use std::pair<cell_iterator, CellStatus> for DistributedTriangulationBase::local_cell_relations

3 years agoFix initialization to invalid value 11915/head
Martin Kronbichler [Mon, 15 Mar 2021 14:25:08 +0000 (15:25 +0100)]
Fix initialization to invalid value

3 years agoMerge pull request #11919 from tamiko/make_more_elegant
Bruno Turcksin [Tue, 16 Mar 2021 02:35:09 +0000 (22:35 -0400)]
Merge pull request #11919 from tamiko/make_more_elegant

examples/step-69: use std::copy_n instead of std::copy

3 years agoDocument that adaptation flags need to be placed on all procs for p:s:Tria. 11920/head
Marc Fehling [Mon, 15 Mar 2021 23:08:32 +0000 (17:08 -0600)]
Document that adaptation flags need to be placed on all procs for p:s:Tria.

3 years agoexamples/stpe-69: use std::copy_n instead of std::copy 11919/head
Matthias Maier [Mon, 15 Mar 2021 22:30:37 +0000 (17:30 -0500)]
examples/stpe-69: use std::copy_n instead of std::copy

A std::copy_n is more more elegant than the std::copy variant that need
to take the address of an element past the momentum.

Thanks to @guermond and @ejtovar for pointing this out.

3 years agoMerge pull request #11917 from bangerth/15
David Wells [Mon, 15 Mar 2021 20:47:15 +0000 (16:47 -0400)]
Merge pull request #11917 from bangerth/15

No need to futz with the VTK flags in step-15.

3 years agoNo need to futz with the VTK flags in step-15. 11917/head
Wolfgang Bangerth [Mon, 15 Mar 2021 17:06:00 +0000 (18:06 +0100)]
No need to futz with the VTK flags in step-15.

3 years agoMerge pull request #11903 from jppelteret/scratch_data_03
Wolfgang Bangerth [Mon, 15 Mar 2021 09:39:42 +0000 (10:39 +0100)]
Merge pull request #11903 from jppelteret/scratch_data_03

Add some tests for the MeshWorker::ScratchData::get_*() functions

3 years agoMerge pull request #11901 from peterrum/reset_global_cell_indices_fix
Martin Kronbichler [Mon, 15 Mar 2021 08:15:22 +0000 (09:15 +0100)]
Merge pull request #11901 from peterrum/reset_global_cell_indices_fix

Fix TriangulationBase::reset_global_cell_indices()

3 years agoMerge pull request #11897 from jppelteret/scratch_data_01
Martin Kronbichler [Mon, 15 Mar 2021 08:14:33 +0000 (09:14 +0100)]
Merge pull request #11897 from jppelteret/scratch_data_01

Add const version of MeshWorker::ScratchData::get_general_data_storage()

3 years agoMerge pull request #11909 from bangerth/grammar-2
Peter Munch [Mon, 15 Mar 2021 08:12:12 +0000 (09:12 +0100)]
Merge pull request #11909 from bangerth/grammar-2

Fix grammar.

3 years agoAdd tests for MeshWorker::ScratchData::get_* 11903/head
Jean-Paul Pelteret [Sat, 13 Mar 2021 18:22:31 +0000 (19:22 +0100)]
Add tests for MeshWorker::ScratchData::get_*

3 years agoFix TriangulationBase::reset_global_cell_indices() 11901/head
Peter Munch [Sat, 13 Mar 2021 14:14:47 +0000 (15:14 +0100)]
Fix TriangulationBase::reset_global_cell_indices()

3 years agoMerge pull request #11905 from marcfehling/fix-prep-shared
Wolfgang Bangerth [Sun, 14 Mar 2021 15:26:47 +0000 (16:26 +0100)]
Merge pull request #11905 from marcfehling/fix-prep-shared

Fix refinement flags in mpi/prepare_coarsening_and_refinement_03().

3 years agoFix grammar. 11909/head
Wolfgang Bangerth [Sun, 14 Mar 2021 15:15:18 +0000 (16:15 +0100)]
Fix grammar.

3 years agoMerge pull request #11898 from jppelteret/scratch_data_02
Martin Kronbichler [Sun, 14 Mar 2021 15:02:48 +0000 (16:02 +0100)]
Merge pull request #11898 from jppelteret/scratch_data_02

Add get_laplacians to MeshWorker::ScratchData

3 years agoMerge pull request #11907 from bangerth/error-2
Martin Kronbichler [Sun, 14 Mar 2021 15:00:49 +0000 (16:00 +0100)]
Merge pull request #11907 from bangerth/error-2

Fix a space issue in an exception text.

3 years agoMerge pull request #11899 from jppelteret/sd_product_type_01
Wolfgang Bangerth [Sun, 14 Mar 2021 14:18:41 +0000 (15:18 +0100)]
Merge pull request #11899 from jppelteret/sd_product_type_01

Add general product type between tensors and SD Expressions

3 years agoMerge pull request #11890 from peterrum/mg_assert
Martin Kronbichler [Sun, 14 Mar 2021 14:18:15 +0000 (15:18 +0100)]
Merge pull request #11890 from peterrum/mg_assert

Add assert that DoFCellAccessor::get/set_mg_dof_indices()

3 years agoMerge pull request #11906 from peterrum/examples_include_accessor
Martin Kronbichler [Sun, 14 Mar 2021 14:17:27 +0000 (15:17 +0100)]
Merge pull request #11906 from peterrum/examples_include_accessor

Remove includes from tutorials

3 years agoFix a space issue in an exception text. 11907/head
Wolfgang Bangerth [Fri, 5 Mar 2021 01:21:27 +0000 (02:21 +0100)]
Fix a space issue in an exception text.

3 years agoAdd assert that DoFCellAccessor::get/set_mg_dof_indices() 11890/head
Peter Munch [Fri, 12 Mar 2021 10:38:07 +0000 (11:38 +0100)]
Add assert that DoFCellAccessor::get/set_mg_dof_indices()

3 years agoRemove include files 11906/head
Peter Munch [Sun, 14 Mar 2021 12:19:17 +0000 (13:19 +0100)]
Remove include files

3 years agoFix refinement flags in mpi/prepare_coarsening_and_refinement_03(). 11905/head
Marc Fehling [Sun, 14 Mar 2021 03:46:10 +0000 (20:46 -0700)]
Fix refinement flags in mpi/prepare_coarsening_and_refinement_03().

3 years agoMerge pull request #11895 from peterrum/step74_fix_latex_format
Jean-Paul Pelteret [Sat, 13 Mar 2021 13:26:30 +0000 (14:26 +0100)]
Merge pull request #11895 from peterrum/step74_fix_latex_format

Step 74: fix latex formatting

3 years agoSD Product types: Add general product type between tensors and SD Expressions 11899/head
Jean-Paul Pelteret [Sat, 6 Feb 2021 20:23:02 +0000 (21:23 +0100)]
SD Product types: Add general product type between tensors and SD Expressions

3 years agoAdd get_laplacians to MeshWorker::ScratchData 11898/head
Jean-Paul Pelteret [Mon, 11 Jan 2021 20:43:44 +0000 (21:43 +0100)]
Add get_laplacians to MeshWorker::ScratchData

3 years agoAdd const version of MeshWorker::ScratchData::get_general_data_storage() 11897/head
Jean-Paul Pelteret [Sat, 30 Jan 2021 20:56:48 +0000 (21:56 +0100)]
Add const version of MeshWorker::ScratchData::get_general_data_storage()

3 years agoRearrange some code.
David Wells [Fri, 12 Mar 2021 23:33:45 +0000 (18:33 -0500)]
Rearrange some code.

ZeroFunction inherits from ConstantFunction so it logically should be defined
afterwards.

3 years agoStep 74: fix latex formating 11895/head
Peter Munch [Fri, 12 Mar 2021 21:46:17 +0000 (22:46 +0100)]
Step 74: fix latex formating

3 years agoMerge pull request #11893 from peterrum/dofhandler_explicit
Daniel Arndt [Fri, 12 Mar 2021 19:04:55 +0000 (14:04 -0500)]
Merge pull request #11893 from peterrum/dofhandler_explicit

Make constructor of DoFHandler explicit

3 years agoMake constructor of DoFHandler explicit 11893/head
Peter Munch [Fri, 12 Mar 2021 16:27:26 +0000 (17:27 +0100)]
Make constructor of DoFHandler explicit

3 years agoMerge pull request #11891 from peterrum/get_dof_indices_comment
Daniel Arndt [Fri, 12 Mar 2021 13:34:59 +0000 (08:34 -0500)]
Merge pull request #11891 from peterrum/get_dof_indices_comment

Remove outdated comment of DoFCellAccessor::get_dof_indices()

3 years agoMerge pull request #11867 from peterrum/mapping_q_cache_init
Martin Kronbichler [Fri, 12 Mar 2021 11:56:25 +0000 (12:56 +0100)]
Merge pull request #11867 from peterrum/mapping_q_cache_init

Add new MappingQCache::initialize() function

3 years agoRemove outdated comment of DoFCellAccessor::get_dof_indices() 11891/head
Peter Munch [Fri, 12 Mar 2021 10:43:49 +0000 (11:43 +0100)]
Remove outdated comment of DoFCellAccessor::get_dof_indices()

3 years agoMerge pull request #11887 from bangerth/doc-90
Daniel Arndt [Fri, 12 Mar 2021 03:32:44 +0000 (22:32 -0500)]
Merge pull request #11887 from bangerth/doc-90

Update documentation about an MPI 3.x feature.

3 years agoMerge pull request #11883 from bangerth/error
Bruno Turcksin [Fri, 12 Mar 2021 02:10:34 +0000 (21:10 -0500)]
Merge pull request #11883 from bangerth/error

3 years agoFix a poorly written and dysfunctional assert condition. 11883/head
Wolfgang Bangerth [Thu, 11 Mar 2021 21:49:31 +0000 (22:49 +0100)]
Fix a poorly written and dysfunctional assert condition.

3 years agoMerge pull request #11885 from bangerth/doc-89
Martin Kronbichler [Thu, 11 Mar 2021 19:39:58 +0000 (20:39 +0100)]
Merge pull request #11885 from bangerth/doc-89

Update documentation to make it clearer.

3 years agoUpdate documentation about an MPI 3.x feature. 11887/head
Wolfgang Bangerth [Thu, 11 Mar 2021 16:36:52 +0000 (17:36 +0100)]
Update documentation about an MPI 3.x feature.

3 years agoAdd new MappingQCache::initialize() function 11867/head
Peter Munch [Mon, 8 Mar 2021 12:24:56 +0000 (13:24 +0100)]
Add new MappingQCache::initialize() function

3 years agoUpdate documentation to make it clearer. 11885/head
Wolfgang Bangerth [Thu, 11 Mar 2021 13:43:57 +0000 (14:43 +0100)]
Update documentation to make it clearer.

3 years agoMerge pull request #11877 from marcfehling/limit-levels-children
Wolfgang Bangerth [Thu, 11 Mar 2021 13:43:17 +0000 (14:43 +0100)]
Merge pull request #11877 from marcfehling/limit-levels-children

Support subfaces for DoFHandler::prepare_coarsening_and_refinement().

3 years agoMerge pull request #11830 from adamqc/fix-fe-series-non-primitive
Wolfgang Bangerth [Thu, 11 Mar 2021 13:42:35 +0000 (14:42 +0100)]
Merge pull request #11830 from adamqc/fix-fe-series-non-primitive

Fix FESeries with non-primitive FEs.

3 years agoMerge pull request #11880 from peterrum/get_position_vector
Wolfgang Bangerth [Thu, 11 Mar 2021 13:41:13 +0000 (14:41 +0100)]
Merge pull request #11880 from peterrum/get_position_vector

VectorTools::get_position_vector(): add mapping as argument

3 years agoMerge pull request #11878 from peterrum/chang_log_entry_date
Wolfgang Bangerth [Thu, 11 Mar 2021 12:02:29 +0000 (13:02 +0100)]
Merge pull request #11878 from peterrum/chang_log_entry_date

Fix date of change-log entry

3 years agoFix date of change-log entry 11878/head
Peter Munch [Wed, 10 Mar 2021 20:02:16 +0000 (21:02 +0100)]
Fix date of change-log entry

3 years agoImprove an error message.
Wolfgang Bangerth [Thu, 11 Mar 2021 10:59:11 +0000 (11:59 +0100)]
Improve an error message.

3 years agoMerge pull request #11414 from konsim83/issue_div_curl_face_edge_orientation
Wolfgang Bangerth [Thu, 11 Mar 2021 10:57:16 +0000 (11:57 +0100)]
Merge pull request #11414 from konsim83/issue_div_curl_face_edge_orientation

Raviart-Thomas orientation and permutation issue

3 years agoVectorTools::get_position_vector(): add mapping as argument 11880/head
Peter Munch [Wed, 10 Mar 2021 21:02:19 +0000 (22:02 +0100)]
VectorTools::get_position_vector(): add mapping as argument

3 years agoMerge pull request #11881 from marcfehling/simplify-prepare
Martin Kronbichler [Thu, 11 Mar 2021 09:11:58 +0000 (10:11 +0100)]
Merge pull request #11881 from marcfehling/simplify-prepare

Simplify DoFHandler::prepare_coarsening_and_refinement().

3 years agoSimplify DoFHandler::prepare_coarsening_and_refinement(). 11881/head
Marc Fehling [Thu, 11 Mar 2021 05:13:39 +0000 (22:13 -0700)]
Simplify DoFHandler::prepare_coarsening_and_refinement().

3 years agoGet rid of the lambda function. 11877/head
Marc Fehling [Thu, 11 Mar 2021 03:44:19 +0000 (20:44 -0700)]
Get rid of the lambda function.

3 years agoFix FESeries with non-primitive FEs. 11830/head
Ce Qin [Sun, 21 Feb 2021 02:44:59 +0000 (10:44 +0800)]
Fix FESeries with non-primitive FEs.

3 years agoSupport subfaces for DoFHandler::prepare_coarsening_and_refinement().
Marc Fehling [Tue, 9 Mar 2021 03:01:35 +0000 (20:01 -0700)]
Support subfaces for DoFHandler::prepare_coarsening_and_refinement().

3 years agoMerge pull request #11857 from marcfehling/limit-levels-parallel
Peter Munch [Wed, 10 Mar 2021 17:10:41 +0000 (18:10 +0100)]
Merge pull request #11857 from marcfehling/limit-levels-parallel

Parallelize DoFHandler::prepare_coarsening_and_refinement().

3 years agoMerge pull request #11416 from peterrum/step12b_simplex
Wolfgang Bangerth [Wed, 10 Mar 2021 11:58:50 +0000 (12:58 +0100)]
Merge pull request #11416 from peterrum/step12b_simplex

Simplex/pyramid/wedge: add DG test

3 years agoEnable mixed meshes for MF and DG 11416/head
Peter Munch [Sat, 19 Dec 2020 14:47:41 +0000 (15:47 +0100)]
Enable mixed meshes for MF and DG

3 years agoMerge pull request #11876 from Rombur/deleter
Martin Kronbichler [Wed, 10 Mar 2021 06:20:53 +0000 (07:20 +0100)]
Merge pull request #11876 from Rombur/deleter

Deleter takes a pointer not a reference

3 years agoDeleter takes a pointer not a reference 11876/head
Bruno Turcksin [Wed, 10 Mar 2021 03:35:49 +0000 (03:35 +0000)]
Deleter takes a pointer not a reference

3 years agoHotfix: dealii::Vector does not accept integral types. 11857/head
Marc Fehling [Wed, 10 Mar 2021 02:11:45 +0000 (19:11 -0700)]
Hotfix: dealii::Vector does not accept integral types.

3 years agoParallelize DoFHandler::prepare_coarsening_and_refinement().
Marc Fehling [Sat, 6 Mar 2021 04:30:16 +0000 (21:30 -0700)]
Parallelize DoFHandler::prepare_coarsening_and_refinement().

3 years agoMerge pull request #11873 from peterrum/gc-assert
Daniel Arndt [Tue, 9 Mar 2021 22:29:25 +0000 (17:29 -0500)]
Merge pull request #11873 from peterrum/gc-assert

MGTransferGlobalCoarsening: add assert

3 years agoMGTransferGlobalCoarsening: add assert 11873/head
Peter Munch [Tue, 9 Mar 2021 07:39:42 +0000 (08:39 +0100)]
MGTransferGlobalCoarsening: add assert

3 years agoMerge pull request #11400 from peterrum/mapping_info_qcollection
Martin Kronbichler [Tue, 9 Mar 2021 19:53:23 +0000 (20:53 +0100)]
Merge pull request #11400 from peterrum/mapping_info_qcollection

Use QCollection within MappingInfo::initialize

3 years agoMerge pull request #11874 from nfehn/active_cell_index_partitioner
Martin Kronbichler [Tue, 9 Mar 2021 11:54:21 +0000 (12:54 +0100)]
Merge pull request #11874 from nfehn/active_cell_index_partitioner

fix compilation error in tria_base.cc

3 years agofix compilation error in tria_base.cc 11874/head
Niklas Fehn [Tue, 9 Mar 2021 10:28:42 +0000 (11:28 +0100)]
fix compilation error in tria_base.cc

3 years agoMerge pull request #11858 from peterrum/active_cell_index_partitioner_pst
Martin Kronbichler [Tue, 9 Mar 2021 09:55:35 +0000 (10:55 +0100)]
Merge pull request #11858 from peterrum/active_cell_index_partitioner_pst

Enable set up of active_cell_index_partitioner for p:s:T

3 years agoMerge pull request #11872 from bangerth/grammar
Peter Munch [Tue, 9 Mar 2021 07:43:30 +0000 (08:43 +0100)]
Merge pull request #11872 from bangerth/grammar

Fix a grammar issue.

3 years agoMerge pull request #11859 from peterrum/active_cell_index_partitioner_shared_ptr
Peter Munch [Tue, 9 Mar 2021 07:05:13 +0000 (08:05 +0100)]
Merge pull request #11859 from peterrum/active_cell_index_partitioner_shared_ptr

Make active_cell_index_partitioner to std::shared_ptr

3 years agoMerge pull request #11784 from drwells/fix-vtk-output-orientation
Bruno Turcksin [Tue, 9 Mar 2021 03:00:32 +0000 (22:00 -0500)]
Merge pull request #11784 from drwells/fix-vtk-output-orientation

3 years agoMerge pull request #11863 from marcfehling/fe-index-type
Peter Munch [Mon, 8 Mar 2021 21:48:39 +0000 (22:48 +0100)]
Merge pull request #11863 from marcfehling/fe-index-type

Use correct type for FE indices in DoFH::communicate_active_fe_indices().

3 years agoMake active_cell_index_partitioner to std::shared_ptr 11859/head
Peter Munch [Sat, 6 Mar 2021 08:39:40 +0000 (09:39 +0100)]
Make active_cell_index_partitioner to std::shared_ptr

3 years agoFix a grammar issue. 11872/head
Wolfgang Bangerth [Mon, 8 Mar 2021 21:41:11 +0000 (22:41 +0100)]
Fix a grammar issue.

3 years agoMerge pull request #11870 from drwells/fix-line-indices
Daniel Arndt [Mon, 8 Mar 2021 21:30:45 +0000 (16:30 -0500)]
Merge pull request #11870 from drwells/fix-line-indices

Fix a hardcoded number of lines.

3 years agoFix the output order of VTK cells. 11784/head
David Wells [Fri, 19 Feb 2021 20:46:27 +0000 (15:46 -0500)]
Fix the output order of VTK cells.

This commit fixes the volume (previously, volumes were off by a factor of -1) of
hexahedra written by GridOut::write_vtk.

Fixing this uncovered a second bug with the way we read in VTK grids - the
vertices were read in as though they were in the UCD format, but VTK uses a
different format where the z = 0 vertices are ordered (using deal.II's
convention) as 0 - 1 - 3 - 2 and the z = 1 vertices are numbered as 4 - 5 - 7 -
6. This had to be fixed in such a way that GridOut composed with GridIn remained
idempotent. Hence, we now correctly renumber each VTK quad and hex to correspond
with the lexical (deal.II 6.0 and newer) nodal numbering.

Fixing this uncovered a (minor) third bug (though its one we talked about at the
workshop in 2019) where GridReordering::invert_all_cells_of_negative_grid
assumes its inputs are still ordered with UCD. To preserve reading of VTK grids
where some cells are flipped that function was updated to understand inputs
numbered lexically.

3 years agoFix an exception message.
David Wells [Sat, 20 Feb 2021 14:21:54 +0000 (09:21 -0500)]
Fix an exception message.


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.