]>
https://gitweb.dealii.org/ - dealii.git/log
Matthias Maier [Tue, 15 Sep 2015 20:40:51 +0000 (15:40 -0500)]
Update news/changes.h
Matthias Maier [Tue, 15 Sep 2015 20:33:16 +0000 (15:33 -0500)]
Do not use "contract" in the tests.
Matthias Maier [Tue, 15 Sep 2015 06:28:06 +0000 (01:28 -0500)]
Do not use "contract" in the library.
Matthias Maier [Tue, 15 Sep 2015 06:18:28 +0000 (01:18 -0500)]
tensor.h: Deprecate "contract" function
Wolfgang Bangerth [Tue, 15 Sep 2015 20:10:56 +0000 (15:10 -0500)]
Merge pull request #1607 from tamiko/tensor.h_cleanup_1
Tensor<2,dim,Number> - clean up determinant and transpose functions
Matthias Maier [Tue, 15 Sep 2015 20:00:21 +0000 (15:00 -0500)]
Merge pull request #1613 from l-korous/msvc-4
Fix for MSVC: template argument was a preprocessor macro defined in m…
Matthias Maier [Tue, 15 Sep 2015 19:59:49 +0000 (14:59 -0500)]
Merge pull request #1612 from l-korous/msvc-3
MSVC fix -> add 'dealii::' root namespace explicitely where MSVC fail…
Matthias Maier [Tue, 15 Sep 2015 03:53:18 +0000 (22:53 -0500)]
Add a news/changes.h entry, move a misplaced news/changes.h entry
Matthias Maier [Tue, 15 Sep 2015 03:26:24 +0000 (22:26 -0500)]
tensor.h: Bugfix: make determinant compatible with arbitrary number types
Matthias Maier [Tue, 15 Sep 2015 03:05:54 +0000 (22:05 -0500)]
tensor.h: Remove specializations of determinant
Matthias Maier [Tue, 15 Sep 2015 03:03:43 +0000 (22:03 -0500)]
tensor.h: Remove specializations for transpose
With modern compilers the generic implementation is efficient enough - it
will be optimized to those specializations...
Matthias Maier [Tue, 15 Sep 2015 03:02:50 +0000 (22:02 -0500)]
tensor.h: Deprecate rank 1 variants of determinant
We do not implemenent a hyper determinant, or any other generalization of a
determinant. Thus, deprecate this special case.
Matthias Maier [Tue, 15 Sep 2015 18:27:29 +0000 (13:27 -0500)]
Merge pull request #1616 from tamiko/fix_compilation
Fix compilation
Matthias Maier [Tue, 15 Sep 2015 18:26:39 +0000 (13:26 -0500)]
Fix compilation
Wolfgang Bangerth [Tue, 15 Sep 2015 17:41:05 +0000 (12:41 -0500)]
Merge pull request #1615 from tamiko/update_changelog
Update changes.h, move entry
Matthias Maier [Tue, 15 Sep 2015 17:16:37 +0000 (12:16 -0500)]
Update changes.h, move entry
Matthias Maier [Tue, 15 Sep 2015 17:13:35 +0000 (12:13 -0500)]
Merge pull request #1609 from tamiko/tensor.h_cleanup_3
Tensor<rank,dim,Number - let outer_product return its result
Matthias Maier [Tue, 15 Sep 2015 05:36:34 +0000 (00:36 -0500)]
Update tests to use new signature of outer_product
Matthias Maier [Tue, 15 Sep 2015 05:11:22 +0000 (00:11 -0500)]
Update library to use new signature of outer_product
Matthias Maier [Tue, 15 Sep 2015 04:46:28 +0000 (23:46 -0500)]
tensor.h: Let outer_product return its result
All other function signatures also return their result - do the same here
and deprecate the old signatures
Matthias Maier [Tue, 15 Sep 2015 17:05:48 +0000 (12:05 -0500)]
Merge pull request #1608 from tamiko/tensor.h_cleanup_2
Tensor<1,dim,Number> - let the cross_product functions return its result
Matthias Maier [Tue, 15 Sep 2015 04:30:01 +0000 (23:30 -0500)]
add a news/changes.h entry
Matthias Maier [Tue, 15 Sep 2015 04:22:32 +0000 (23:22 -0500)]
Update tests to use new cross_product signature
Matthias Maier [Tue, 15 Sep 2015 03:37:00 +0000 (22:37 -0500)]
Update library to use new cross_product signature
Matthias Maier [Tue, 15 Sep 2015 03:14:57 +0000 (22:14 -0500)]
tensor.h: Let the cross_product functions return its result
All other function signatures also return their result - do the same here
and deprecate the old signatures.
Matthias Maier [Tue, 15 Sep 2015 16:48:24 +0000 (11:48 -0500)]
Merge pull request #1611 from l-korous/msvc-2
Fix for MSVC: Tensor<1, dim, Number>::real_type -> numbers::NumberTra…
Lukas Korous [Tue, 15 Sep 2015 16:00:30 +0000 (18:00 +0200)]
Fix for MSVC: template argument was a preprocessor macro defined in minwindef.h
Lukas Korous [Tue, 15 Sep 2015 15:29:37 +0000 (17:29 +0200)]
MSVC fix -> add 'dealii::' root namespace explicitely where MSVC fails to understand ' internal::' without 'dealii::'
Lukas Korous [Tue, 15 Sep 2015 15:28:25 +0000 (17:28 +0200)]
Fix for MSVC: Tensor<1, dim, Number>::real_type -> numbers::NumberTraits<Number>::real_type
- if left as is, MSVC 2013 Pro issues (although it should not) an error 'incompatible declaration <-> definition'.
Timo Heister [Mon, 14 Sep 2015 21:31:30 +0000 (17:31 -0400)]
Merge pull request #1606 from tjhei/fix_step_33
fix compilation of step-33
Timo Heister [Mon, 14 Sep 2015 19:53:16 +0000 (15:53 -0400)]
fix compilation of step-33
This is related to the Solver*::AdditionalData constructor change now
requiring explicitly instantiating the object.
Wolfgang Bangerth [Mon, 14 Sep 2015 18:33:31 +0000 (13:33 -0500)]
Merge pull request #1604 from drwells/fix-double-that-step-16
Fix some typos in step-16.
David Wells [Mon, 14 Sep 2015 18:05:40 +0000 (14:05 -0400)]
Fix some typos in step-16.
Thanks to @kostyfisik for pointing out the 'that that' typo, which
prompted me to fix some other small ones.
Bruno Turcksin [Mon, 14 Sep 2015 15:48:01 +0000 (10:48 -0500)]
Merge pull request #1602 from tamiko/make_gcc46_happy
gcc-4.6 support: Avoid unsupported initializer-list usage
Matthias Maier [Mon, 14 Sep 2015 15:38:56 +0000 (10:38 -0500)]
gcc-4.6: Avoid unsupported initializer list usage
Wolfgang Bangerth [Mon, 14 Sep 2015 14:22:03 +0000 (09:22 -0500)]
Merge pull request #1601 from drwells/fix-gdb-doc-inconsistencies
Fix inconsistencies in our GDB documentation.
David Wells [Mon, 14 Sep 2015 14:04:04 +0000 (10:04 -0400)]
Fix inconsistencies in our GDB documentation.
1. The GDB documentation consistently uses "pretty-print", not "pretty
print". The previous version of this file used both.
2. The folder ".gdbscripts" was not consistently named (it was
erroneously referred to as ".gdbfiles" in one place).
Wolfgang Bangerth [Mon, 14 Sep 2015 13:16:00 +0000 (08:16 -0500)]
Merge pull request #1600 from tamiko/fix_cxx11_mode
Bugfix: Support complex_overloads.h also in C++11 mode
Matthias Maier [Mon, 14 Sep 2015 07:34:03 +0000 (02:34 -0500)]
Bugfix: Support complex_overloads.h also in C++11 mode
[Wow. This is the first time that I broke something in C++11 mode - I
didn't realize that I was still in C++98 mode when testing...]
Manually specify all products that shall be available in ProductType -
otherwise our overloads cannot be used.
Matthias Maier [Mon, 14 Sep 2015 02:55:25 +0000 (21:55 -0500)]
Merge pull request #1598 from bangerth/doxygen-updates-2
Untabify file.
Wolfgang Bangerth [Mon, 14 Sep 2015 02:49:31 +0000 (21:49 -0500)]
Untabify.
Matthias Maier [Mon, 14 Sep 2015 02:41:36 +0000 (21:41 -0500)]
Merge pull request #1595 from bangerth/add-tutorial-to-doxygen-pages
Add the tutorial to the doxygen pages.
Matthias Maier [Mon, 14 Sep 2015 02:41:13 +0000 (21:41 -0500)]
Merge pull request #1596 from bangerth/doxygen-updates
Remove a duplicate entry from options.dox.in.
Wolfgang Bangerth [Mon, 14 Sep 2015 02:21:17 +0000 (21:21 -0500)]
Merge pull request #1593 from bangerth/fix-warnings-4
Fix warning about unused function argument.
Wolfgang Bangerth [Mon, 14 Sep 2015 02:19:25 +0000 (21:19 -0500)]
Fix a comment, as requested by @tamiko.
Wolfgang Bangerth [Mon, 14 Sep 2015 01:57:22 +0000 (20:57 -0500)]
Add a changelog.
Wolfgang Bangerth [Mon, 14 Sep 2015 01:44:19 +0000 (20:44 -0500)]
Remove a duplicate entry.
Wolfgang Bangerth [Mon, 14 Sep 2015 01:30:05 +0000 (20:30 -0500)]
Also link to dealii.org.
Wolfgang Bangerth [Mon, 14 Sep 2015 01:16:40 +0000 (20:16 -0500)]
Merge pull request #1582 from drwells/update-add-gdb-documentation
Added documentation describing our GDB support.
David Wells [Fri, 11 Sep 2015 18:28:50 +0000 (14:28 -0400)]
Added documentation describing our GDB support.
Wolfgang Bangerth [Sun, 13 Sep 2015 23:39:53 +0000 (18:39 -0500)]
Add the tutorial to the doxygen pages.
Also reorder items a bit so that the 'related pages' come after modules,
namespaces, and classes.
Wolfgang Bangerth [Sun, 13 Sep 2015 21:13:01 +0000 (16:13 -0500)]
Fix warning about unused function argument.
Wolfgang Bangerth [Sun, 13 Sep 2015 21:08:01 +0000 (16:08 -0500)]
Merge pull request #1586 from tamiko/bugfix
Bugfix: Provide overloads for mixed floating point type operations
Wolfgang Bangerth [Sun, 13 Sep 2015 01:40:04 +0000 (20:40 -0500)]
Merge pull request #1589 from tamiko/bugfix3
Bugfix: Convert a missing variant
Matthias Maier [Sun, 13 Sep 2015 00:50:58 +0000 (19:50 -0500)]
Provide operator* overloads for mixed floating point type multiplication
Matthias Maier [Sun, 13 Sep 2015 00:29:55 +0000 (19:29 -0500)]
Overloads for mixed complex floating point type multiplication
Those variants are defined in a separate namespace and can be included on
an if needed basis.
Matthias Maier [Sat, 12 Sep 2015 06:30:34 +0000 (01:30 -0500)]
Testsuite: Test for mixed floating point type multiplication of complex values
Matthias Maier [Sat, 12 Sep 2015 05:46:19 +0000 (00:46 -0500)]
Bugfix: Remove wrong bugfix
This is just a mistake. We should tackle the fundamental problem, namely
that we do not have templated operator* for mixed std::complex types
available.
Explicitly casting to product_type at every occurence of a possible product
of another scalar with a complex number type is not just tedious, it is
also strictly speaking not correct:
The type trait ProductType<Left, Right>::type defines the type that results
from calling operator* on those types - but neither Left, nor Right, have
to be convertible to a ProductType... (The contraction of tensors as we do
with operator* is an example)
Matthias Maier [Sun, 13 Sep 2015 00:08:47 +0000 (19:08 -0500)]
Bugfix: Convert a missing variant
Matthias Maier [Sun, 13 Sep 2015 00:03:00 +0000 (19:03 -0500)]
Merge pull request #1585 from tamiko/tensor_cleanup_part1
Tensor<rank,dim,Number> - Implement operator* with TensorAccessors::contract
Matthias Maier [Sat, 12 Sep 2015 23:51:02 +0000 (18:51 -0500)]
This is why I hate astyle so much.
Matthias Maier [Sat, 12 Sep 2015 23:47:11 +0000 (18:47 -0500)]
Bugfix: Allow compilation in C++98 mode
The boost variant boost::enable_if_c cannot be used to prevent the compiler
from trying to form Tensor<rank, dim, Number> objects with negative rank -
this results in an infinite template substitution and subsequent failure.
But we can use the tensor class itself as cheap "enable_if" mechanism -
just specialize Tensor<-1, dim> and Tensor<-2, dim> such that they do not
contain the necessary overloads.
Matthias Maier [Sat, 12 Sep 2015 21:27:43 +0000 (16:27 -0500)]
Improve documentation, add missing @relates
Matthias Maier [Sat, 12 Sep 2015 05:24:21 +0000 (00:24 -0500)]
Testsuite: Improve base/tensor_accessors_01
Matthias Maier [Sat, 12 Sep 2015 21:41:26 +0000 (16:41 -0500)]
Testsuite: Briefly describe two tests
Matthias Maier [Sat, 12 Sep 2015 05:15:24 +0000 (00:15 -0500)]
Add a test
Matthias Maier [Sat, 12 Sep 2015 21:36:40 +0000 (16:36 -0500)]
Use a private member object instead of public inheritance
Matthias Maier [Sat, 12 Sep 2015 04:49:21 +0000 (23:49 -0500)]
Bugfix: Fix return value of StoredIndex<1, S>
The problem is subtle. TensorAccessors::reordered_index_view returns an
internal object that behaves like a tensor.
The problem is that fully accessing the tensorial object, i.e., applying
operator[](unsigned int) rank times returned an object of type
StoreIndex<0, [...]>
instead of type Number of the original tensor. The problem is that the
compiler has no way of knowing whether we want to cast this object to
Number during type matching, thus something like
std::min( StoreIndex<0, [...]>(...), (double)4.);
fails.
Matthias Maier [Sat, 12 Sep 2015 02:36:59 +0000 (21:36 -0500)]
Tensor<rank,dim,Number> - Implement operator* with TensorAccessors::contract
Matthias Maier [Sat, 12 Sep 2015 01:58:57 +0000 (20:58 -0500)]
Tensor<rank,dim,Number> - use TensorAccessors::extract
Remove special internal code and use the generic implementation in
TensorAccessors::extract.
Timo Heister [Sat, 12 Sep 2015 19:17:10 +0000 (15:17 -0400)]
Merge pull request #1588 from bangerth/further-FEValues-cleanups-34
Simplify MappingQ.
Wolfgang Bangerth [Sat, 12 Sep 2015 12:07:07 +0000 (07:07 -0500)]
Make several more functions part of the internal implementation.
This allows us to remove them from the public interface.
Wolfgang Bangerth [Sat, 12 Sep 2015 11:12:57 +0000 (06:12 -0500)]
Merge pull request #1587 from tamiko/bugfix2
Minor bugfixes
Wolfgang Bangerth [Sat, 12 Sep 2015 01:07:14 +0000 (20:07 -0500)]
Move several functions from the public interface of MappingQ into the .cc file.
Matthias Maier [Sat, 12 Sep 2015 06:42:34 +0000 (01:42 -0500)]
Bugfix: Be consistent and cast to const Number &
Matthias Maier [Sat, 12 Sep 2015 06:41:15 +0000 (01:41 -0500)]
Bugfix: Use declval in decltype expression
```
decltype(std::declval<T>() * std::declval<U>())
```
is the correct syntax. This does not require that ```T``` and ```U``` have
default constructors...
Wolfgang Bangerth [Sat, 12 Sep 2015 01:06:47 +0000 (20:06 -0500)]
Minor cleanup.
Wolfgang Bangerth [Fri, 11 Sep 2015 23:26:13 +0000 (18:26 -0500)]
Merge pull request #1584 from tamiko/fix_tests
Fix tests base/tensor_accessors_(02|04)
Matthias Maier [Fri, 11 Sep 2015 22:35:57 +0000 (17:35 -0500)]
Fix test base/tensor_accessors_04
Matthias Maier [Fri, 11 Sep 2015 22:34:49 +0000 (17:34 -0500)]
Fix test base/tensor_accessors_02
Wolfgang Bangerth [Fri, 11 Sep 2015 21:58:52 +0000 (16:58 -0500)]
Merge pull request #1531 from tjhei/qtcreator_project
add doc/news/changes.h to project
Wolfgang Bangerth [Fri, 11 Sep 2015 20:38:56 +0000 (15:38 -0500)]
Merge pull request #1564 from tamiko/tensor_accessors
Implement TensorAccessors
Matthias Maier [Fri, 11 Sep 2015 20:09:00 +0000 (15:09 -0500)]
astyle insists on that...
Matthias Maier [Fri, 11 Sep 2015 20:07:45 +0000 (15:07 -0500)]
add a news/changes.h entry
Matthias Maier [Fri, 11 Sep 2015 19:46:29 +0000 (14:46 -0500)]
Add a test for TensorAccessors::contract3
Matthias Maier [Fri, 11 Sep 2015 19:46:07 +0000 (14:46 -0500)]
Implement TensorAccessors::contract3
Matthias Maier [Fri, 11 Sep 2015 19:45:37 +0000 (14:45 -0500)]
Add a test for TensorAccessors::contract
Matthias Maier [Fri, 11 Sep 2015 19:45:13 +0000 (14:45 -0500)]
Implement TensorAccessors::contract
Matthias Maier [Fri, 11 Sep 2015 19:44:10 +0000 (14:44 -0500)]
Add a test for TensorAccessors::extract
Matthias Maier [Fri, 11 Sep 2015 19:43:46 +0000 (14:43 -0500)]
Implement TensorAccessors::extract
Matthias Maier [Fri, 11 Sep 2015 19:42:30 +0000 (14:42 -0500)]
Add a test for TensorAccessors::reordered_index_view
Matthias Maier [Fri, 11 Sep 2015 19:41:54 +0000 (14:41 -0500)]
Implement TensorAccessors::reordered_index_view
Matthias Maier [Fri, 11 Sep 2015 19:38:56 +0000 (14:38 -0500)]
Add a new namespace TensorAccessors
This namespace will contain a collection of algorithms working on generic
tensorial objects (of arbitrary rank).
The rationale to implement such functionality in a generic fashion in a
separate namespace is
- to easy code reusability and therefore avoid code duplication.
- to have a well-defined interface that allows to exchange the low
level implementation.
Martin Kronbichler [Fri, 11 Sep 2015 15:41:40 +0000 (17:41 +0200)]
Merge pull request #1568 from bangerth/further-FEValues-cleanups-33
Further fe values cleanups 33
Wolfgang Bangerth [Fri, 11 Sep 2015 15:23:57 +0000 (10:23 -0500)]
Merge pull request #1578 from drwells/add-gdbinit
Pretty printers for GDB.
David Wells [Thu, 10 Sep 2015 18:29:12 +0000 (14:29 -0400)]
Added a small set of pretty printers for GDB.
Wolfgang Bangerth [Thu, 10 Sep 2015 23:34:02 +0000 (18:34 -0500)]
Merge pull request #1580 from tjhei/fix_solver_additional_data
fix step-51 and tests with Solver*::AdditionalData changes
Timo Heister [Thu, 10 Sep 2015 23:14:33 +0000 (19:14 -0400)]
Merge pull request #1579 from Rombur/inst_bug
Fix a bug where SolutionTransfer is not instantiated for BlockVector
Timo Heister [Thu, 10 Sep 2015 23:09:00 +0000 (19:09 -0400)]
fix step-51 and tests with Solver*::AdditionalData changes
PR #1572 disabled implicit conversion to Solver*::AdditionalData. This commit
fixes tests and step-51 that broke because of that.
Bruno Turcksin [Thu, 10 Sep 2015 22:51:28 +0000 (17:51 -0500)]
Fix a bug where SolutionTransfer is not instantiated for BlockVector when using hp::DoFHandler.
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.