Skip to content
Snippets Groups Projects
Commit 3030b4e1 authored by Markus Blatt's avatar Markus Blatt
Browse files

Make the changes that should habe been done with patch 5670 in dune-common the hard way.

[[Imported from SVN: r1104]]
parent 52b0dac1
No related branches found
No related tags found
No related merge requests found
......@@ -700,7 +700,7 @@ namespace Dune {
BCRSMatrix& Mat; // the matrix we are defining
size_type i; // current row to be defined
size_type nnz; // count total number of nonzeros
typedef std::set<size_type,std::less<size_type>,PoolAllocator<size_type,10> > PatternType;
typedef std::set<size_type,std::less<size_type> > PatternType;
PatternType pattern; // used to compile entries in a row
row_type current_row; // row poiting to the current row to setup
};
......
......@@ -476,7 +476,7 @@ namespace Dune
* @brief The allocator we use for our lists and the
* set.
*/
typedef PoolAllocator<VertexDescriptor,100> Allocator;
typedef std::allocator<VertexDescriptor> Allocator;
/**
* @brief The type of a single linked list of vertex
......@@ -689,7 +689,7 @@ namespace Dune
* @brief The allocator we use for our lists and the
* set.
*/
typedef PoolAllocator<Vertex,100> Allocator;
typedef std::allocator<Vertex> Allocator;
/**
* @brief The type of a single linked list of vertex
......@@ -844,7 +844,7 @@ namespace Dune
* @brief The allocator we use for our lists and the
* set.
*/
typedef PoolAllocator<Vertex,1> Allocator;
typedef std::allocator<Vertex> Allocator;
/**
* @brief The single linked list we use.
......
......@@ -319,7 +319,7 @@ namespace Dune
row.insert(aggregates[seed]);
ConnectedBuilder<G,R,V> conBuilder(aggregates, graph, visitedMap, row);
typedef typename G::VertexDescriptor Vertex;
typedef PoolAllocator<Vertex,100*sizeof(int)> Allocator;
typedef std::allocator<Vertex> Allocator;
typedef SLList<Vertex,Allocator> VertexList;
typedef typename AggregatesMap<Vertex>::DummyEdgeVisitor DummyVisitor;
VertexList vlist;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment