]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
7 years agoList incompatible change 3770/head
Martin Kronbichler [Wed, 11 Jan 2017 18:14:45 +0000 (19:14 +0100)]
List incompatible change

7 years agoAdd another test
Martin Kronbichler [Wed, 11 Jan 2017 18:14:34 +0000 (19:14 +0100)]
Add another test

7 years agoIntroduce FE_DGQLegendre and FE_DGQHermite
Martin Kronbichler [Wed, 11 Jan 2017 17:49:02 +0000 (18:49 +0100)]
Introduce FE_DGQLegendre and FE_DGQHermite

7 years agoMerge pull request #3754 from bangerth/fix-abf-polynomials-pointer
David Wells [Wed, 11 Jan 2017 13:48:54 +0000 (08:48 -0500)]
Merge pull request #3754 from bangerth/fix-abf-polynomials-pointer

Do not use a plain pointer in PolynomialsABF.

7 years agoAdd changelog entry. 3754/head
Wolfgang Bangerth [Tue, 10 Jan 2017 02:47:48 +0000 (19:47 -0700)]
Add changelog entry.

7 years agoDo not use a plain pointer in PolynomialsABF.
Wolfgang Bangerth [Mon, 9 Jan 2017 15:52:15 +0000 (08:52 -0700)]
Do not use a plain pointer in PolynomialsABF.

These objects are being copied by the FE_Poly* classes, so plain pointers without
dedicated copy constructors and operators are likely going to lead to memory
corruption. It's not clear to me how this ever worked, but it's easy to fix.

7 years agoMerge pull request #3762 from drwells/make-member-const
Bruno Turcksin [Tue, 10 Jan 2017 18:52:42 +0000 (13:52 -0500)]
Merge pull request #3762 from drwells/make-member-const

Make a member variable const.

7 years agoMake a member variable const. 3762/head
David Wells [Tue, 10 Jan 2017 16:10:38 +0000 (11:10 -0500)]
Make a member variable const.

This is copied from an input parameter and never changed so it may as
well be marked as const.

7 years agoMerge pull request #3758 from Rombur/reinit
Wolfgang Bangerth [Tue, 10 Jan 2017 13:36:23 +0000 (06:36 -0700)]
Merge pull request #3758 from Rombur/reinit

Do not use deprecated reinit function.

7 years agoMerge pull request #3760 from masterleinad/fix_filename
Martin Kronbichler [Tue, 10 Jan 2017 09:45:45 +0000 (10:45 +0100)]
Merge pull request #3760 from masterleinad/fix_filename

Rename misnamed file

7 years agoRename misnamed file 3760/head
Daniel Arndt [Tue, 10 Jan 2017 09:43:17 +0000 (10:43 +0100)]
Rename misnamed file

7 years agoDo not use deprecated reinit function. 3758/head
Bruno Turcksin [Tue, 10 Jan 2017 02:21:15 +0000 (21:21 -0500)]
Do not use deprecated reinit function.

7 years agoMerge pull request #3752 from bangerth/fix-abf-in-3d
Bruno Turcksin [Tue, 10 Jan 2017 02:20:20 +0000 (21:20 -0500)]
Merge pull request #3752 from bangerth/fix-abf-in-3d

Fix PolynomialsABF::compute_n_pols() in 3d.

7 years agoMerge pull request #3749 from jppelteret/fix_tests_01
Daniel Arndt [Mon, 9 Jan 2017 20:42:31 +0000 (21:42 +0100)]
Merge pull request #3749 from jppelteret/fix_tests_01

Redo output for physics/step-44* tests

7 years agoMerge pull request #3735 from guidokanschat/tangential_laplace
Daniel Arndt [Mon, 9 Jan 2017 20:41:36 +0000 (21:41 +0100)]
Merge pull request #3735 from guidokanschat/tangential_laplace

tangential jumps for Laplacian

7 years agoMerge pull request #3753 from bangerth/make-var-const
Daniel Arndt [Mon, 9 Jan 2017 20:36:36 +0000 (21:36 +0100)]
Merge pull request #3753 from bangerth/make-var-const

