- Feb 08, 2016
-
-
Christian Engwer authored
Fix FieldMatrix::rightmultiply() This addresses an issue mentioned in #5 and additionally turns runtime checks into compile-time checks whenever possible. See merge request !22 (cherry picked from commit 71e2e4b8) Signed-off-by:
Steffen Müthing <muething@dune-project.org>
-
- Sep 01, 2015
-
-
Markus Blatt authored
(cherry picked from commit 3bef4991) Signed-off-by:
Carsten Gräser <graeser@dune-project.org>
-
- Oct 06, 2014
-
-
Ansgar Burchardt authored
-
- Apr 16, 2014
-
-
Markus Blatt authored
With g++-4.4 I got the following errors: fmatrix.hh:106: error: no type named ‘const_iterator’ in ‘class std::initializer_list<std::initializer_list<int> >’ Looking into the header there is indeed the const_iterator (demanded by the standard) missing. Therefore I refactored the code to use std::copy_n and thus am omitting the iterator type. At the same time I made the actual copying safer for the case that the initializer_list is of different size and people compile with -DNDEBUG. The assertion for the size is still left in there. Remove the assert or the size computation at your discretion.
-
- 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.
-
- 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.
-
- Mar 22, 2014
-
-
Christoph Grüninger authored
-
- Mar 18, 2014
-
-
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.
-
- Jan 15, 2014
-
-
Oliver Sander authored
-
- Dec 03, 2013
-
-
Christoph Gersbacher authored
The default implementation of DenseMatrixAssigner replaces redundant code in dense matrix constructors taking a primitive data type.
-
Christoph Gersbacher authored
[DenseMatrix] Introduce DenseMatrixAssigner for initializing dense matrices from arbitrary right hand sides In order to overcome the deficiencies of istl_assign_to_fmatrix() we propose to always use a struct DenseMatrixAssigner for initializing a dense matrix. This class can be specialized by users for any right hand side to be used in an assignment. The new mechanism can bei default implemented using existing implementations of istl_assign_to_fmatrix() as well.
-
- Oct 02, 2013
-
-
Martin Nolte authored
The majority of developers favor individual headers for (emulation of) C++11 features over collecting them in a single header cxx11.hh. This patch renames cxx11.hh to constexpr.hh and moves it into the subdirectory std. This is the place most developers would like these headers in (see http://users.dune-project.org/doodles/4).
-
- Oct 01, 2013
-
-
Martin Nolte authored
As decided on the developer meeting in Aachen, we support (but do not rely on) the C++11 keyword constexpr. This patch adds an m4-check for constexpr and a header (cxx11.hh) defining a macro DUNE_CONSTEXPR either as constexpr or empty (depending on the compiler support for it). It is then used in FieldVector and FieldMatrix on size, rows, and cols.
-
- Sep 27, 2013
-
-
Oliver Sander authored
-
- May 31, 2012
-
-
Oliver Sander authored
With the exception of mpicollectivecommunication.hh and propertymap.hh, which I didn't understand. [[Imported from SVN: r6784]]
-
- Oct 13, 2011
-
-
Martin Nolte authored
[[Imported from SVN: r6512]]
-
- Oct 19, 2010
-
-
Christian Engwer authored
[[Imported from SVN: r6188]]
-
- Oct 18, 2010
-
-
Christian Engwer authored
[[Imported from SVN: r6184]]
-
- Oct 13, 2010
-
-
Christian Engwer authored
* factor out most of the FieldMatrix math methods missing: several functions oculd not me moved, as they require som kind of type promotion traits [[Imported from SVN: r6181]]
-
- Oct 11, 2010
-
-
Martin Nolte authored
[[Imported from SVN: r6166]]
-
- Sep 08, 2010
-
-
Christian Engwer authored
vectors using different storage containers [[Imported from SVN: r6128]]
-
- Jul 08, 2010
-
-
Andreas Dedner authored
[[Imported from SVN: r6065]]
-
- Mar 13, 2010
-
-
Andreas Dedner authored
[[Imported from SVN: r5928]]
-
- Feb 26, 2010
-
-
Oliver Sander authored
methods. Make the arguments template parameters as in the general case. This fixes FS 745. Please merge to the release branch. [[Imported from SVN: r5912]]
-
- Feb 01, 2010
-
-
Christian Engwer authored
* add a specialization of sqrt to fvmeta, this should fix the ambiguous sqrt(int) merge to release [[Imported from SVN: r5874]]
-
- Jan 25, 2010
-
-
Oliver Sander authored
[[Imported from SVN: r5858]]
-
- Nov 09, 2009
-
-
Carsten Gräser authored
*Add const to *multiplyany() *Implement *multiplyany() for FieldMatrix<k,1,1> Thanks to Atgeirr Flø Rasmussen! [[Imported from SVN: r5704]]
-
- Nov 04, 2009
-
-
Martin Nolte authored
[[Imported from SVN: r5683]]
-
- Oct 15, 2009
-
-
Martin Nolte authored
[[Imported from SVN: r5662]]
-
Christian Engwer authored
* hide specializations from doxygen * use ROWS and SOLS instead of n and m for the FieldMatrix * use conjugateComplex instead of fm_ck * document istl_assign_to_fmatrix [[Imported from SVN: r5659]]
-
Christian Engwer authored
type * make *norm* in fvector and fmatrix use this real type [[Imported from SVN: r5656]]
-
- Oct 13, 2009
-
-
Christian Engwer authored
* update Makefiles and configure [[Imported from SVN: r5643]]
-
- Oct 02, 2009
-
-
Christian Engwer authored
[[Imported from SVN: r5609]]
-
- Oct 01, 2009
-
-
Christian Engwer authored
[[Imported from SVN: r5608]]
-
- Sep 21, 2009
-
-
Martin Nolte authored
[[Imported from SVN: r5581]]
-
- Jun 16, 2009
-
-
Sven Marnach authored
Note that the current implementation of the determinant is rather subobtimal. While it is rather efficient, it is neither the most numerically stable way to compute the determinant, nor does it work for integers. But I think it is much better than no implementation at all. [[Imported from SVN: r5549]]
-
- Jun 15, 2009
-
-
Sven Marnach authored
[[Imported from SVN: r5548]]
-
- May 29, 2009
-
-
Martin Nolte authored
[[Imported from SVN: r5532]]
-
Martin Nolte authored
[[Imported from SVN: r5531]]
-
- May 11, 2009
-
-
Robert Klöfkorn authored
(using LAPACK for dim > 2) [[Imported from SVN: r5516]]
-