]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
8 years agoAdd similar test to matrix_vector_14b for the FE_Q case. 3024/head
Martin Kronbichler [Sat, 27 Aug 2016 13:51:16 +0000 (15:51 +0200)]
Add similar test to matrix_vector_14b for the FE_Q case.

8 years agoRe-introduce and fix matrix_vector_14b test
Martin Kronbichler [Sat, 27 Aug 2016 13:48:45 +0000 (15:48 +0200)]
Re-introduce and fix matrix_vector_14b test

8 years agoEnable computations with different numbers of quadrature points and degrees of freedo...
Martin Kronbichler [Sat, 27 Aug 2016 13:48:05 +0000 (15:48 +0200)]
Enable computations with different numbers of quadrature points and degrees of freedom per cell.

Cleanup manifolds.

8 years agoMerge pull request #3022 from bangerth/add-assertion
Denis Davydov [Sat, 27 Aug 2016 06:01:52 +0000 (08:01 +0200)]
Merge pull request #3022 from bangerth/add-assertion

Add an assertion for clearer errors.

8 years agoAdd an assertion for clearer errors. 3022/head
Wolfgang Bangerth [Sat, 27 Aug 2016 03:03:07 +0000 (21:03 -0600)]
Add an assertion for clearer errors.

Specifically, say that we can use GridGenerator::extract_boundary_mesh() for p::d::Triangulation.

8 years agoMerge pull request #3009 from tjhei/ide_files
Wolfgang Bangerth [Fri, 26 Aug 2016 17:49:30 +0000 (11:49 -0600)]
Merge pull request #3009 from tjhei/ide_files

Add IDE format styles

8 years agoMerge pull request #3016 from bangerth/update-exceptions
David Wells [Fri, 26 Aug 2016 12:42:31 +0000 (08:42 -0400)]
Merge pull request #3016 from bangerth/update-exceptions

Remove further instances of the ExcInvalidConstructorCall exception.

8 years agoMerge pull request #3012 from gassmoeller/add_visit_time_information
Bruno Turcksin [Fri, 26 Aug 2016 11:59:22 +0000 (07:59 -0400)]
Merge pull request #3012 from gassmoeller/add_visit_time_information

Add time information to .visit files created by DataOut

8 years agoRemove further instances of the ExcInvalidConstructorCall exception. 3016/head
Wolfgang Bangerth [Thu, 25 Aug 2016 19:23:58 +0000 (13:23 -0600)]
Remove further instances of the ExcInvalidConstructorCall exception.

8 years agoAdd .visit time information 3012/head
Rene Gassmoeller [Wed, 24 Aug 2016 23:11:34 +0000 (17:11 -0600)]
Add .visit time information

8 years agoMerge pull request #2994 from drwells/remove-duplicated-tests-02
David Wells [Thu, 25 Aug 2016 23:50:25 +0000 (19:50 -0400)]
Merge pull request #2994 from drwells/remove-duplicated-tests-02

Remove duplicated tests 02

8 years agoMerge pull request #3017 from bangerth/update-exceptions-2
David Wells [Thu, 25 Aug 2016 22:51:36 +0000 (18:51 -0400)]
Merge pull request #3017 from bangerth/update-exceptions-2

More work on purging exceptions without error text.

8 years agoUse ++k, not ++k, in a specific test. 2994/head
David Wells [Sun, 21 Aug 2016 18:07:57 +0000 (14:07 -0400)]
Use ++k, not ++k, in a specific test.

This test says that it tests the preincrement version of the operator.

8 years agoRemove duplicated tests.
David Wells [Sun, 21 Aug 2016 17:54:14 +0000 (13:54 -0400)]
Remove duplicated tests.

This commit continues the work started in b9c64f0dac and removes tests
that are identical up to things the compiler sees (e.g., tests that are
the same aside from commenting or formatting). I did this by deleting
comments with the preprocessor and then running the result through
clang-format.

For the sake of posterity: I compiled this list by executing the python
script

#!/usr/bin/env python
import atexit
import hashlib
import os
import shutil
import subprocess
import sys
import tempfile

