]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
7 years agoMerge pull request #4594 from drwells/nedelec-umfpack-tests
Wolfgang Bangerth [Sun, 9 Jul 2017 19:59:48 +0000 (13:59 -0600)]
Merge pull request #4594 from drwells/nedelec-umfpack-tests

Require UMFPACK explicitly in some Nedelec element tests.

7 years agoRequire UMFPACK explicitly in some Nedelec element tests. 4594/head
David Wells [Sun, 9 Jul 2017 18:05:16 +0000 (14:05 -0400)]
Require UMFPACK explicitly in some Nedelec element tests.

7 years agoMerge pull request #4591 from drwells/mappingmanifold-1d
Wolfgang Bangerth [Sun, 9 Jul 2017 15:50:56 +0000 (09:50 -0600)]
Merge pull request #4591 from drwells/mappingmanifold-1d

Change MappingManifold<1, spacedim> to use face manifolds.

7 years agoMerge pull request #4590 from drwells/detemplatize-copy-from
Wolfgang Bangerth [Sun, 9 Jul 2017 15:49:54 +0000 (09:49 -0600)]
Merge pull request #4590 from drwells/detemplatize-copy-from

de-templatize SparsityPattern::copy_from.

7 years agoMerge pull request #4588 from bangerth/simplify-declaration
Daniel Arndt [Sun, 9 Jul 2017 13:46:54 +0000 (15:46 +0200)]
Merge pull request #4588 from bangerth/simplify-declaration

Simplify the template signature of DoFRenumbering::compute_component_wise().

7 years agoChange MappingManifold<1, spacedim> to use face manifolds. 4591/head
David Wells [Sat, 8 Jul 2017 18:25:06 +0000 (14:25 -0400)]
Change MappingManifold<1, spacedim> to use face manifolds.

As of db5ea0f52db we support get_manifold on 1D manifolds, so we can look up the
manifold on a 1D face in a dimension-independent way. This is a slight change
from the current behavior, but using Manifolds in 1D is a very obscure use case.

7 years agode-templatize SparsityPattern::copy_from. 4590/head
David Wells [Fri, 7 Jul 2017 23:52:28 +0000 (19:52 -0400)]
de-templatize SparsityPattern::copy_from.

This template is instantiated for only SparsityPattern and is overloaded for
DynamicSparsityPattern, so it is a bit simpler to just overload a non-template
method.

7 years agoMerge pull request #4578 from bangerth/dofhandler-cleanup
David Wells [Sat, 8 Jul 2017 14:56:40 +0000 (10:56 -0400)]
Merge pull request #4578 from bangerth/dofhandler-cleanup

Move distributing DoF indices from hp::DoFHandler to the policy class.

7 years agoMerge pull request #4589 from bangerth/doc-update
Matthias Maier [Sat, 8 Jul 2017 14:11:47 +0000 (09:11 -0500)]
Merge pull request #4589 from bangerth/doc-update

Minor update to a glossary entry.

7 years agoMinor update to a glossary entry. 4589/head
Wolfgang Bangerth [Sat, 8 Jul 2017 13:45:13 +0000 (07:45 -0600)]
Minor update to a glossary entry.

7 years agoAdd a changelog entry. 4588/head
Wolfgang Bangerth [Sat, 8 Jul 2017 13:44:21 +0000 (07:44 -0600)]
Add a changelog entry.

7 years agoSimplify the template signature of DoFRenumbering::compute_component_wise().
Wolfgang Bangerth [Sat, 8 Jul 2017 13:44:13 +0000 (07:44 -0600)]
Simplify the template signature of DoFRenumbering::compute_component_wise().

We previously had two template arguments because the types of, for example,
DoFHandler::begin_active() and DoFHandler::end() are different. But this makes
no sense. Just cast the end iterator to the same type as the begin iterator.

7 years agoMerge pull request #4586 from bangerth/add-test
Wolfgang Bangerth [Sat, 8 Jul 2017 03:43:51 +0000 (21:43 -0600)]
Merge pull request #4586 from bangerth/add-test

Add a shared::tria test where one processor has no cells.

