- Feb 09, 2014
-
-
Markus Blatt authored
The last patch missed a change in the comparison operators. Allocators compare as equal if memory allocated with one can be deallocate with the other. With this allocators compare equal only if they are share the same address. Cherry-pick from branch eature/FS1429-shared-lib-fixes where it ended up by accident. (cherry picked from commit c00b2acc) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Feb 04, 2014
-
-
Markus Blatt authored
(cherry picked from commit 84832109) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Markus Blatt authored
Due to its desgin of using one static memory pool. The allocator could not be used in different threads at the same time without side effects. With this revision each instance will hold its own private instance of the pool. There should be no issues with this patch and poolallocator seems to be mostly used in AMG anyway. (cherry picked from commit f78ce3a8) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Jan 22, 2014
-
-
when we try to send data, it might happen, that for some reason we don't want to any data. This happens, when the dynamic size of our CommPolicy is 0. In that case we must not add a MessageInformation, otherwise we get an MPI error.(cherry picked from commit 82609fbc) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Jan 16, 2014
-
-
Markus Blatt authored
(cherry picked from commit 9a141d3a5175ac67612aeccd39beb0cad2117f27) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
(cherry picked from commit 396f32fb) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
Somehow, the vector version of CollectiveCommunication< MPI_Comm >::prod passed std::plus to allreduce (instead of std::multiplies). This patch corrects this flaw. (cherry picked from commit 58e4d8a3) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
- Jan 06, 2014
-
-
Make type of std::site_t an additional template parameter to avoid the warning. While this is conceptually redunant its OK since we only use it in a helper struct. (cherry picked from commit 709d82d2) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
- Dec 18, 2013
-
-
Markus Blatt authored
(cherry picked from commit 6d806c78) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Markus Blatt authored
VariableSizeCommunicator now appears in doxyen and the parallel index sets are a subsection of the parallel section. (cherry picked from commit 304e0999) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Markus Blatt authored
There entries in doxyerror.log about undocumented function parameters and parameters that had a wrong name in the documentation. This patch fixes this. (cherry picked from commit fb0572b2) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Dec 17, 2013
-
-
Markus Blatt authored
This patch introduces a new macro DUNE_UNUSED_PARAMETER(parm) for marking unused parameters that are there for a purpose (e.g. the prescribed interfac The macro simply performs a cast to void. In addition all unused parameter w that I found were removed. (cherry picked from commit 98253887) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Thanks, Oliver! (cherry picked from commit 80f3adbe) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
The new YaspGrid constructors require an array with the number of cells in each direction. Unfortunately, there is no array constructor that takes a single element and copies it to all array elements. This patch adds a simple function Dune::fill_array() to do just that. (cherry picked from commit 2fff5275) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Dec 15, 2013
-
-
(cherry picked from commit e5ca9a37) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
(cherry picked from commit b9773dee) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
With this patch VariableSizeCommunicator now really supports a varying number of data entries per index during communication. (cherry picked from commit 8ce06634) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
[parallel,release] Adds a new buffered communicator that does not need to know the data amount per index when receiving. During communication of data with a parallel DUNE grid the amount of data items received at an index is not known at the receiving side. With this communicator it is possible to build such a communication based on index lists at the sending and receiving side. With this patch only fixed size of data items per index is supported. (cherry picked from commit dd1e8595) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
(cherry picked from commit 6c77b159) Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
- Dec 03, 2013
-
-
Markus Blatt authored
-
This fixes a Clang warning. (cherry picked from commit bb245b8b) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Make more precise statement to the user if no template specialization of DenseMatrixAssigner is found. Also use dune_static_assert instead of static_assert. (cherry picked from commit d58db46d) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
This implementation of an IdentityMatrix does not hold any data. It implements a reduced version of the DenseMatrix interface including a standard C++ cast operator to a Dune::FieldMatrix. This code illustrates the new forward capabilities of DenseMatrixAssigner. (cherry picked from commit 64df6274) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
The default implementation of DenseMatrixAssigner replaces redundant code in dense matrix constructors taking a primitive data type. (cherry picked from commit 70bb78cd) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
[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. (cherry picked from commit 0725aff8) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Markus Blatt authored
There was one line of diff missing in that patch. Sorry! (cherry picked from commit 79e8fa88) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Markus Blatt authored
Previously, copying a RemoteIndexListModifier resulted in a double free of a pointer to a list of global indices. There was no need to use a pointer to this, though. After this patch we store the list directly by value. Thus the default copy constructor works but makes a rather cheap copy of a (most often empty) singly linked list and we get rid off the non-default destructor. (cherry picked from commit d561f032) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Markus Blatt authored
(cherry picked from commit bb51b059) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Nov 22, 2013
-
-
At least Clang 3.2 complains. (cherry picked from commit d4014751) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Nov 15, 2013
-
-
Martin Nolte authored
-
- Nov 13, 2013
-
-
Oliver Sander authored
-
- Oct 29, 2013
-
-
Martin Nolte authored
DenseVector is the base class of a CRTP. This is kind of an abstract class that works only if it can be casted into a derived type. Copying the base class is pointless. This patch marks the copy constructor of DenseVector private (not even implementing it), so that it cannot be called anymore. Once we have a DUNE_DELETE macro, we should use it, here. At the same time, the default constructor is marked protected, so that only derived classes can instantiate a DenseVector. Notice that this does not prevent the user from building a derivced class which does not pass itself as implementation to DenseVector. It is (to my knowledge) not possible to make CRTPs completely fail-safe.
-
- Oct 23, 2013
-
-
Steffen Müthing authored
As Carsten pointed out, the hash combining algorithms doesn't work correctly for 32-bit platforms because it uses a multiplication with a 64-bit constant. This patch adds a switch for picking different algorithms based on the size of std::size_t using a new struct hash_combiner that is templated on the size of std::size_t. Right now, there are implementations for 64-bit and 32-bit platforms, both based on CityHash.
-
- Oct 17, 2013
-
-
Christoph Grüninger authored
-
- Oct 14, 2013
-
-
Steffen Müthing authored
-
- Oct 11, 2013
-
-
Christoph Grüninger authored
Thanks to Tobias Malkmus for the heads-up.
-
- Oct 09, 2013
-
-
Steffen Müthing authored
This patch adds a new header visibility.hh with macros DUNE_EXPORT and DUNE_PRIVATE to mark symbols as exported or private at the ABI level. While we do not explicitly mark any symbols as hidden, there are certain situations in which the compiler creates symbols with incorrect linkage, especially for singleton accessor methods for templated types and their embedded static variables, which involve the creation of weak symbols. The linker is then unable to merge those weak definitions, causing either a link-time failure (when building static libraries) or undefined runtime behaviour (dynamic libraries). This problem can be avoided by explicitly marking the singleton accessor methods as DUNE_EXPORT. For symmetry, there is also a DUNE_PRIVATE macro, but while it works, I don't see it used very much in the short term.
-
- Oct 05, 2013
-
-
- Oct 04, 2013
-
-
Oliver Sander authored
-
- Oct 02, 2013
-
-
Martin Nolte authored
This patch removes an extra header install command for tests. It originally came when copying dune/common/CMakeLists.txt to dune/common/std/CMakeLists.txt. Sorry for the noise.
-