]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
6 years agoFix documentation of SparsityPattern 6209/head
Daniel Arndt [Mon, 9 Apr 2018 15:20:45 +0000 (17:20 +0200)]
Fix documentation of SparsityPattern

6 years agoMerge pull request #6124 from bangerth/fix-vector-tools
Daniel Arndt [Mon, 9 Apr 2018 14:25:38 +0000 (16:25 +0200)]
Merge pull request #6124 from bangerth/fix-vector-tools

Fix VectorTools::integrate_difference()

6 years agoMerge pull request #6204 from masterleinad/macos_setup_astyle
Timo Heister [Mon, 9 Apr 2018 14:20:19 +0000 (10:20 -0400)]
Merge pull request #6204 from masterleinad/macos_setup_astyle

Allow setup_astyle.sh to be used on macOS as well

6 years agoMerge pull request #6062 from BenBrands/MRRR
Bruno Turcksin [Mon, 9 Apr 2018 13:39:29 +0000 (09:39 -0400)]
Merge pull request #6062 from BenBrands/MRRR

ScaLAPACKMatrix: add eigensolver routines using MRRR algorithm

6 years agoMerge pull request #6191 from bangerth/doc-update-2
David Wells [Mon, 9 Apr 2018 12:20:26 +0000 (08:20 -0400)]
Merge pull request #6191 from bangerth/doc-update-2

Clarify a comment in FiniteElement.

6 years agoMerge pull request #6205 from davydden/doc/step-37_hanging_nodes
Martin Kronbichler [Mon, 9 Apr 2018 07:02:01 +0000 (09:02 +0200)]
Merge pull request #6205 from davydden/doc/step-37_hanging_nodes

doc: mention Kelly estimator in step-37 extensions

6 years agodoc: mention Kelly estimator in step-37 extensions 6205/head
Denis Davydov [Sun, 8 Apr 2018 20:32:06 +0000 (22:32 +0200)]
doc: mention Kelly estimator in step-37 extensions

6 years agoClarify a comment in FiniteElement. 6191/head
Wolfgang Bangerth [Sat, 7 Apr 2018 05:03:46 +0000 (23:03 -0600)]
Clarify a comment in FiniteElement.

6 years agoMerge pull request #6176 from masterleinad/cast_dynamic
David Wells [Mon, 9 Apr 2018 01:08:23 +0000 (21:08 -0400)]
Merge pull request #6176 from masterleinad/cast_dynamic

Use dynamic_unique_cast in more places

6 years agoAllow setup_astyle.sh to be used on macOS as well 6204/head
Daniel Arndt [Sun, 8 Apr 2018 16:33:52 +0000 (18:33 +0200)]
Allow setup_astyle.sh to be used on macOS as well

6 years agoMerge pull request #6190 from bangerth/doc-update
Daniel Arndt [Sun, 8 Apr 2018 11:58:33 +0000 (13:58 +0200)]
Merge pull request #6190 from bangerth/doc-update

Extend documentation of contrib/utilities/setup_astyle.sh.

6 years agoMerge pull request #6189 from bangerth/noreturn
David Wells [Sat, 7 Apr 2018 23:59:05 +0000 (19:59 -0400)]
Merge pull request #6189 from bangerth/noreturn

Mark a couple of functions as '[[noreturn]]'.

6 years agoMerge pull request #6203 from masterleinad/separate_step4
David Wells [Sat, 7 Apr 2018 22:41:58 +0000 (18:41 -0400)]
Merge pull request #6203 from masterleinad/separate_step4

Guard blank line by HTML comment

6 years agoGuard blank line by HTML comment 6203/head
Daniel Arndt [Sat, 7 Apr 2018 22:36:28 +0000 (00:36 +0200)]
Guard blank line by HTML comment

6 years agoMerge pull request #6201 from masterleinad/separate_step4
Martin Kronbichler [Sat, 7 Apr 2018 21:26:37 +0000 (23:26 +0200)]
Merge pull request #6201 from masterleinad/separate_step4

Separate a note from 'The commented program'

6 years agoMerge pull request #6198 from davydden/feature/zero_out_ghosts
Martin Kronbichler [Sat, 7 Apr 2018 20:33:17 +0000 (22:33 +0200)]
Merge pull request #6198 from davydden/feature/zero_out_ghosts

make zero_out_ghosts() const

6 years agoSeparate a note from 'The commented program' 6201/head
Daniel Arndt [Sat, 7 Apr 2018 20:09:50 +0000 (22:09 +0200)]
Separate a note from 'The commented program'