def main():
    current_test_file_name = sys.argv[1]
    preprocessed_file_name = "/tmp/unique_file_name.cc"
    subprocess.check_call(
        ["g++",
         "-fpreprocessed", "-dD", "-E",
         current_test_file_name,
         "-o", preprocessed_file_name],
        stderr=sys.stderr)
    atexit.register(lambda name=preprocessed_file_name: os.remove(name))

    # get rid of any line number indicators cpp may have left
    subprocess.check_call(["sed", "-i", "/^# [0-9]/d", preprocessed_file_name],
                          stderr=sys.stderr)
    # reformat source to canonical form
    subprocess.check_call(["clang-format", "-i", preprocessed_file_name])

    md5sum = hashlib.md5()
    with open(preprocessed_file_name, "rb") as preprocessed_file_handle:
        for block in iter(lambda: preprocessed_file_handle.read(65536), b""):
            md5sum.update(block)
    print(md5sum.hexdigest(), current_test_file_name)

if __name__ == '__main__':
    main()

in the shell command

find ./ -name '*.cc' | grep -v all-headers | xargs -I% python formatted_md5.py \
    % | tee preprocessed-md5.txt

and then sorted the results with the shell command

awk '{print $2, $1}' preprocessed-md5.txt | sort --key=2,2 \
    | uniq --all-repeated=separate --skip-fields=1

What follows is a brief description of why each test was removed:

bits/block_sparse_matrix_iterator_03.cc
Same as bits/block_sparse_matrix_iterator_02.cc (up to a comment)

bits/sparse_matrix_01a.cc
Identical (up to a comment) to bits/sparse_matrix_01.cc

bits/step-16b.cc
Identical (up to a comment) to bits/step-16.cc

bits/vector_25.cc
Identical (up to a comment) to bits/vector_24.cc

The tests
dofs/dof_constraints_06_x.cc
dofs/dof_constraints_10_x.cc
dofs/sparsity_pattern_x.cc
dofs/sparsity_pattern_01_x.cc

were all duplicates (up to comments) of tests without '_x's in their
names. This was a result of deleting CompressedSparsityPattern et al.

fe/fe_support_points_q_qg0.cc
Identical (up to a blank line) to fe/fe_support_points_q_dg0.cc

fe/fe_values_view_10_single_04.cc
Identical (up to some code formatting and a comment) to
fe/fe_values_view_08.cc

The tests
full_matrix/complex_complex_full_matrix_05.cc
full_matrix/complex_complex_full_matrix_09.cc

were duplicates of the corresponding 'complex_real_full_matrix_*.cc'
test. Since the full matrices were real valued I kept the other ones.

grid/have_same_coarse_mesh_04.cc
Completely identical to grid/have_same_coarse_mesh_02.cc

matrix_free/matrix_vector_14b.cc
This test claims it uses more quadrature points than
matrix_free/matrix_vector_14.cc, but does not (and changing the number
of quadrature points is nontrivial for this test)

petsc/25.cc
Identical (up to a comment) to petsc/24.cc

trilinos/25.cc
Identical (up to a comment) to trilinos/24.cc

8 years agoProvide more explanation for a number of exceptions. 3017/head
Wolfgang Bangerth [Thu, 25 Aug 2016 19:51:48 +0000 (13:51 -0600)]
Provide more explanation for a number of exceptions.

8 years agoEquip an error message with an error text.
Wolfgang Bangerth [Thu, 25 Aug 2016 19:51:39 +0000 (13:51 -0600)]
Equip an error message with an error text.

8 years agoRemove an exception that is apparently no longer used.
Wolfgang Bangerth [Thu, 25 Aug 2016 19:50:58 +0000 (13:50 -0600)]
Remove an exception that is apparently no longer used.

8 years agoMerge pull request #3015 from bangerth/update-exceptions
Bruno Turcksin [Thu, 25 Aug 2016 18:25:39 +0000 (14:25 -0400)]
Merge pull request #3015 from bangerth/update-exceptions

Get rid of the confusing ExcInvalidConstructorCall exception.

8 years agoGet rid of the confusing ExcInvalidConstructorCall exception. 3015/head
Wolfgang Bangerth [Thu, 25 Aug 2016 16:19:03 +0000 (10:19 -0600)]
Get rid of the confusing ExcInvalidConstructorCall exception.

This exception did not print any useful error message, and it was used in a significant
number of places that just happened to check obscure conditions, without really
explaining in the error message what concretely they were doing. Replace all of these
with ExcMessage and provide explanations what exactly it is that's going wrong.

8 years agoMake two tests unique.
David Wells [Thu, 25 Aug 2016 14:23:29 +0000 (10:23 -0400)]
Make two tests unique.

These tests were previously identical to
full_matrix/complex_real_full_matrix_19.cc and
full_matrix/complex_real_full_matrix_42.cc, respectively.

8 years agoMerge pull request #3010 from bangerth/exception-update
Denis Davydov [Wed, 24 Aug 2016 17:47:16 +0000 (19:47 +0200)]
Merge pull request #3010 from bangerth/exception-update

Provide better error messages.

8 years agoAdd IDE format styles and rearrange dirs 3009/head
Timo Heister [Wed, 24 Aug 2016 15:04:29 +0000 (11:04 -0400)]
Add IDE format styles and rearrange dirs

8 years agoProvide better error messages. 3010/head
Wolfgang Bangerth [Wed, 24 Aug 2016 16:27:36 +0000 (10:27 -0600)]
Provide better error messages.

8 years agoMerge pull request #3008 from bangerth/doc-update
Timo Heister [Wed, 24 Aug 2016 14:16:35 +0000 (10:16 -0400)]
Merge pull request #3008 from bangerth/doc-update

Update documentation of VectorMemory::Pointer.

8 years agoUpdate documentation of VectorMemory::Pointer. 3008/head
Wolfgang Bangerth [Wed, 24 Aug 2016 12:24:16 +0000 (06:24 -0600)]
Update documentation of VectorMemory::Pointer.

8 years agoMerge pull request #3007 from bangerth/improve-exception
Bruno Turcksin [Wed, 24 Aug 2016 12:12:16 +0000 (08:12 -0400)]
Merge pull request #3007 from bangerth/improve-exception

Equip one exception with an error text.

8 years agoEquip one exception with an error text. 3007/head
Wolfgang Bangerth [Tue, 23 Aug 2016 22:21:55 +0000 (16:21 -0600)]
Equip one exception with an error text.

Remove a second exception class that was unused.

8 years agoMerge pull request #3006 from bangerth/fix-another-test
Denis Davydov [Tue, 23 Aug 2016 14:44:02 +0000 (16:44 +0200)]
Merge pull request #3006 from bangerth/fix-another-test

Make sure a test that wants to test complex numbers actually does so.

8 years agoMake sure a test that wants to test complex numbers actually does so. 3006/head
Wolfgang Bangerth [Tue, 23 Aug 2016 14:24:03 +0000 (08:24 -0600)]
Make sure a test that wants to test complex numbers actually does so.

8 years agoMerge pull request #3004 from tjhei/msvc_fixes
Wolfgang Bangerth [Tue, 23 Aug 2016 14:02:46 +0000 (08:02 -0600)]
Merge pull request #3004 from tjhei/msvc_fixes

MSVC fixes

8 years agoremove unnecessary include 3004/head
Timo Heister [Tue, 23 Aug 2016 13:00:34 +0000 (09:00 -0400)]
remove unnecessary include

8 years agodisable LA [block]vector instantiations for MSVC
Timo Heister [Mon, 22 Aug 2016 16:46:08 +0000 (12:46 -0400)]
disable LA [block]vector instantiations for MSVC

8 years agobump boost msvc detection
Timo Heister [Mon, 22 Aug 2016 17:47:16 +0000 (13:47 -0400)]
bump boost msvc detection

8 years agoMerge pull request #2995 from bangerth/doc-update-73
Wolfgang Bangerth [Tue, 23 Aug 2016 02:19:14 +0000 (20:19 -0600)]
Merge pull request #2995 from bangerth/doc-update-73

Minor doc update for DataOut with curved cells.

8 years agoMinor doc update for DataOut with curved cells. 2995/head
Wolfgang Bangerth [Mon, 22 Aug 2016 13:48:08 +0000 (07:48 -0600)]
Minor doc update for DataOut with curved cells.

8 years agoMerge pull request #2999 from bangerth/up-minimal-boost-version
Wolfgang Bangerth [Mon, 22 Aug 2016 23:43:12 +0000 (17:43 -0600)]
Merge pull request #2999 from bangerth/up-minimal-boost-version

Increase minimal BOOST version to 1.56.

