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

8 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.

8 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.

8 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.

8 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).

8 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 …

8 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

8 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

8 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

8 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

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

8 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.

8 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.

8 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.

8 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.

8 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

8 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

8 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

8 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

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

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

8 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

8 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.

8 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).

8 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

8 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.

8 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

8 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.

8 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

8 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

8 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.

8 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

8 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.

8 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

8 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

8 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.

8 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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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

8 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.

8 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.

8 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=.

8 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().

8 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=.

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

8 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.

8 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.

8 years agoMerge pull request #3678 from jppelteret/fix_symm_tensor_constructor_01
Jean-Paul Pelteret [Sat, 17 Dec 2016 11:22:38 +0000 (12:22 +0100)]
Merge pull request #3678 from jppelteret/fix_symm_tensor_constructor_01

Fix invalid loop range in SymmetricTensor class constructor; add test

8 years agoFix invalid loop range in SymmetricTensor class constructor; add test 3678/head
Jean-Paul Pelteret [Fri, 16 Dec 2016 08:26:44 +0000 (09:26 +0100)]
Fix invalid loop range in SymmetricTensor class constructor; add test

Fixes #3674

8 years agoAdd changelog. 3676/head
Wolfgang Bangerth [Fri, 16 Dec 2016 05:38:23 +0000 (22:38 -0700)]
Add changelog.

8 years agoAdd test.
Justin Kauffman [Fri, 16 Dec 2016 05:38:13 +0000 (22:38 -0700)]
Add test.

8 years agoAlso check for the invalid FaceDescriptor that first_face() may return.
Wolfgang Bangerth [Fri, 16 Dec 2016 05:37:32 +0000 (22:37 -0700)]
Also check for the invalid FaceDescriptor that first_face() may return.

This happens if a process has no faces to deal with. The bug was reported by Justin Kauffman <jak5378@gmail.com>.

8 years agoMerge pull request #3679 from masterleinad/split_changes_h
Matthias Maier [Fri, 16 Dec 2016 17:44:50 +0000 (11:44 -0600)]
Merge pull request #3679 from masterleinad/split_changes_h

Split changes.h

8 years agoSplit changes.h 3679/head
Daniel Arndt [Fri, 16 Dec 2016 12:14:31 +0000 (13:14 +0100)]
Split changes.h

8 years agoFix split_summary to allow hyphens in authors' names
Daniel Arndt [Fri, 16 Dec 2016 13:15:33 +0000 (14:15 +0100)]
Fix split_summary to allow hyphens in authors' names

8 years agoMerge pull request #3617 from masterleinad/recreate_changes_h
Daniel Arndt [Fri, 16 Dec 2016 11:23:03 +0000 (12:23 +0100)]
Merge pull request #3617 from masterleinad/recreate_changes_h

Recreate changes.h automatically

8 years agoReplace bash script by CMake script and adjust files to be installed 3617/head
Daniel Arndt [Tue, 13 Dec 2016 16:23:59 +0000 (17:23 +0100)]
Replace bash script by CMake script and adjust files to be installed

8 years agoMerge pull request #3677 from bangerth/fix-quicktest
Denis Davydov [Fri, 16 Dec 2016 07:56:54 +0000 (08:56 +0100)]
Merge pull request #3677 from bangerth/fix-quicktest

Fix a quicktest.

8 years agoFix a quicktest. 3677/head
Wolfgang Bangerth [Fri, 16 Dec 2016 05:43:56 +0000 (22:43 -0700)]
Fix a quicktest.

The test assigned MPI return codes to a variable, but then did not do anything with this
variable. We may as well test for errors.

8 years agoMerge pull request #3675 from davydden/diag_matrix_comp_warning
Wolfgang Bangerth [Thu, 15 Dec 2016 16:58:39 +0000 (09:58 -0700)]
Merge pull request #3675 from davydden/diag_matrix_comp_warning

fix compiler warning in DiagonalMatrix

8 years agofix compiler warning in DiagonalMatrix 3675/head
Denis Davydov [Thu, 15 Dec 2016 16:20:13 +0000 (17:20 +0100)]
fix compiler warning in DiagonalMatrix

8 years agoMerge pull request #7 from bangerth/masterleinad-recreate_changes_h
Daniel Arndt [Mon, 12 Dec 2016 09:01:56 +0000 (10:01 +0100)]
Merge pull request #7 from bangerth/masterleinad-recreate_changes_h

Make sure changes.h is created as input for doxygen

