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. More... | |
| 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. More... | |
| 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. More... | |
| static Teuchos::RCP< Map< LocalOrdinal, GlobalOrdinal, Node > > | Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, LocalOrdinal numDofPerNode) |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Private Member Functions | |
| MapFactory () | |
| Private constructor. This is a static class. More... | |
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 72 of file Xpetra_MapFactory.hpp.
|
inlineprivate |
Private constructor. This is a static class.
Definition at line 76 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Definition at line 79 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Map constructor with Xpetra-defined contiguous uniform distribution.
Definition at line 92 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Map constructor with a user-defined contiguous distribution.
Definition at line 112 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Map constructor with user-defined non-contiguous (arbitrary) distribution.
Definition at line 132 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Map constructor transforming degrees of freedom for numDofPerNode this acts like a deep copy
Definition at line 153 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Create a locally replicated Map with the default node.
Definition at line 182 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Create a locally replicated Map with a specified node.
Definition at line 199 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Create a uniform, contiguous Map with a user-specified node.
Definition at line 217 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Create a uniform, contiguous Map with the default node.
Definition at line 235 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Create a (potentially) non-uniform, contiguous Map with the default node.
Definition at line 252 of file Xpetra_MapFactory.hpp.
|
inlinestatic |
Create a (potentially) non-uniform, contiguous Map with a user-specified node.
Definition at line 270 of file Xpetra_MapFactory.hpp.
1.8.13