6 years agoMerge pull request #6199 from tjhei/fix_changelog_entry2
Daniel Arndt [Sat, 7 Apr 2018 19:25:18 +0000 (21:25 +0200)]
Merge pull request #6199 from tjhei/fix_changelog_entry2

fix changelog date format

6 years agoMerge pull request #6195 from kronbichler/tensor_always_inline2
David Wells [Sat, 7 Apr 2018 19:23:57 +0000 (15:23 -0400)]
Merge pull request #6195 from kronbichler/tensor_always_inline2

Use DEAL_II_ALWAYS_INLINE in SymmetricTensor

6 years agofix changelog date format 6199/head
Timo Heister [Sat, 7 Apr 2018 19:22:25 +0000 (15:22 -0400)]
fix changelog date format

6 years agoMerge pull request #6196 from kronbichler/multigrid_test_robustness
Daniel Arndt [Sat, 7 Apr 2018 18:45:11 +0000 (20:45 +0200)]
Merge pull request #6196 from kronbichler/multigrid_test_robustness

Make a multigrid test more robust: Filter out small floats

6 years agomake zero_out_ghosts() const 6198/head
Denis Davydov [Sat, 7 Apr 2018 17:54:23 +0000 (19:54 +0200)]
make zero_out_ghosts() const

6 years agoMake a multigrid test more robust: Filter out small floats. 6196/head
Martin Kronbichler [Sat, 7 Apr 2018 14:26:45 +0000 (16:26 +0200)]
Make a multigrid test more robust: Filter out small floats.

6 years agoMore uses of DEAL_II_ALWAYS_INLINE 6195/head
Martin Kronbichler [Sat, 7 Apr 2018 13:59:34 +0000 (15:59 +0200)]
More uses of DEAL_II_ALWAYS_INLINE

6 years agoMerge pull request #6119 from BenBrands/pseudoinverse
Denis Davydov [Sat, 7 Apr 2018 13:16:15 +0000 (15:16 +0200)]
Merge pull request #6119 from BenBrands/pseudoinverse

ScaLAPACKMatrix::pseudoinverse()

6 years agoMerge pull request #6193 from bangerth/avoid-alias
David Wells [Sat, 7 Apr 2018 11:10:38 +0000 (07:10 -0400)]
Merge pull request #6193 from bangerth/avoid-alias

Avoid using an alias variable.

6 years agoMerge pull request #6192 from bangerth/add-include
Daniel Arndt [Sat, 7 Apr 2018 09:30:06 +0000 (11:30 +0200)]
Merge pull request #6192 from bangerth/add-include

Add a necessary include file.

6 years agoAvoid using an alias variable. 6193/head
Wolfgang Bangerth [Sat, 7 Apr 2018 06:14:47 +0000 (00:14 -0600)]
Avoid using an alias variable.

6 years agoAdd a necessary include file. 6192/head
Wolfgang Bangerth [Sat, 7 Apr 2018 06:13:41 +0000 (00:13 -0600)]
Add a necessary include file.

This include file is currently transitively imported via mapping_q_generic.h, but
that may change at some point in the future. Since it's needed in grid_tools.cc, add
it explicitly.

6 years agoExtend documentation of contrib/utilities/setup_astyle.sh. 6190/head
Wolfgang Bangerth [Sat, 7 Apr 2018 04:41:44 +0000 (22:41 -0600)]
Extend documentation of contrib/utilities/setup_astyle.sh.

6 years agoMark a couple of functions as '[[noreturn]]'. 6189/head
Wolfgang Bangerth [Fri, 6 Apr 2018 22:57:46 +0000 (16:57 -0600)]
Mark a couple of functions as '[[noreturn]]'.

6 years agoMerge pull request #6187 from luca-heltai/minor-message-fix
Wolfgang Bangerth [Fri, 6 Apr 2018 21:37:03 +0000 (15:37 -0600)]
Merge pull request #6187 from luca-heltai/minor-message-fix

Fix name in static_assert.

6 years agoCorrections 6062/head
Benjamin Brands [Mon, 19 Mar 2018 15:57:42 +0000 (16:57 +0100)]
Corrections

6 years agoFix name in static_assert. 6187/head
Luca Heltai [Fri, 6 Apr 2018 19:07:55 +0000 (21:07 +0200)]
Fix name in static_assert.