7 years agoMerge pull request #4585 from bangerth/unify-function
David Wells [Sat, 8 Jul 2017 02:32:46 +0000 (22:32 -0400)]
Merge pull request #4585 from bangerth/unify-function

Unify the implementation of two functions.

7 years agoMerge pull request #4584 from bangerth/update-tests
David Wells [Sat, 8 Jul 2017 02:32:13 +0000 (22:32 -0400)]
Merge pull request #4584 from bangerth/update-tests

Update a couple of tests.

7 years agoMerge pull request #4583 from drwells/generalize-fallthrough-attribute
Daniel Arndt [Fri, 7 Jul 2017 21:07:57 +0000 (23:07 +0200)]
Merge pull request #4583 from drwells/generalize-fallthrough-attribute

Add a more general fallthrough attribute.

7 years agoAdd a shared::tria test where one processor has no cells. 4586/head
Wolfgang Bangerth [Thu, 6 Jul 2017 20:02:21 +0000 (14:02 -0600)]
Add a shared::tria test where one processor has no cells.

7 years agoAdd a changelog entry. 4585/head
Wolfgang Bangerth [Fri, 7 Jul 2017 20:07:57 +0000 (14:07 -0600)]
Add a changelog entry.

7 years agoUnify the implementation of two functions.
Wolfgang Bangerth [Thu, 6 Jul 2017 21:27:26 +0000 (15:27 -0600)]
Unify the implementation of two functions.

7 years agoRemove unnecessary #include files. 4584/head
Wolfgang Bangerth [Thu, 6 Jul 2017 20:09:05 +0000 (14:09 -0600)]
Remove unnecessary #include files.

7 years agoRemove outdated svn version markers.
Wolfgang Bangerth [Thu, 6 Jul 2017 20:07:18 +0000 (14:07 -0600)]
Remove outdated svn version markers.

7 years agoAdd a more general fallthrough attribute. 4583/head
David Wells [Fri, 7 Jul 2017 19:23:41 +0000 (15:23 -0400)]
Add a more general fallthrough attribute.

GCC7 raises implicit fallthrough warnings in a lot of places when we
compile without C++17 support. This patch adds a second check for the
GCC extension `__attribute__((fallthrough))` that works in C++11 and
C++14 and fixes these warnings.

7 years agoMerge pull request #4582 from masterleinad/fix_serialize_hp
Wolfgang Bangerth [Fri, 7 Jul 2017 16:30:20 +0000 (10:30 -0600)]
Merge pull request #4582 from masterleinad/fix_serialize_hp

Fix serialize_hp_dof_handler

7 years agoFix serialize_hp_dof_handler 4582/head
Daniel Arndt [Fri, 7 Jul 2017 13:57:59 +0000 (15:57 +0200)]
Fix serialize_hp_dof_handler

7 years agoMerge pull request #4580 from jppelteret/fix_missing_header_01
Denis Davydov [Fri, 7 Jul 2017 06:36:49 +0000 (08:36 +0200)]
Merge pull request #4580 from jppelteret/fix_missing_header_01

Add missing header to tests/physics/step-44*

7 years agoAdd missing header to tests/physics/step-44* 4580/head
Jean-Paul Pelteret [Fri, 7 Jul 2017 05:23:53 +0000 (07:23 +0200)]
Add missing header to tests/physics/step-44*

7 years agoRewrap all comments in this file. 4578/head
Wolfgang Bangerth [Thu, 6 Jul 2017 18:55:05 +0000 (12:55 -0600)]
Rewrap all comments in this file.

This saves ~200 lines of code.

7 years agoRun some operations in parallel.
Wolfgang Bangerth [Thu, 6 Jul 2017 16:49:25 +0000 (10:49 -0600)]
Run some operations in parallel.

7 years agoLet some functions return data, rather than fill a reference argument.
Wolfgang Bangerth [Thu, 6 Jul 2017 16:44:21 +0000 (10:44 -0600)]
Let some functions return data, rather than fill a reference argument.

Also change the data structure that is being filled.

7 years agoAlso move identifying DoFs into the policy classes.
Wolfgang Bangerth [Tue, 4 Jul 2017 21:11:13 +0000 (15:11 -0600)]
Also move identifying DoFs into the policy classes.

