Create an Xpetra::Map instance. More...
#include <Xpetra_MapFactory.hpp>
Static Public Member Functions | |
| static Teuchos::RCP< Node > | defaultArgNode () |
| static Teuchos::RCP< Map < LocalOrdinal, GlobalOrdinal, Node > > | Build (UnderlyingLib lib, global_size_t numGlobalElements, GlobalOrdinal indexBase, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, LocalGlobal lg=Xpetra::GloballyDistributed, const Teuchos::RCP< Node > &node=defaultArgNode()) |
| Map constructor with Xpetra-defined contiguous uniform distribution. | |
| static Teuchos::RCP< Map < LocalOrdinal, GlobalOrdinal, Node > > | Build (UnderlyingLib lib, global_size_t numGlobalElements, size_t numLocalElements, GlobalOrdinal indexBase, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< Node > &node=defaultArgNode()) |
| Map constructor with a user-defined contiguous distribution. | |
| static Teuchos::RCP< Map < LocalOrdinal, GlobalOrdinal, Node > > | Build (UnderlyingLib lib, global_size_t numGlobalElements, const Teuchos::ArrayView< const GlobalOrdinal > &elementList, GlobalOrdinal indexBase, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< Node > &node=defaultArgNode()) |
| Map constructor with user-defined non-contiguous (arbitrary) distribution. | |
| static Teuchos::RCP< Map < LocalOrdinal, GlobalOrdinal, Node > > | Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, LocalOrdinal numDofPerNode) |
| Map constructor transforming degrees of freedom. | |
| static Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | createLocalMap (UnderlyingLib lib, size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| Create a locally replicated Map with the default node. | |
| static Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | createLocalMapWithNode (UnderlyingLib lib, size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< Node > &node) |
| Create a locally replicated Map with a specified node. | |
| static Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | createUniformContigMapWithNode (UnderlyingLib lib, global_size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< Node > &node) |
| Create a uniform, contiguous Map with a user-specified node. | |
| static Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | createUniformContigMap (UnderlyingLib lib, global_size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| Create a uniform, contiguous Map with the default node. | |
| static Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | createContigMap (UnderlyingLib lib, global_size_t numElements, size_t localNumElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| Create a (potentially) non-uniform, contiguous Map with the default node. | |
| static Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | createContigMapWithNode (UnderlyingLib lib, global_size_t numElements, size_t localNumElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< Node > &node) |
| Create a (potentially) non-uniform, contiguous Map with a user-specified node. | |
Private Member Functions | |
| MapFactory () | |
| Private constructor. This is a static class. | |
Create an Xpetra::Map instance.
Users must specify the exact class of the object that they want to create (either an Xpetra::TpetraMap or an Xpetra::EpetraMap).
Definition at line 70 of file Xpetra_MapFactory.hpp.
| Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::MapFactory | ( | ) | [inline, private] |
Private constructor. This is a static class.
Definition at line 74 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP<Node> Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::defaultArgNode | ( | ) | [inline, static] |
Definition at line 77 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP<Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::Build | ( | UnderlyingLib | lib, |
| global_size_t | numGlobalElements, | ||
| GlobalOrdinal | indexBase, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, | ||
| LocalGlobal | lg = Xpetra::GloballyDistributed, |
||
| const Teuchos::RCP< Node > & | node = defaultArgNode () |
||
| ) | [inline, static] |
Map constructor with Xpetra-defined contiguous uniform distribution.
Definition at line 90 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP<Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::Build | ( | UnderlyingLib | lib, |
| global_size_t | numGlobalElements, | ||
| size_t | numLocalElements, | ||
| GlobalOrdinal | indexBase, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, | ||
| const Teuchos::RCP< Node > & | node = defaultArgNode () |
||
| ) | [inline, static] |
Map constructor with a user-defined contiguous distribution.
Definition at line 110 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP<Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::Build | ( | UnderlyingLib | lib, |
| global_size_t | numGlobalElements, | ||
| const Teuchos::ArrayView< const GlobalOrdinal > & | elementList, | ||
| GlobalOrdinal | indexBase, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, | ||
| const Teuchos::RCP< Node > & | node = defaultArgNode () |
||
| ) | [inline, static] |
Map constructor with user-defined non-contiguous (arbitrary) distribution.
Definition at line 130 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP<Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & | map, |
| LocalOrdinal | numDofPerNode | ||
| ) | [inline, static] |
Map constructor transforming degrees of freedom.
Definition at line 150 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP<const Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::createLocalMap | ( | UnderlyingLib | lib, |
| size_t | numElements, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ||
| ) | [inline, static] |
Create a locally replicated Map with the default node.
Definition at line 172 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP< const Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::createLocalMapWithNode | ( | UnderlyingLib | lib, |
| size_t | numElements, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, | ||
| const Teuchos::RCP< Node > & | node | ||
| ) | [inline, static] |
Create a locally replicated Map with a specified node.
Definition at line 189 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP< const Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::createUniformContigMapWithNode | ( | UnderlyingLib | lib, |
| global_size_t | numElements, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, | ||
| const Teuchos::RCP< Node > & | node | ||
| ) | [inline, static] |
Create a uniform, contiguous Map with a user-specified node.
Definition at line 207 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP< const Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::createUniformContigMap | ( | UnderlyingLib | lib, |
| global_size_t | numElements, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ||
| ) | [inline, static] |
Create a uniform, contiguous Map with the default node.
Definition at line 225 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP< const Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::createContigMap | ( | UnderlyingLib | lib, |
| global_size_t | numElements, | ||
| size_t | localNumElements, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ||
| ) | [inline, static] |
Create a (potentially) non-uniform, contiguous Map with the default node.
Definition at line 242 of file Xpetra_MapFactory.hpp.
| static Teuchos::RCP< const Map<LocalOrdinal,GlobalOrdinal, Node> > Xpetra::MapFactory< LocalOrdinal, GlobalOrdinal, Node >::createContigMapWithNode | ( | UnderlyingLib | lib, |
| global_size_t | numElements, | ||
| size_t | localNumElements, | ||
| const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, | ||
| const Teuchos::RCP< Node > & | node | ||
| ) | [inline, static] |
Create a (potentially) non-uniform, contiguous Map with a user-specified node.
Definition at line 260 of file Xpetra_MapFactory.hpp.
1.7.6.1