]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
6 years agoMerge pull request #6169 from tamiko/fix_cmake_fix_for_cmake_fix
Daniel Arndt [Thu, 5 Apr 2018 18:16:03 +0000 (20:16 +0200)]
Merge pull request #6169 from tamiko/fix_cmake_fix_for_cmake_fix

CMake: set policy in subdirectory

6 years agoMerge pull request #6160 from masterleinad/remove_std_cxx11_doc
David Wells [Thu, 5 Apr 2018 18:05:23 +0000 (14:05 -0400)]
Merge pull request #6160 from masterleinad/remove_std_cxx11_doc

Remove std_cxx11 from the doc folder

6 years agoCMake: set policy in subdirectory 6169/head
Matthias Maier [Thu, 5 Apr 2018 17:38:19 +0000 (12:38 -0500)]
CMake: set policy in subdirectory

Due to the call to CMAKE_MINIM_REQUIRED we have to set the policy in the
subdirectory again...

Closes: #6134
6 years agoFix WorkStream related documentation 6160/head
Daniel Arndt [Thu, 5 Apr 2018 16:12:24 +0000 (18:12 +0200)]
Fix WorkStream related documentation

6 years agoMerge pull request #6165 from drwells/remove-semicolons
Daniel Arndt [Thu, 5 Apr 2018 15:37:59 +0000 (17:37 +0200)]
Merge pull request #6165 from drwells/remove-semicolons

Remove some unnecessary ';'s.

6 years agoMerge pull request #6166 from tamiko/use_https
David Wells [Thu, 5 Apr 2018 15:35:33 +0000 (11:35 -0400)]
Merge pull request #6166 from tamiko/use_https

contrib/makeofflinedoc.sh: Use https instead of http

6 years agoMerge pull request #6167 from drwells/add-double-word-script
Denis Davydov [Thu, 5 Apr 2018 15:27:16 +0000 (17:27 +0200)]
Merge pull request #6167 from drwells/add-double-word-script

Add double word script

6 years agoRemove some unnecessary ';'s. 6165/head
David Wells [Thu, 5 Apr 2018 15:12:42 +0000 (11:12 -0400)]
Remove some unnecessary ';'s.

6 years agoAdd the double word typo script. 6167/head
David Wells [Thu, 5 Apr 2018 15:20:12 +0000 (11:20 -0400)]
Add the double word typo script.

6 years agocontrib/makeofflinedoc.sh: Use https instead of http 6166/head
Matthias Maier [Thu, 5 Apr 2018 15:16:46 +0000 (10:16 -0500)]
contrib/makeofflinedoc.sh: Use https instead of http

6 years agoFix two more double word typos.
David Wells [Thu, 5 Apr 2018 15:14:05 +0000 (11:14 -0400)]
Fix two more double word typos.

6 years agoMerge pull request #6164 from drwells/remove-double-words
Daniel Arndt [Thu, 5 Apr 2018 14:50:18 +0000 (16:50 +0200)]
Merge pull request #6164 from drwells/remove-double-words

Remove double word typos.

6 years agoRemove double word typos. 6164/head
David Wells [Thu, 5 Apr 2018 14:30:38 +0000 (10:30 -0400)]
Remove double word typos.

This commit removes typos consisting of an accidentally repeated
word. Attached below is the python script I used to find them.

It is worth noting that there is a large false positive rate here, for
example, in tria_accessor.h we have the sentence

/**
 * [...] As a
 * consequence, it exists in the mesh to ensure that each processor has all
 * coarse mesh cells and that the 2:1 ratio of neighboring cells is
 * maintained, but it is not one of the cells we should work on on the
 * current processor. [...]
 */

Here 'on on' is correct.

script:

import sys

SKIP = ["//", "*", "}", "|", "};", ">", "\"", "|", "/", "numbers::invalid_unsigned_int,", "std::string,", "int,"]

with open(sys.argv[1], 'r') as handle:
    previous_line = ""
    for line_n, line in enumerate(handle):
        line = line.strip()
        previous_words = previous_line.split()
        words = line.split()
        # ignore comment blocks '*' and comment starts '//' at the beginning of
        # each line.
        if len(words) == 0:
            continue
        if words[0] in ["*", "//"]:
            words = words[1:]

        # See if the last word on the previous line is equal to the first word
        # on the current line.
        if len(previous_words) != 0:
            if words[0] not in SKIP and previous_words[-1] == words[0]:
                print(sys.argv[1] + ":{}: {}".format(line_n + 1, previous_line))
                print(sys.argv[1] + ":{}: {}".format(line_n + 2, line))
        previous_line = line

        for left_word, right_word in zip(words[:-1], words[1:]):
            if left_word == right_word and left_word not in SKIP:
                print(sys.argv[1] + ":{}: {}".format(line_n + 1, line))

6 years agoMerge pull request #6137 from tamiko/clean_up_custom_targets
Denis Davydov [Thu, 5 Apr 2018 10:46:27 +0000 (12:46 +0200)]
Merge pull request #6137 from tamiko/clean_up_custom_targets

CMake: Only set CMP0037 to old for cmake older than 3.11

6 years agoMove Signals from Multigrid class to mg namespace and use more common names for transfer 6129/head
Guido Kanschat [Wed, 4 Apr 2018 15:04:12 +0000 (17:04 +0200)]
Move Signals from Multigrid class to mg namespace and use more common names for transfer

6 years agoImplement signals for Multigrid
Daniel Arndt [Mon, 5 Feb 2018 17:20:16 +0000 (12:20 -0500)]
Implement signals for Multigrid

6 years agoRemove std_cxx11 from the doc folder
Daniel Arndt [Wed, 4 Apr 2018 23:42:21 +0000 (01:42 +0200)]
Remove std_cxx11 from the doc folder

6 years agoMerge pull request #6153 from tamiko/fix_a_test_15
Denis Davydov [Wed, 4 Apr 2018 14:36:25 +0000 (16:36 +0200)]
Merge pull request #6153 from tamiko/fix_a_test_15

Tests: Add an output variant for metis_01a for 64bit metis

6 years agoTests: Add an output variant for metis_01a for 64bit metis 6153/head
Matthias Maier [Tue, 3 Apr 2018 21:07:51 +0000 (16:07 -0500)]
Tests: Add an output variant for metis_01a for 64bit metis

In case deal.II is configured with 64bit support for metis the output of
this metis test changes from "IDXTYPEWIDTH=32" to "IDXTYPEWIDTH=64".
Provide an output variant for this.

6 years agoMerge pull request #6118 from davydden/doc/step_37_minor
Martin Kronbichler [Wed, 4 Apr 2018 07:07:28 +0000 (09:07 +0200)]
Merge pull request #6118 from davydden/doc/step_37_minor

doc: minor fixes in step-37

6 years agoMerge pull request #6154 from masterleinad/fix_coverity
Wolfgang Bangerth [Wed, 4 Apr 2018 03:06:56 +0000 (21:06 -0600)]
Merge pull request #6154 from masterleinad/fix_coverity

Fix some more issues discovered by Coverity

6 years agoFix some more issues discovered by Coverity 6154/head
Daniel Arndt [Tue, 3 Apr 2018 23:02:35 +0000 (01:02 +0200)]
Fix some more issues discovered by Coverity

6 years agoMerge pull request #6151 from bangerth/fix-grid-tools
Daniel Arndt [Tue, 3 Apr 2018 22:47:49 +0000 (00:47 +0200)]
Merge pull request #6151 from bangerth/fix-grid-tools

Pass const scalar arguments by value, rather than reference.

6 years agoMerge pull request #6150 from bangerth/fix-test
Daniel Arndt [Tue, 3 Apr 2018 21:43:35 +0000 (23:43 +0200)]
Merge pull request #6150 from bangerth/fix-test

Make a cast explicit.

6 years agoPass const scalar arguments by value, rather than reference. 6151/head
Wolfgang Bangerth [Tue, 3 Apr 2018 16:31:00 +0000 (10:31 -0600)]
Pass const scalar arguments by value, rather than reference.

6 years agoIndent arguments uniformly.
Wolfgang Bangerth [Tue, 3 Apr 2018 16:29:23 +0000 (10:29 -0600)]
Indent arguments uniformly.

6 years agoMake a cast explicit. 6150/head
Wolfgang Bangerth [Tue, 3 Apr 2018 16:27:08 +0000 (10:27 -0600)]
Make a cast explicit.

This cast appears to be necessary for older GCC versions.

6 years agoMerge pull request #6148 from bangerth/doc-update
Denis Davydov [Tue, 3 Apr 2018 12:45:55 +0000 (14:45 +0200)]
Merge pull request #6148 from bangerth/doc-update

Fix argument names.

6 years agoFix argument names. 6148/head
Wolfgang Bangerth [Tue, 3 Apr 2018 12:43:31 +0000 (06:43 -0600)]
Fix argument names.

6 years agoMerge pull request #6147 from drwells/reword-make-array-view
Wolfgang Bangerth [Tue, 3 Apr 2018 12:40:10 +0000 (06:40 -0600)]
Merge pull request #6147 from drwells/reword-make-array-view

Reword a comment in make_array_view.

6 years agoReword a comment in make_array_view. 6147/head
David Wells [Tue, 3 Apr 2018 11:20:17 +0000 (07:20 -0400)]
Reword a comment in make_array_view.

The term 'undefined' is not accurate; the order *is* defined, but it is an
implementation detail.

From this stack overflow post:
https://stackoverflow.com/questions/49071748/data-alignment-and-ordering-in-recursively-defined-array/49627551#49627551

6 years agoMerge pull request #6140 from davydden/feature/fix_blockvector_mmult
Martin Kronbichler [Tue, 3 Apr 2018 07:11:29 +0000 (09:11 +0200)]
Merge pull request #6140 from davydden/feature/fix_blockvector_mmult

introduce LA::d::Vector::add_local() and sadd_local() to avoid to man…

6 years agoMerge pull request #6128 from bangerth/doc-update
Martin Kronbichler [Tue, 3 Apr 2018 07:00:57 +0000 (09:00 +0200)]
Merge pull request #6128 from bangerth/doc-update

Update documentation of FE_FaceQ/P.

6 years agoMerge pull request #6145 from bangerth/micro-update
Wolfgang Bangerth [Tue, 3 Apr 2018 02:30:04 +0000 (20:30 -0600)]
Merge pull request #6145 from bangerth/micro-update

Microscopically small updates in a file I was reading through.

6 years agoMicroscopically small updates in a file I was reading through. 6145/head
Wolfgang Bangerth [Mon, 2 Apr 2018 22:21:21 +0000 (16:21 -0600)]
Microscopically small updates in a file I was reading through.

6 years agoMerge pull request #6144 from niveshd/GraphColoringBugFix
Daniel Arndt [Mon, 2 Apr 2018 21:15:07 +0000 (23:15 +0200)]
Merge pull request #6144 from niveshd/GraphColoringBugFix

Bug fix for graph coloring/graph partitioning using Zoltan library.

6 years agoMerge pull request #6135 from bangerth/doc-update-2
Timo Heister [Mon, 2 Apr 2018 18:59:20 +0000 (14:59 -0400)]
Merge pull request #6135 from bangerth/doc-update-2

Update description of Thread/Task::return_value().

6 years agotests added for coloring multiple nodes with no connections 6144/head
nivesh [Mon, 2 Apr 2018 16:31:42 +0000 (18:31 +0200)]
tests added for coloring multiple nodes with no connections

6 years agoUpdate thread_management.h 6135/head
Wolfgang Bangerth [Mon, 2 Apr 2018 16:17:00 +0000 (10:17 -0600)]
Update thread_management.h

6 years agoMerge pull request #6115 from bangerth/mapping-get-data
Daniel Arndt [Mon, 2 Apr 2018 15:15:58 +0000 (17:15 +0200)]
Merge pull request #6115 from bangerth/mapping-get-data

Convert the various Mapping::get_*_data() functions to return std::unique_ptr.

6 years agoMerge pull request #6141 from masterleinad/fix_comparator_constness
Daniel Arndt [Mon, 2 Apr 2018 14:05:05 +0000 (16:05 +0200)]
Merge pull request #6141 from masterleinad/fix_comparator_constness

Make comparator const