6 years agoMerge pull request #6181 from masterleinad/check-mapping-q-dynamic-cast
Wolfgang Bangerth [Fri, 6 Apr 2018 18:57:56 +0000 (12:57 -0600)]
Merge pull request #6181 from masterleinad/check-mapping-q-dynamic-cast

Check the result of a dynamic_cast.

6 years agoUse dynamic_unique_cast 6176/head
Daniel Arndt [Tue, 3 Apr 2018 21:55:10 +0000 (23:55 +0200)]
Use dynamic_unique_cast

6 years agoMerge pull request #6171 from luca-heltai/fix-patterns-tools
Bruno Turcksin [Fri, 6 Apr 2018 17:46:59 +0000 (13:46 -0400)]
Merge pull request #6171 from luca-heltai/fix-patterns-tools

Fix bug in patterns.h

6 years agoMerge pull request #6180 from masterleinad/move_dynamic_unique_cast
Bruno Turcksin [Fri, 6 Apr 2018 17:46:26 +0000 (13:46 -0400)]
Merge pull request #6180 from masterleinad/move_dynamic_unique_cast

Move dynamic_unique_cast to Utilities

6 years agoMove dynamic_unique_cast to Utilities 6180/head
Daniel Arndt [Fri, 6 Apr 2018 13:04:38 +0000 (15:04 +0200)]
Move dynamic_unique_cast to Utilities

6 years agoCheck the result of a dynamic_cast. 6181/head
Daniel Arndt [Fri, 6 Apr 2018 13:13:51 +0000 (15:13 +0200)]
Check the result of a dynamic_cast.

6 years agoFixed output of tests. 6171/head
Luca Heltai [Fri, 6 Apr 2018 09:48:51 +0000 (11:48 +0200)]
Fixed output of tests.

6 years agoadd tests for ScaLAPACKMatrix::pseudoinverse() for square and rectangular matrices 6119/head
Benjamin Brands [Fri, 6 Apr 2018 08:14:28 +0000 (10:14 +0200)]
add tests for ScaLAPACKMatrix::pseudoinverse() for square and rectangular matrices

6 years agoadd ScaLAPACKMatrix::pseudoinverse()
Benjamin Brands [Fri, 6 Apr 2018 08:13:06 +0000 (10:13 +0200)]
add ScaLAPACKMatrix::pseudoinverse()

6 years agoadd ScaLAPACKMatrix::reinit()
Benjamin Brands [Fri, 6 Apr 2018 08:11:43 +0000 (10:11 +0200)]
add ScaLAPACKMatrix::reinit()

6 years agoMerge pull request #6170 from masterleinad/more_digits_test
Martin Kronbichler [Fri, 6 Apr 2018 08:27:42 +0000 (10:27 +0200)]
Merge pull request #6170 from masterleinad/more_digits_test

Allow more digits for output in a few tests

6 years agoMerge pull request #6174 from bangerth/use-dynamic_unique_ptr
Daniel Arndt [Fri, 6 Apr 2018 08:04:09 +0000 (10:04 +0200)]
Merge pull request #6174 from bangerth/use-dynamic_unique_ptr

Use dynamic_unique_cast() where appropriate.

6 years agoMerge pull request #6173 from bangerth/fix-6161
Denis Davydov [Fri, 6 Apr 2018 03:34:17 +0000 (05:34 +0200)]
Merge pull request #6173 from bangerth/fix-6161

Fix a couple minor issues with #6161.

6 years agoUse dynamic_unique_cast() where appropriate. 6174/head
Wolfgang Bangerth [Tue, 3 Apr 2018 20:43:55 +0000 (14:43 -0600)]
Use dynamic_unique_cast() where appropriate.

6 years agoMerge pull request #6152 from bangerth/dynamic_unique_cast
Daniel Arndt [Fri, 6 Apr 2018 00:01:04 +0000 (02:01 +0200)]
Merge pull request #6152 from bangerth/dynamic_unique_cast

Introduce dynamic_unique_cast.

6 years agoFix a couple minor issues with #6161. 6173/head
Wolfgang Bangerth [Thu, 5 Apr 2018 23:20:42 +0000 (17:20 -0600)]
Fix a couple minor issues with #6161.

6 years agoMerge pull request #6161 from weixiong-zheng-berkeley/extrude_tria_overload
Wolfgang Bangerth [Thu, 5 Apr 2018 23:18:00 +0000 (17:18 -0600)]
Merge pull request #6161 from weixiong-zheng-berkeley/extrude_tria_overload

GridGenerator::extrude_triangulation overload