7 years agoRestrict work on vertices to those that are actually used.
Wolfgang Bangerth [Mon, 3 Jul 2017 03:46:49 +0000 (21:46 -0600)]
Restrict work on vertices to those that are actually used.

7 years agoMove the main part of distributing hp DoFs to the policy.
Wolfgang Bangerth [Mon, 3 Jul 2017 00:43:47 +0000 (18:43 -0600)]
Move the main part of distributing hp DoFs to the policy.

7 years agoSimplify code a bit.
Wolfgang Bangerth [Mon, 3 Jul 2017 00:17:01 +0000 (18:17 -0600)]
Simplify code a bit.

7 years agoMerge pull request #4568 from tamiko/remove_iterative_inverse
Bruno Turcksin [Thu, 6 Jul 2017 12:38:35 +0000 (08:38 -0400)]
Merge pull request #4568 from tamiko/remove_iterative_inverse

Remove IterativeInverse class

7 years agoMerge pull request #4576 from tjhei/remove_warning
Luca Heltai [Thu, 6 Jul 2017 11:37:42 +0000 (13:37 +0200)]
Merge pull request #4576 from tjhei/remove_warning

remove a compiler warning

7 years agoMerge pull request #4575 from tjhei/disable_petsc_handler
Luca Heltai [Thu, 6 Jul 2017 11:37:14 +0000 (13:37 +0200)]
Merge pull request #4575 from tjhei/disable_petsc_handler

Disable PETSc exception handling

7 years agoremove a compiler warning 4576/head
Timo Heister [Thu, 6 Jul 2017 08:37:14 +0000 (10:37 +0200)]
remove a compiler warning

7 years agoDisable PETSc exception handling 4575/head
Timo Heister [Thu, 6 Jul 2017 08:35:32 +0000 (10:35 +0200)]
Disable PETSc exception handling

Disable PETSc exception handling. This just prints a large wall
of text that is not particularly helpful for what we do.

7 years agoMerge pull request #4571 from bangerth/doc-update
Bruno Turcksin [Wed, 5 Jul 2017 17:52:02 +0000 (13:52 -0400)]
Merge pull request #4571 from bangerth/doc-update

Better document VectorTools::create_point_source_vector().

7 years agoBetter document VectorTools::create_point_source_vector(). 4571/head
Wolfgang Bangerth [Mon, 3 Jul 2017 21:56:24 +0000 (15:56 -0600)]
Better document VectorTools::create_point_source_vector().

7 years agoMerge pull request #4570 from jppelteret/fullmatrix_left_right_invert_01
Denis Davydov [Wed, 5 Jul 2017 08:29:06 +0000 (10:29 +0200)]
Merge pull request #4570 from jppelteret/fullmatrix_left_right_invert_01

Fix FullMatrix left/right inversion

7 years agoFix FullMatrix left_ and right_invert for square matrices 4570/head
Jean-Paul Pelteret [Mon, 3 Jul 2017 08:12:30 +0000 (10:12 +0200)]
Fix FullMatrix left_ and right_invert for square matrices

7 years agoAdd determinant calculation for FullMatrix and LAPACKMatrix
Jean-Paul Pelteret [Mon, 3 Jul 2017 06:20:38 +0000 (08:20 +0200)]
Add determinant calculation for FullMatrix and LAPACKMatrix

7 years agoMerge pull request #4566 from bangerth/dofhandler-cleanup
Denis Davydov [Tue, 4 Jul 2017 11:05:12 +0000 (13:05 +0200)]
Merge pull request #4566 from bangerth/dofhandler-cleanup

Move hp::DoFHandler::renumber_dofs() functionality to the policy class.

7 years agoMerge pull request #4573 from tjhei/trilinos_block_jacobi_no_rows
Denis Davydov [Tue, 4 Jul 2017 11:04:12 +0000 (13:04 +0200)]
Merge pull request #4573 from tjhei/trilinos_block_jacobi_no_rows

Fix TrilinosWrappers::PreconditionBlock* with no local rows

7 years agoFix TrilinosWrappers::PreconditionBlock* with no local rows 4573/head
Timo Heister [Tue, 4 Jul 2017 07:53:40 +0000 (09:53 +0200)]
Fix TrilinosWrappers::PreconditionBlock* with no local rows