Make a member variable 'const'.

7 years agobe a bit more explicit 3735/head
Guido Kanschat [Mon, 9 Jan 2017 06:15:35 +0000 (07:15 +0100)]
be a bit more explicit

7 years agoMerge pull request #3691 from drwells/constraint-petsc-vector-fast-path
Martin Kronbichler [Mon, 9 Jan 2017 16:53:12 +0000 (17:53 +0100)]
Merge pull request #3691 from drwells/constraint-petsc-vector-fast-path

Add a faster code path for PETSc vectors.

7 years agoMake a member variable 'const'. 3753/head
Wolfgang Bangerth [Mon, 9 Jan 2017 15:16:54 +0000 (08:16 -0700)]
Make a member variable 'const'.

We can do so because it is initialized in the constructor.

7 years agoAdd changelog entry. 3752/head
Wolfgang Bangerth [Mon, 9 Jan 2017 15:10:28 +0000 (08:10 -0700)]
Add changelog entry.

7 years agoBulk write vector values in distribute_local_to_global. 3691/head
David Wells [Wed, 21 Dec 2016 17:28:48 +0000 (12:28 -0500)]
Bulk write vector values in distribute_local_to_global.

This patch lowers the total number of calls to VecSetValues in
ConstraintMatrix::distribute_local_to_global by writing new vector values to a
temporary array before sending them off to PETSc. There are no notable
performance improvements for the other vector classes (though this certainly
should not hurt).

I used step-40 to check that the performance improved. Here is the (filtered)
output with this patch:

[drwells@archway step-40]$ make run | grep assembly
| assembly                        |         1 |   0.00966s |       8.7% |
| assembly                        |         1 |    0.0122s |       6.4% |
| assembly                        |         1 |    0.0217s |       5.9% |
| assembly                        |         1 |    0.0431s |       5.6% |
| assembly                        |         1 |    0.0848s |       5.6% |
| assembly                        |         1 |     0.173s |       5.6% |
| assembly                        |         1 |     0.351s |       5.5% |
| assembly                        |         1 |     0.729s |       5.5% |

and on master:

[drwells@archway step-40]$ make run | grep assembly
| assembly                        |         1 |   0.00672s |       8.9% |
| assembly                        |         1 |    0.0133s |       7.2% |
| assembly                        |         1 |    0.0258s |       6.9% |
| assembly                        |         1 |    0.0513s |       6.8% |
| assembly                        |         1 |     0.101s |       6.6% |
| assembly                        |         1 |     0.203s |       6.5% |
| assembly                        |         1 |     0.414s |       6.4% |
| assembly                        |         1 |      0.93s |       6.9% |

so it appears that the whole assembly process takes about 10% less time.

7 years agoAdd an 'add' method to the native parallel vectors.
David Wells [Wed, 28 Dec 2016 17:39:22 +0000 (12:39 -0500)]
Add an 'add' method to the native parallel vectors.

This is necessary for an upcoming patch that uses the method inside
ConstraintMatrix::distribute_local_to_global.

7 years agoMerge pull request #3750 from masterleinad/matrix_free_comm
Martin Kronbichler [Mon, 9 Jan 2017 11:22:52 +0000 (12:22 +0100)]
Merge pull request #3750 from masterleinad/matrix_free_comm

Automatically set MPI_Comm in MatrixFree

7 years agoAutomatically set MPI_Comm in MatrixFree 3750/head
Daniel Arndt [Sun, 8 Jan 2017 21:56:29 +0000 (22:56 +0100)]
Automatically set MPI_Comm in MatrixFree

7 years agoMerge pull request #3740 from davydden/doc/debug_Og
Martin Kronbichler [Mon, 9 Jan 2017 07:27:39 +0000 (08:27 +0100)]
Merge pull request #3740 from davydden/doc/debug_Og

add a note on -Og and -O0 debug flags

7 years agoMerge pull request #3748 from Rombur/vector_operations
Martin Kronbichler [Mon, 9 Jan 2017 07:21:51 +0000 (08:21 +0100)]
Merge pull request #3748 from Rombur/vector_operations