6 years agoFix bug in patterns.h
Luca Heltai [Thu, 5 Apr 2018 20:32:47 +0000 (22:32 +0200)]
Fix bug in patterns.h

6 years agoMerge pull request #6163 from masterleinad/simplify_astyle
Matthias Maier [Thu, 5 Apr 2018 19:51:38 +0000 (14:51 -0500)]
Merge pull request #6163 from masterleinad/simplify_astyle

Make using astyle for indenting a bit easier

6 years agoSimplify logic for finding the path to astyle 6163/head
Daniel Arndt [Thu, 5 Apr 2018 19:16:26 +0000 (21:16 +0200)]
Simplify logic for finding the path to astyle

6 years agoAllow more digits for output in a few tests 6170/head
Daniel Arndt [Thu, 5 Apr 2018 18:54:56 +0000 (20:54 +0200)]
Allow more digits for output in a few tests

6 years agoMerge pull request #6149 from Rombur/python_cmake
Denis Davydov [Thu, 5 Apr 2018 18:54:15 +0000 (20:54 +0200)]
Merge pull request #6149 from Rombur/python_cmake

Call find_package(PythonInterp) before find_package(PythonLibs)

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 agoCheck the SHA256 checksum for astyle_2.04_linux.tar.gz
Daniel Arndt [Thu, 5 Apr 2018 15:53:44 +0000 (17:53 +0200)]
Check the SHA256 checksum for astyle_2.04_linux.tar.gz

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 agoGeneralized tria extruding and reimplementing existing extrude function #6158 6161/head
Weixiong Zheng [Thu, 5 Apr 2018 01:17:34 +0000 (18:17 -0700)]
Generalized tria extruding and reimplementing existing extrude function #6158

1. Added extrude_triangulation overload with doxygen documentation
   as argument-generalized version to the existing function with testing
2. Re-implemented existing extruding by using the newly developed one
3. A new entry was added for doc/news/changes/minor/

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 agoMake using astyle for indenting a bit easier
Daniel Arndt [Thu, 5 Apr 2018 09:10:48 +0000 (11:10 +0200)]
Make using astyle for indenting a bit easier

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 agoAdd a changelog entry. 6152/head
Wolfgang Bangerth [Tue, 3 Apr 2018 17:16:01 +0000 (11:16 -0600)]
Add a changelog entry.

6 years agoAdd a test.
Wolfgang Bangerth [Tue, 3 Apr 2018 17:15:08 +0000 (11:15 -0600)]
Add a test.

6 years agoIntroduce dynamic_unique_cast.
Wolfgang Bangerth [Tue, 3 Apr 2018 17:14:54 +0000 (11:14 -0600)]
Introduce dynamic_unique_cast.

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 agoAdd a changelog entry. 6124/head
Wolfgang Bangerth [Thu, 29 Mar 2018 22:25:20 +0000 (16:25 -0600)]
Add a changelog entry.

6 years agoAdd a test.
Wolfgang Bangerth [Thu, 29 Mar 2018 22:25:05 +0000 (16:25 -0600)]
Add a test.

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 agoUpdate a comment to explain what is going to happen.
Wolfgang Bangerth [Thu, 29 Mar 2018 22:24:51 +0000 (16:24 -0600)]
Update a comment to explain what is going to happen.

6 years agoFix VectorTools::integrate_difference() for NaN components.
Wolfgang Bangerth [Thu, 29 Mar 2018 22:24:35 +0000 (16:24 -0600)]
Fix VectorTools::integrate_difference() for NaN components.

The VectorTools::integrate_difference() function allows users
to provide a weight function that can also serve as a component mask
to select individual components of the solution vector for error
computation. For components not selected, such a mask would then
simply be zero.

In some cases, the solution vector contains NaN numbers, for example
when one uses the FE_FaceQ element for certain components of the
solution vector and uses a quadrature formula for error evaluation
that has quadrature points in the interior of the cell. For any
regular solution component for which the component mask has a zero
weight, the value of that component will be multiplied by zero and
consequently does not add anything to the error computation. However,
if the NaNs of a FE_FaceQ are multiplied with zero weights, the result
is still a NaN, and adding it to the values times weights of the other
components results in NaNs -- in effect rendering it impossible to get
any information out of the VectorTools::integrate_difference()
function if one of the finite elements involved is FE_FaceQ.

This is now fixed by simply skipping vector components for which the
weight vector is zero. This has the same result as before for all
normal situations, but also properly skips the NaN case outlined
above.


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.