8 years agoMake sure the 'changes.h' file is automatically generated.
Wolfgang Bangerth [Sat, 10 Dec 2016 00:20:45 +0000 (17:20 -0700)]
Make sure the 'changes.h' file is automatically generated.

In particular, list it as an input to the doxygen run.

8 years agoOutput results to the console instead.
Wolfgang Bangerth [Fri, 9 Dec 2016 23:45:13 +0000 (16:45 -0700)]
Output results to the console instead.

8 years agoMerge pull request #3672 from drwells/remove-extra-semicolons
Denis Davydov [Sun, 11 Dec 2016 19:31:09 +0000 (20:31 +0100)]
Merge pull request #3672 from drwells/remove-extra-semicolons

Remove some extra semicolons.

8 years agoRemove some extra semicolons. 3672/head
David Wells [Sun, 11 Dec 2016 18:37:46 +0000 (13:37 -0500)]
Remove some extra semicolons.

8 years agoMerge pull request #3671 from drwells/fix-doc-typos-6
Wolfgang Bangerth [Sun, 11 Dec 2016 00:57:08 +0000 (17:57 -0700)]
Merge pull request #3671 from drwells/fix-doc-typos-6

Fix some typos in the documentation headers.

8 years agoFix some typos in the documentation headers. 3671/head
David Wells [Sun, 11 Dec 2016 00:53:52 +0000 (19:53 -0500)]
Fix some typos in the documentation headers.

8 years agoMerge pull request #3664 from bangerth/rename-functions
David Wells [Sat, 10 Dec 2016 15:55:12 +0000 (10:55 -0500)]
Merge pull request #3664 from bangerth/rename-functions

Rename DataPostprocessor functions.

8 years agoMerge pull request #3670 from jppelteret/doc_fix_03
Wolfgang Bangerth [Fri, 9 Dec 2016 21:39:04 +0000 (14:39 -0700)]
Merge pull request #3670 from jppelteret/doc_fix_03

Fix some minor documentation errors from #3034

8 years agoFix some minor documentation errors from #3034 3670/head
Jean-Paul Pelteret [Fri, 9 Dec 2016 20:25:48 +0000 (21:25 +0100)]
Fix some minor documentation errors from #3034

Predictably some minor errors were only spotted after a merge! The
biggest point is ensuring that definitions of static members of the
Elasticity::StandardTensors class don't get inlined in their description
as "Initial values".

8 years agoMerge pull request #3034 from jppelteret/standard_tensors
Wolfgang Bangerth [Fri, 9 Dec 2016 19:32:01 +0000 (12:32 -0700)]
Merge pull request #3034 from jppelteret/standard_tensors

Implemented standard tensors for elasticity.

8 years agoStep-44 now uses the newly implemented physics classes and functions. 3034/head
Jean-Paul Pelteret [Mon, 5 Dec 2016 09:26:31 +0000 (10:26 +0100)]
Step-44 now uses the newly implemented physics classes and functions.

8 years agoStandard transformations, and kinematics and tensors for elasticity.
Jean-Paul Pelteret [Mon, 5 Dec 2016 07:36:09 +0000 (08:36 +0100)]
Standard transformations, and kinematics and tensors for elasticity.

This commit adds a set of functions to perform various push forward /
pull back operations that regularly feature in finite deformation
mechanics. It also adds some standard tensor definitions for elasticity,
as well as functions that compute kinematic quantities typically used in
finite strain elasticity.

Refers to discussion in dealii/code-gallery/#7.

8 years agoAdd adjugate and cofactor functions to tensor class
Jean-Paul Pelteret [Sun, 25 Sep 2016 20:24:54 +0000 (22:24 +0200)]
Add adjugate and cofactor functions to tensor class

8 years agoMerge pull request #3667 from bangerth/default-constructor-for-ArrayView
Daniel Arndt [Thu, 8 Dec 2016 23:16:27 +0000 (00:16 +0100)]
Merge pull request #3667 from bangerth/default-constructor-for-ArrayView

Add a default constructor for class ArrayView.

8 years agoAdd changelog entry. 3667/head
Wolfgang Bangerth [Thu, 8 Dec 2016 17:30:39 +0000 (10:30 -0700)]
Add changelog entry.

8 years agoAdd testcase.
Wolfgang Bangerth [Thu, 8 Dec 2016 17:30:39 +0000 (10:30 -0700)]
Add testcase.

8 years agoAdd a default constructor for class ArrayView.
Wolfgang Bangerth [Thu, 8 Dec 2016 17:30:04 +0000 (10:30 -0700)]
Add a default constructor for class ArrayView.