work around the ifpack error by pretending to use a point smoother on
processors without any local rows.

7 years agoAdd missing header to step-44 4568/head
Jean-Paul Pelteret [Tue, 4 Jul 2017 07:38:50 +0000 (09:38 +0200)]
Add missing header to step-44

7 years agoMerge pull request #4572 from bangerth/remove-todo
Denis Davydov [Tue, 4 Jul 2017 07:28:03 +0000 (09:28 +0200)]
Merge pull request #4572 from bangerth/remove-todo

Remove a TODO.

7 years agoRemove a TODO. 4572/head
Wolfgang Bangerth [Mon, 3 Jul 2017 21:58:45 +0000 (15:58 -0600)]
Remove a TODO.

The TODO isn't really addressed, but previous to #4560, the functions
in question simply did the wrong thing, whereas since #4560, we at
least get an ExcNotImplemented().

7 years agoBugfix: Remove unnecessary "iterative_inverse.h" include
Matthias Maier [Mon, 3 Jul 2017 10:07:02 +0000 (05:07 -0500)]
Bugfix: Remove unnecessary "iterative_inverse.h" include

Remove obsolete "iterative_inverse.h" includes from all tests and
example steps.

7 years agomake broken astyle-2.04 happy
Matthias Maier [Sun, 2 Jul 2017 21:28:35 +0000 (16:28 -0500)]
make broken astyle-2.04 happy

7 years agoTests: Remove unused solver_control_lin
Matthias Maier [Sun, 2 Jul 2017 21:08:27 +0000 (16:08 -0500)]
Tests: Remove unused solver_control_lin

7 years agodoc: Update news/changes placeholder
Matthias Maier [Sun, 2 Jul 2017 17:41:46 +0000 (12:41 -0500)]
doc: Update news/changes placeholder

7 years agoport arpack/tep-36_parpack_trilinos to inverse_operator
Matthias Maier [Sun, 2 Jul 2017 17:37:19 +0000 (12:37 -0500)]
port arpack/tep-36_parpack_trilinos to inverse_operator

7 years agoPort arpack/parpack_advection_diffusion_trilinos to use inverse_operator
Matthias Maier [Sun, 2 Jul 2017 17:32:28 +0000 (12:32 -0500)]
Port arpack/parpack_advection_diffusion_trilinos to use inverse_operator

7 years agoPort arpack/step-36_parpack_mf to use inverse_operator
Matthias Maier [Sun, 2 Jul 2017 17:20:13 +0000 (12:20 -0500)]
Port arpack/step-36_parpack_mf to use inverse_operator

7 years agoBugfix: Add ReinitHelper for LinearAlgebra::distributed::Vector
Matthias Maier [Sun, 2 Jul 2017 16:28:19 +0000 (11:28 -0500)]
Bugfix: Add ReinitHelper for LinearAlgebra::distributed::Vector

Add a ReinitHelper that correctly initializes a
LinearAlgebra::distributed::Vector from available partition information
of a Matrix object.

7 years agotestsuite: remove iterative_inverse from a test
Matthias Maier [Wed, 28 Jun 2017 19:05:57 +0000 (14:05 -0500)]
testsuite: remove iterative_inverse from a test

7 years agodoc: Remove and update references to IterativeInverse
Matthias Maier [Wed, 28 Jun 2017 11:48:12 +0000 (06:48 -0500)]
doc: Remove and update references to IterativeInverse

7 years agolac: Remove deprecated IterativeInverse
Matthias Maier [Wed, 28 Jun 2017 11:47:23 +0000 (06:47 -0500)]
lac: Remove deprecated IterativeInverse

This class is superseded by the LinearOperator framework.

7 years agoMerge pull request #4569 from tamiko/deprecate_parpack_shift
Matthias Maier [Mon, 3 Jul 2017 10:03:26 +0000 (05:03 -0500)]
Merge pull request #4569 from tamiko/deprecate_parpack_shift

Deprecate ParpackSolver::Shift

