]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
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 #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 …

7 years agoextend IndexSet::index_within_set() 3700/head
Denis Davydov [Fri, 23 Dec 2016 10:59:11 +0000 (11:59 +0100)]
extend IndexSet::index_within_set()

to return numbers::invalid_dof_index
if the global index is not a member of the index set

7 years agoMerge pull request #3713 from tamiko/disable_a_clang_warning
Timo Heister [Mon, 26 Dec 2016 13:58:13 +0000 (14:58 +0100)]
Merge pull request #3713 from tamiko/disable_a_clang_warning

CMake: Disable -Wundefined-var-template for clang

7 years agoCMake: Disable -Wundefined-var-template for clang 3713/head
Matthias Maier [Mon, 26 Dec 2016 11:42:03 +0000 (05:42 -0600)]
CMake: Disable -Wundefined-var-template for clang

This warning leads to a lot of false positives. Simply disable the
diagnostic.

Fixes #3705

7 years agoMerge pull request #3689 from bangerth/make-cell-available-in-postprocessor
Timo Heister [Mon, 26 Dec 2016 08:18:52 +0000 (09:18 +0100)]
Merge pull request #3689 from bangerth/make-cell-available-in-postprocessor

Make cell available in postprocessor

7 years agoAdd a changelog entry. 3689/head
Wolfgang Bangerth [Wed, 21 Dec 2016 17:44:43 +0000 (10:44 -0700)]
Add a changelog entry.

7 years agoProvide the cell via DataOutRotation. Add tests.
Wolfgang Bangerth [Wed, 21 Dec 2016 17:40:02 +0000 (10:40 -0700)]
Provide the cell via DataOutRotation. Add tests.

7 years agoProvide the cell via DataOutFaces. Add tests.
Wolfgang Bangerth [Wed, 21 Dec 2016 16:28:59 +0000 (09:28 -0700)]
Provide the cell via DataOutFaces. Add tests.

7 years agoProvide the cell via DataOut. Add tests.
Wolfgang Bangerth [Wed, 21 Dec 2016 15:29:24 +0000 (08:29 -0700)]
Provide the cell via DataOut. Add tests.

7 years agoMake cells available in data-postprocessors.
Wolfgang Bangerth [Wed, 21 Dec 2016 15:28:52 +0000 (08:28 -0700)]
Make cells available in data-postprocessors.

7 years agoMerge pull request #3706 from tjhei/clang_expansion_to_defined_warn
David Wells [Sat, 24 Dec 2016 16:00:06 +0000 (11:00 -0500)]
Merge pull request #3706 from tjhei/clang_expansion_to_defined_warn

disable clangs expansion-to-defined warning

7 years agoMerge pull request #3711 from masterleinad/check_include_guards
David Wells [Sat, 24 Dec 2016 15:52:56 +0000 (10:52 -0500)]
Merge pull request #3711 from masterleinad/check_include_guards

Check for include guards

7 years agoMerge pull request #3710 from tjhei/clang_warning
David Wells [Sat, 24 Dec 2016 15:51:57 +0000 (10:51 -0500)]
Merge pull request #3710 from tjhei/clang_warning

suppress clang warning

7 years agoMerge pull request #3709 from tjhei/clang_link_error
Martin Kronbichler [Sat, 24 Dec 2016 14:04:40 +0000 (15:04 +0100)]
Merge pull request #3709 from tjhei/clang_link_error

fix clang 3.9.1 linker error

7 years agoCheck for include guards 3711/head
Daniel Arndt [Sat, 24 Dec 2016 13:18:53 +0000 (14:18 +0100)]
Check for include guards

7 years agosuppress clang warning 3710/head
Timo Heister [Sat, 24 Dec 2016 12:33:15 +0000 (13:33 +0100)]
suppress clang warning

7 years agofix clang 3.9.1 linker error 3709/head
Timo Heister [Sat, 24 Dec 2016 12:32:04 +0000 (13:32 +0100)]
fix clang 3.9.1 linker error

clang 3.9.1 complains about

undefined reference to `non-virtual thunk to
dealii::LinearAlgebra::Vector<double>::mean_value() const'

Work around it by using a different typedef for the return value.

fixes #3708

7 years agodisable clangs expansion-to-defined warning 3706/head
Timo Heister [Sat, 24 Dec 2016 08:09:25 +0000 (09:09 +0100)]
disable clangs expansion-to-defined warning

clang produces many warnings inside boost 1.62 of the following kind:

/ssd/deal-
git/bundled/boost-1.62.0/include/boost/archive/detail/iserializer.hpp:69:7:
warning: macro expansion producing 'defined' has undefined behavior
[-Wexpansion-to-defined]
#if ! DONT_USE_HAS_NEW_OPERATOR
      ^
/ssd/deal-
git/bundled/boost-1.62.0/include/boost/archive/detail/iserializer.hpp:63:12:
note: expanded from macro 'DONT_USE_HAS_NEW_OPERATOR'
        || defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x590)   \
           ^

So I am adding this to DISABLE_EXTRA_DIAGNOSTICS because we can not fix
boost.

7 years agoMerge pull request #3703 from jppelteret/update_licence_file_02
Denis Davydov [Sat, 24 Dec 2016 00:21:09 +0000 (01:21 +0100)]
Merge pull request #3703 from jppelteret/update_licence_file_02

Update licence file to mention AUTHORS file (release versions only).

7 years agoUpdate licence file to mention AUTHORS file (release versions only). 3703/head
Jean-Paul Pelteret [Fri, 23 Dec 2016 20:02:17 +0000 (21:02 +0100)]
Update licence file to mention AUTHORS file (release versions only).

Refers to #3701

7 years agoMerge pull request #3702 from jppelteret/update_licence_file_01
Wolfgang Bangerth [Fri, 23 Dec 2016 17:59:37 +0000 (10:59 -0700)]
Merge pull request #3702 from jppelteret/update_licence_file_01

Update licence file point to webpage with list of authors.

7 years agoUpdate licence file point to webpage with list of authors. 3702/head
Jean-Paul Pelteret [Fri, 23 Dec 2016 17:36:28 +0000 (18:36 +0100)]
Update licence file point to webpage with list of authors.

Fixes #3701

7 years agoMerge pull request #3699 from drwells/add-enum-docs
Daniel Arndt [Fri, 23 Dec 2016 13:38:54 +0000 (14:38 +0100)]
Merge pull request #3699 from drwells/add-enum-docs

Add documentation for enumerations.

7 years agoMerge pull request #3697 from davydden/incode_comments
Denis Davydov [Fri, 23 Dec 2016 07:43:44 +0000 (08:43 +0100)]
Merge pull request #3697 from davydden/incode_comments

add a few incode comments

7 years agoadd a few incode comments 3697/head
Denis Davydov [Thu, 22 Dec 2016 18:23:10 +0000 (19:23 +0100)]
add a few incode comments

7 years agoAdd documentation for enumerations. 3699/head
David Wells [Thu, 22 Dec 2016 18:28:08 +0000 (13:28 -0500)]
Add documentation for enumerations.

Individual values in an enumeration will not show up in doxygen unless
they have a documentation string, so add a little description for each
enumeration value.

7 years agoMerge pull request #3698 from kronbichler/master
David Wells [Thu, 22 Dec 2016 20:54:32 +0000 (15:54 -0500)]
Merge pull request #3698 from kronbichler/master

[MatrixFree] Fix typo in documentation

7 years agoMerge pull request #3695 from drwells/fix-changelog-target
David Wells [Thu, 22 Dec 2016 19:37:30 +0000 (14:37 -0500)]
Merge pull request #3695 from drwells/fix-changelog-target

Fix compilation of documentation.

7 years agoMerge pull request #3693 from masterleinad/add_include_guards
Martin Kronbichler [Thu, 22 Dec 2016 19:35:02 +0000 (20:35 +0100)]
Merge pull request #3693 from masterleinad/add_include_guards

Add include guards to all *.h files

7 years ago[MatrixFree] Fix typo in documentation 3698/head
Martin Kronbichler [Thu, 22 Dec 2016 19:25:23 +0000 (20:25 +0100)]
[MatrixFree] Fix typo in documentation

7 years agoFix compilation of documentation. 3695/head
David Wells [Thu, 22 Dec 2016 18:15:47 +0000 (13:15 -0500)]
Fix compilation of documentation.

Since c60382365dc removed changes.h, we should also update our CMake scripts to
not look for build rules that use this (nonexistant) file.

7 years agoAdd include guards for all header files 3693/head
Daniel Arndt [Tue, 20 Dec 2016 22:46:52 +0000 (23:46 +0100)]
Add include guards for all header files

7 years agoMerge pull request #3684 from bangerth/doc-update-80
Bruno Turcksin [Wed, 21 Dec 2016 21:43:12 +0000 (16:43 -0500)]
Merge pull request #3684 from bangerth/doc-update-80

Update CellData and SubCellData documentation.

7 years agoMerge pull request #3690 from bangerth/remove-changes.h
Bruno Turcksin [Wed, 21 Dec 2016 21:36:31 +0000 (16:36 -0500)]
Merge pull request #3690 from bangerth/remove-changes.h

Remove the changes.h file.

7 years agoRemove the changes.h file. 3690/head
Wolfgang Bangerth [Wed, 21 Dec 2016 18:24:29 +0000 (11:24 -0700)]
Remove the changes.h file.

This file is now automatically generated. Let's not leave a stale file sitting around.

7 years agoMerge pull request #3688 from drwells/clean-up-constraintmatrix-headers
David Wells [Wed, 21 Dec 2016 17:23:50 +0000 (12:23 -0500)]
Merge pull request #3688 from drwells/clean-up-constraintmatrix-headers

Move some headers into the .templates.h file.

7 years agoMove some headers into the .templates.h file. 3688/head
David Wells [Wed, 21 Dec 2016 16:33:35 +0000 (11:33 -0500)]
Move some headers into the .templates.h file.

7 years agoMerge pull request #3685 from davydden/doc/astyle_version
Denis Davydov [Tue, 20 Dec 2016 21:00:17 +0000 (22:00 +0100)]
Merge pull request #3685 from davydden/doc/astyle_version

explicitly say we use astyle 2.04

7 years agoMerge pull request #3687 from bangerth/make-IndexSet-threadsafe
Daniel Arndt [Tue, 20 Dec 2016 16:51:57 +0000 (17:51 +0100)]
Merge pull request #3687 from bangerth/make-IndexSet-threadsafe

Add a mutex to IndexSet and use it to make IndexSet::do_compress() thread-safe.

7 years agoexplicitly say we use astyle 2.04 3685/head
Denis Davydov [Tue, 20 Dec 2016 12:32:36 +0000 (13:32 +0100)]
explicitly say we use astyle 2.04

7 years agoAdd a mutex to IndexSet and use it to make IndexSet::do_compress() thread-safe. 3687/head
Wolfgang Bangerth [Tue, 20 Dec 2016 16:00:01 +0000 (09:00 -0700)]
Add a mutex to IndexSet and use it to make IndexSet::do_compress() thread-safe.

IndexSet has a number of 'mutable' member variables. The only function that modifies them is
'do_compress', which is called by 'compress', which is in turn called by all of the
'const' member functions. To make all of these 'const' member functions thread-safe, we
need to use a mutex in 'do_compress'. This patch does this.

I have verified that no other 'const' function actually modifies any of the 'mutable'
member variables, so only guarding 'do_compress' by the mutex is sufficient.

7 years agoUpdate CellData and SubCellData documentation. 3684/head
Wolfgang Bangerth [Tue, 20 Dec 2016 07:21:28 +0000 (00:21 -0700)]
Update CellData and SubCellData documentation.

7 years agoMerge pull request #3683 from bangerth/add-op-eq
Denis Davydov [Tue, 20 Dec 2016 05:55:12 +0000 (06:55 +0100)]
Merge pull request #3683 from bangerth/add-op-eq

Add a copy operator to Mutex so that it can be used in class with an operator=.

7 years agoMerge pull request #3682 from bangerth/fix-IndexSet-nth_index_within_set
Timo Heister [Tue, 20 Dec 2016 01:18:36 +0000 (17:18 -0800)]
Merge pull request #3682 from bangerth/fix-IndexSet-nth_index_within_set

Let IndexSet::nth_index_within_set() call compress().

7 years agoAdd a copy operator to Mutex so that it can be used in class with an operator=. 3683/head
Wolfgang Bangerth [Mon, 19 Dec 2016 23:07:01 +0000 (16:07 -0700)]
Add a copy operator to Mutex so that it can be used in class with an operator=.

7 years agoAdd test. 3682/head
Wolfgang Bangerth [Mon, 19 Dec 2016 23:05:43 +0000 (16:05 -0700)]
Add test.

7 years agoLet IndexSet::nth_index_within_set() call compress().
Wolfgang Bangerth [Mon, 19 Dec 2016 22:50:20 +0000 (15:50 -0700)]
Let IndexSet::nth_index_within_set() call compress().

This follows the pattern of all other const functions of the class.

7 years agoMerge pull request #3676 from bangerth/fix-DataOutFaces
Bruno Turcksin [Mon, 19 Dec 2016 13:30:40 +0000 (08:30 -0500)]
Merge pull request #3676 from bangerth/fix-DataOutFaces

Also check for the invalid FaceDescriptor that first_face() may return.


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.