]>
https://gitweb.dealii.org/ - dealii.git/log
Uwe Köcher [Thu, 12 Jan 2017 15:06:33 +0000 (16:06 +0100)]
Introduce type trait is_serial_vector<VectorType>
renames type trait is_non_distributed_vector to is_serial_vector and put it into dealii::std_cxx11 namespace
intendation with astyle 2.04 / script
more obivious logical statements as requested
moves true_type and false_type to dealii/base/std_cxx11/type_traits.h
moves specialization of is_serial_vector for dealii::Vector classes to their implementation
correction of implementation
moves vector type traits from a single file to their declaration files
testsuite for vector_type_traits.h for current vectors and instanciations
change request for comments
declares the is_serial_vector template without defining it and minor work on documentation
squashes test cases for is_serial_vector and marks output files for trilinos, petsc, mpi
corrects output files for testsuite (results are correct)
corrects intendation
intendation of #include
Martin Kronbichler [Thu, 12 Jan 2017 05:58:36 +0000 (06:58 +0100)]
Merge pull request #3773 from kronbichler/mg_transfer_mf_legendre
Allow for FE_DGQLegendre in MGTransferMatrixFree
Martin Kronbichler [Thu, 12 Jan 2017 05:48:50 +0000 (06:48 +0100)]
Merge pull request #3771 from bangerth/fix-face-domination
Fix face domination between FE_Q and FE_DGQ.
Wolfgang Bangerth [Wed, 11 Jan 2017 20:19:50 +0000 (13:19 -0700)]
Add changelog entry.
Wolfgang Bangerth [Wed, 11 Jan 2017 20:19:47 +0000 (13:19 -0700)]
Add test.
Wolfgang Bangerth [Wed, 11 Jan 2017 20:18:32 +0000 (13:18 -0700)]
Fix face domination between FE_Q and FE_DGQ.
Right now, one got an answer if one asked the FE_DGQ whether or not
it dominates the FE_Q, but not the other way around. Make this symmetric.
While there, also include FE_DGP in the test.
Daniel Arndt [Thu, 12 Jan 2017 00:40:43 +0000 (01:40 +0100)]
Merge pull request #3770 from kronbichler/introduce_fe_dgq_legendre
Introduce FE_DGQLegendre and FE_DGQHermite
David Wells [Thu, 12 Jan 2017 00:09:45 +0000 (19:09 -0500)]
Merge pull request #3772 from bangerth/fix-type-mismatch
Fix missing 'spacedim' template argument.
Daniel Arndt [Wed, 11 Jan 2017 22:15:06 +0000 (23:15 +0100)]
Merge pull request #3768 from masterleinad/test_fe_mf
Implement function to check for MatrixFree support
Martin Kronbichler [Wed, 11 Jan 2017 22:04:15 +0000 (23:04 +0100)]
Merge pull request #3769 from kronbichler/fix_parallel_vector_comm
Change communication pattern in parallel vector.
Martin Kronbichler [Wed, 11 Jan 2017 21:58:42 +0000 (22:58 +0100)]
Allow for FE_DGQLegendre in MGTransferMatrixFree
Martin Kronbichler [Wed, 11 Jan 2017 18:14:45 +0000 (19:14 +0100)]
List incompatible change
Martin Kronbichler [Wed, 11 Jan 2017 18:14:34 +0000 (19:14 +0100)]
Add another test
Martin Kronbichler [Wed, 11 Jan 2017 17:49:02 +0000 (18:49 +0100)]
Introduce FE_DGQLegendre and FE_DGQHermite
Wolfgang Bangerth [Wed, 11 Jan 2017 20:27:08 +0000 (13:27 -0700)]
Add changelog entry.
Wolfgang Bangerth [Wed, 11 Jan 2017 20:26:56 +0000 (13:26 -0700)]
Fix missing 'spacedim' template argument.
Bruno Turcksin [Wed, 11 Jan 2017 19:55:17 +0000 (14:55 -0500)]
Merge pull request #3755 from jppelteret/fix_step-18_rotation_matrix
Fix rotation matrix definition in step-18
Daniel Arndt [Wed, 11 Jan 2017 17:40:21 +0000 (18:40 +0100)]
Merge pull request #3767 from kronbichler/chebyshev_common_vector_interface
Use common vector interface for Chebyshev smoother
Daniel Arndt [Mon, 9 Jan 2017 13:44:33 +0000 (14:44 +0100)]
Implement function to check for MatrixFree support
Martin Kronbichler [Wed, 11 Jan 2017 17:29:33 +0000 (18:29 +0100)]
Change communication pattern in parallel vector.
Jean-Paul Pelteret [Mon, 9 Jan 2017 18:15:08 +0000 (19:15 +0100)]
Update step-18 to use rotation matrix defined in physics module.
Jean-Paul Pelteret [Mon, 9 Jan 2017 17:06:18 +0000 (18:06 +0100)]
Added functions to compute rotation matrices in 2d and 3d.
Martin Kronbichler [Wed, 11 Jan 2017 14:58:28 +0000 (15:58 +0100)]
Use common vector interface for Chebyshev smoother
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.
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 18:52:42 +0000 (13:52 -0500)]
Merge pull request #3762 from drwells/make-member-const
Make a member variable const.
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.
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.
Martin Kronbichler [Tue, 10 Jan 2017 09:45:45 +0000 (10:45 +0100)]
Merge pull request #3760 from masterleinad/fix_filename
Rename misnamed file
Daniel Arndt [Tue, 10 Jan 2017 09:43:17 +0000 (10:43 +0100)]
Rename misnamed file
Bruno Turcksin [Tue, 10 Jan 2017 02:21:15 +0000 (21:21 -0500)]
Do not use deprecated reinit function.
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
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.