Right now, one can only create such an object pointing to a specific
array. It is not possible to default construct it, and consequently
you can't put them into collections, for example.

8 years agoMerge pull request #3666 from bangerth/fix-ArrayView
Jean-Paul Pelteret [Thu, 8 Dec 2016 15:12:43 +0000 (16:12 +0100)]
Merge pull request #3666 from bangerth/fix-ArrayView

Allow copying of ArrayViews of length zero.

8 years agoAdd changelog entry. 3666/head
Wolfgang Bangerth [Thu, 8 Dec 2016 04:29:54 +0000 (21:29 -0700)]
Add changelog entry.

8 years agoAdd test.
Wolfgang Bangerth [Thu, 8 Dec 2016 04:29:53 +0000 (21:29 -0700)]
Add test.

8 years agoAllow copying of ArrayViews of length zero.
Wolfgang Bangerth [Thu, 8 Dec 2016 04:29:17 +0000 (21:29 -0700)]
Allow copying of ArrayViews of length zero.

8 years agoMerge pull request #3665 from gassmoeller/add_pop_front_index_set
Wolfgang Bangerth [Thu, 8 Dec 2016 03:35:40 +0000 (20:35 -0700)]
Merge pull request #3665 from gassmoeller/add_pop_front_index_set

Add convenience functions to IndexSet

8 years agoAddress comments 3665/head
Rene Gassmoeller [Thu, 8 Dec 2016 02:23:26 +0000 (19:23 -0700)]
Address comments

8 years agoAdd IndexSet::pop_front, pop_back, and is_empty
Rene Gassmoeller [Fri, 4 Nov 2016 00:13:08 +0000 (18:13 -0600)]
Add IndexSet::pop_front, pop_back, and is_empty

8 years agoMerge pull request #3663 from drwells/distribute-dofs-linear-time
David Wells [Wed, 7 Dec 2016 20:17:36 +0000 (15:17 -0500)]
Merge pull request #3663 from drwells/distribute-dofs-linear-time

Distribute dofs linear time

8 years agoTest that distributing hp dofs runs in linear time. 3663/head
David Wells [Wed, 7 Dec 2016 15:09:57 +0000 (10:09 -0500)]
Test that distributing hp dofs runs in linear time.

8 years agoCache end_active() when assigning hp dofs.
David Wells [Wed, 7 Dec 2016 15:01:57 +0000 (10:01 -0500)]
Cache end_active() when assigning hp dofs.

This fixes a performance bug where distributing dofs on some grids would take an
amount of time quadratic in the number of dofs when it should be linear.

8 years agoRename DataPostprocessor functions. 3664/head
Wolfgang Bangerth [Wed, 7 Dec 2016 17:14:19 +0000 (10:14 -0700)]
Rename DataPostprocessor functions.

In #3333, I added virtual functions to DataPostprocessor with the same name as the existing
functions. This leads to issues where we get a warning in every derived class that only
overloads one of these functions, because that hides the other function. This is, well,
suboptimal.

This patch is therefore a redo of my earlier attempt in which I continue to deprecate
the old functions, but the new functions have a different name. I think they also
have a better name (for a discussion of the naming, see
https://github.com/geodynamics/aspect/issues/1284 ). The different names avoid the
problem of getting the warning and should therefore lead to less discontent. They
also avoid the need to try to work around the warnings using 'using' declarations, like
in #3528.

8 years agoMerge pull request #3662 from jppelteret/tensor-silence_warning
Wolfgang Bangerth [Wed, 7 Dec 2016 16:06:49 +0000 (09:06 -0700)]
Merge pull request #3662 from jppelteret/tensor-silence_warning

Tensor class: Silence compiler warning

8 years agoImplemented the inverse of rank-2 SymmetricTensors. 3662/head
Jean-Paul Pelteret [Wed, 7 Dec 2016 10:27:00 +0000 (11:27 +0100)]
Implemented the inverse of rank-2 SymmetricTensors.

Includes a test case, gratis.

8 years agoRefactor definition of rank-2 Tensor inverse function; add test case
Jean-Paul Pelteret [Wed, 7 Dec 2016 09:05:24 +0000 (10:05 +0100)]
Refactor definition of rank-2 Tensor inverse function; add test case

This silences warnings produced by `-Warray-bounds`.

8 years agoMerge pull request #3658 from bangerth/move-functions
Wolfgang Bangerth [Tue, 6 Dec 2016 21:20:09 +0000 (14:20 -0700)]
Merge pull request #3658 from bangerth/move-functions

Move DataOutInterface::write_pvd/visit_record() to namespace DataOutBase.


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.