// @HEADER // ***************************************************************************** // Xpetra: A linear algebra interface package // // Copyright 2012 NTESS and the Xpetra contributors. // SPDX-License-Identifier: BSD-3-Clause // ***************************************************************************** // @HEADER #ifndef XPETRA_EXPORT_HPP #define XPETRA_EXPORT_HPP /* this file is automatically generated - do not edit (see script/interfaces.py) */ #include #include #include #include "Xpetra_Map.hpp" #include namespace Xpetra { template class Export : public Teuchos::Describable { public: typedef LocalOrdinal local_ordinal_type; typedef GlobalOrdinal global_ordinal_type; typedef Node node_type; //! @name Constructor/Destructor Methods //@{ //! Destructor. virtual ~Export() {} //@} //! @name Export Attribute Methods //@{ //! Number of initial identical IDs. virtual size_t getNumSameIDs() const = 0; //! Number of IDs to permute but not to communicate. virtual size_t getNumPermuteIDs() const = 0; //! List of local IDs in the source Map that are permuted. virtual ArrayView getPermuteFromLIDs() const = 0; //! List of local IDs in the target Map that are permuted. virtual ArrayView getPermuteToLIDs() const = 0; //! Number of entries not on the calling process. virtual size_t getNumRemoteIDs() const = 0; //! List of entries in the target Map to receive from other processes. virtual ArrayView getRemoteLIDs() const = 0; //! Number of entries that must be sent by the calling process to other processes. virtual size_t getNumExportIDs() const = 0; //! List of entries in the source Map that will be sent to other processes. virtual ArrayView getExportLIDs() const = 0; //! List of processes to which entries will be sent. virtual ArrayView getExportPIDs() const = 0; //! The source Map used to construct this Export. virtual Teuchos::RCP > getSourceMap() const = 0; //! The target Map used to construct this Export. virtual Teuchos::RCP > getTargetMap() const = 0; //! Set parameters on the underlying object virtual void setDistributorParameters(const Teuchos::RCP params) const = 0; //@} //! @name I/O Methods //@{ //! Print the Export's data to the given output stream. virtual void print(std::ostream &os) const = 0; //@} }; // Export class } // namespace Xpetra #define XPETRA_EXPORT_SHORT #endif // XPETRA_EXPORT_HPP