7 years agoadd a news/changes entry 4569/head
Matthias Maier [Mon, 3 Jul 2017 10:01:52 +0000 (05:01 -0500)]
add a news/changes entry

7 years agoDeprecate ParpackSolver::Shift
Matthias Maier [Sun, 2 Jul 2017 17:48:17 +0000 (12:48 -0500)]
Deprecate ParpackSolver::Shift

7 years agoSimplify two exceptions. 4566/head
Wolfgang Bangerth [Sun, 2 Jul 2017 17:04:16 +0000 (11:04 -0600)]
Simplify two exceptions.

7 years agoMove the DoF renumbering functionality.
Wolfgang Bangerth [Sat, 1 Jul 2017 07:20:12 +0000 (01:20 -0600)]
Move the DoF renumbering functionality.

Specifically, move it out of the DoFHandler class and into the policy class
where it can use shared infrastructure.

7 years agoMake a class a friend.
Wolfgang Bangerth [Wed, 28 Jun 2017 01:17:30 +0000 (19:17 -0600)]
Make a class a friend.

7 years agoProvide the hp::DoFHandler class with a policy object.
Wolfgang Bangerth [Tue, 27 Jun 2017 14:23:05 +0000 (08:23 -0600)]
Provide the hp::DoFHandler class with a policy object.

7 years agoMerge pull request #4560 from bangerth/more-dofhandler-work
Martin Kronbichler [Sat, 1 Jul 2017 20:46:41 +0000 (22:46 +0200)]
Merge pull request #4560 from bangerth/more-dofhandler-work

More DoFHandler work

7 years agoMerge pull request #4564 from bangerth/improve-mg-vertex-dof-storage
Martin Kronbichler [Sat, 1 Jul 2017 15:12:38 +0000 (17:12 +0200)]
Merge pull request #4564 from bangerth/improve-mg-vertex-dof-storage

Improve the storage of MG vertex dofs.

7 years agoUse a smart pointer instead of a raw pointer. 4564/head
Wolfgang Bangerth [Sat, 1 Jul 2017 05:28:12 +0000 (23:28 -0600)]
Use a smart pointer instead of a raw pointer.

Note that std::unique_ptr<T[]> automatically calls operator delete[]
upon destruction.

7 years agoImprove the storage of MG vertex dofs.
Wolfgang Bangerth [Sat, 1 Jul 2017 05:23:04 +0000 (23:23 -0600)]
Improve the storage of MG vertex dofs.

The DoF indices for a vertex are stored in an array where we just
collate the indices for each level. There is currently another
array that stors the offset within this array where the DoFs
for a given level start. This array is dynamically allocated,
but it is altogether unnecessary because the offsets are computable:
they are simply the number of the multigrid level times
dofs_per_vertex.

Consequently, get rid of the array and replace it by storing dofs_per_vertex.
We can then easily compute the starting offset wherever necessary, rather than
having to look it up.

7 years agoMerge pull request #4561 from bangerth/simplify-code
David Wells [Sat, 1 Jul 2017 04:24:27 +0000 (00:24 -0400)]
Merge pull request #4561 from bangerth/simplify-code

Simplify a function.

7 years agoSimplify a function. 4561/head
Wolfgang Bangerth [Fri, 30 Jun 2017 20:01:32 +0000 (14:01 -0600)]
Simplify a function.

The hp DoF renumbering function for the <3,3> case was unnecessarily
convoluted because it tried to look just like the functions that
deal with faces of higher dimensional cells. But we know that in <3,3>,
a hex is a cell, and so there can only be one finite element associated
with the cell. This allows simplifying a fair share of code.

7 years agoMerge pull request #4562 from bangerth/improve-error
David Wells [Fri, 30 Jun 2017 23:23:30 +0000 (19:23 -0400)]
Merge pull request #4562 from bangerth/improve-error

Improve an error message.

7 years agoUpdate fe_values.cc 4562/head
Wolfgang Bangerth [Fri, 30 Jun 2017 20:23:13 +0000 (14:23 -0600)]
Update fe_values.cc

7 years agoMerge pull request #4563 from bangerth/fix-grammar
David Wells [Fri, 30 Jun 2017 20:17:42 +0000 (16:17 -0400)]
Merge pull request #4563 from bangerth/fix-grammar

