- Jan 23, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r7079]]
-
Oliver Sander authored
[[Imported from SVN: r7078]]
-
- Jan 18, 2013
-
-
Oliver Sander authored
Patch by Andreas Lauser. Thanks! [[Imported from SVN: r7076]]
-
Oliver Sander authored
[[Imported from SVN: r7075]]
-
- Jan 14, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r7074]]
-
- Jan 01, 2013
-
-
Christoph Grüninger authored
[[Imported from SVN: r7072]]
-
- Dec 24, 2012
-
-
Markus Blatt authored
BTW: Currently they are not at all activated in dune-common. [[Imported from SVN: r7069]]
-
- Nov 26, 2012
-
-
Christoph Grüninger authored
Fixed function call in test code, because indexSet_ is a pointer. Clang complained. [[Imported from SVN: r7068]]
-
- Nov 25, 2012
-
-
Christian Engwer authored
Add support for boost::hash This patch adds boost::hash as a fallback option for Dune::hash if neither std::hash nor std::tr1::hash can be found. We only have to include the appropriate header and import the name into the Dune namespace, as the built-in extension mechanism of boost::hash will automatically pick up the global hash_value() functions. To test whether the mechanism actually works, the patch also adds boost::hash to the list of hash implementations tested in bigunsignedinttest. Kudos to Steffen Müthing, see FS#1192 [[Imported from SVN: r7067]]
-
Christian Engwer authored
Make bigunsignedint hashable using Dune::hash This patch adds the required hooks to enable hashing of bigunsignedint and makes sure the hasher can be invoked in bigunsignedinttest. Making bigunsignedint hashable also makes it possible to use hash-based containers for EntityIDs with YaspGrid and SGrid, as those grids implement the EntityID as a plain bigunsignedint. The patch also adds a little test to bigunsignedinttest, trying to hash a bigunsignedint with Dune::hash as well as any of the detected backends (std::hash and std::tr1::hash). Kudos to Steffen Müthing, see FS#1192 [[Imported from SVN: r7066]]
-
Christian Engwer authored
Add basic support for hashing using Dune::hash This patch introduces the functor Dune::hash in a similar manner to other C++11 functionality by importing the definition from namespace std. Apart from that, the patch also provides some basic functionality to simplify making user-defined types hashable, in particular functions for combining hashes and hashing iterator ranges as well as a mechanism for defining the struct specializations required by std::hash and std::tr1::hash in the correct namespace. The current implementation will first try to use std::hash and, if that fails, attempt to fall back on std::tr1::hash. If that is not available either, hash support is disabled as there is no homegrown fallback for now. The extension mechanism will register the type with both std::hash and std::tr1::hash, if available. This should make it possible to use unordered_{set,map} from both C++11 and TR1 without having to specify a custom hasher. Kudos to Steffen Müthing, see FS#1192 [[Imported from SVN: r7065]]
-
- Nov 23, 2012
-
-
Christoph Grüninger authored
Remove cast operator that caused Clang warnings. This fixes FS#1207. Kudos to Ansgar Burchardt for the patch. [[Imported from SVN: r7064]]
-
Christoph Grüninger authored
Ignore eigenvaluetest. Reordner member variable assignments to avoid pedantic warnings in shared_ptr. Only activate boundary checking in dynmatrixtest if not already active. [[Imported from SVN: r7063]]
-
- Nov 21, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r7062]]
-
Markus Blatt authored
Capabilities to compute eigenvalues on non-symmetric matrices Code contributed by Arne Morten Kvarving. [[Imported from SVN: r7061]]
-
- Nov 19, 2012
-
-
Martin Nolte authored
[[Imported from SVN: r7060]]
-
- Nov 11, 2012
-
-
Christoph Grüninger authored
[[Imported from SVN: r7058]]
-
- Nov 10, 2012
-
-
Christoph Grüninger authored
Add check for libgmpxx. It should not happen but I had the problem with two systems (Mac OS X and Hermit XE6) that gmpxx.hh was found but no libgmpxx. [[Imported from SVN: r7057]]
-
- Nov 06, 2012
-
-
Christian Engwer authored
[[Imported from SVN: r7056]]
-
Christian Engwer authored
see FS#1055 for details [[Imported from SVN: r7055]]
-
- Nov 02, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r7053]]
-
- Oct 25, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r7052]]
-
Markus Blatt authored
once. Improved help string. [[Imported from SVN: r7051]]
-
- Oct 22, 2012
-
-
Markus Blatt authored
Forced initializing to zero. Compiles with clang again. [[Imported from SVN: r7049]]
-
- Oct 21, 2012
-
-
Markus Blatt authored
Support counting even if the pointer type is converted to a compatible base class. Previously class A{}; class B: public A{}; shared_ptr<A> b(new B); shared_ptr<B> b(a); b.get_count()==1 && b.get_count()==1 would wrongly hold true. [[Imported from SVN: r7047]]
-
Markus Blatt authored
base class. Previously class A{}; class B: public A{}; shared_ptr<A> b(new B); shared_ptr<B> b(a); b.get_count()==1 && b.get_count()==1 would wrongly hold true. [[Imported from SVN: r7046]]
-
Markus Blatt authored
Make test runs through again. [[Imported from SVN: r7045]]
-
- Oct 19, 2012
-
-
Markus Blatt authored
(Support type conversion for shared_ptr. Needed for gcc-4.1.) [[Imported from SVN: r7043]]
-
Markus Blatt authored
[[Imported from SVN: r7042]]
-
- Oct 17, 2012
-
-
Christian Engwer authored
[[Imported from SVN: r7041]]
-
Christian Engwer authored
test initialization from nullptr fix bool cast of Dune implementation [[Imported from SVN: r7040]]
-
Markus Blatt authored
[[Imported from SVN: r7039]]
-
- Oct 13, 2012
-
-
Oliver Sander authored
[[Imported from SVN: r7038]]
-
Oliver Sander authored
Rename Power_m_p to StaticPower, which is a bit more telling, and conforms better to the Dune naming scheme [[Imported from SVN: r7037]]
-
Oliver Sander authored
Good intentions, but not very elegantly done. Too many people got annoyed by the warning message. [[Imported from SVN: r7036]]
-
Christoph Grüninger authored
Improve METIS test, tested with versions 4.0.3 and 5.0.2. [[Imported from SVN: r7035]]
-
- Oct 10, 2012
-
-
Christoph Grüninger authored
Add excplicit cast from double literal 0.5 to field_type to avoid Clang warnings. [[Imported from SVN: r7034]]
-
- Oct 09, 2012
-
-
Oliver Sander authored
Taken from hcube.cc in dune-grid. We may want to unify the naming eventually. [[Imported from SVN: r7033]]
-
Oliver Sander authored
There are lots of power implementations all over our code. This is the first step of some cleanup. It moves the class Power_m_p from misc.hh (like who's ever gonna find it there...) to a separate header power.hh. Other implementations will be collected there as well, if appropriate. With the patch, including misc.hh will issue a cpp warning that people who include misc.hh only for Power_m_p should now include power.hh instead. This is not great, because it also affects people who include misc.hh for something else. Bear with this for a while; I couldn't think of a better solution. [[Imported from SVN: r7032]]
-
- Oct 08, 2012
-
-
Christian Engwer authored
[[Imported from SVN: r7031]]
-