6 years agoConvert the various Mapping::get_*_data() functions to return std::unique_ptr. 6115/head
Wolfgang Bangerth [Thu, 29 Mar 2018 01:43:45 +0000 (19:43 -0600)]
Convert the various Mapping::get_*_data() functions to return std::unique_ptr.

This required a number of adjustments in places where we used the fact that we used covariant
return types all over the place. We can't do this any more, and so in a number of places
we have to convert things by hand back to the (known) derived type.

6 years agoassertions checking if pointers are null are moved inside loop
nivesh [Mon, 2 Apr 2018 12:02:25 +0000 (14:02 +0200)]
assertions checking if pointers are null are moved inside loop

6 years agoMake comparator const 6141/head
Daniel Arndt [Mon, 2 Apr 2018 11:57:26 +0000 (13:57 +0200)]
Make comparator const

6 years agointroduce LA::d::Vector::add_local() and sadd_local() to avoid to many communication... 6140/head
Denis Davydov [Mon, 2 Apr 2018 07:13:05 +0000 (09:13 +0200)]
introduce LA::d::Vector::add_local() and sadd_local() to avoid to many communication in LA::d::BlockVector::mmult()

6 years agoMerge pull request #6127 from davydden/feature/get_position_vector_parallel
Daniel Arndt [Mon, 2 Apr 2018 07:04:38 +0000 (09:04 +0200)]
Merge pull request #6127 from davydden/feature/get_position_vector_parallel

make VectorTools::get_position_vector() write into vector only on loc…

6 years agoMerge pull request #6138 from drwells/check-fe-system-dynamic-cast-2
Daniel Arndt [Mon, 2 Apr 2018 06:58:31 +0000 (08:58 +0200)]
Merge pull request #6138 from drwells/check-fe-system-dynamic-cast-2

Fix an exception type.

6 years agoMerge pull request #6133 from drwells/gmres-n-tmp-vectors-bound
Daniel Arndt [Sun, 1 Apr 2018 23:15:56 +0000 (01:15 +0200)]
Merge pull request #6133 from drwells/gmres-n-tmp-vectors-bound

Gmres n tmp vectors bound

6 years agoUse at least three temporary vectors for GMRES. 6133/head
David Wells [Sat, 31 Mar 2018 23:13:16 +0000 (19:13 -0400)]
Use at least three temporary vectors for GMRES.

This prevents possible integer wrap-around that is not desired.

This was found by coverity.

6 years agoFix an exception type. 6138/head
David Wells [Sun, 1 Apr 2018 18:41:47 +0000 (14:41 -0400)]
Fix an exception type.

The documentation of the function states that we should use
ExcInterpolationNotImplemented.

6 years agoMerge pull request #6136 from bangerth/doc-update-3
Denis Davydov [Sun, 1 Apr 2018 18:21:17 +0000 (20:21 +0200)]
Merge pull request #6136 from bangerth/doc-update-3

Fix doc mistake.

6 years agoCMake: Only set CMP0037 to old for cmake older than 3.11 6137/head
Matthias Maier [Sun, 1 Apr 2018 17:39:49 +0000 (12:39 -0500)]
CMake: Only set CMP0037 to old for cmake older than 3.11

6 years agoCMake: Remove superfluous policy switch
Matthias Maier [Sun, 1 Apr 2018 17:37:12 +0000 (12:37 -0500)]
CMake: Remove superfluous policy switch

6 years agoUpdate documentation of FE_FaceQ/P. 6128/head
Wolfgang Bangerth [Sat, 31 Mar 2018 05:37:00 +0000 (23:37 -0600)]
Update documentation of FE_FaceQ/P.

In particular, mention what happens when you use this element as part of
an FESystem element.

6 years agoFix doc mistake. 6136/head
Wolfgang Bangerth [Sun, 1 Apr 2018 17:15:13 +0000 (11:15 -0600)]
Fix doc mistake.

6 years agoMerge pull request #6113 from masterleinad/fix_fe_get_data
Wolfgang Bangerth [Sun, 1 Apr 2018 17:04:16 +0000 (11:04 -0600)]
Merge pull request #6113 from masterleinad/fix_fe_get_data

Let FiniteElement::get_*data return a std::unique_ptr