Fix the grammar of a comment.

7 years agoFix the grammar of a comment. 4563/head
Wolfgang Bangerth [Fri, 30 Jun 2017 20:05:05 +0000 (14:05 -0600)]
Fix the grammar of a comment.

7 years agoImprove an error message.
Wolfgang Bangerth [Fri, 30 Jun 2017 20:03:44 +0000 (14:03 -0600)]
Improve an error message.

7 years agoLet DoFHandler mg renumbering call the policy. 4560/head
Wolfgang Bangerth [Fri, 30 Jun 2017 17:45:05 +0000 (11:45 -0600)]
Let DoFHandler mg renumbering call the policy.

Currently, the code is duplicated between the DoFHandler and the policy
class. This makes no sense, and indeed the policy class code is more
evolved, so let the former call the latter following exposing the
interface in the previous patch.

The existing code in DoFHandler looks like it did not actually support
parallel triangulations (either shared or distributed). This was
probably a bug, and consequently the implementation of the functionality
in the ParallelDistributed policy class now just throws an error.
This relates to the discussion in #4559.

7 years agoExpose the ability to renumber MG dofs in the DoFHandlerPolicy interface.
Wolfgang Bangerth [Fri, 30 Jun 2017 17:39:37 +0000 (11:39 -0600)]
Expose the ability to renumber MG dofs in the DoFHandlerPolicy interface.

7 years agoRefactor DoFHandlerPolicy::Implementation::renumber_mg_dofs().
Wolfgang Bangerth [Fri, 30 Jun 2017 16:02:36 +0000 (10:02 -0600)]
Refactor DoFHandlerPolicy::Implementation::renumber_mg_dofs().

This works in exactly the same way as the commit two up in the chain for
the renumber_dofs() function.

While there, also parallelize the function the same way as done for
renumber_dofs().

7 years agoParallelize some operations.
Wolfgang Bangerth [Fri, 30 Jun 2017 15:42:45 +0000 (09:42 -0600)]
Parallelize some operations.

The previous refactoring allows parallelizing renumbering for vertices,
cells, and faces, since these all work on mutually independent data
structures.

7 years agoRefactor DoFHandlerPolicy::Implementation::renumber_dofs().
Wolfgang Bangerth [Fri, 30 Jun 2017 15:32:39 +0000 (09:32 -0600)]
Refactor DoFHandlerPolicy::Implementation::renumber_dofs().

The 1d, 2d, and 3d implementations of these functions had most of their code
duplicated. This can be done more elegantly by instead splitting the code into
vertices, cells, and faces. The main function then becomes dimension independent,
as are the functions dealing with vertices and cells, and only the face function
requires dimensional specialization.

7 years agoMerge pull request #4558 from tamiko/cmake_fixes
Wolfgang Bangerth [Fri, 30 Jun 2017 15:24:31 +0000 (09:24 -0600)]
Merge pull request #4558 from tamiko/cmake_fixes

CMake: Two small cosmetic bugfixes

7 years agoCMake: Also remove ninja file during "make distclean" (autopilot macro) 4558/head
Matthias Maier [Fri, 30 Jun 2017 13:22:13 +0000 (08:22 -0500)]
CMake: Also remove ninja file during "make distclean" (autopilot macro)

7 years agoCMake: Concatenate subsequent compiler flag strings with a space
Matthias Maier [Fri, 30 Jun 2017 13:10:39 +0000 (08:10 -0500)]
CMake: Concatenate subsequent compiler flag strings with a space

Otherwise compilation of a target that already has compile flags and is
set up with DEAL_II_SETUP_TARGET will fail.

7 years agoMerge pull request #4549 from masterleinad/fix_timer
Martin Kronbichler [Fri, 30 Jun 2017 12:46:29 +0000 (14:46 +0200)]
Merge pull request #4549 from masterleinad/fix_timer

Fix inconsistent Timer interface

7 years agoMerge pull request #4557 from masterleinad/fix_documentation
Bruno Turcksin [Thu, 29 Jun 2017 12:27:39 +0000 (08:27 -0400)]
Merge pull request #4557 from masterleinad/fix_documentation