Encapsulate functions in VectorOperations namespace

7 years agoMerge pull request #3745 from tamiko/fix_spaces_testsuite
Martin Kronbichler [Mon, 9 Jan 2017 07:21:20 +0000 (08:21 +0100)]
Merge pull request #3745 from tamiko/fix_spaces_testsuite

Bugfix: Fix up a previous attempt to quote correctly

7 years agoFix the computation of the number of polynomials the ABF element has.
Wolfgang Bangerth [Mon, 9 Jan 2017 04:28:25 +0000 (21:28 -0700)]
Fix the computation of the number of polynomials the ABF element has.

7 years agoBugfix: Quote in a posix compliant manner 3745/head
Matthias Maier [Sun, 8 Jan 2017 23:10:25 +0000 (17:10 -0600)]
Bugfix: Quote in a posix compliant manner

7 years agoBugfix: Fix up previous attempt to quote correctly
Matthias Maier [Sun, 8 Jan 2017 16:51:12 +0000 (10:51 -0600)]
Bugfix: Fix up previous attempt to quote correctly

In reference to #3742

7 years agoRedo output for physics/step-44* tests 3749/head
Jean-Paul Pelteret [Sun, 8 Jan 2017 21:36:37 +0000 (22:36 +0100)]
Redo output for physics/step-44* tests

Instead of checking the convergence rates for each Newton iteration
against some benchmark result that is machine specific, we now monitor
the solution at a fixed point. This should remain unchanged if the
problem converges correctly for each timestep. The nonlinear solver
output is now send to the file "stdout".

Fixes #3747

7 years agoEncapsulate functions from vector_operations_internal in VectorOperations namespace. 3748/head
Bruno Turcksin [Sun, 8 Jan 2017 20:26:44 +0000 (15:26 -0500)]
Encapsulate functions from vector_operations_internal in VectorOperations namespace.

7 years agoMerge pull request #3739 from bangerth/fix-hp-indices-compression
Bruno Turcksin [Sun, 8 Jan 2017 18:48:15 +0000 (13:48 -0500)]
Merge pull request #3739 from bangerth/fix-hp-indices-compression

Fix and enable compression of hp DoF indices.

7 years agoMerge pull request #3746 from drwells/add-higher-mapping-test
Wolfgang Bangerth [Sun, 8 Jan 2017 18:15:02 +0000 (11:15 -0700)]
Merge pull request #3746 from drwells/add-higher-mapping-test

Add a test checking ChartManifold/MappingQ convergence rates.

7 years agoAdd a test checking ChartManifold/MappingQ convergence rates. 3746/head
David Wells [Sun, 8 Jan 2017 17:49:21 +0000 (12:49 -0500)]
Add a test checking ChartManifold/MappingQ convergence rates.

7 years agoMerge pull request #3738 from drwells/more-precise-cell-similarity
Wolfgang Bangerth [Sun, 8 Jan 2017 15:47:22 +0000 (08:47 -0700)]
Merge pull request #3738 from drwells/more-precise-cell-similarity

More precise cell similarity

7 years agoDo not reuse CellSimilarity for higher order MappingQGeneric maps. 3738/head
David Wells [Sun, 8 Jan 2017 01:26:59 +0000 (20:26 -0500)]
Do not reuse CellSimilarity for higher order MappingQGeneric maps.

This commit fixes bug where two cells, both alike in vertices (but varying in
curvature) would sometimes be treated as translations of each-other by
MappingQGeneric. This lead to an artificial limit of second order convergence
since Jacobian weights (and other values) were not correctly updated.

7 years agoAdd a changelog entry. 3739/head
Wolfgang Bangerth [Fri, 6 Jan 2017 19:07:49 +0000 (12:07 -0700)]
Add a changelog entry.

7 years agoFix and enable compression of hp DoF indices.
Wolfgang Bangerth [Fri, 6 Jan 2017 15:14:03 +0000 (08:14 -0700)]
Fix and enable compression of hp DoF indices.

