]>
https://gitweb.dealii.org/ - dealii.git/log
Jean-Paul Pelteret [Wed, 7 Dec 2016 10:27:00 +0000 (11:27 +0100)]
Implemented the inverse of rank-2 SymmetricTensors.
Includes a test case, gratis.
Jean-Paul Pelteret [Wed, 7 Dec 2016 09:05:24 +0000 (10:05 +0100)]
Refactor definition of rank-2 Tensor inverse function; add test case
This silences warnings produced by `-Warray-bounds`.
Wolfgang Bangerth [Mon, 5 Dec 2016 16:49:14 +0000 (09:49 -0700)]
Merge pull request #3660 from jppelteret/step-44_bugfix_01
Fixed condition in assert checking for convergence in nonlinear solver
Jean-Paul Pelteret [Mon, 5 Dec 2016 16:42:30 +0000 (17:42 +0100)]
Fixed condition in assert checking for convergence in nonlinear solver
Fixes #3604
Wolfgang Bangerth [Sat, 3 Dec 2016 23:28:57 +0000 (16:28 -0700)]
Merge pull request #3657 from drwells/vectorspacevector-virtual-dtor
Make VectorSpaceVector's destructor virtual.
David Wells [Sat, 3 Dec 2016 22:24:28 +0000 (17:24 -0500)]
Make VectorSpaceVector's destructor virtual.
Since the classes inheriting from VectorSpaceVector all implement their own
memory management strategies, the destructor of the base class should always be
virtual.
Martin Kronbichler [Sat, 3 Dec 2016 20:34:41 +0000 (21:34 +0100)]
Merge pull request #3655 from bangerth/limit-TimerOutput-data
Only show TimerOutput percentages down to 0.1%.
Wolfgang Bangerth [Sat, 3 Dec 2016 13:57:03 +0000 (06:57 -0700)]
Only show TimerOutput percentages down to 0.1%.
Currently, if a TimerOutput section takes a very small fraction of the overall
time, we happily output in the last column that it took 6.5e-4%. This is not
only visually awkward compared to all of the other numbers that are not using
the e-04 notation, but also pretty pointless: nobody cares whether something took
that small a fraction of the overall time, and if they happen to do anyway: the
absolute amount of time is printed in the previous column.
Consequently, show everything that takes less than 0.1% of time as 0%.
Wolfgang Bangerth [Sat, 3 Dec 2016 02:49:58 +0000 (19:49 -0700)]
Merge pull request #3654 from gassmoeller/optimize_spherical_manifold_new_point
Optimize SphericalManifold::get_new_point()
Rene Gassmoeller [Sat, 3 Dec 2016 00:44:29 +0000 (17:44 -0700)]
Optimize SphericalManifold::get_new_point()
Wolfgang Bangerth [Fri, 2 Dec 2016 22:01:12 +0000 (15:01 -0700)]
Merge pull request #3651 from tcclevenger/fix_MemoryStats_doc
Fixed documentation for Utilities::System::MemoryStats Struct Reference
Denis Davydov [Fri, 2 Dec 2016 13:29:02 +0000 (14:29 +0100)]
Merge pull request #3329 from kronbichler/extend_step-37
Extend step 37 to parallel vectors
tcclevenger [Thu, 1 Dec 2016 04:12:14 +0000 (23:12 -0500)]
Fixed documentation for Utilities::System::MemoryStats Struct Reference
Comments in deal.II/base/utilities.h were behind variable declarations
leading to wrong placement in online documentation
Wolfgang Bangerth [Thu, 1 Dec 2016 22:28:14 +0000 (15:28 -0700)]
Merge pull request #3653 from kronbichler/master
Fix DEAL_II_COMPILER_USE_VECTOR_ARITHMETICS with AVX512 and ICC
Martin Kronbichler [Thu, 1 Dec 2016 17:49:02 +0000 (18:49 +0100)]
Fix DEAL_II_COMPILER_USE_VECTOR_ARITHMETICS with AVX512 and Intel.
Wolfgang Bangerth [Wed, 30 Nov 2016 22:45:40 +0000 (15:45 -0700)]
Merge pull request #3650 from drwells/add-zlib-enum-docs
Add documentation to the zlib compression levels.
David Wells [Wed, 30 Nov 2016 19:05:13 +0000 (14:05 -0500)]
Add documentation to the zlib compression levels.
Enumerations are not listed by doxygen unless they have documentation
strings, so add them.
David Wells [Wed, 30 Nov 2016 19:09:54 +0000 (14:09 -0500)]
Merge pull request #3649 from jppelteret/collect_periodic_faces_update_01
Added warning for unsuccessful case in GridTools::collect_periodic_faces
Jean-Paul Pelteret [Wed, 30 Nov 2016 16:10:14 +0000 (17:10 +0100)]
Added warning for unsuccessful case in GridTools::collect_periodic_faces
A note and assert has been added to provide a warning for the case where
collect_periodic_faces doesn't find any matched faces. This may happen
if there is no colouring on the coarsest level mesh (i.e. grid
refinement before boundary id definition) or where they've accidentally
called the function with the wrong boundary id's (or direction?).
Fixes #3280
Bruno Turcksin [Tue, 29 Nov 2016 20:56:51 +0000 (15:56 -0500)]
Merge pull request #3645 from bangerth/update-laplace_transform
Update GridTools::laplace_transform().
Bruno Turcksin [Tue, 29 Nov 2016 20:53:45 +0000 (15:53 -0500)]
Merge pull request #3644 from bangerth/update-step-49
Be consistent about how we name the Triangulation object.
Bruno Turcksin [Tue, 29 Nov 2016 20:53:02 +0000 (15:53 -0500)]
Merge pull request #3648 from bangerth/remove-stray-typenames
Remove stray 'typename's.
Wolfgang Bangerth [Tue, 29 Nov 2016 18:17:30 +0000 (11:17 -0700)]
Remove stray 'typename's.
Wolfgang Bangerth [Tue, 29 Nov 2016 18:01:27 +0000 (11:01 -0700)]
Merge pull request #3647 from tjhei/doc_fixes
doxygen fixes
Timo Heister [Tue, 29 Nov 2016 17:55:55 +0000 (12:55 -0500)]
doxygen fixes
Wolfgang Bangerth [Tue, 29 Nov 2016 00:01:02 +0000 (17:01 -0700)]
Update GridTools::laplace_transform().
Incomprehensively, the function looped over all faces of a cell, and then
all vertices of the face. This visited each vertex exactly 'dim' times.
This can be done easier.
While there, also fix a number of issues where we confuse 'unsigned int'
with 'types::global_dof_index'. This doesn't matter here because the
function only works in sequential settings anyway, but we should be
consistent.
Finally, instead of setting vertex locations from each adjacent cell, only
do it once by keeping track when we touch the vertex the first time.
Wolfgang Bangerth [Mon, 28 Nov 2016 22:16:41 +0000 (15:16 -0700)]
Be consistent about how we name the Triangulation object.
Most of the functions in step-49 call the triangulation 'triangulation', but some
called it 'tria'. Be consistent about it.
While there, also be consistent about spaces between function name and opening
parenthesis.
Wolfgang Bangerth [Mon, 28 Nov 2016 16:55:54 +0000 (09:55 -0700)]
Merge pull request #3643 from tjhei/doc_nonzero_flux
clarify doc for compute_nonzero_normal_flux_constraints
Timo Heister [Mon, 28 Nov 2016 16:38:42 +0000 (11:38 -0500)]
clarify doc for compute_nonzero_normal_flux_constraints
David Wells [Mon, 28 Nov 2016 16:05:45 +0000 (11:05 -0500)]
Merge pull request #3641 from bangerth/revise-3639
Find a better way to be dimension independent.
Wolfgang Bangerth [Mon, 28 Nov 2016 13:47:57 +0000 (06:47 -0700)]
Merge pull request #3622 from kalj/static-asserts
Add more static asserts for sensible template parameters
Karl Ljungkvist [Tue, 22 Nov 2016 15:06:14 +0000 (16:06 +0100)]
Add more static asserts for sensible template parameters
Martin Kronbichler [Thu, 24 Nov 2016 17:35:44 +0000 (18:35 +0100)]
Add funding information
Wolfgang Bangerth [Mon, 28 Nov 2016 00:15:13 +0000 (17:15 -0700)]
Find a better way to be dimension independent.
This patch revises commit
9386b1e30c in #3639. There, I tried to avoid instantiating types
that have a template signature of the kind <3,spacedim> if spacedim is less than three,
since that leads to invalid types. I did so by using <3,max(3,spacedim)>, which works
because we can only get to these places if dim==3, and consequently spacedim>=3, but the
compiler may not always recognize that if spacedim<3, then we must be in dead code.
This patch goes the other way around, which I find conceptually clearer: in code where we
have
if (dim == 3)
{
typename Triangulation<3,spacedim>::cell_iterator cell = ...;
we clearly only got into the 'if' block because dim==3. Consequently, we might as well
have written
if (dim == 3)
{
typename Triangulation<dim,spacedim>::cell_iterator cell = ...;
to the same effect. On the plus side, however, whenever dim<3 (i.e. in cases where
this is dead code anyway), we still do not instantiate invalid types.
This patch therefore undoes the changes made in #3639 and replaces them with the second
option above. There are a number of places where we then have to replace calls to
GeometryInfo<3>::...
by
GeometryInfo<dim>::...
as well as one place where we have to do a cast from
RefinementCase<3>
to
RefinementCase<dim>
or the other way around; the latter is the identity cast if we do get into this block.
Luca Heltai [Sun, 27 Nov 2016 09:55:01 +0000 (10:55 +0100)]
Merge pull request #3639 from bangerth/do-not-instantiate-invalid-classes
Do not instantiate invalid classes.
Luca Heltai [Sun, 27 Nov 2016 09:53:24 +0000 (10:53 +0100)]
Merge pull request #3637 from bangerth/fix-manifold-instantiations
Fix manifold instantiations
Wolfgang Bangerth [Sat, 26 Nov 2016 14:33:37 +0000 (07:33 -0700)]
Merge pull request #3640 from masterleinad/fix_test_project_parallel
Fix the project_parallel_q_* tests
Daniel Arndt [Sat, 26 Nov 2016 10:08:33 +0000 (11:08 +0100)]
Fix the project_parallel_q_* tests
Wolfgang Bangerth [Sat, 26 Nov 2016 05:17:56 +0000 (22:17 -0700)]
Do not instantiate invalid classes.
We have numerous places where we do something of the sort
template <int dim, int spacedim>
void foo (const Triangulation<dim,spacedim> &triangulation) {
if (dim == 3)
{
typename Triangulation<3,spacedim>::cell_iterator cell = triangulation.begin();
...
Since we only get into this piece of code if dim==3, there is nothing wrong with
this: if dim==3, then spacedim>=3. On the other hand, the compiler will still
instantiate Triangulation<3,spacedim> even if dim==spacedim==1.
This patch works around this by replacing the type by
Triangulation<3,max(3,spacedim)>
which for all of the cases in question leads to the exact same type, but
avoids instantiating invalid types.
Wolfgang Bangerth [Thu, 24 Nov 2016 18:48:37 +0000 (11:48 -0700)]
Add a couple more static assertions.
Karl Ljungkvist [Wed, 23 Nov 2016 13:33:51 +0000 (14:33 +0100)]
remove invalid instantiations
Wolfgang Bangerth [Sat, 26 Nov 2016 03:09:45 +0000 (20:09 -0700)]
Change the type of ChartManifold::sub_manifold.
Wolfgang Bangerth [Sat, 26 Nov 2016 03:07:05 +0000 (20:07 -0700)]
Add necessary instantiations.
Wolfgang Bangerth [Sat, 26 Nov 2016 00:01:59 +0000 (17:01 -0700)]
Merge pull request #3630 from spco/new_lapack_trilinos_info
Add note to enable linking against LAPACK 3.6.0 and later.
Wolfgang Bangerth [Fri, 25 Nov 2016 23:59:03 +0000 (16:59 -0700)]
Merge pull request #3635 from masterleinad/improve_has_vmult_add
Improve has_vmult_add check
Daniel Arndt [Fri, 25 Nov 2016 15:21:01 +0000 (16:21 +0100)]
Improve has_vmult_add check
Timo Heister [Fri, 25 Nov 2016 11:45:26 +0000 (06:45 -0500)]
Merge pull request #3631 from bangerth/cleanups-3
Clean up some p4est-related code.
SAM COX [Thu, 24 Nov 2016 16:37:13 +0000 (16:37 +0000)]
Add note to enable linking against LAPACK 3.6.0 and later.
Martin Kronbichler [Thu, 24 Nov 2016 18:49:02 +0000 (19:49 +0100)]
Merge pull request #3632 from bangerth/doc-update-79
Augment discussion on scalability.
Wolfgang Bangerth [Thu, 24 Nov 2016 18:43:32 +0000 (11:43 -0700)]
Augment discussion on scalability.
Wolfgang Bangerth [Thu, 24 Nov 2016 16:55:41 +0000 (09:55 -0700)]
Clean up some p4est-related code.
Specifically, commit
daf3146 (via #3625) introduced a dimension dependent dispatch
mechanism that allowed writing some code in a more generic way. The idea was right,
but the approach duplicated the dispatching because we already have a dispatching
mechanism via the internal::p4est::functions classes.
This patch simply merges the two approaches. It also allows to move some
code out of distributed/tria.cc into distributed/p4est_wrappers.cc, at the
cost of some code churn. The patch does not actually change any kind of
functionality -- it just moves things.
Martin Kronbichler [Thu, 24 Nov 2016 17:11:51 +0000 (18:11 +0100)]
Merge pull request #3602 from bangerth/move-function
Move template function DoFHandler::n_boundary_dofs().
Martin Kronbichler [Thu, 24 Nov 2016 12:04:53 +0000 (13:04 +0100)]
Adjust numbers
Wolfgang Bangerth [Thu, 24 Nov 2016 15:55:36 +0000 (08:55 -0700)]
Merge pull request #3629 from spco/fix_readme
Fix typo in documentation.
SAM COX [Thu, 24 Nov 2016 15:51:34 +0000 (15:51 +0000)]
Fix typo in documentation.
Martin Kronbichler [Thu, 24 Nov 2016 07:48:18 +0000 (08:48 +0100)]
Add changelog
Martin Kronbichler [Thu, 24 Nov 2016 07:44:53 +0000 (08:44 +0100)]
Merge pull request #3628 from kalj/correct-manifold-instantiations
Make instantiations fulfill chartdim<=spacedim
Martin Kronbichler [Thu, 24 Nov 2016 07:44:21 +0000 (08:44 +0100)]
Merge pull request #3626 from kalj/templatize-hardcoded-case
Templatize the hardcoded case of compute_shape_function_values
Martin Kronbichler [Thu, 24 Nov 2016 07:43:47 +0000 (08:43 +0100)]
Merge pull request #3625 from kalj/wrap-p4est-iterate
Wrap p[48]est_iterate in a template struct
Martin Kronbichler [Wed, 23 Nov 2016 17:13:45 +0000 (18:13 +0100)]
Distribute constraints
Martin Kronbichler [Tue, 22 Nov 2016 14:05:29 +0000 (15:05 +0100)]
Parallel results
Karl Ljungkvist [Wed, 23 Nov 2016 13:46:35 +0000 (14:46 +0100)]
make instantiations fulfill chartdim<=spacedim
Karl Ljungkvist [Wed, 23 Nov 2016 13:43:07 +0000 (14:43 +0100)]
change a runtime branch into a compile time one by templatization
this avoids the special hardcoded case for when dim==spacedim to be instantiated also for
other combinations of dim and spacedim.
Karl Ljungkvist [Wed, 23 Nov 2016 13:37:41 +0000 (14:37 +0100)]
wrap p[48]est_iterate in a template struct to avoid invalid instantiations
Martin Kronbichler [Wed, 23 Nov 2016 11:11:35 +0000 (12:11 +0100)]
Merge pull request #3262 from masterleinad/project_parallel
VectorTools::project for p::d::Triangulations
Martin Kronbichler [Wed, 23 Nov 2016 06:43:22 +0000 (07:43 +0100)]
Merge pull request #3616 from kalj/refactor-mg-setup
Extract setup code from MGTransferMatrixFree
Matthias Maier [Tue, 22 Nov 2016 23:34:35 +0000 (17:34 -0600)]
Merge pull request #3623 from bavier/petsc-conf
Add petsc conf hint for petsc>=3.7
Eric Bavier [Tue, 22 Nov 2016 19:13:34 +0000 (13:13 -0600)]
Add petsc conf hint for petsc>=3.7
Martin Kronbichler [Tue, 22 Nov 2016 12:30:27 +0000 (13:30 +0100)]
Augment description about ghosted vectors
Martin Kronbichler [Tue, 22 Nov 2016 12:30:12 +0000 (13:30 +0100)]
Improve documentation
Martin Kronbichler [Fri, 11 Nov 2016 16:28:11 +0000 (17:28 +0100)]
Adjust text in step-48 to reflect changes in step-37.
Martin Kronbichler [Tue, 1 Nov 2016 13:34:59 +0000 (14:34 +0100)]
Work on documentation
Martin Kronbichler [Mon, 31 Oct 2016 19:48:34 +0000 (20:48 +0100)]
Update step-37 to MPI
Karl Ljungkvist [Mon, 21 Nov 2016 13:53:25 +0000 (14:53 +0100)]
extract vectorized data structure from common code
Martin Kronbichler [Tue, 22 Nov 2016 09:25:21 +0000 (10:25 +0100)]
Merge pull request #3621 from kalj/static-assert-dof-handler
Use static assert to check for correct template parameters at compile time
Karl Ljungkvist [Mon, 21 Nov 2016 16:35:29 +0000 (17:35 +0100)]
fix incorrect calculation of n_child_dofs_1d
Karl Ljungkvist [Thu, 17 Nov 2016 16:26:57 +0000 (17:26 +0100)]
Extract some common MG transfer setup code
Karl Ljungkvist [Mon, 21 Nov 2016 11:34:36 +0000 (12:34 +0100)]
ensure that correct template parameters have been used
Bruno Turcksin [Mon, 21 Nov 2016 14:00:45 +0000 (09:00 -0500)]
Merge pull request #3484 from bangerth/initialize-members
Initialize a bunch of member variables.
Martin Kronbichler [Mon, 21 Nov 2016 13:28:55 +0000 (14:28 +0100)]
Merge pull request #3605 from davydden/feature/mg_interface_matrix
add MGInterfaceOperator and use it in a few tests
Martin Kronbichler [Mon, 21 Nov 2016 13:24:48 +0000 (14:24 +0100)]
Merge pull request #3594 from kalj/export-fill-copy-indices
Make multigrid function `fill_copy_indices` available internally
Karl Ljungkvist [Mon, 21 Nov 2016 08:28:11 +0000 (09:28 +0100)]
add guard to only compile with sensible <dim,spacedim> combinations
Wolfgang Bangerth [Mon, 21 Nov 2016 00:47:10 +0000 (17:47 -0700)]
Merge pull request #3619 from drwells/use-PetscErrorCode
Use PetscErrorCode instead of int.
David Wells [Sun, 20 Nov 2016 20:58:21 +0000 (15:58 -0500)]
Merge pull request #3590 from bangerth/fix-geometry-update-without-data
Do compute the locations of vertices of patches also if no data is attached.
David Wells [Sun, 20 Nov 2016 04:22:07 +0000 (23:22 -0500)]
Use PetscErrorCode instead of int.
PETSc typedefs PetscErrorCode to be int (so these are equivalent) but this makes
things a bit clearer.
Daniel Arndt [Sat, 19 Nov 2016 12:27:06 +0000 (13:27 +0100)]
Use LinearAlgebra::distributed::Vector instead of Trilinos vectors in tests
Karl Ljungkvist [Sat, 19 Nov 2016 11:32:01 +0000 (12:32 +0100)]
moving implementations to a .cc file, with explicit instantiations
Karl Ljungkvist [Sat, 19 Nov 2016 07:45:40 +0000 (08:45 +0100)]
adding missing include files
Wolfgang Bangerth [Fri, 18 Nov 2016 18:00:13 +0000 (11:00 -0700)]
Merge pull request #3618 from masterleinad/fix_changes_h
Fixup changes.h
Daniel Arndt [Fri, 18 Nov 2016 17:11:43 +0000 (18:11 +0100)]
Fixup changes.h
David Wells [Fri, 18 Nov 2016 11:30:11 +0000 (06:30 -0500)]
Merge pull request #3576 from drwells/improve-petsc-checks
Improve the output of PETSc exceptions.
Daniel Arndt [Thu, 17 Nov 2016 22:40:09 +0000 (23:40 +0100)]
Rename internal helper functions
Karl Ljungkvist [Fri, 18 Nov 2016 08:15:19 +0000 (09:15 +0100)]
re-break lines
Karl Ljungkvist [Wed, 16 Nov 2016 14:14:28 +0000 (15:14 +0100)]
export internal function fill_copy_indices for usage in other transfer classes
David Wells [Thu, 17 Nov 2016 21:42:11 +0000 (16:42 -0500)]
Merge pull request #3615 from bangerth/more-cleanups
More cleanups of GridIn::read_vtk().
Wolfgang Bangerth [Thu, 17 Nov 2016 20:46:57 +0000 (13:46 -0700)]
More cleanups of GridIn::read_vtk().
Specifically, get rid of a pointless array. Make the assumption
that underlies it explicit by adding assertions.
Daniel Arndt [Thu, 17 Nov 2016 18:16:57 +0000 (19:16 +0100)]
Remove project_generic from public view
Daniel Arndt [Wed, 16 Nov 2016 12:33:15 +0000 (13:33 +0100)]
Make fe_values_view_30 pass
Daniel Arndt [Fri, 4 Nov 2016 10:40:11 +0000 (11:40 +0100)]
VectorTools::project uses a matrix-free implemementation if supported and can deal with parallel Triangulations in this case
Daniel Arndt [Thu, 17 Nov 2016 16:32:25 +0000 (17:32 +0100)]
Merge pull request #3610 from masterleinad/template_create_rhs
VectorType in VectorTools::create_*_hand_side
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.