8 years agoRequire boost 1.56. 2999/head
Wolfgang Bangerth [Mon, 22 Aug 2016 21:20:04 +0000 (15:20 -0600)]
Require boost 1.56.

8 years agoMerge pull request #2998 from gassmoeller/make_internaldata_polydegree_const
Matthias Maier [Mon, 22 Aug 2016 23:40:17 +0000 (18:40 -0500)]
Merge pull request #2998 from gassmoeller/make_internaldata_polydegree_const

Make MappingQGeneric::InternalData::polynomial_degree const

8 years agoMerge pull request #3000 from bangerth/fix-tests
Matthias Maier [Mon, 22 Aug 2016 23:39:35 +0000 (18:39 -0500)]
Merge pull request #3000 from bangerth/fix-tests

Fix tests

8 years agoMerge pull request #3001 from bangerth/avoid-warning
Denis Davydov [Mon, 22 Aug 2016 23:38:22 +0000 (01:38 +0200)]
Merge pull request #3001 from bangerth/avoid-warning

Avoid a warning about unused variables.

8 years agoAvoid a warning about unused variables. 3001/head
Wolfgang Bangerth [Mon, 22 Aug 2016 23:09:13 +0000 (17:09 -0600)]
Avoid a warning about unused variables.

8 years agoDo the test the comment at the top of the file actually suggests. 3000/head
Wolfgang Bangerth [Mon, 22 Aug 2016 22:56:10 +0000 (16:56 -0600)]
Do the test the comment at the top of the file actually suggests.

8 years agoDo the test the comment at the top of the file actually suggests.
Wolfgang Bangerth [Mon, 22 Aug 2016 22:53:39 +0000 (16:53 -0600)]
Do the test the comment at the top of the file actually suggests.

8 years agoMerge pull request #2997 from gassmoeller/precompute_line_support_points
Wolfgang Bangerth [Mon, 22 Aug 2016 21:29:57 +0000 (15:29 -0600)]
Merge pull request #2997 from gassmoeller/precompute_line_support_points

Precompute line support points

8 years agoMove an entry to the correct place.
Wolfgang Bangerth [Mon, 22 Aug 2016 21:18:11 +0000 (15:18 -0600)]
Move an entry to the correct place.

8 years agoIncrease minimal BOOST version to 1.56.
Wolfgang Bangerth [Mon, 22 Aug 2016 21:11:36 +0000 (15:11 -0600)]
Increase minimal BOOST version to 1.56.

This is necessary because the previous minimum, 1.54, did not support
serializing std::unique_ptr for those users who have this old a BOOST
version but want to use C++11 anyway. (It does support serializing
the boost::scoped_ptr class that we use as a fall-back in non-C++11 mode
when using std_cxx11::unique_ptr.)

8 years agoMake MappingQGeneric::InternalData::polynomial_degree const 2998/head
Rene Gassmoeller [Mon, 22 Aug 2016 20:13:57 +0000 (14:13 -0600)]
Make MappingQGeneric::InternalData::polynomial_degree const

8 years agoPrecompute line support points 2997/head
Rene Gassmoeller [Mon, 22 Aug 2016 01:19:32 +0000 (19:19 -0600)]
Precompute line support points

8 years agoMerge pull request #2996 from gassmoeller/optimize_intermediate_point
Wolfgang Bangerth [Mon, 22 Aug 2016 19:37:16 +0000 (13:37 -0600)]
Merge pull request #2996 from gassmoeller/optimize_intermediate_point

Slight optimization of SphericalManifold

8 years agoSlight optimization 2996/head
Rene Gassmoeller [Sun, 21 Aug 2016 03:54:17 +0000 (21:54 -0600)]
Slight optimization

8 years agoMerge pull request #2993 from drwells/improve-increment-order
Denis Davydov [Sun, 21 Aug 2016 16:34:58 +0000 (18:34 +0200)]
Merge pull request #2993 from drwells/improve-increment-order

Prefer ++iterator to iterator++ in loops.

8 years agoPrefer ++iterator to iterator++ in loops. 2993/head
David Wells [Sun, 14 Aug 2016 22:57:42 +0000 (18:57 -0400)]
Prefer ++iterator to iterator++ in loops.

These were caught by cppcheck.

