46 #ifndef XPETRA_DISTOBJECT_HPP
47 #define XPETRA_DISTOBJECT_HPP
56 #include <Teuchos_Describable.hpp>
60 template <
class Packet,
61 class LocalOrdinal = Map<>::local_ordinal_type,
62 class GlobalOrdinal =
typename Map<LocalOrdinal>::global_ordinal_type,
63 class Node =
typename Map<LocalOrdinal, GlobalOrdinal>::node_type>
118 #define XPETRA_DISTOBJECT_SHORT
119 #endif // XPETRA_DISTOBJECT_HPP
virtual void doExport(const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)=0
Export data into this object using an Export object ("forward mode").
virtual std::string description() const =0
One-line descriptiion of this object.
virtual ~DistObject()
Destructor.
virtual void doImport(const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)=0
Import data into this object using an Import object ("forward mode").
virtual Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getMap() const =0
The Map describing the parallel distribution of this object.
static const EVerbosityLevel verbLevel_default
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const =0
Print a descriptiion of this object to the given output stream.
CombineMode
Xpetra::Combine Mode enumerable type.