6 years agoUpdate description of Thread/Task::return_value().
Wolfgang Bangerth [Sun, 1 Apr 2018 17:00:52 +0000 (11:00 -0600)]
Update description of Thread/Task::return_value().

6 years agomake VectorTools::get_position_vector() write into vector only on locally owned cells 6127/head
Denis Davydov [Fri, 30 Mar 2018 11:37:18 +0000 (13:37 +0200)]
make VectorTools::get_position_vector() write into vector only on locally owned cells

6 years agoLet FiniteElement::get_*data return a std::unique_ptr 6113/head
Daniel Arndt [Wed, 28 Mar 2018 23:46:06 +0000 (01:46 +0200)]
Let FiniteElement::get_*data return a std::unique_ptr

6 years agoMerge pull request #6132 from drwells/check-fe-system-dynamic-cast
Denis Davydov [Sun, 1 Apr 2018 08:30:30 +0000 (10:30 +0200)]
Merge pull request #6132 from drwells/check-fe-system-dynamic-cast

Explicitly check the result of a dynamic_cast.

6 years agoMerge pull request #6101 from davydden/doc/fix_latex_lapack_scalapack
Denis Davydov [Sun, 1 Apr 2018 08:29:47 +0000 (10:29 +0200)]
Merge pull request #6101 from davydden/doc/fix_latex_lapack_scalapack

fix LaTeX in Lapack and ScaLapack

6 years agoExplicitly check the result of a dynamic_cast. 6132/head
David Wells [Sat, 31 Mar 2018 20:33:54 +0000 (16:33 -0400)]
Explicitly check the result of a dynamic_cast.

6 years agoRemove an old comment.
David Wells [Sat, 31 Mar 2018 23:10:53 +0000 (19:10 -0400)]
Remove an old comment.

This function has been long since rewritten (see 3f3faccbcdc) so the
comment made back in bc62a2d882a no longer applies.

6 years agoMerge pull request #6131 from drwells/move-dtor-code-inside-try
Daniel Arndt [Sat, 31 Mar 2018 22:29:32 +0000 (00:29 +0200)]
Merge pull request #6131 from drwells/move-dtor-code-inside-try

Move some destructor code inside a try block.

6 years agoMerge pull request #6114 from bangerth/movable
Bruno Turcksin [Sat, 31 Mar 2018 20:21:57 +0000 (16:21 -0400)]
Merge pull request #6114 from bangerth/movable

Enable writing Threads::Thread<T> for types T that are only movable.

6 years agoMerge pull request #6130 from tamiko/fix_a_test_14
David Wells [Sat, 31 Mar 2018 20:21:18 +0000 (16:21 -0400)]
Merge pull request #6130 from tamiko/fix_a_test_14

petsc/solver_02: Make range more forgiving

6 years agoMove some destructor code inside a try block. 6131/head
David Wells [Sat, 31 Mar 2018 20:13:59 +0000 (16:13 -0400)]
Move some destructor code inside a try block.

This was caught by coverity.

6 years agopetsc/solver_02: Make range more forgiving 6130/head
Matthias Maier [Sat, 31 Mar 2018 16:30:38 +0000 (11:30 -0500)]
petsc/solver_02: Make range more forgiving

Depending on the PETSc version the solver takes roughly between 1069 and
1141 cycles. Just check for a genereous number of cycles (between 1050
and 1150).

6 years agoMerge pull request #6110 from drwells/avoid-slepc-deprecated
Daniel Arndt [Sat, 31 Mar 2018 06:50:23 +0000 (13:50 +0700)]
Merge pull request #6110 from drwells/avoid-slepc-deprecated

Avoid using a deprecated SLEPc function.

6 years agoAvoid using a deprecated SLEPc function. 6110/head
David Wells [Wed, 28 Mar 2018 21:00:45 +0000 (17:00 -0400)]
Avoid using a deprecated SLEPc function.

EPSComputeResidualNorm and EPSComputeRelativeError were both deprecated
in the 3.6 release in favor of EPSComputeError.

6 years agoMerge pull request #6126 from masterleinad/fix_libc++
Matthias Maier [Fri, 30 Mar 2018 20:06:06 +0000 (15:06 -0500)]
Merge pull request #6126 from masterleinad/fix_libc++

