46 #ifndef XPETRA_DISTOBJECT_HPP
47 #define XPETRA_DISTOBJECT_HPP
52 #include "Xpetra_Map.hpp"
56 #include <Teuchos_Describable.hpp>
60 template <
class Packet,
65 :
virtual public Teuchos::Describable
99 virtual Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > >
getMap()
const = 0;
110 virtual void describe(Teuchos::FancyOStream &out,
const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default)
const = 0;
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.
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.