8 years agoMerge pull request #2987 from bangerth/update-CellId
Timo Heister [Sat, 20 Aug 2016 20:45:43 +0000 (16:45 -0400)]
Merge pull request #2987 from bangerth/update-CellId

Update the CellId class.

8 years agoMerge pull request #2989 from gassmoeller/optimize_qsorted_constructor
Wolfgang Bangerth [Fri, 19 Aug 2016 18:53:47 +0000 (12:53 -0600)]
Merge pull request #2989 from gassmoeller/optimize_qsorted_constructor

Improve QSorted constructor

8 years agoAddress comments 2989/head
Rene Gassmoeller [Fri, 19 Aug 2016 17:57:27 +0000 (11:57 -0600)]
Address comments

8 years agoMerge pull request #2991 from bangerth/more-video-lectures
Bruno Turcksin [Fri, 19 Aug 2016 17:17:50 +0000 (13:17 -0400)]
Merge pull request #2991 from bangerth/more-video-lectures

Link in 6 more, recently posted video lectures.

8 years agoLink in 6 more, recently posted video lectures. 2991/head
Wolfgang Bangerth [Fri, 19 Aug 2016 16:12:01 +0000 (10:12 -0600)]
Link in 6 more, recently posted video lectures.

8 years agoBetter document what happens when in/outputting CellId objects. 2987/head
Wolfgang Bangerth [Thu, 18 Aug 2016 21:07:07 +0000 (15:07 -0600)]
Better document what happens when in/outputting CellId objects.

8 years agoRename a member variable.
Wolfgang Bangerth [Thu, 18 Aug 2016 20:50:49 +0000 (14:50 -0600)]
Rename a member variable.

8 years agoUpdate the CellId class.
Wolfgang Bangerth [Thu, 18 Aug 2016 18:54:02 +0000 (12:54 -0600)]
Update the CellId class.

This basically just applies the style we use everywhere else to this class,
i.e., make the documentation more uniform, make some arguments 'const' or
a reference, move function definitions out of line, etc.

8 years agoMerge pull request #2988 from bangerth/update-indentation-script
Timo Heister [Fri, 19 Aug 2016 02:41:55 +0000 (22:41 -0400)]
Merge pull request #2988 from bangerth/update-indentation-script

Do not use 'xargs' with locally defined functions.

8 years agoPass by const reference. Different sort approach.
Rene Gassmoeller [Thu, 18 Aug 2016 21:46:19 +0000 (15:46 -0600)]
Pass by const reference. Different sort approach.

8 years agoDo not use 'xargs' with locally defined functions. 2988/head
Wolfgang Bangerth [Thu, 18 Aug 2016 21:13:07 +0000 (15:13 -0600)]
Do not use 'xargs' with locally defined functions.

This breaks some versions of 'bash'. Rather, just run the function on each
individual file -- they are not too many anyway, and should indent rather
quickly.

8 years agoMerge pull request #2986 from bangerth/remove-unnecessary-typename
David Wells [Thu, 18 Aug 2016 20:11:10 +0000 (16:11 -0400)]
Merge pull request #2986 from bangerth/remove-unnecessary-typename

Remove unnecessary 'typename'.

8 years agoRemove unnecessary 'typename'. 2986/head
Wolfgang Bangerth [Thu, 18 Aug 2016 18:38:53 +0000 (12:38 -0600)]
Remove unnecessary 'typename'.

This also avoids a resulting error with older versions of GCC.

8 years agoMerge pull request #2981 from gassmoeller/get_cell_iterator_from_cellid
Bruno Turcksin [Thu, 18 Aug 2016 15:01:50 +0000 (11:01 -0400)]
Merge pull request #2981 from gassmoeller/get_cell_iterator_from_cellid

Add a way to get a cell_iterator from a CellId

8 years agoMerge pull request #2982 from drwells/remove-effect-free-statements
Timo Heister [Thu, 18 Aug 2016 11:49:40 +0000 (07:49 -0400)]
Merge pull request #2982 from drwells/remove-effect-free-statements

Remove some statements that don't do anything.

8 years agoCorrectly increment a step counter. 2982/head
David Wells [Thu, 18 Aug 2016 03:05:17 +0000 (23:05 -0400)]
Correctly increment a step counter.

This was caught by cppcheck.