Fix generating doxygen output from changes.h

7 years agoFix generating doxygen output from changes.h 4557/head
Daniel Arndt [Thu, 29 Jun 2017 09:45:32 +0000 (11:45 +0200)]
Fix generating doxygen output from changes.h

7 years agoMake the sequential policy class compile for hp::DoFHandler.
Wolfgang Bangerth [Tue, 27 Jun 2017 14:22:39 +0000 (08:22 -0600)]
Make the sequential policy class compile for hp::DoFHandler.

Do so by making some code generic, and providing stubs for functions
that will be moved from the hp::DoFHandler class properly.

7 years agoMake the DoFHandler a template type of the Sequential policy.
Wolfgang Bangerth [Tue, 27 Jun 2017 14:14:53 +0000 (08:14 -0600)]
Make the DoFHandler a template type of the Sequential policy.

Also adjust all of the places where the class is used.

This change by itself is not useful, but will become useful when also
using the policy class from hp::DoFHandler. Similar changes will at a
later time be made for the ParallelShared and ParallelDistributed
policies.

7 years agoFix documentation 4549/head
Daniel Arndt [Wed, 28 Jun 2017 15:28:18 +0000 (17:28 +0200)]
Fix documentation

7 years agoUse signaling_nan's again for initialization
Daniel Arndt [Wed, 28 Jun 2017 14:59:10 +0000 (16:59 +0200)]
Use signaling_nan's again for initialization

7 years agoMerge pull request #4556 from bangerth/dofhandler-cleanup-3
Matthias Maier [Wed, 28 Jun 2017 11:17:25 +0000 (06:17 -0500)]
Merge pull request #4556 from bangerth/dofhandler-cleanup-3

Fix a wrong data type.

7 years agoMerge pull request #4555 from bangerth/style-fixes
Daniel Arndt [Wed, 28 Jun 2017 09:53:27 +0000 (11:53 +0200)]
Merge pull request #4555 from bangerth/style-fixes

Make coding style more uniform.

7 years agoMerge pull request #4554 from bangerth/dofhandler-cleanup-2
Daniel Arndt [Wed, 28 Jun 2017 08:49:45 +0000 (10:49 +0200)]
Merge pull request #4554 from bangerth/dofhandler-cleanup-2

Clean up one more DoFHandlerPolicy thing.

7 years agoFix a wrong data type. 4556/head
Wolfgang Bangerth [Wed, 28 Jun 2017 02:14:41 +0000 (20:14 -0600)]
Fix a wrong data type.

When distributing MG DoF indices, we accidentally used 'unsigned int'
instead of 'types::global_dof_index'. That's a bug. We didn't notice
this because we never have more than 4B unknowns on one processor,
and the function was only called in the parallel context to enumerate
the DoFs on the *local* portion of the mesh, before indices were
shifted after communication with other processors. Regardless, it's
worth fixing.

7 years agoMake coding style more uniform. 4555/head
Wolfgang Bangerth [Wed, 28 Jun 2017 01:38:45 +0000 (19:38 -0600)]
Make coding style more uniform.

7 years agoClean up one more DoFHandlerPolicy thing. 4554/head
Wolfgang Bangerth [Tue, 27 Jun 2017 14:48:39 +0000 (08:48 -0600)]
Clean up one more DoFHandlerPolicy thing.

We had a function with a funny comment suggesting that a compiler did not
correctly understand the code. But the comment is wrong: when the only
argument to a function that references a 'dim' or 'spacedim' template
argument is of the form
  onst typename DoFHandler<dim,spacedim>::level_cell_iterator &
then 'dim' and 'spacedim' are simply not deducible. That's how C++ works.

The function therefore had a dummy argument of type DoFHandler<dim,spacedim>
that isn't used. That's awkward, but works. But we have a way to deal
with the lack of deducibility that's used elsewhere in the library
namely internal::int2type. Use this approach here as well, and remove
the misleading comment.

7 years agoMerge pull request #4553 from bangerth/style-updates
Bruno Turcksin [Tue, 27 Jun 2017 14:36:53 +0000 (10:36 -0400)]
Merge pull request #4553 from bangerth/style-updates

Update for style.


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.