]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
9 years agoMinor cleanup of vmult: Avoid casting unused parameter 803/head
Martin Kronbichler [Wed, 15 Apr 2015 15:12:46 +0000 (17:12 +0200)]
Minor cleanup of vmult: Avoid casting unused parameter

9 years agoMerge pull request #802 from kronbichler/master
Bruno Turcksin [Wed, 15 Apr 2015 14:17:08 +0000 (09:17 -0500)]
Merge pull request #802 from kronbichler/master

Remove unnecessary friend declaration

9 years agoRemove unnecessary friend declaration 802/head
Martin Kronbichler [Wed, 15 Apr 2015 14:11:09 +0000 (16:11 +0200)]
Remove unnecessary friend declaration

9 years agoMerge pull request #765 from bangerth/introduce-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

9 years agoMerge pull request #797 from kronbichler/master
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

9 years agoImprove order of multiplication/addition in perform_double_contraction which is perfo... 797/head
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

9 years agoList change
Martin Kronbichler [Tue, 14 Apr 2015 11:41:46 +0000 (13:41 +0200)]
List change

9 years agoTest dimension-independence.
Martin Kronbichler [Tue, 14 Apr 2015 11:40:12 +0000 (13:40 +0200)]
Test dimension-independence.

9 years agoMake most parts of SymmetricTensor dimension-independent
Martin Kronbichler [Tue, 14 Apr 2015 11:39:28 +0000 (13:39 +0200)]
Make most parts of SymmetricTensor dimension-independent

9 years agoMerge pull request #798 from drwells/void-unused-parameters-2
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

9 years agoWhen obvious, do not name unused parameters. 798/head
David Wells [Tue, 14 Apr 2015 13:04:02 +0000 (09:04 -0400)]
When obvious, do not name unused parameters.

9 years agoComment unused parameter names.
David Wells [Tue, 14 Apr 2015 13:03:38 +0000 (09:03 -0400)]
Comment unused parameter names.

9 years agoUse a (void) cast on unused parameters.
David Wells [Tue, 14 Apr 2015 13:02:47 +0000 (09:02 -0400)]
Use a (void) cast on unused parameters.

9 years agoRemove a variable that only appears in an assert.
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.

9 years agoMerge pull request #792 from kronbichler/master
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

9 years agoMerge branch 'drwells-void-unused-parameters'
Matthias Maier [Tue, 14 Apr 2015 10:50:25 +0000 (12:50 +0200)]
Merge branch 'drwells-void-unused-parameters'

merges #736
closes #736

9 years agoFix indenting
Matthias Maier [Tue, 14 Apr 2015 10:47:14 +0000 (12:47 +0200)]
Fix indenting

9 years agoReenable -Qunused-arguments for clang
Matthias Maier [Tue, 14 Apr 2015 10:46:23 +0000 (12:46 +0200)]
Reenable -Qunused-arguments for clang

9 years agoSummarize changed with unused variable warnings.
David Wells [Sat, 11 Apr 2015 14:05:29 +0000 (10:05 -0400)]
Summarize changed with unused variable warnings.

9 years agoUpdate clang flags.
David Wells [Sat, 11 Apr 2015 18:43:41 +0000 (14:43 -0400)]
Update clang flags.
This obeys the "fat note" convention.

9 years agoUse the standard convention for error codes.
David Wells [Sat, 11 Apr 2015 12:47:30 +0000 (08:47 -0400)]
Use the standard convention for error codes.

9 years agoGet rid of named temporaries for asserts.
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.

9 years agoUse "#ifdef DEBUG" for complex asserts.
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.

9 years agoAdd a (void) cast to unused values in .cc files.
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.

9 years agoEnable Trilinos warnings in recent versions.
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.

9 years agoOnly enable 'unused' GCC warnings in debug mode.
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).

9 years agoUse the standard (void) to mark unused parameters.
David Wells [Sat, 4 Apr 2015 15:52:33 +0000 (11:52 -0400)]
Use the standard (void) to mark unused parameters.

9 years agoWhen obvious, do not name 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.

9 years agoComment out unused parameters in source files.
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.

9 years agoDo not name unused parameters when obvious.
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.

9 years agoSwitch from (void) to commented parameter 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.