8 years agoThese were caught by cppcheck.
David Wells [Thu, 18 Aug 2016 03:04:59 +0000 (23:04 -0400)]
These were caught by cppcheck.

8 years agoAdd entry to changes.h 2981/head
Rene Gassmoeller [Wed, 17 Aug 2016 23:59:31 +0000 (17:59 -0600)]
Add entry to changes.h

8 years agoAdd a way to get a cell_iterator from a CellId
Rene Gassmoeller [Wed, 17 Aug 2016 21:15:32 +0000 (15:15 -0600)]
Add a way to get a cell_iterator from a CellId

8 years agoMerge pull request #2980 from drwells/add-ParameterHandler-xml-file-assert
Daniel Arndt [Wed, 17 Aug 2016 18:53:15 +0000 (20:53 +0200)]
Merge pull request #2980 from drwells/add-ParameterHandler-xml-file-assert

Assert input stream validity when reading XML.

8 years agoAssert input stream validity when reading XML. 2980/head
David Wells [Wed, 17 Aug 2016 17:42:35 +0000 (13:42 -0400)]
Assert input stream validity when reading XML.

As was discovered in 2bc6f8c810, every other ParameterHandler method
that takes an input stream argument and reads from it throws an
exception if the input stream is not in a valid state.

8 years agoMerge pull request #2978 from bangerth/improve-copyright-script
David Wells [Wed, 17 Aug 2016 13:34:25 +0000 (09:34 -0400)]
Merge pull request #2978 from bangerth/improve-copyright-script

Also include HTML files when updating copyright years.

8 years agoMerge pull request #2976 from bangerth/change-affiliation
Denis Davydov [Wed, 17 Aug 2016 08:42:51 +0000 (10:42 +0200)]
Merge pull request #2976 from bangerth/change-affiliation

Change the location of video lectures and publications from TAMU to Colorado State.

8 years agoMerge pull request #2975 from bangerth/grammar-police
Denis Davydov [Wed, 17 Aug 2016 05:39:20 +0000 (07:39 +0200)]
Merge pull request #2975 from bangerth/grammar-police

Grammar police: Let comments start with the verb infinitive.

8 years agoGrammar police: Let comments start with the verb infinitive. 2975/head
Wolfgang Bangerth [Wed, 17 Aug 2016 02:20:48 +0000 (20:20 -0600)]
Grammar police: Let comments start with the verb infinitive.

8 years agoAlso include HTML files when updating copyright years. 2978/head
Wolfgang Bangerth [Wed, 17 Aug 2016 02:11:04 +0000 (20:11 -0600)]
Also include HTML files when updating copyright years.

8 years agoMerge pull request #2974 from drwells/fix-parameter-handler-tests
Wolfgang Bangerth [Wed, 17 Aug 2016 02:07:07 +0000 (21:07 -0500)]
Merge pull request #2974 from drwells/fix-parameter-handler-tests

Load the correct parameter file in some tests.

8 years agoChange the location of video lectures and publications from TAMU to Colorado State. 2976/head
Wolfgang Bangerth [Wed, 17 Aug 2016 00:07:24 +0000 (18:07 -0600)]
Change the location of video lectures and publications from TAMU to Colorado State.

8 years agoLoad the correct parameter file in some tests. 2974/head
David Wells [Tue, 16 Aug 2016 18:27:35 +0000 (14:27 -0400)]
Load the correct parameter file in some tests.

Commit bd1b0e5606a performed a mass rename where some of the test files
lost track of their input files.

8 years agoMerge pull request #2971 from drwells/fix-test-matrix-tests
Daniel Arndt [Mon, 15 Aug 2016 23:06:58 +0000 (01:06 +0200)]
Merge pull request #2971 from drwells/fix-test-matrix-tests

Move testmatrix.h in the remaining tests.

8 years agoMove testmatrix.h in the remaining tests. 2971/head
David Wells [Mon, 15 Aug 2016 21:04:20 +0000 (17:04 -0400)]
Move testmatrix.h in the remaining tests.

This commit finishes the work started in bea2270a943, where
tests/lac/testmatrix.h was renamed to tests/testmatrix.h.

8 years agoMerge pull request #2963 from tjhei/petsc_reinit_prec
Wolfgang Bangerth [Mon, 15 Aug 2016 21:01:37 +0000 (16:01 -0500)]
Merge pull request #2963 from tjhei/petsc_reinit_prec