A previous patch, a long time ago, implemented a scheme to compress the data structure
that stores the DoF indices in the hp case. For reasons no longer clear, the functions
that do the compression and decompression just returned immediately, without actually
doing anything. Maybe not surprisingly, the algorithm -- not executed after all -- did
not work.

This patch fixes the algorithm at various locations and enables the compression.

7 years agoMerge pull request #3742 from tamiko/fix_spaces_testsuite
Wolfgang Bangerth [Sun, 8 Jan 2017 00:33:11 +0000 (17:33 -0700)]
Merge pull request #3742 from tamiko/fix_spaces_testsuite

Bugfix: Quote paths in run_test.sh

7 years agoMerge pull request #3744 from drwells/add-parallel-block-vector-file
Wolfgang Bangerth [Sat, 7 Jan 2017 23:25:22 +0000 (16:25 -0700)]
Merge pull request #3744 from drwells/add-parallel-block-vector-file

Add another output file for a test.

7 years agoAdd more output files for a test. 3744/head
David Wells [Sat, 7 Jan 2017 04:36:38 +0000 (23:36 -0500)]
Add more output files for a test.

This test checks memory consumption so it is reasonable to have a few of these.

7 years agotangential jumps for Laplacian
Guido Kanschat [Thu, 5 Jan 2017 17:07:23 +0000 (18:07 +0100)]
tangential jumps for Laplacian

7 years agominor edit 3740/head
Denis Davydov [Fri, 6 Jan 2017 19:46:31 +0000 (20:46 +0100)]
minor edit

7 years agoadd changelog entry 3742/head
Matthias Maier [Fri, 6 Jan 2017 20:24:15 +0000 (14:24 -0600)]
add changelog entry

7 years agoBugfix: Quote paths in run_test.sh
Matthias Maier [Fri, 6 Jan 2017 19:40:29 +0000 (13:40 -0600)]
Bugfix: Quote paths in run_test.sh

This fixes a long outstanding regression with the testsuite in
combination with paths containing spaces.

7 years agoMerge pull request #3741 from bangerth/fix-tests
Matthias Maier [Fri, 6 Jan 2017 19:21:57 +0000 (13:21 -0600)]
Merge pull request #3741 from bangerth/fix-tests

Increase the precision with which we output data in two tests.

7 years agoadd a note on -Og and -O0 debug flags
Denis Davydov [Fri, 6 Jan 2017 19:19:41 +0000 (20:19 +0100)]
add a note on -Og and -O0 debug flags

7 years agoIncrease the precision with which we output data in two tests. 3741/head
Wolfgang Bangerth [Fri, 6 Jan 2017 19:04:42 +0000 (12:04 -0700)]
Increase the precision with which we output data in two tests.

7 years agoMerge pull request #3736 from masterleinad/workaround_openmpi
David Wells [Fri, 6 Jan 2017 15:46:11 +0000 (10:46 -0500)]
Merge pull request #3736 from masterleinad/workaround_openmpi

Work around OpenMPI problem in mpi_exceptions

7 years agoWorkaround OpenMPI problem in mpi_exceptions 3736/head
Daniel Arndt [Thu, 5 Jan 2017 17:10:03 +0000 (18:10 +0100)]
Workaround OpenMPI problem in mpi_exceptions

7 years agoMerge pull request #3732 from masterleinad/fix_symmetric_tensor_36
Jean-Paul Pelteret [Thu, 5 Jan 2017 16:44:24 +0000 (17:44 +0100)]
Merge pull request #3732 from masterleinad/fix_symmetric_tensor_36

Get rid of typeid in symmetric_tensor_36

7 years agoGet rid off typeid in symmetric_tensor_36 3732/head
Daniel Arndt [Wed, 4 Jan 2017 23:39:27 +0000 (00:39 +0100)]
Get rid off typeid in symmetric_tensor_36

7 years agoMerge pull request #3731 from drwells/cppcheck-2
Timo Heister [Thu, 5 Jan 2017 07:36:34 +0000 (08:36 +0100)]
Merge pull request #3731 from drwells/cppcheck-2

Cppcheck 2