Avoid using functionality removed in libc++ for C++17

6 years agoMerge pull request #6120 from tamiko/fix_a_test_12
Matthias Maier [Fri, 30 Mar 2018 19:48:56 +0000 (14:48 -0500)]
Merge pull request #6120 from tamiko/fix_a_test_12

Tests: Slightly change stopping criterion in petsc/solver_02

6 years agoMerge pull request #6122 from tamiko/fix_a_test_13
Daniel Arndt [Fri, 30 Mar 2018 17:03:17 +0000 (00:03 +0700)]
Merge pull request #6122 from tamiko/fix_a_test_13

Tests: update petsc_complex/solver_real_02

6 years agoFix remainig occurrences of std::bind1st and std::bind2nd in bundled boost 6126/head
Daniel Arndt [Fri, 30 Mar 2018 16:10:47 +0000 (18:10 +0200)]
Fix remainig occurrences of std::bind1st and std::bind2nd in bundled boost

6 years agoDetect std::auto_ptr support
Daniel Arndt [Fri, 30 Mar 2018 10:23:57 +0000 (12:23 +0200)]
Detect std::auto_ptr support

6 years agoAvoid auto_ptr in bundled boost
Daniel Arndt [Fri, 30 Mar 2018 10:54:48 +0000 (12:54 +0200)]
Avoid auto_ptr in bundled boost

6 years agoAvoid auto_ptr in bundled muParser
Daniel Arndt [Fri, 30 Mar 2018 10:54:37 +0000 (12:54 +0200)]
Avoid auto_ptr in bundled muParser

6 years agoMerge pull request #6123 from bangerth/fix-is_contiguous
Jean-Paul Pelteret [Fri, 30 Mar 2018 07:51:43 +0000 (09:51 +0200)]
Merge pull request #6123 from bangerth/fix-is_contiguous

Make sure is_contiguous() compares addresses, not values, of array objects.

6 years agoAdd test. 6123/head
Wolfgang Bangerth [Thu, 29 Mar 2018 21:42:29 +0000 (15:42 -0600)]
Add test.

6 years agoMake sure is_contiguous() compares addresses, not values, of array objects.
Wolfgang Bangerth [Thu, 29 Mar 2018 21:33:19 +0000 (15:33 -0600)]
Make sure is_contiguous() compares addresses, not values, of array objects.

6 years agoTests: update petsc_complex/solver_real_02 6122/head
Matthias Maier [Thu, 29 Mar 2018 21:07:02 +0000 (16:07 -0500)]
Tests: update petsc_complex/solver_real_02

Make this test a bit more stable to avoid a floating point exception,
see pull request #6120

Set number of allowed iterations to the same value that is use in
petsc/solver_02

6 years agoTests: Slightly change stopping criterion in petsc/solver_02 6120/head
Matthias Maier [Thu, 29 Mar 2018 20:16:40 +0000 (15:16 -0500)]
Tests: Slightly change stopping criterion in petsc/solver_02

The Chebyshev smoother for PETSc is quite a tricky beast. Maybe it would
be best to simply not use it. Anyway, it turns out that simply changing
the stopping criterion for the inner smoother a bit let's this test
pass. [1]

Let's just give up and let the test pass...

Fixes #5320

[1] Under certain circumstances the test fails with a floating point
exception (division by zero) with newer PETSc 3.8.X.

6 years agoMerge pull request #6111 from Rombur/cuda_warnings
Daniel Arndt [Thu, 29 Mar 2018 20:07:19 +0000 (03:07 +0700)]
Merge pull request #6111 from Rombur/cuda_warnings

Fix warnings from AssertCuda and AssertCusparse

6 years agoMerge pull request #6112 from masterleinad/fix_filtered_iterator_ptr
Wolfgang Bangerth [Thu, 29 Mar 2018 16:47:40 +0000 (10:47 -0600)]
Merge pull request #6112 from masterleinad/fix_filtered_iterator_ptr

Let Predicate*::clone return a std::unique_ptr

6 years agodoc: minor fixes in step-37 6118/head
Denis Davydov [Thu, 29 Mar 2018 15:14:45 +0000 (17:14 +0200)]
doc: minor fixes in step-37

