]>
https://gitweb.dealii.org/ - dealii.git/log
Matthias Maier [Fri, 14 Jul 2017 03:08:36 +0000 (22:08 -0500)]
Bugfix: Use operator exemplars for preconditioners
Further, work around an issue with MG wrappers not exposing vector space
information.
Matthias Maier [Thu, 13 Jul 2017 19:49:53 +0000 (14:49 -0500)]
make astyle happy
Matthias Maier [Thu, 13 Jul 2017 19:19:12 +0000 (14:19 -0500)]
Work around an incompatibility of MatrixBlockArray with linear_operator()
Matthias Maier [Thu, 13 Jul 2017 18:54:09 +0000 (13:54 -0500)]
multigrid/transfer_matrix_free_11: Only run if MPI=on, P4EST=on
Matthias Maier [Thu, 13 Jul 2017 18:45:30 +0000 (13:45 -0500)]
Remove obsolete includes
Matthias Maier [Thu, 13 Jul 2017 17:57:53 +0000 (12:57 -0500)]
Cleanup: Use LinearOperator instead of PointerMatrix
Matthias Maier [Thu, 13 Jul 2017 17:57:47 +0000 (12:57 -0500)]
Cleanup: Use LinearOperator instead of PointerMatrix
Matthias Maier [Thu, 13 Jul 2017 17:57:36 +0000 (12:57 -0500)]
Cleanup: Use LinearOperator instead of PointerMatrix
Matthias Maier [Thu, 13 Jul 2017 17:56:56 +0000 (12:56 -0500)]
Cleanup: Use LinearOperator instead of PointerMatrix
David Wells [Thu, 13 Jul 2017 18:00:00 +0000 (14:00 -0400)]
Merge pull request #4605 from bangerth/delete-constructors
Mark some constructors '=delete'.
Bruno Turcksin [Wed, 12 Jul 2017 21:04:13 +0000 (17:04 -0400)]
Merge pull request #4602 from bangerth/doc-update
Clarify that namespace GridRefinement is about *marking*, not *refinement*.
Bruno Turcksin [Wed, 12 Jul 2017 20:08:42 +0000 (16:08 -0400)]
Merge pull request #4593 from bangerth/dofhandler-cleanup-2
Make hp::DoFHandler work with parallel::shared::Triangulation
Wolfgang Bangerth [Wed, 12 Jul 2017 17:12:16 +0000 (11:12 -0600)]
Delete one unimplemented constructor.
While there, also let the compiler generate the default implementation
for copy constructors.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:37:29 +0000 (10:37 -0600)]
Clarify a statement.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:32:52 +0000 (10:32 -0600)]
Delete the copy constructor of class Triangulation.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:31:05 +0000 (10:31 -0600)]
Delete a copy operator that wasn't implemented anyway.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:27:34 +0000 (10:27 -0600)]
Delete, rather than just mark as unnecessary, some constructors.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:18:21 +0000 (10:18 -0600)]
Delete a constructor instead of making it private.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:17:14 +0000 (10:17 -0600)]
Delete the constructor of MultithreadInfo.
It is not necessary because all members are static. In fact, the class should
probably be converted to a namespace.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:14:30 +0000 (10:14 -0600)]
Delete a constructor instead of making it private.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:25:21 +0000 (10:25 -0600)]
Delete the constructor of p::s::Triangulation when no MPI is available.
Wolfgang Bangerth [Wed, 12 Jul 2017 16:11:39 +0000 (10:11 -0600)]
Delete the constructor of p::d::Triangulation when no p4est is available.
Wolfgang Bangerth [Tue, 11 Jul 2017 21:22:22 +0000 (15:22 -0600)]
Clarify that namespace GridRefinement is about *marking*, not *refinement*.
Matthias Maier [Wed, 12 Jul 2017 02:35:18 +0000 (21:35 -0500)]
Merge pull request #4604 from bangerth/avoid-raw-pointers
Use a std::unique_ptr instead of a raw pointer in (Chunk)SparseMatrix.
Matthias Maier [Wed, 12 Jul 2017 02:33:41 +0000 (21:33 -0500)]
Merge pull request #4603 from bangerth/make-sync-iterators-private
Make SynchronousIterators::iterators private.
Wolfgang Bangerth [Wed, 12 Jul 2017 01:19:45 +0000 (19:19 -0600)]
Use a std::unique_ptr instead of a raw pointer in ChunkSparseMatrix.
Wolfgang Bangerth [Tue, 11 Jul 2017 23:30:33 +0000 (17:30 -0600)]
Use a std::unique_ptr instead of a raw pointer in SparseMatrix.
Wolfgang Bangerth [Tue, 11 Jul 2017 22:06:30 +0000 (16:06 -0600)]
Add changelog.
Wolfgang Bangerth [Tue, 11 Jul 2017 22:04:15 +0000 (16:04 -0600)]
Make SynchronousIterators::iterators private.
This is a member that should have been private all along, but wasn't. It
is now possible to access it via operator*.
Martin Kronbichler [Tue, 11 Jul 2017 15:53:34 +0000 (17:53 +0200)]
Merge pull request #4599 from drwells/remove-manifold-1d-check
Make some manifold checks in MappingQGeneric dimension independent.
David Wells [Tue, 11 Jul 2017 12:32:58 +0000 (08:32 -0400)]
Make some manifold checks in MappingQGeneric dimension independent.
As of
db5ea0f52db we support get_manifold on 1D manifolds, so we can remove the
overload workaround here for 1D. This changes the behavior of this function
slightly: we now correctly calculate all_manifold_ids_are_equal = false if the
cell manifold, in 1D, does not equal one of the face (vertex) manifolds.
Note that in 2D lines are faces, so we still check all lines.
Martin Kronbichler [Tue, 11 Jul 2017 07:12:01 +0000 (09:12 +0200)]
Merge pull request #4596 from bangerth/simplify-data-structures
No longer store dofs_per_vertex for each MG vertex.
Martin Kronbichler [Tue, 11 Jul 2017 06:09:41 +0000 (08:09 +0200)]
Merge pull request #4592 from drwells/namespace-free-functions
Improve namespaces for non-member functions.
Wolfgang Bangerth [Mon, 10 Jul 2017 22:45:29 +0000 (16:45 -0600)]
Add a test that truly tests hp::DoFHandler on shared triangulations.
In particular, extend a previously added test to really do use different
finite elements on different cells.
Comparing the output for these two tests shows that indeed
the test with different (and higher order) elements is more
accurate, as one might have surmised.
Wolfgang Bangerth [Mon, 10 Jul 2017 21:16:33 +0000 (15:16 -0600)]
Add some more converted tests.
Martin Kronbichler [Mon, 10 Jul 2017 19:11:39 +0000 (21:11 +0200)]
Merge pull request #4527 from tcclevenger/periodicity_for_MG_transfer
add periodicity to MGTransfer matrix free and prebuilt
Martin Kronbichler [Mon, 10 Jul 2017 19:09:48 +0000 (21:09 +0200)]
Merge pull request #4595 from bangerth/reduce-code-duplication
Reduce code duplication.
Wolfgang Bangerth [Mon, 10 Jul 2017 14:50:10 +0000 (08:50 -0600)]
No longer store dofs_per_vertex for each MG vertex.
In #4564, I already noted that the way we store vertex DoF indices in the MG
case was not particularly efficient because we kept around a dynamically
sized 'offset' array for each vertex whose entries were computable: they were
successive multiples of dofs_per_cell. So #4564 replaces that by just storing
dofs_per_cell itself for each vertex.
But that, of course, is also wasteful: why store it once per vertex when that
will be the same number for every vertex. Rather, what this patch does is
to pass that number to the functions that access these DoF indices, so that
we can use the global fe.dofs_per_vertex instead. This saves 4 bytes per
vertex, and maybe a few cycles of CPU time on top of it.
Wolfgang Bangerth [Mon, 10 Jul 2017 14:08:36 +0000 (08:08 -0600)]
Add changelog entry.
Wolfgang Bangerth [Mon, 10 Jul 2017 14:07:05 +0000 (08:07 -0600)]
Add tests.
Wolfgang Bangerth [Mon, 10 Jul 2017 14:06:40 +0000 (08:06 -0600)]
Reduce code duplication.
The (hp::)DoFHandler::n_boundary_dofs() functions were specialized for
the 1d case back in the day when faces in 1d were not usable the same
way faces in 2d/3d were accessible via iterators. Because C++ doesn't
allow partial specialization of member functions, the code was also
replicated three times for the <1,1>, <1,2>, and <1,3> cases.
Fix this: We can now always use the generic approach since the necessary
iterators were added several years ago. This also fixes a bug: in <1,2>
and <1,3>, we allow triangulations to have more than 2 end points,
which the existing code was not equipped to deal with.
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.
David Wells [Sat, 8 Jul 2017 18:48:48 +0000 (14:48 -0400)]
Reorganize the internal mapping functions.
If we want to ultimately use a unity build then we will need to avoid duplicate
function names. This commit adds a new policy for avoiding these (a namespacing
scheme) and applies the fix to the mapping classes.
David Wells [Sun, 9 Jul 2017 18:05:16 +0000 (14:05 -0400)]
Require UMFPACK explicitly in some Nedelec element tests.
Wolfgang Bangerth [Fri, 7 Jul 2017 02:17:43 +0000 (20:17 -0600)]
Add tests for hp::DoFHandler on shared::Triangulation.
These are simply all tests in that directory with DoFHandler changed to
hp::DoFHandler.
Wolfgang Bangerth [Fri, 7 Jul 2017 20:00:02 +0000 (14:00 -0600)]
Relax a couple of assertions for parallel cases.
The code I replace it by here is taken verbatim from the ::DoFHandler
class, so seems correct and well tested.
Wolfgang Bangerth [Thu, 6 Jul 2017 19:38:11 +0000 (13:38 -0600)]
Simplify logic a bit.
In particular, do not follow an if-statement that tests '!=null_ptr' by one that
tests '==null_ptr' since this is almost impossible to understand at a short
glance.
Wolfgang Bangerth [Thu, 6 Jul 2017 19:26:20 +0000 (13:26 -0600)]
Simplify the logic in an instantiation file.
Wolfgang Bangerth [Thu, 6 Jul 2017 19:18:17 +0000 (13:18 -0600)]
Provide the ParallelShared policy with a DoFHandlerType template argument.
Also instantiate it for hp::DoFHandler (which miraculously works
already without any further changes!).
Wolfgang Bangerth [Sat, 8 Jul 2017 12:51:37 +0000 (06:51 -0600)]
Rewrap comments.
Wolfgang Bangerth [Fri, 7 Jul 2017 21:40:17 +0000 (15:40 -0600)]
Simplify some code that parallelizes operations.
While there, make some other code more general if we ever get to
spacedim>3.
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.
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.
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().
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.
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.
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.
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.
Wolfgang Bangerth [Sat, 8 Jul 2017 13:45:13 +0000 (07:45 -0600)]
Minor update to a glossary entry.
Wolfgang Bangerth [Sat, 8 Jul 2017 13:44:21 +0000 (07:44 -0600)]
Add a changelog entry.
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.
tcclevenger [Mon, 19 Jun 2017 07:56:33 +0000 (09:56 +0200)]
add periodicity to MGTransfer matrix free and prebuilt
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.
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.
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.
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.
Wolfgang Bangerth [Thu, 6 Jul 2017 20:02:21 +0000 (14:02 -0600)]
Add a shared::tria test where one processor has no cells.
Wolfgang Bangerth [Fri, 7 Jul 2017 20:07:57 +0000 (14:07 -0600)]
Add a changelog entry.
Wolfgang Bangerth [Thu, 6 Jul 2017 21:27:26 +0000 (15:27 -0600)]
Unify the implementation of two functions.
Wolfgang Bangerth [Thu, 6 Jul 2017 20:09:05 +0000 (14:09 -0600)]
Remove unnecessary #include files.
Wolfgang Bangerth [Thu, 6 Jul 2017 20:07:18 +0000 (14:07 -0600)]
Remove outdated svn version markers.
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.
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
Daniel Arndt [Fri, 7 Jul 2017 13:57:59 +0000 (15:57 +0200)]
Fix serialize_hp_dof_handler
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*
Jean-Paul Pelteret [Fri, 7 Jul 2017 05:23:53 +0000 (07:23 +0200)]
Add missing header to tests/physics/step-44*
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.
Wolfgang Bangerth [Thu, 6 Jul 2017 16:49:25 +0000 (10:49 -0600)]
Run some operations in parallel.
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.
Wolfgang Bangerth [Tue, 4 Jul 2017 21:11:13 +0000 (15:11 -0600)]
Also move identifying DoFs into the policy classes.
Wolfgang Bangerth [Mon, 3 Jul 2017 03:46:49 +0000 (21:46 -0600)]
Restrict work on vertices to those that are actually used.
Wolfgang Bangerth [Mon, 3 Jul 2017 00:43:47 +0000 (18:43 -0600)]
Move the main part of distributing hp DoFs to the policy.
Wolfgang Bangerth [Mon, 3 Jul 2017 00:17:01 +0000 (18:17 -0600)]
Simplify code a bit.
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
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
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
Timo Heister [Thu, 6 Jul 2017 08:37:14 +0000 (10:37 +0200)]
remove a compiler warning
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.
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().
Wolfgang Bangerth [Mon, 3 Jul 2017 21:56:24 +0000 (15:56 -0600)]
Better document VectorTools::create_point_source_vector().
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
Jean-Paul Pelteret [Mon, 3 Jul 2017 08:12:30 +0000 (10:12 +0200)]
Fix FullMatrix left_ and right_invert for square matrices
Jean-Paul Pelteret [Mon, 3 Jul 2017 06:20:38 +0000 (08:20 +0200)]
Add determinant calculation for FullMatrix and LAPACKMatrix
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.
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
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.
Jean-Paul Pelteret [Tue, 4 Jul 2017 07:38:50 +0000 (09:38 +0200)]
Add missing header to step-44
Denis Davydov [Tue, 4 Jul 2017 07:28:03 +0000 (09:28 +0200)]
Merge pull request #4572 from bangerth/remove-todo
Remove a TODO.
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().
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.
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.