Dune Core Modules (2.9.0)

A hierarchy of containers (e.g. matrices or vectors) More...

#include <dune/istl/paamg/hierarchy.hh>

Classes

class  LevelIterator
 Iterator over the levels in the hierarchy. More...
 

Public Types

typedef T MemberType
 The type of the container we store.
 
using Allocator = typename std::allocator_traits< A >::template rebind_alloc< Element >
 The allocator to use for the list elements.
 
typedef LevelIterator< Hierarchy< T, A >, T > Iterator
 Type of the mutable iterator.
 
typedef LevelIterator< const Hierarchy< T, A >, const T > ConstIterator
 Type of the const iterator.
 

Public Member Functions

 Hierarchy (const std::shared_ptr< MemberType > &first)
 Construct a new hierarchy. More...
 
 Hierarchy ()
 Construct an empty hierarchy.
 
 Hierarchy (const Hierarchy &other)
 Copy constructor (deep copy!). More...
 
void addCoarser (Arguments &args)
 Add an element on a coarser level. More...
 
void addFiner (Arguments &args)
 Add an element on a finer level. More...
 
Iterator finest ()
 Get an iterator positioned at the finest level. More...
 
Iterator coarsest ()
 Get an iterator positioned at the coarsest level. More...
 
ConstIterator finest () const
 Get an iterator positioned at the finest level. More...
 
ConstIterator coarsest () const
 Get an iterator positioned at the coarsest level. More...
 
std::size_t levels () const
 Get the number of levels in the hierarchy. More...
 

Detailed Description

template<typename T, typename A = std::allocator<T>>
class Dune::Amg::Hierarchy< T, A >

A hierarchy of containers (e.g. matrices or vectors)

Because sometimes a redistribution of the parallel data might be advisable one can add redistributed version of the container at each level.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 24, 22:30, 2024)