7 years agoClarify comparison order in a ternary operator. 3731/head
David Wells [Tue, 3 Jan 2017 17:55:33 +0000 (12:55 -0500)]
Clarify comparison order in a ternary operator.

This was caught by cppcheck.

7 years agoRemove variables that only appear in assertions.
David Wells [Tue, 3 Jan 2017 17:44:41 +0000 (12:44 -0500)]
Remove variables that only appear in assertions.

This was caught by cppcheck.

7 years agoPrefer logical OR to boolean OR.
David Wells [Tue, 3 Jan 2017 17:44:06 +0000 (12:44 -0500)]
Prefer logical OR to boolean OR.

This was caught by cppcheck.

7 years agoGet rid of a null pointer dereference.
David Wells [Tue, 3 Jan 2017 17:43:45 +0000 (12:43 -0500)]
Get rid of a null pointer dereference.

This was caught by cppcheck.

7 years agoRemove an (unused) default constructor.
David Wells [Tue, 3 Jan 2017 17:07:47 +0000 (12:07 -0500)]
Remove an (unused) default constructor.

This was caught by cppcheck. Since this class already has a non-default
constructor (and a reference member, so it is not default constructible
anyway) it does not have an implicitly defined default constructor, so
we can get rid of this.

7 years agoRemove a redefinition of a static variable.
David Wells [Tue, 3 Jan 2017 17:07:10 +0000 (12:07 -0500)]
Remove a redefinition of a static variable.

This was caught by cppcheck. The base class also defines dimension in
the same way.

7 years agoMerge pull request #3730 from masterleinad/fix_index_set_tests
Wolfgang Bangerth [Wed, 4 Jan 2017 23:49:42 +0000 (16:49 -0700)]
Merge pull request #3730 from masterleinad/fix_index_set_tests

Fix types in failing IndexSet tests

7 years agoFix types in failing IndexSet tests 3730/head
Daniel Arndt [Wed, 4 Jan 2017 22:47:31 +0000 (23:47 +0100)]
Fix types in failing IndexSet tests

7 years agoMerge pull request #3725 from kronbichler/improve_polynomial_eval
Wolfgang Bangerth [Wed, 4 Jan 2017 13:14:11 +0000 (06:14 -0700)]
Merge pull request #3725 from kronbichler/improve_polynomial_eval

Switch Legendre polynomials to stable evaluation via root representation

7 years agoMerge pull request #3727 from davydden/la_parallel_vector/ghost_assertion
Martin Kronbichler [Wed, 4 Jan 2017 06:16:31 +0000 (07:16 +0100)]
Merge pull request #3727 from davydden/la_parallel_vector/ghost_assertion

make an Assert in LA::distributed::Vector::compress_finish() less rigid

7 years agoMerge pull request #3729 from drwells/cppcheck-1
Martin Kronbichler [Wed, 4 Jan 2017 06:16:05 +0000 (07:16 +0100)]
Merge pull request #3729 from drwells/cppcheck-1

cppcheck results 1

7 years agoMark some functions as const. 3729/head
David Wells [Tue, 3 Jan 2017 17:07:02 +0000 (12:07 -0500)]
Mark some functions as const.

This was caught by cppcheck.

7 years agoinitialize some pointers to NULL.
David Wells [Tue, 3 Jan 2017 17:06:44 +0000 (12:06 -0500)]
initialize some pointers to NULL.

This was caught by cppcheck.

7 years agoPass some function arguments by reference.
David Wells [Tue, 3 Jan 2017 17:06:29 +0000 (12:06 -0500)]
Pass some function arguments by reference.

This was caught by cppcheck.

7 years agoAvoid 'std::string::find' for performance reasons.
David Wells [Tue, 3 Jan 2017 17:06:06 +0000 (12:06 -0500)]
Avoid 'std::string::find' for performance reasons.

This was caught by cppcheck.

7 years agoMove some variables into the initialization list.
David Wells [Tue, 3 Jan 2017 17:04:31 +0000 (12:04 -0500)]
Move some variables into the initialization list.

This was caught by cppcheck.

7 years agoReduce the scope of some variables.
David Wells [Tue, 3 Jan 2017 17:05:37 +0000 (12:05 -0500)]
Reduce the scope of some variables.

This was caught by cppcheck.

7 years agoMark some functions as static.
David Wells [Tue, 3 Jan 2017 17:03:32 +0000 (12:03 -0500)]
Mark some functions as static.

This was caught by cppcheck: these methods don't depend on state and may
as well be static.

7 years agoSwitch Legendre polynomials to stable evaluation via root representation 3725/head
Martin Kronbichler [Tue, 3 Jan 2017 17:34:06 +0000 (18:34 +0100)]
Switch Legendre polynomials to stable evaluation via root representation

7 years agoMerge pull request #3720 from drwells/sort-DoFTools-functions
Wolfgang Bangerth [Tue, 3 Jan 2017 18:39:45 +0000 (11:39 -0700)]
Merge pull request #3720 from drwells/sort-DoFTools-functions

Sort DoFTools functions

7 years agoMerge pull request #3723 from masterleinad/update_memory_consumption
Wolfgang Bangerth [Tue, 3 Jan 2017 17:45:47 +0000 (10:45 -0700)]
Merge pull request #3723 from masterleinad/update_memory_consumption

Update memory_consumption_01

7 years agomake an Assert in LA::distributed::Vector::compress_finish() less rigid 3727/head
Denis Davydov [Tue, 3 Jan 2017 17:23:55 +0000 (18:23 +0100)]
make an Assert in LA::distributed::Vector::compress_finish() less rigid

Otherwise p::d::SolutionTransfer::interpolate() could trigger the
Assert due to round-off errors in certain scenarious.

7 years agoMerge pull request #3724 from tjhei/document_cylinder_shell
Wolfgang Bangerth [Tue, 3 Jan 2017 17:12:02 +0000 (10:12 -0700)]
Merge pull request #3724 from tjhei/document_cylinder_shell

update GridGenerator:cylinder_shell documentation

7 years agoupdate GridGenerator:cylinder_shell documentation 3724/head
Timo Heister [Tue, 3 Jan 2017 16:50:08 +0000 (17:50 +0100)]
update GridGenerator:cylinder_shell documentation

7 years agoUpdate memory_consumption_01 3723/head
Daniel Arndt [Tue, 3 Jan 2017 16:14:06 +0000 (17:14 +0100)]
Update memory_consumption_01

7 years agoMerge pull request #3721 from drwells/silence-unused-typedef-warnings
Timo Heister [Tue, 3 Jan 2017 08:54:52 +0000 (09:54 +0100)]
Merge pull request #3721 from drwells/silence-unused-typedef-warnings

Silence unused typedef warnings

7 years agoSilence unused typedef warnings in release mode. 3721/head
David Wells [Mon, 2 Jan 2017 17:54:51 +0000 (12:54 -0500)]
Silence unused typedef warnings in release mode.

There are many places in the library where we use a typedef in just
debug mode, so disable the warning in release mode.

7 years agoRemove some typdefs that are only used once.
David Wells [Mon, 2 Jan 2017 17:54:00 +0000 (12:54 -0500)]
Remove some typdefs that are only used once.

Note that, since Assert is a macro, any arguments to Assert that contain
commas must be surrounded by parentheses.

7 years agoCombine the remaining DoFTools functions. 3720/head
David Wells [Mon, 2 Jan 2017 05:14:25 +0000 (00:14 -0500)]
Combine the remaining DoFTools functions.

7 years agoAdd a doxygen category for DoFTools exceptions.
David Wells [Mon, 2 Jan 2017 05:13:40 +0000 (00:13 -0500)]
Add a doxygen category for DoFTools exceptions.

7 years agoGroup the DoF mapping functions together.
David Wells [Mon, 2 Jan 2017 04:53:23 +0000 (23:53 -0500)]
Group the DoF mapping functions together.

7 years agoGroup DoFTools coupling functions together.
David Wells [Mon, 2 Jan 2017 04:34:21 +0000 (23:34 -0500)]
Group DoFTools coupling functions together.

7 years agoMerge pull request #3717 from kalj/call-static-method-correctly
Wolfgang Bangerth [Fri, 30 Dec 2016 13:06:16 +0000 (06:06 -0700)]
Merge pull request #3717 from kalj/call-static-method-correctly

use conventional way of calling static method to please nvcc

7 years agoMerge pull request #3719 from masterleinad/fix_nonmpi_petsc_compile
Wolfgang Bangerth [Fri, 30 Dec 2016 11:59:38 +0000 (04:59 -0700)]
Merge pull request #3719 from masterleinad/fix_nonmpi_petsc_compile

Fix compiling with non-MPI PETSc

7 years agoFix compiling with non-MPI PETSc 3719/head
Daniel Arndt [Fri, 30 Dec 2016 00:03:44 +0000 (01:03 +0100)]
Fix compiling with non-MPI PETSc

7 years agoMerge pull request #3718 from masterleinad/fix_complex_petsc_compile
David Wells [Fri, 30 Dec 2016 04:51:50 +0000 (23:51 -0500)]
Merge pull request #3718 from masterleinad/fix_complex_petsc_compile

Fix compiling with complex-valued PETSc

7 years agoFix compiling with complex-valued PETSc 3718/head
Daniel Arndt [Fri, 30 Dec 2016 00:07:47 +0000 (01:07 +0100)]
Fix compiling with complex-valued PETSc

7 years agouse conventional way of calling static method to please nvcc 3717/head
Karl Ljungkvist [Thu, 29 Dec 2016 15:39:07 +0000 (16:39 +0100)]
use conventional way of calling static method to please nvcc

7 years agoMerge pull request #3716 from kalj/fix-typos
Martin Kronbichler [Wed, 28 Dec 2016 13:19:53 +0000 (14:19 +0100)]
Merge pull request #3716 from kalj/fix-typos

fix typos in file name

7 years agofix typos in file name 3716/head
Karl Ljungkvist [Wed, 28 Dec 2016 12:18:29 +0000 (13:18 +0100)]
fix typos in file name

7 years agoMerge pull request #3715 from drwells/fix-null-reference-warnings
Wolfgang Bangerth [Wed, 28 Dec 2016 10:11:53 +0000 (03:11 -0700)]
Merge pull request #3715 from drwells/fix-null-reference-warnings

Fix some null reference warnings.

7 years agoPut DoFTools functions in correct sections.
David Wells [Wed, 28 Dec 2016 04:26:22 +0000 (23:26 -0500)]
Put DoFTools functions in correct sections.

Credit for these fixes goes to Jean-Paul Pelteret.

7 years agoFix some null reference warnings. 3715/head
David Wells [Wed, 28 Dec 2016 00:37:22 +0000 (19:37 -0500)]
Fix some null reference warnings.

An equivalent way to do this is to use a SmartPointer instead of a
reference: this lets us initialize with something that is not undefined
behavior.

7 years agoMerge pull request #3714 from bangerth/fix-tests
Denis Davydov [Tue, 27 Dec 2016 13:58:47 +0000 (14:58 +0100)]
Merge pull request #3714 from bangerth/fix-tests

Fix undefined order of evaluation.

7 years agoFix undefined order of evaluation. 3714/head
Wolfgang Bangerth [Tue, 27 Dec 2016 11:15:49 +0000 (04:15 -0700)]
Fix undefined order of evaluation.

Within a sequence such as
  deallog << is1.n_elements() << ", " << is1.pop_front() << std::endl;
the order of calls to 'n_elements()' and 'pop_front()' is undefined. Consequently,
there are two possible correct output files.

Fix this by splitting the line into two complete statements, separated by
a semicolon (which implies a sequence point).

7 years agoMerge pull request #3700 from davydden/index_set_index_within_set
Wolfgang Bangerth [Tue, 27 Dec 2016 11:06:41 +0000 (04:06 -0700)]
Merge pull request #3700 from davydden/index_set_index_within_set

add alternative IndexSet::index_within_set() which does not throw an …


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.