6 years agoMerge pull request #6116 from bangerth/step-12
Daniel Arndt [Thu, 29 Mar 2018 07:49:16 +0000 (14:49 +0700)]
Merge pull request #6116 from bangerth/step-12

Remove unnecessary semi-colons in step-12.

6 years agoMerge pull request #6117 from bangerth/step-12-2
Daniel Arndt [Thu, 29 Mar 2018 06:49:03 +0000 (13:49 +0700)]
Merge pull request #6117 from bangerth/step-12-2

Adapt step-12 some further.

6 years agoAdapt step-12 some further. 6117/head
Wolfgang Bangerth [Thu, 29 Mar 2018 03:40:49 +0000 (21:40 -0600)]
Adapt step-12 some further.

In #5988, I added a function beta(...) that computes the advection direction
in step-12, but I forgot to update one other place where we computed this
direction as well. Use the new function in there as well.

6 years agoRemove unnecessary semi-colons in step-12. 6116/head
Wolfgang Bangerth [Thu, 29 Mar 2018 03:31:52 +0000 (21:31 -0600)]
Remove unnecessary semi-colons in step-12.

6 years agoAdd a changelog entry. 6114/head
Wolfgang Bangerth [Thu, 29 Mar 2018 01:31:07 +0000 (19:31 -0600)]
Add a changelog entry.

6 years agoAdd tests.
Wolfgang Bangerth [Thu, 29 Mar 2018 01:30:45 +0000 (19:30 -0600)]
Add tests.

6 years agoEnable writing Threads::Thread<T> for types T that are only movable.
Wolfgang Bangerth [Thu, 29 Mar 2018 01:30:28 +0000 (19:30 -0600)]
Enable writing Threads::Thread<T> for types T that are only movable.

Previously, it was not possible to write Threads::new_thread(&foo) or Threads::new_task(&foo)
for functions that return an object whose type is not copyable, but is movable. That's
because in a number of places in the internal machinery of the Threads::Thread and
Threads::Task classes, we didn't account for such types.

This patch fixes this.

6 years agoLet Predicate*::clone return a std::unique_ptr 6112/head
Daniel Arndt [Wed, 28 Mar 2018 16:37:13 +0000 (18:37 +0200)]
Let Predicate*::clone return a std::unique_ptr

6 years agoFix warnings from AssertCuda and AssertCusparse 6111/head
Bruno Turcksin [Wed, 28 Mar 2018 20:24:04 +0000 (16:24 -0400)]
Fix warnings from AssertCuda and AssertCusparse

6 years agoMerge pull request #6105 from tamiko/fix_gla_tests
David Wells [Wed, 28 Mar 2018 20:22:14 +0000 (16:22 -0400)]
Merge pull request #6105 from tamiko/fix_gla_tests

Tests: Update gla/* test outputs

6 years agoMerge pull request #6087 from bangerth/fix-petsc 6084/head
David Wells [Wed, 28 Mar 2018 20:19:44 +0000 (16:19 -0400)]
Merge pull request #6087 from bangerth/fix-petsc

Fix iterating over entries of parallel PETSc matrices.

6 years agoMerge pull request #6109 from masterleinad/use_reference
David Wells [Wed, 28 Mar 2018 20:17:40 +0000 (16:17 -0400)]
Merge pull request #6109 from masterleinad/use_reference

Avoid copies clang-tidy complains about

6 years agoMerge pull request #6107 from davydden/feature/p_vector_compress_split
Martin Kronbichler [Wed, 28 Mar 2018 12:52:55 +0000 (14:52 +0200)]
Merge pull request #6107 from davydden/feature/p_vector_compress_split

la::p::Vector: split compress() and update_ghosts() calls into chunks

6 years agoMerge pull request #5989 from drwells/update-tbb
Bruno Turcksin [Wed, 28 Mar 2018 12:45:34 +0000 (08:45 -0400)]
Merge pull request #5989 from drwells/update-tbb

Update tbb

6 years agoextend description 6107/head
Denis Davydov [Wed, 28 Mar 2018 09:00:23 +0000 (11:00 +0200)]
extend description


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.