]>
https://gitweb.dealii.org/ - dealii.git/log
Wolfgang Bangerth [Tue, 10 Jan 2017 02:47:48 +0000 (19:47 -0700)]
Add changelog entry.
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.
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.
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
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
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'.
Guido Kanschat [Mon, 9 Jan 2017 06:15:35 +0000 (07:15 +0100)]
be a bit more explicit
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.
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.
Wolfgang Bangerth [Mon, 9 Jan 2017 15:10:28 +0000 (08:10 -0700)]
Add changelog entry.
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.
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.
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
Daniel Arndt [Sun, 8 Jan 2017 21:56:29 +0000 (22:56 +0100)]
Automatically set MPI_Comm in MatrixFree
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
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
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
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.
Matthias Maier [Sun, 8 Jan 2017 23:10:25 +0000 (17:10 -0600)]
Bugfix: Quote in a posix compliant manner
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
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
Bruno Turcksin [Sun, 8 Jan 2017 20:26:44 +0000 (15:26 -0500)]
Encapsulate functions from vector_operations_internal in VectorOperations namespace.
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.
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.
David Wells [Sun, 8 Jan 2017 17:49:21 +0000 (12:49 -0500)]
Add a test checking ChartManifold/MappingQ convergence rates.
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
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.
Wolfgang Bangerth [Fri, 6 Jan 2017 19:07:49 +0000 (12:07 -0700)]
Add a changelog entry.
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.
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
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.
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.
Guido Kanschat [Thu, 5 Jan 2017 17:07:23 +0000 (18:07 +0100)]
tangential jumps for Laplacian
Denis Davydov [Fri, 6 Jan 2017 19:46:31 +0000 (20:46 +0100)]
minor edit
Matthias Maier [Fri, 6 Jan 2017 20:24:15 +0000 (14:24 -0600)]
add changelog entry
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.
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.
Denis Davydov [Fri, 6 Jan 2017 19:19:41 +0000 (20:19 +0100)]
add a note on -Og and -O0 debug flags
Wolfgang Bangerth [Fri, 6 Jan 2017 19:04:42 +0000 (12:04 -0700)]
Increase the precision with which we output data in two tests.
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
Daniel Arndt [Thu, 5 Jan 2017 17:10:03 +0000 (18:10 +0100)]
Workaround OpenMPI problem in mpi_exceptions
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
Daniel Arndt [Wed, 4 Jan 2017 23:39:27 +0000 (00:39 +0100)]
Get rid off typeid in symmetric_tensor_36
Timo Heister [Thu, 5 Jan 2017 07:36:34 +0000 (08:36 +0100)]
Merge pull request #3731 from drwells/cppcheck-2
Cppcheck 2
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.
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.
David Wells [Tue, 3 Jan 2017 17:44:06 +0000 (12:44 -0500)]
Prefer logical OR to boolean OR.
This was caught by cppcheck.
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.
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.
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.
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
Daniel Arndt [Wed, 4 Jan 2017 22:47:31 +0000 (23:47 +0100)]
Fix types in failing IndexSet tests
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
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
Martin Kronbichler [Wed, 4 Jan 2017 06:16:05 +0000 (07:16 +0100)]
Merge pull request #3729 from drwells/cppcheck-1
cppcheck results 1
David Wells [Tue, 3 Jan 2017 17:07:02 +0000 (12:07 -0500)]
Mark some functions as const.
This was caught by cppcheck.
David Wells [Tue, 3 Jan 2017 17:06:44 +0000 (12:06 -0500)]
initialize some pointers to NULL.
This was caught by cppcheck.
David Wells [Tue, 3 Jan 2017 17:06:29 +0000 (12:06 -0500)]
Pass some function arguments by reference.
This was caught by cppcheck.
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.
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.
David Wells [Tue, 3 Jan 2017 17:05:37 +0000 (12:05 -0500)]
Reduce the scope of some variables.
This was caught by cppcheck.
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.
Martin Kronbichler [Tue, 3 Jan 2017 17:34:06 +0000 (18:34 +0100)]
Switch Legendre polynomials to stable evaluation via root representation
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
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
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.
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
Timo Heister [Tue, 3 Jan 2017 16:50:08 +0000 (17:50 +0100)]
update GridGenerator:cylinder_shell documentation
Daniel Arndt [Tue, 3 Jan 2017 16:14:06 +0000 (17:14 +0100)]
Update memory_consumption_01
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
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.
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.
David Wells [Mon, 2 Jan 2017 05:14:25 +0000 (00:14 -0500)]
Combine the remaining DoFTools functions.
David Wells [Mon, 2 Jan 2017 05:13:40 +0000 (00:13 -0500)]
Add a doxygen category for DoFTools exceptions.
David Wells [Mon, 2 Jan 2017 04:53:23 +0000 (23:53 -0500)]
Group the DoF mapping functions together.
David Wells [Mon, 2 Jan 2017 04:34:21 +0000 (23:34 -0500)]
Group DoFTools coupling functions together.
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
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
Daniel Arndt [Fri, 30 Dec 2016 00:03:44 +0000 (01:03 +0100)]
Fix compiling with non-MPI PETSc
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
Daniel Arndt [Fri, 30 Dec 2016 00:07:47 +0000 (01:07 +0100)]
Fix compiling with complex-valued PETSc
Karl Ljungkvist [Thu, 29 Dec 2016 15:39:07 +0000 (16:39 +0100)]
use conventional way of calling static method to please nvcc
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
Karl Ljungkvist [Wed, 28 Dec 2016 12:18:29 +0000 (13:18 +0100)]
fix typos in file name
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.
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.
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.
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.
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).
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 …
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
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
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
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
Wolfgang Bangerth [Wed, 21 Dec 2016 17:44:43 +0000 (10:44 -0700)]
Add a changelog entry.
Wolfgang Bangerth [Wed, 21 Dec 2016 17:40:02 +0000 (10:40 -0700)]
Provide the cell via DataOutRotation. Add tests.
Wolfgang Bangerth [Wed, 21 Dec 2016 16:28:59 +0000 (09:28 -0700)]
Provide the cell via DataOutFaces. Add tests.
Wolfgang Bangerth [Wed, 21 Dec 2016 15:29:24 +0000 (08:29 -0700)]
Provide the cell via DataOut. Add tests.
Wolfgang Bangerth [Wed, 21 Dec 2016 15:28:52 +0000 (08:28 -0700)]
Make cells available in data-postprocessors.
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
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.