3#ifndef DUNE_AMG_PINFO_HH
4#define DUNE_AMG_PINFO_HH
6#include <dune/common/parallel/communication.hh>
7#include <dune/common/enumset.hh>
11#include <dune/common/parallel/mpicommunication.hh>
12#include <dune/common/parallel/mpitraits.hh>
13#include <dune/common/parallel/remoteindices.hh>
14#include <dune/common/parallel/interface.hh>
15#include <dune/common/parallel/communicator.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;
36 MPICommunicator communicator()
const
47 T globalSum(
const T& t)
const
52 typedef int GlobalLookupIndexSet;
54 void buildGlobalLookup(std::size_t){}
56 void freeGlobalLookup(){}
58 const GlobalLookupIndexSet& globalLookup()
const
64 void copyOwnerToAll([[maybe_unused]] V& v, [[maybe_unused]] V& v1)
const
68 void project([[maybe_unused]] V& v)
const
71 template<
class T1,
class T2>
72 void dot (
const T1&,
const T1&, T2&)
const
79 typename FieldTraits<typename T1::field_type>::real_type norm (
const T1&)
const
86 SequentialInformation(
const CollectiveCommunication<T>&)
89 SequentialInformation()
92 SequentialInformation(
const SequentialInformation&)
95 MPICommunicator comm_;
96 GlobalLookupIndexSet gli;
Category
Definition: solvercategory.hh:21
@ sequential
Category for sequential solvers.
Definition: solvercategory.hh:23