Allow PETScWrappers::Precondition* re-init

8 years agoupdate 2963/head
Timo Heister [Mon, 15 Aug 2016 20:13:53 +0000 (16:13 -0400)]
update

8 years agoMerge pull request #2967 from tjhei/move_tests_sparsity
David Wells [Mon, 15 Aug 2016 19:57:13 +0000 (15:57 -0400)]
Merge pull request #2967 from tjhei/move_tests_sparsity

move sparsity tests into separate folder

8 years agoMerge pull request #2968 from tjhei/typo_1
David Wells [Mon, 15 Aug 2016 19:42:03 +0000 (15:42 -0400)]
Merge pull request #2968 from tjhei/typo_1

typo fix

8 years agotypo fix 2968/head
Timo Heister [Mon, 15 Aug 2016 18:51:07 +0000 (14:51 -0400)]
typo fix

8 years agomove sparsity tests into separate folder 2967/head
Timo Heister [Mon, 15 Aug 2016 17:54:40 +0000 (13:54 -0400)]
move sparsity tests into separate folder

8 years agoMerge pull request #2950 from bangerth/convert-symmetrictensor-to-tensor
Denis Davydov [Mon, 15 Aug 2016 12:15:48 +0000 (14:15 +0200)]
Merge pull request #2950 from bangerth/convert-symmetrictensor-to-tensor

Implement the conversion of a SymmetricTensor<4,dim> to Tensor<4,dim>.

8 years agoMerge pull request #2965 from drwells/add-missing-error-code-asserts
Daniel Arndt [Mon, 15 Aug 2016 09:31:33 +0000 (11:31 +0200)]
Merge pull request #2965 from drwells/add-missing-error-code-asserts

Add some missing error code asserts.

8 years agoMerge pull request #2964 from drwells/use-more-const-references
Matthias Maier [Mon, 15 Aug 2016 02:55:40 +0000 (21:55 -0500)]
Merge pull request #2964 from drwells/use-more-const-references

Prefer const reference to const value.

8 years agoMerge pull request #2962 from drwells/redo-epsflagsbase-assignment
Wolfgang Bangerth [Mon, 15 Aug 2016 02:40:00 +0000 (21:40 -0500)]
Merge pull request #2962 from drwells/redo-epsflagsbase-assignment

Don't possibly dereference a null pointer.

8 years agoMerge pull request #2961 from drwells/rewrite-mpi-check
Wolfgang Bangerth [Mon, 15 Aug 2016 02:39:23 +0000 (21:39 -0500)]
Merge pull request #2961 from drwells/rewrite-mpi-check

Rearrange some MPI ifdefs to make cppcheck happy.

8 years agoAllow PETScWrappers::Precondition* re-init
Timo Heister [Mon, 15 Aug 2016 00:49:07 +0000 (20:49 -0400)]
Allow PETScWrappers::Precondition* re-init

This PR allows re-using a preconditioner object by calling initialize()
more than once. Update documentation while we are here.

8 years agoMerge pull request #2956 from tjhei/remove_compressed_sp
David Wells [Mon, 15 Aug 2016 00:18:45 +0000 (20:18 -0400)]
Merge pull request #2956 from tjhei/remove_compressed_sp

Remove compressed SparsityPattern classes

8 years agoRearrange some MPI ifdefs to make cppcheck happy. 2961/head
David Wells [Sun, 14 Aug 2016 23:06:05 +0000 (19:06 -0400)]
Rearrange some MPI ifdefs to make cppcheck happy.

8 years agoDon't possibly dereference a null pointer. 2962/head
David Wells [Sun, 14 Aug 2016 23:03:17 +0000 (19:03 -0400)]
Don't possibly dereference a null pointer.

Since this code checks that the dimension really is not 1 we can get rid
of this case, which would result in an ill-formed reference.

8 years agoremove duplicate tests 2956/head
Timo Heister [Sun, 14 Aug 2016 23:33:54 +0000 (19:33 -0400)]
remove duplicate tests

8 years agoAdd some missing error code asserts. 2965/head
David Wells [Sun, 14 Aug 2016 22:56:24 +0000 (18:56 -0400)]
Add some missing error code asserts.

These were caught by cppcheck.


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.