- Apr 16, 2014
-
-
Oliver Sander authored
-
- Apr 14, 2014
-
-
Oliver Sander authored
We simply return a reference to the internal memory instead of copying the object. This should save some copying when using FieldVector/FieldMatrix with non-trivial types. Also, it fixes crashes I have experienced with the ADOL-C automatic differentiation toolbox [0]. I hope that this patch doesn't have any nasty side effects. I didn't see any so far. Comments for this patch had been requested in FS 1449, and there have been no objections. [0] I have contacted the ADOL-C maintainer about this and he said the crashes are not really bugs in ADOL-C, but that it is simply very difficult to write a good operator-overloading AD program that can handle operator K returning values.
-
Andreas Dedner authored
-
- Apr 13, 2014
-
-
Christoph Gersbacher authored
The classes AlwaysFalse, AlwaysTrue reside in the deprecated header dune/common/static_assert, yet they are frequently used to document template code (see FS#1435 for details). As the C++11 standard library does not provide a straight forward replacement for theses classes, we offer C++11 style reimplementations. The replacements to_false_type, to_true_type reside in the namespace Std and are thus easily identifiable as Dune specifis.
-
- Apr 10, 2014
-
-
Tobias Malkmus authored
Add template parameter for the allocator of the internal std::vector. All constructors are adadpted to forward a user chosen allocator to the internal data stroage (std::vector).
-
- Apr 09, 2014
-
-
Christoph Grüninger authored
-
- Apr 08, 2014
-
-
Christian Engwer authored
Elias pointed out that one of the constructors got lost when merging with the recent HEAD. This commit adds the missing constructor.
-
- Apr 07, 2014
-
-
Benjamin Bykowski authored
-
- Apr 03, 2014
-
-
Markus Blatt authored
When copying PoolAllocators Bard experienced linking errors to the copy constructor of Pool, which is deactivated. To fix this we added the copy constructor. Note that it does not copy the pool such that ownership of allocated memory chunks is clear. Kudos go to Bard for noticing this and providing the fix. In addition we removed the copy constructor of the specialization for void as the default coy constructor suffices.
-
- Mar 23, 2014
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
- Mar 22, 2014
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
Deprecate header and macro dune_static_assert. Use static_assert instead.
-
- Mar 21, 2014
-
-
Christoph Grüninger authored
DUNE_FINAL is a helper macro for C++11 and should be placed in std, where now all compatibility has to be placed. Beautify Doxygen documentation.
-
- Mar 19, 2014
-
-
Tobias Malkmus authored
-
- Mar 18, 2014
-
-
Oliver Sander authored
This patch adds an AutoTools test that tests whether the compiler supports the 'final' keyword. It defines the DUNE_FINAL preprocessor macro, which expands to 'final' if the keyword is supported, and is empty otherwise.
-
Christian Engwer authored
kudos to Elias Pipping, for details see (FS #1166) as the new Dune requirements are >= g++ 4.4 we are sure that initializer_list is available.
-
Oliver Sander authored
-
Oliver Sander authored
-
- Mar 06, 2014
-
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
remove output and replace it with assertions.
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
- Mar 04, 2014
-
-
Tobias Malkmus authored
Note remove_reference is necessary, because you cannot extract the iterator type from row_reference directly in case: row_reference == row_type&
-
- Feb 27, 2014
-
-
Tobias Malkmus authored
-
Tobias Malkmus authored
-
Tobias Malkmus authored
IteratorFacades::Pointer is assumed to be T* which is not the case for row_reference != row_type&.
-
Tobias Malkmus authored
Add additional template parameter R (default T&) to handle the case row_reference != row_type&.
-
- Feb 24, 2014
-
-
Christoph Grüninger authored
This fixes FS#1398 for dune-common.
-