9 years agoComment unused parameter names.
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*/`.

9 years agoUse the (void) trick to silence warnings.
David Wells [Sat, 4 Apr 2015 14:28:45 +0000 (10:28 -0400)]
Use the (void) trick to silence warnings.

9 years agoMerge pull request #796 from kronbichler/fix_test
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

9 years agoFix test in 64bit mode 796/head
Martin Kronbichler [Tue, 14 Apr 2015 09:23:00 +0000 (11:23 +0200)]
Fix test in 64bit mode

9 years agoIncrease performance of SparsityTools::reorder_hierarchical 792/head
Martin Kronbichler [Mon, 13 Apr 2015 16:28:09 +0000 (18:28 +0200)]
Increase performance of SparsityTools::reorder_hierarchical

9 years agoMerge pull request #790 from bangerth/dynamic-sparsity-pattern-iterator
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

9 years agoMerge pull request #794 from bangerth/doc-update-20
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.

9 years agoProvide documentation to the various namespaces in generic_linear_algebra.h. 794/head
Wolfgang Bangerth [Tue, 14 Apr 2015 01:56:35 +0000 (20:56 -0500)]
Provide documentation to the various namespaces in generic_linear_algebra.h.

9 years agoAdd another test, this time for parallel triangulations. 765/head
Wolfgang Bangerth [Tue, 14 Apr 2015 01:41:47 +0000 (20:41 -0500)]
Add another test, this time for parallel triangulations.

9 years agoMerge pull request #793 from tjhei/constraint_matrix_copy
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

9 years agoRefactor common code into a function of its own.
Wolfgang Bangerth [Mon, 13 Apr 2015 22:55:28 +0000 (17:55 -0500)]
Refactor common code into a function of its own.

9 years agoRelax requirement on a function so as to allow resetting the
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.

9 years agoUpdate comment.
Wolfgang Bangerth [Mon, 13 Apr 2015 22:36:25 +0000 (17:36 -0500)]
Update comment.

9 years agoConstraintMatrix copy explicit and disable assignment 793/head
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=

9 years agoRewrite the dynamic sparsity pattern iterators in such a way that they store not... 790/head
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.

9 years agoMerge pull request #788 from QiaoLei-88/compress
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

9 years agofix textual error. 788/head
Lei Qiao [Mon, 13 Apr 2015 14:14:25 +0000 (09:14 -0500)]
fix textual error.

9 years agoAdd tests for iterators over DynamicSparsityPattern objects.
Wolfgang Bangerth [Mon, 13 Apr 2015 13:51:10 +0000 (08:51 -0500)]
Add tests for iterators over DynamicSparsityPattern objects.

9 years agoIntroduce iterators over DynamicSparsityPattern objects.
Wolfgang Bangerth [Mon, 13 Apr 2015 13:50:46 +0000 (08:50 -0500)]
Introduce iterators over DynamicSparsityPattern objects.

9 years agoReference a particular class in a comment.
Wolfgang Bangerth [Mon, 13 Apr 2015 12:02:57 +0000 (07:02 -0500)]
Reference a particular class in a comment.

9 years agoMinor clarification of some documentation.
Wolfgang Bangerth [Mon, 13 Apr 2015 11:59:02 +0000 (06:59 -0500)]
Minor clarification of some documentation.

9 years agoMerge pull request #789 from davydden/fe_q_hierarchical_part2
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.

9 years agoadded a SolutionTransfer test for FE_Q_Hierarchical. 789/head
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.

9 years agoMerge pull request #787 from bangerth/doc-update-19
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.

9 years agoexplain calling of compress() in step-40.
Lei Qiao [Mon, 13 Apr 2015 03:29:24 +0000 (22:29 -0500)]
explain calling of compress() in step-40.

9 years agoremove the two no-op compress()
Lei Qiao [Mon, 13 Apr 2015 03:00:53 +0000 (22:00 -0500)]
remove the two no-op compress()

9 years agoAdd a missing call to distribute() to step-26 after SolutionTransfer. 787/head
Wolfgang Bangerth [Mon, 13 Apr 2015 02:59:06 +0000 (21:59 -0500)]
Add a missing call to distribute() to step-26 after SolutionTransfer.

This was pointed out in #757 but it only addresses part of the problem: I believe a similar call is also missing steps 31, 32, 33, 42, 43. It is there in step-15.

9 years agoAdd an entry to changes.h.
Wolfgang Bangerth [Fri, 10 Apr 2015 22:44:04 +0000 (17:44 -0500)]
Add an entry to changes.h.

9 years agoWhile there, also adjust existing tests to check a field that was added after the...
Wolfgang Bangerth [Fri, 10 Apr 2015 22:40:27 +0000 (17:40 -0500)]
While there, also adjust existing tests to check a field that was added after the tests were written originally.

9 years agoAdjust existing serialization tests to also check active_cell_index().
Wolfgang Bangerth [Fri, 10 Apr 2015 22:37:59 +0000 (17:37 -0500)]
Adjust existing serialization tests to also check active_cell_index().

9 years agoTest that active cell indices are correct after serialization.
Wolfgang Bangerth [Fri, 10 Apr 2015 22:37:34 +0000 (17:37 -0500)]
Test that active cell indices are correct after serialization.

9 years agoTest that active cell indices are correct after copy_triangulation().
Wolfgang Bangerth [Fri, 10 Apr 2015 22:26:55 +0000 (17:26 -0500)]
Test that active cell indices are correct after copy_triangulation().

9 years agoAdapt a few existing tests to test the new active_cell_index() function.
Wolfgang Bangerth [Fri, 10 Apr 2015 22:26:22 +0000 (17:26 -0500)]
Adapt a few existing tests to test the new active_cell_index() function.

9 years agoUpdate test output.
Wolfgang Bangerth [Fri, 10 Apr 2015 21:23:58 +0000 (16:23 -0500)]
Update test output.

9 years agoDo not serialize active cell indices; rather, re-compute them upon loading a mesh.
Wolfgang Bangerth [Fri, 10 Apr 2015 21:21:44 +0000 (16:21 -0500)]
Do not serialize active cell indices; rather, re-compute them upon loading a mesh.

9 years agoCompute the active cell indices at the end of mesh creation and refinement.
Wolfgang Bangerth [Fri, 10 Apr 2015 21:20:43 +0000 (16:20 -0500)]
Compute the active cell indices at the end of mesh creation and refinement.

9 years agoAdd functions to the iterators to access the active_cell_index field.
Wolfgang Bangerth [Fri, 10 Apr 2015 21:17:35 +0000 (16:17 -0500)]
Add functions to the iterators to access the active_cell_index field.

9 years agoIntroduce arrays to store active_cell_index values for each cell.
Wolfgang Bangerth [Fri, 10 Apr 2015 12:41:52 +0000 (07:41 -0500)]
Introduce arrays to store active_cell_index values for each cell.

9 years agoMerge pull request #785 from bangerth/doc-update-18
Timo Heister [Sun, 12 Apr 2015 20:14:49 +0000 (16:14 -0400)]
Merge pull request #785 from bangerth/doc-update-18

Clarify documentation.

9 years agoMerge pull request #784 from luca-heltai/grid-generators-codim-one
Luca Heltai [Sun, 12 Apr 2015 18:11:26 +0000 (20:11 +0200)]
Merge pull request #784 from luca-heltai/grid-generators-codim-one

Make subdivided hyper cube/rectangle work for general Triangulation.

9 years agoAdded test and fixed 1d issue. 784/head
Luca Heltai [Sun, 12 Apr 2015 17:54:14 +0000 (19:54 +0200)]
Added test and fixed 1d issue.

9 years agoAdded test for 2,3.
Luca Heltai [Sun, 12 Apr 2015 17:18:26 +0000 (19:18 +0200)]
Added test for 2,3.

9 years agoClarify documentation. 785/head
Wolfgang Bangerth [Sun, 12 Apr 2015 17:00:00 +0000 (12:00 -0500)]
Clarify documentation.

9 years agoAddressed @bangerth issues.
Luca Heltai [Sun, 12 Apr 2015 16:53:04 +0000 (18:53 +0200)]
Addressed @bangerth issues.

9 years agoMerge pull request #777 from bangerth/rename-boundary_indicator
Wolfgang Bangerth [Sun, 12 Apr 2015 16:31:15 +0000 (11:31 -0500)]
Merge pull request #777 from bangerth/rename-boundary_indicator

Rename boundary_indicator() to boundary_id()

9 years agoAdjust documentation: Use the non-deprecated version *_boundary_id() instead of ... 777/head
Wolfgang Bangerth [Sat, 11 Apr 2015 23:29:45 +0000 (18:29 -0500)]
Adjust documentation: Use the non-deprecated version *_boundary_id() instead of *_boundary_indicators().

9 years agoAdjust tests: Use the non-deprecated version *_boundary_id() instead of *_boundary_in...
Wolfgang Bangerth [Sat, 11 Apr 2015 23:27:12 +0000 (18:27 -0500)]
Adjust tests: Use the non-deprecated version *_boundary_id() instead of *_boundary_indicators().

9 years agoUse the non-deprecated version *_boundary_id() instead of *_boundary_indicators().
Wolfgang Bangerth [Sat, 11 Apr 2015 23:25:05 +0000 (18:25 -0500)]
Use the non-deprecated version *_boundary_id() instead of *_boundary_indicators().

9 years agoRename *_boundary_indicator() to *_boundary_id() and similar.
Wolfgang Bangerth [Sat, 11 Apr 2015 23:24:10 +0000 (18:24 -0500)]
Rename *_boundary_indicator() to *_boundary_id() and similar.

This spelling is more consistent with other functions of similar style. Deprecate
the old spelling of these functions.

9 years agoMade subdivided hyper cube/rectangle work with codimension one and two meshes.
Luca Heltai [Sun, 12 Apr 2015 16:14:18 +0000 (18:14 +0200)]
Made subdivided hyper cube/rectangle work with codimension one and two meshes.

9 years agoMerge pull request #782 from kronbichler/master
Luca Heltai [Sun, 12 Apr 2015 14:33:53 +0000 (16:33 +0200)]
Merge pull request #782 from kronbichler/master

Delete nonsensical assertion. Closes #781

9 years agoDelete nonsensical assertion. 782/head
Martin Kronbichler [Sun, 12 Apr 2015 14:22:31 +0000 (16:22 +0200)]
Delete nonsensical assertion.

9 years agoMerge pull request #780 from luca-heltai/fix-sparsity-tools
Martin Kronbichler [Sun, 12 Apr 2015 14:17:51 +0000 (16:17 +0200)]
Merge pull request #780 from luca-heltai/fix-sparsity-tools

Fixed SparsityTools not to use CompressedSimpleSparsity any more.

9 years agoFixed sparsity_tool.cc not to use CompressedSimpleSparsity. 780/head
Luca Heltai [Sun, 12 Apr 2015 09:22:51 +0000 (11:22 +0200)]
Fixed sparsity_tool.cc not to use CompressedSimpleSparsity.

9 years agoMerge pull request #779 from kronbichler/master
Matthias Maier [Sun, 12 Apr 2015 06:55:58 +0000 (08:55 +0200)]
Merge pull request #779 from kronbichler/master

Final fix of tests for hierarchical cell numbering.

9 years agoMerge pull request #778 from QiaoLei-88/step-33
Matthias Maier [Sun, 12 Apr 2015 06:55:07 +0000 (08:55 +0200)]
Merge pull request #778 from QiaoLei-88/step-33

step-33 sync right_hand_side after assemble

9 years agoFinal fix of tests for hierarchical cell numbering. 779/head
Martin Kronbichler [Sun, 12 Apr 2015 05:21:33 +0000 (07:21 +0200)]
Final fix of tests for hierarchical cell numbering.

9 years agoone trailing space. 778/head
Lei Qiao [Sun, 12 Apr 2015 02:13:21 +0000 (21:13 -0500)]
one trailing space.

9 years agocorrsponding document update.
Lei Qiao [Sun, 12 Apr 2015 02:08:38 +0000 (21:08 -0500)]
corrsponding document update.

9 years agostep-33 sync right_hand_side after assemble.
Lei Qiao [Sun, 12 Apr 2015 02:05:17 +0000 (21:05 -0500)]
step-33 sync right_hand_side after assemble.

9 years agoMerge pull request #776 from kronbichler/master
Timo Heister [Sat, 11 Apr 2015 20:51:03 +0000 (16:51 -0400)]
Merge pull request #776 from kronbichler/master

Fix SparsityTools::reorder_hierarchical with 64 bit integers

9 years agoFix SparsityTools::reorder_hierarchical with 64 bit integers 776/head
Martin Kronbichler [Sat, 11 Apr 2015 20:17:14 +0000 (22:17 +0200)]
Fix SparsityTools::reorder_hierarchical with 64 bit integers

9 years agoMerge pull request #773 from kronbichler/master
Bruno Turcksin [Sat, 11 Apr 2015 15:57:02 +0000 (10:57 -0500)]
Merge pull request #773 from kronbichler/master

Adjust test output in mpi/ due to yesterday's commit.

9 years agoAdjust test output in mpi/ due to yesterday's commit. 773/head
Martin Kronbichler [Sat, 11 Apr 2015 15:51:13 +0000 (17:51 +0200)]
Adjust test output in mpi/ due to yesterday's commit.

9 years agoMerge pull request #770 from bangerth/doc-update-14
Matthias Maier [Sat, 11 Apr 2015 13:32:26 +0000 (15:32 +0200)]
Merge pull request #770 from bangerth/doc-update-14

A follow-up patch to one from yesterday: Update the rest of the output of step-32.

9 years agoMerge pull request #771 from bangerth/fix-accidental-multiline-comment
Matthias Maier [Sat, 11 Apr 2015 13:31:19 +0000 (15:31 +0200)]
Merge pull request #771 from bangerth/fix-accidental-multiline-comment

Avoid ending comments with a backslash.

9 years agoAvoid ending comments with a backslash. 771/head
Wolfgang Bangerth [Sat, 11 Apr 2015 12:11:36 +0000 (07:11 -0500)]
Avoid ending comments with a backslash.

The compiler interprets this as a continuation line and issues a warning.
The warning is of no consequence in this particular case, but let's try
to avoid this here.

9 years agoAlso update the final time step of the output. 770/head
Wolfgang Bangerth [Sat, 11 Apr 2015 11:29:12 +0000 (06:29 -0500)]
Also update the final time step of the output.

9 years agoMerge pull request #767 from tamiko/clean_up_lac_interfaces
Matthias Maier [Sat, 11 Apr 2015 09:26:57 +0000 (11:26 +0200)]
Merge pull request #767 from tamiko/clean_up_lac_interfaces

Small cleanup in two matrix interfaces, documentation


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.