5#ifndef DUNE_AMG_PINFO_HH
6#define DUNE_AMG_PINFO_HH
8#include <dune/common/parallel/communication.hh>
9#include <dune/common/enumset.hh>
13#include <dune/common/parallel/mpicommunication.hh>
14#include <dune/common/parallel/mpitraits.hh>
15#include <dune/common/parallel/remoteindices.hh>
16#include <dune/common/parallel/interface.hh>
17#include <dune/common/parallel/communicator.hh>
21#include <dune/istl/solvercategory.hh>
27 class SequentialInformation
30 typedef Communication<void*> MPICommunicator;
31 typedef EmptySet<int> CopyFlags;
32 typedef AllSet<int> OwnerSet;
38 MPICommunicator communicator()
const
49 T globalSum(
const T& t)
const
54 typedef int GlobalLookupIndexSet;
56 void buildGlobalLookup(std::size_t){}
58 void freeGlobalLookup(){}
60 const GlobalLookupIndexSet& globalLookup()
const
66 void copyOwnerToAll([[maybe_unused]] V& v, [[maybe_unused]] V& v1)
const
70 void project([[maybe_unused]] V& v)
const
73 template<
class T1,
class T2>
74 void dot (
const T1& x,
const T1& y, T2& result)
const
80 typename FieldTraits<typename T1::field_type>::real_type norm (
const T1& x)
const
86 SequentialInformation(
const Communication<T>&)
89 SequentialInformation()
92 SequentialInformation(
const SequentialInformation&)
95 MPICommunicator comm_;
96 GlobalLookupIndexSet gli;
Category
Definition: solvercategory.hh:23
@ sequential
Category for sequential solvers.
Definition: solvercategory.hh:25