]>
https://gitweb.dealii.org/ - dealii.git/log
Martin Kronbichler [Fri, 17 Apr 2015 10:16:57 +0000 (12:16 +0200)]
Merge pull request #822 from tamiko/fix_dangling_else
Fix a forgotten -Wdangling-else warning
Matthias Maier [Fri, 17 Apr 2015 09:06:33 +0000 (11:06 +0200)]
Fix a forgotten -Wdangling-else warning
Martin Kronbichler [Fri, 17 Apr 2015 08:29:32 +0000 (10:29 +0200)]
Merge pull request #820 from tamiko/silence_warning
Remove "register" storage location specifier from bundled tbb
Matthias Maier [Fri, 17 Apr 2015 08:23:30 +0000 (10:23 +0200)]
Remove "register" storage location specifier from bundled tbb
In c++98, "register" is a mild hint for the compiler that it might be
beneficial to store the variable in a CPU register. This keyword is
deprecated in C++11. Remove it and trust the compiler to figure this out
for itself.
Matthias Maier [Fri, 17 Apr 2015 06:16:26 +0000 (08:16 +0200)]
Merge pull request #818 from bangerth/avoid-warning
Avoid a warning with recently enabled -Wxxx flags.
Wolfgang Bangerth [Fri, 17 Apr 2015 01:50:05 +0000 (20:50 -0500)]
Avoid a warning with recently enabled -Wxxx flags.
Specifically, we get the following warning:
/home/bangerth/p/deal.II/1/dealii/bundled/tbb41_20130401oss/src/tbb/governor.cpp:64:1: warning: missing initializer for member 'tbb::internal::dynamic_link_descriptor::ptr' [-Wmissing-field-initializers]
Wolfgang Bangerth [Fri, 17 Apr 2015 00:18:02 +0000 (19:18 -0500)]
Merge pull request #817 from tamiko/bugfix
CMake: Remove -Wno-deprecated
Wolfgang Bangerth [Thu, 16 Apr 2015 23:40:36 +0000 (18:40 -0500)]
Merge pull request #815 from tamiko/simplify_clang_configuration
CMake: Simplify clang configuration
Wolfgang Bangerth [Thu, 16 Apr 2015 23:39:26 +0000 (18:39 -0500)]
Merge pull request #811 from tamiko/fix_opencascade_warnings
Fix opencascade warnings
Wolfgang Bangerth [Thu, 16 Apr 2015 21:39:03 +0000 (16:39 -0500)]
Merge pull request #804 from bangerth/introduce-active_cell_index-2
Introduce active cell index 2
Martin Kronbichler [Thu, 16 Apr 2015 19:16:23 +0000 (21:16 +0200)]
Merge pull request #816 from tamiko/small_cleanup
Remove superfluous flag
Martin Kronbichler [Thu, 16 Apr 2015 19:15:31 +0000 (21:15 +0200)]
Merge pull request #813 from tamiko/fix_dangling_else
Simplify nested if/for clauses to avoid -Wdangling-else warnings
Matthias Maier [Thu, 16 Apr 2015 18:00:18 +0000 (20:00 +0200)]
CMake: Remove -Wno-deprecated
-Wno-deprecated has nothing to do with -Wno-deprecated-declarations. Thus,
remove it.
Matthias Maier [Thu, 16 Apr 2015 17:24:36 +0000 (19:24 +0200)]
Remove superfluous flag
-Wno-long-long is already unconditionally set.
Matthias Maier [Thu, 16 Apr 2015 14:31:41 +0000 (16:31 +0200)]
CMake: Simplify clang configuration
It turns out that clang went a long way since 2011/2012. Remove unneeded
-Wno-* switches.
Wolfgang Bangerth [Thu, 16 Apr 2015 16:32:10 +0000 (11:32 -0500)]
Merge pull request #812 from luca-heltai/fix-pr-mapping-fe
Changed order of arguments in constructor of MappingFEField
Marco Tezzele [Thu, 16 Apr 2015 09:53:34 +0000 (11:53 +0200)]
Changed the order of the arguments of the constructor of MappingFEField and tests
Matthias Maier [Thu, 16 Apr 2015 15:32:25 +0000 (17:32 +0200)]
Simplify nested if/for clauses to avoid -Wdangling-else warnings
Luca Heltai [Thu, 16 Apr 2015 14:23:42 +0000 (16:23 +0200)]
Merge pull request #772 from luca-heltai/fix-mapping-fe
Fix MappingFEField
Marco Tezzele [Mon, 13 Apr 2015 13:12:18 +0000 (15:12 +0200)]
Fixed usage in the documentation of mapping_fe_field.h
Marco Tezzele [Mon, 13 Apr 2015 08:38:19 +0000 (10:38 +0200)]
fixed documentation of members in mapping_fe_field.cc and added a reference in vector_tools
Luca Heltai [Sat, 11 Apr 2015 16:16:11 +0000 (18:16 +0200)]
Fixed initialization issue.
Luca Heltai [Sat, 11 Apr 2015 14:48:07 +0000 (16:48 +0200)]
Added get_position_vector to VectorTools
Removed references to update_euler_vector from tets.
Luca Heltai [Mon, 6 Apr 2015 18:06:32 +0000 (20:06 +0200)]
Renamed MappingFE to MappingFEField
Fixed documentation.
Fixed indentation.
Inverted DH and VECTOR in template declaration.
Renamed get_fe_mask to get_component_mask
Added entry in changes.h
fixed: destructor, useless lines, commented code. Renamed tests
added missing documentation and solved the thread safe issue
eliminated if statement in compute_shapes_virtual
solved all the problems highlighted in https://github.com/dealii/dealii/pull/727
const quadrature points in update_euler_vector_using_triangulation
Added two test with a non trivial component mask (mapping_fe_field_real_to_unit_q1_mask.cc) and fixed if statement in update_euler_vector_using_triangulation
Added assert dimension in update_euler_vector_using_triangulation
start working on else statement in update_euler
added one test with fe_bernstein (still failing)
Added tests from q1 to q5 and from b1 to b5
Fixed doxygen comments.
Added a few comments and fixed a const reference.
fixed inital guess in transform_real_to_unit
added hyperballboundary in test b2_mask
Matthias Maier [Thu, 16 Apr 2015 11:03:40 +0000 (13:03 +0200)]
Silence warnings caused by opencascade headers
Matthias Maier [Thu, 16 Apr 2015 10:42:15 +0000 (12:42 +0200)]
CMake: Remove broken configuration
Luca Heltai [Thu, 16 Apr 2015 08:02:12 +0000 (10:02 +0200)]
Merge pull request #810 from kronbichler/master
Fix assertion regarding TrilinosWrappers::SparsityPattern::nonlocal_graph
Martin Kronbichler [Thu, 16 Apr 2015 06:49:10 +0000 (08:49 +0200)]
Add test for empty processors (communicated by D. Arndt).
Martin Kronbichler [Wed, 15 Apr 2015 20:39:58 +0000 (22:39 +0200)]
Fix assertion
Wolfgang Bangerth [Wed, 15 Apr 2015 23:38:17 +0000 (18:38 -0500)]
Merge pull request #809 from tamiko/fix_warnings
Silence bogus unused-parameters|variables warnings
Matthias Maier [Wed, 15 Apr 2015 22:58:28 +0000 (00:58 +0200)]
Silence bogus unused-parameters|variables warnings
Matthias Maier [Wed, 15 Apr 2015 22:01:50 +0000 (00:01 +0200)]
Merge pull request #805 from tamiko/silence
Restructure -Wno switches, silence bogus warnings in external headers
Bruno Turcksin [Wed, 15 Apr 2015 18:32:17 +0000 (13:32 -0500)]
Merge pull request #807 from ian-r-rose/typename_fix
Remove typename which was causing problems with C++03
Ian Rose [Wed, 15 Apr 2015 18:20:21 +0000 (11:20 -0700)]
Remove typename which was causing problems with C++03
Matthias Maier [Wed, 15 Apr 2015 16:13:48 +0000 (18:13 +0200)]
CMake: Set up boost specific -Wno-* switches in configure_boost.cmake
Matthias Maier [Wed, 15 Apr 2015 15:56:25 +0000 (17:56 +0200)]
*shhh*
Wolfgang Bangerth [Wed, 15 Apr 2015 16:10:39 +0000 (11:10 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Wolfgang Bangerth [Wed, 15 Apr 2015 16:10:29 +0000 (11:10 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Wolfgang Bangerth [Wed, 15 Apr 2015 15:42:57 +0000 (10:42 -0500)]
Merge pull request #803 from kronbichler/master
Minor cleanup of vmult: Avoid casting unused parameter
Martin Kronbichler [Wed, 15 Apr 2015 15:12:46 +0000 (17:12 +0200)]
Minor cleanup of vmult: Avoid casting unused parameter
Bruno Turcksin [Wed, 15 Apr 2015 14:17:08 +0000 (09:17 -0500)]
Merge pull request #802 from kronbichler/master
Remove unnecessary friend declaration
Martin Kronbichler [Wed, 15 Apr 2015 14:11:09 +0000 (16:11 +0200)]
Remove unnecessary friend declaration
Wolfgang Bangerth [Wed, 15 Apr 2015 12:46:24 +0000 (07:46 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Wolfgang Bangerth [Tue, 14 Apr 2015 21:46:56 +0000 (16:46 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Wolfgang Bangerth [Tue, 14 Apr 2015 21:46:56 +0000 (16:46 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Wolfgang Bangerth [Tue, 14 Apr 2015 21:46:55 +0000 (16:46 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Wolfgang Bangerth [Tue, 14 Apr 2015 21:46:55 +0000 (16:46 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Wolfgang Bangerth [Tue, 14 Apr 2015 21:46:54 +0000 (16:46 -0500)]
Replace a double loop over cells and indices by a single loop and the use of cell->active_cell_index().
Timo Heister [Wed, 15 Apr 2015 12:33:40 +0000 (08:33 -0400)]
Merge pull request #765 from bangerth/introduce-active_cell_index
Introduce active cell index
Wolfgang Bangerth [Tue, 14 Apr 2015 13:38:16 +0000 (08:38 -0500)]
Merge pull request #797 from kronbichler/master
Make SymmetricTensor<2,dim> mostly dimension-independent
Martin Kronbichler [Tue, 14 Apr 2015 13:31:34 +0000 (15:31 +0200)]
Improve order of multiplication/addition in perform_double_contraction which is performance sensitive
Martin Kronbichler [Tue, 14 Apr 2015 11:41:46 +0000 (13:41 +0200)]
List change
Martin Kronbichler [Tue, 14 Apr 2015 11:40:12 +0000 (13:40 +0200)]
Test dimension-independence.
Martin Kronbichler [Tue, 14 Apr 2015 11:39:28 +0000 (13:39 +0200)]
Make most parts of SymmetricTensor dimension-independent
Wolfgang Bangerth [Tue, 14 Apr 2015 13:15:30 +0000 (08:15 -0500)]
Merge pull request #798 from drwells/void-unused-parameters-2
Void unused parameters, part 2
David Wells [Tue, 14 Apr 2015 13:04:02 +0000 (09:04 -0400)]
When obvious, do not name unused parameters.
David Wells [Tue, 14 Apr 2015 13:03:38 +0000 (09:03 -0400)]
Comment unused parameter names.
David Wells [Tue, 14 Apr 2015 13:02:47 +0000 (09:02 -0400)]
Use a (void) cast on unused parameters.
David Wells [Tue, 14 Apr 2015 13:01:25 +0000 (09:01 -0400)]
Remove a variable that only appears in an assert.
This is slightly simpler than declaring the variable and then using
the (void) cast.
Martin Kronbichler [Tue, 14 Apr 2015 11:42:24 +0000 (13:42 +0200)]
Merge pull request #792 from kronbichler/master
Increase performance of SparsityTools::reorder_hierarchical
Matthias Maier [Tue, 14 Apr 2015 10:50:25 +0000 (12:50 +0200)]
Merge branch 'drwells-void-unused-parameters'
merges #736
closes #736
Matthias Maier [Tue, 14 Apr 2015 10:47:14 +0000 (12:47 +0200)]
Fix indenting
Matthias Maier [Tue, 14 Apr 2015 10:46:23 +0000 (12:46 +0200)]
Reenable -Qunused-arguments for clang
David Wells [Sat, 11 Apr 2015 14:05:29 +0000 (10:05 -0400)]
Summarize changed with unused variable warnings.
David Wells [Sat, 11 Apr 2015 18:43:41 +0000 (14:43 -0400)]
Update clang flags.
This obeys the "fat note" convention.
David Wells [Sat, 11 Apr 2015 12:47:30 +0000 (08:47 -0400)]
Use the standard convention for error codes.
David Wells [Sat, 11 Apr 2015 12:47:02 +0000 (08:47 -0400)]
Get rid of named temporaries for asserts.
This also avoids writing a lot of (void)s.
David Wells [Sat, 11 Apr 2015 12:45:45 +0000 (08:45 -0400)]
Use "#ifdef DEBUG" for complex asserts.
This avoids writing a lot of (void)s.
David Wells [Sat, 11 Apr 2015 12:43:34 +0000 (08:43 -0400)]
Add a (void) cast to unused values in .cc files.
This should *crosses fingers* get rid of all unused parameter warnings
when compiling the library.
David Wells [Sat, 4 Apr 2015 16:55:18 +0000 (12:55 -0400)]
Enable Trilinos warnings in recent versions.
At least for my local copy (11.12.1) GCC does not raise any warnings.
David Wells [Sat, 4 Apr 2015 16:11:53 +0000 (12:11 -0400)]
Only enable 'unused' GCC warnings in debug mode.
In debug mode all parameters and variables *should* be used (i.e., the
Assert macro is expanded).
David Wells [Sat, 4 Apr 2015 15:52:33 +0000 (11:52 -0400)]
Use the standard (void) to mark unused parameters.
David Wells [Sat, 4 Apr 2015 15:49:40 +0000 (11:49 -0400)]
When obvious, do not name unused parameters.
Rather than writing
Triangulation<dim> &/*tria*/
where tria is a redundant name, I simply leave the unused parameter name
blank.
David Wells [Sat, 4 Apr 2015 15:47:41 +0000 (11:47 -0400)]
Comment out unused parameters in source files.
These are neither used in debug nor release mode.
David Wells [Sat, 4 Apr 2015 14:37:17 +0000 (10:37 -0400)]
Do not name unused parameters when obvious.
Rather than `SparsityPattern &sp`, it is simpler to write
`SparsityPattern &` with no name.
David Wells [Sat, 4 Apr 2015 14:35:48 +0000 (10:35 -0400)]
Switch from (void) to commented parameter name.
For some compiler options the (void) was not included in the source,
leading to extra compiler warnings.
David Wells [Sat, 4 Apr 2015 14:34:33 +0000 (10:34 -0400)]
Comment unused parameter names.
While deleting unused parameter names is legal, it may be helpful in the
future to see the comment in something like `unsigned int /*level*/`.
David Wells [Sat, 4 Apr 2015 14:28:45 +0000 (10:28 -0400)]
Use the (void) trick to silence warnings.
Matthias Maier [Tue, 14 Apr 2015 09:25:36 +0000 (11:25 +0200)]
Merge pull request #796 from kronbichler/fix_test
Fix test in 64bit mode
Martin Kronbichler [Tue, 14 Apr 2015 09:23:00 +0000 (11:23 +0200)]
Fix test in 64bit mode
Martin Kronbichler [Mon, 13 Apr 2015 16:28:09 +0000 (18:28 +0200)]
Increase performance of SparsityTools::reorder_hierarchical
Martin Kronbichler [Tue, 14 Apr 2015 06:48:31 +0000 (08:48 +0200)]
Merge pull request #790 from bangerth/dynamic-sparsity-pattern-iterator
Dynamic sparsity pattern iterator
Matthias Maier [Tue, 14 Apr 2015 06:42:03 +0000 (08:42 +0200)]
Merge pull request #794 from bangerth/doc-update-20
Provide documentation to the various namespaces in generic_linear_algebra.h.
Wolfgang Bangerth [Tue, 14 Apr 2015 01:56:35 +0000 (20:56 -0500)]
Provide documentation to the various namespaces in generic_linear_algebra.h.
Wolfgang Bangerth [Tue, 14 Apr 2015 01:41:47 +0000 (20:41 -0500)]
Add another test, this time for parallel triangulations.
Matthias Maier [Mon, 13 Apr 2015 23:08:23 +0000 (01:08 +0200)]
Merge pull request #793 from tjhei/constraint_matrix_copy
ConstraintMatrix copy explicit and disable assignment
Wolfgang Bangerth [Mon, 13 Apr 2015 22:55:28 +0000 (17:55 -0500)]
Refactor common code into a function of its own.
Wolfgang Bangerth [Mon, 13 Apr 2015 22:40:16 +0000 (17:40 -0500)]
Relax requirement on a function so as to allow resetting the
active_cell_index field also for unused (not only for active and
non-active) cells.
Wolfgang Bangerth [Mon, 13 Apr 2015 22:36:25 +0000 (17:36 -0500)]
Update comment.
Timo Heister [Mon, 13 Apr 2015 21:37:53 +0000 (17:37 -0400)]
ConstraintMatrix copy explicit and disable assignment
- make Copy constructor explicit
- make conversion from IndexSet explicit
- disable operator=
Wolfgang Bangerth [Mon, 13 Apr 2015 20:00:55 +0000 (15:00 -0500)]
Rewrite the dynamic sparsity pattern iterators in such a way that they store not an index into the current row, but an iterator.
Luca Heltai [Mon, 13 Apr 2015 16:25:16 +0000 (18:25 +0200)]
Merge pull request #788 from QiaoLei-88/compress
remove compress() from step-33 as no-op and add explain to calling of them in step-40
Lei Qiao [Mon, 13 Apr 2015 14:14:25 +0000 (09:14 -0500)]
fix textual error.
Wolfgang Bangerth [Mon, 13 Apr 2015 13:51:10 +0000 (08:51 -0500)]
Add tests for iterators over DynamicSparsityPattern objects.
Wolfgang Bangerth [Mon, 13 Apr 2015 13:50:46 +0000 (08:50 -0500)]
Introduce iterators over DynamicSparsityPattern objects.
Wolfgang Bangerth [Mon, 13 Apr 2015 12:02:57 +0000 (07:02 -0500)]
Reference a particular class in a comment.
Wolfgang Bangerth [Mon, 13 Apr 2015 11:59:02 +0000 (06:59 -0500)]
Minor clarification of some documentation.
Martin Kronbichler [Mon, 13 Apr 2015 11:01:20 +0000 (13:01 +0200)]
Merge pull request #789 from davydden/fe_q_hierarchical_part2
added a SolutionTransfer test for FE_Q_Hierarchical.
Denis Davydov [Mon, 13 Apr 2015 09:19:11 +0000 (11:19 +0200)]
added a SolutionTransfer test for FE_Q_Hierarchical.
Also cleaned up unnecessary Assert in the class.
Luca Heltai [Mon, 13 Apr 2015 08:56:43 +0000 (10:56 +0200)]
Merge pull request #787 from bangerth/doc-update-19
Add a missing call to distribute() to step-26 after SolutionTransfer.
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.