3#ifndef DUNE_AMG_PINFO_HH
4#define DUNE_AMG_PINFO_HH
19#include <dune/istl/solvercategory.hh>
25 class SequentialInformation
28 typedef CollectiveCommunication<void*> MPICommunicator;
29 typedef EmptySet<int> CopyFlags;
30 typedef AllSet<int> OwnerSet;
40 MPICommunicator communicator()
const
51 T globalSum(
const T& t)
const
56 typedef int GlobalLookupIndexSet;
58 void buildGlobalLookup(std::size_t){}
60 void freeGlobalLookup(){}
62 const GlobalLookupIndexSet& globalLookup()
const
68 void copyOwnerToAll(V& v, V& v1)
const
75 void project(V& v)
const
81 SequentialInformation(
const CollectiveCommunication<T>&)
84 SequentialInformation()
87 SequentialInformation(
const SequentialInformation&)
90 MPICommunicator comm_;
91 GlobalLookupIndexSet gli;
Implements an utility class that provides collective communication methods for sequential programs.
Provides utility classes for syncing distributed data via MPI communication.
Classes for building sets out of enumeration values.
Provides classes for building the communication interface between remote indices.
Implements an utility class that provides MPI's collective communication methods.
Traits classes for mapping types onto MPI_Datatype.
Dune namespace.
Definition: alignment.hh:11
Classes describing a distributed indexset.
Category
Definition: solvercategory.hh:19
@ sequential
Category for sequential solvers.
Definition: solvercategory.hh:21
#define DUNE_UNUSED_PARAMETER(parm)
A macro to mark intentionally unused function parameters with.
Definition: unused.hh:18