#include <Xpetra_MapExtractor.hpp>
|
| Teuchos::RCP< const BlockedMap > | map_ |
| | blocked map containing the sub block maps (either thyra or xpetra mode) More...
|
| |
|
| void | ExtractVector (const Vector &full, size_t block, Vector &partial) const |
| |
| void | ExtractVector (const MultiVector &full, size_t block, MultiVector &partial) const |
| |
| void | ExtractVector (RCP< const Vector > &full, size_t block, RCP< Vector > &partial) const |
| |
| void | ExtractVector (RCP< Vector > &full, size_t block, RCP< Vector > &partial) const |
| |
| void | ExtractVector (RCP< const MultiVector > &full, size_t block, RCP< MultiVector > &partial) const |
| |
| void | ExtractVector (RCP< MultiVector > &full, size_t block, RCP< MultiVector > &partial) const |
| |
| RCP< Vector > | ExtractVector (RCP< const Vector > &full, size_t block, bool bThyraMode=false) const |
| |
| RCP< Vector > | ExtractVector (RCP< Vector > &full, size_t block, bool bThyraMode=false) const |
| |
| RCP< MultiVector > | ExtractVector (RCP< const MultiVector > &full, size_t block, bool bThyraMode=false) const |
| |
| RCP< MultiVector > | ExtractVector (RCP< MultiVector > &full, size_t block, bool bThyraMode=false) const |
| |
| RCP< MultiVector > | ExtractVector (RCP< const BlockedMultiVector > &full, size_t block, bool bThyraMode=false) const |
| |
| RCP< MultiVector > | ExtractVector (RCP< Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &full, size_t block, bool bThyraMode=false) const |
| |
|
| void | InsertVector (const Vector &partial, size_t block, Vector &full, bool bThyraMode=false) const |
| |
| void | InsertVector (const MultiVector &partial, size_t block, MultiVector &full, bool bThyraMode=false) const |
| |
| void | InsertVector (RCP< const Vector > partial, size_t block, RCP< Vector > full, bool bThyraMode=false) const |
| |
| void | InsertVector (RCP< Vector > partial, size_t block, RCP< Vector > full, bool bThyraMode=false) const |
| |
| void | InsertVector (RCP< const MultiVector > partial, size_t block, RCP< MultiVector > full, bool bThyraMode=false) const |
| |
| void | InsertVector (RCP< MultiVector > partial, size_t block, RCP< MultiVector > full, bool bThyraMode=false) const |
| |
| void | InsertVector (RCP< const MultiVector > partial, size_t block, RCP< Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > full, bool bThyraMode=false) const |
| |
| void | InsertVector (RCP< MultiVector > partial, size_t block, RCP< Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > full, bool bThyraMode=false) const |
| |
template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >
Definition at line 78 of file Xpetra_MapExtractor.hpp.
◆ scalar_type
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ local_ordinal_type
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ global_ordinal_type
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ node_type
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ MapExtractor() [1/4]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
MapExtractor basic constructor
- Parameters
-
| [in] | fullmap | Full map containing all GIDs throughout the full vector. This parameter is only important if bThyraMode == false (see below) |
| [in] | maps | Vector containing submaps. The set of all GIDs stored in the submaps should be the same than stored in fullmap, if bThyraMode == false. In Thyra mode, the submaps should contain consecutive GIDs starting with 0 in each submap. |
| [in] | bThyraMode | Flag which allows to switch between generating a MapExtractor in Thyra mode or Xpetra mode |
In Thyra mode, fullmap is not important as a fullmap with unique blocked GIDs is automatically generated which map the GIDs of the submaps to uniquely defined GIDs in the fullmap. The user has to provide a fullmap in Thyra mode to specify the underlying linear algebra library (Epetra or Tpetra) and some other map information (e.g. indexBase). This could be fixed.
In Xpetra mode, the fullmap has to be the same as the union of the GIDs stored in the submaps in maps. The intersection of the GIDs of the sub- maps in maps must be empty.
Definition at line 103 of file Xpetra_MapExtractor.hpp.
◆ MapExtractor() [2/4]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ MapExtractor() [3/4]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Constructor which accepts a const version of a blocked map
- Parameters
-
| map | BlockedMap defining the block structure of the multi vector |
Definition at line 119 of file Xpetra_MapExtractor.hpp.
◆ MapExtractor() [4/4]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ~MapExtractor()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [1/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [2/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [3/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExtractVector |
( |
RCP< const Vector > & |
full, |
|
|
size_t |
block, |
|
|
RCP< Vector > & |
partial |
|
) |
| const |
|
inline |
◆ ExtractVector() [4/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [5/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [6/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [7/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< Vector> Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExtractVector |
( |
RCP< const Vector > & |
full, |
|
|
size_t |
block, |
|
|
bool |
bThyraMode = false |
|
) |
| const |
|
inline |
◆ ExtractVector() [8/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< Vector> Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExtractVector |
( |
RCP< Vector > & |
full, |
|
|
size_t |
block, |
|
|
bool |
bThyraMode = false |
|
) |
| const |
|
inline |
◆ ExtractVector() [9/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [10/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [11/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ ExtractVector() [12/12]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ InsertVector() [1/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::InsertVector |
( |
const Vector & |
partial, |
|
|
size_t |
block, |
|
|
Vector & |
full, |
|
|
bool |
bThyraMode = false |
|
) |
| const |
|
inline |
◆ InsertVector() [2/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ InsertVector() [3/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::InsertVector |
( |
RCP< const Vector > |
partial, |
|
|
size_t |
block, |
|
|
RCP< Vector > |
full, |
|
|
bool |
bThyraMode = false |
|
) |
| const |
|
inline |
◆ InsertVector() [4/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::InsertVector |
( |
RCP< Vector > |
partial, |
|
|
size_t |
block, |
|
|
RCP< Vector > |
full, |
|
|
bool |
bThyraMode = false |
|
) |
| const |
|
inline |
◆ InsertVector() [5/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ InsertVector() [6/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ InsertVector() [7/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ InsertVector() [8/8]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ getVector() [1/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< Vector> Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getVector |
( |
size_t |
i, |
|
|
bool |
bThyraMode = false, |
|
|
bool |
bZero = true |
|
) |
| const |
|
inline |
◆ getVector() [2/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP<MultiVector> Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getVector |
( |
size_t |
i, |
|
|
size_t |
numvec, |
|
|
bool |
bThyraMode = false, |
|
|
bool |
bZero = true |
|
) |
| const |
|
inline |
◆ getThyraMode()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ NumMaps()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ getMap() [1/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| const RCP<const Map> Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getMap |
( |
size_t |
i, |
|
|
bool |
bThyraMode = false |
|
) |
| const |
|
inline |
get the map returns the sub map i from list of sub maps depending on the parameter bThyraMode the sub map that is returned uses Thyra or Xpetra numbering Note: Thyra-numbering is only allowed if the MapExtractor is also constructed using Thyra numbering
Definition at line 404 of file Xpetra_MapExtractor.hpp.
◆ getMap() [2/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ getBlockedMap()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ getFullMap()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ getMapIndexForGID()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| size_t Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getMapIndexForGID |
( |
GlobalOrdinal |
gid | ) |
const |
|
inline |
◆ map_
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
The documentation for this class was generated from the following file: