Block-entry counterpart to Xpetra::Map.
More...
#include <Xpetra_EpetraBlockMap.hpp>
|
| const RCP< const Epetra_BlockMap > | map_ |
| |
|
| | EpetraBlockMap (global_size_t numGlobalBlocks, int blockSize, int indexBase, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< Kokkos::DefaultNode::DefaultNodeType > &node=Kokkos::DefaultNode::getDefaultNode()) |
| | EpetraBlockMap constructor specifying numGlobalBlocks and constant blockSize. More...
|
| |
| | EpetraBlockMap (global_size_t numGlobalBlocks, size_t numLocalBlocks, int blockSize, int indexBase, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< Kokkos::DefaultNode::DefaultNodeType > &node=Kokkos::DefaultNode::getDefaultNode()) |
| | EpetraBlockMap constructor specifying num global and local blocks, and constant blockSize. More...
|
| |
| | EpetraBlockMap (const Teuchos::RCP< const Epetra_BlockMap > &map) |
| | EpetraBlockMap constructor specifying numGlobalBlocks and lists of local blocks first-global-point-in-blocks, and blockSizes. More...
|
| |
| virtual | ~EpetraBlockMap () |
| | EpetraBlockMap destructor. More...
|
| |
Block-entry counterpart to Xpetra::Map.
BlockMap doesn't inherit Xpetra::Map
Definition at line 70 of file Xpetra_EpetraBlockMap.hpp.
| Xpetra::EpetraBlockMap::EpetraBlockMap |
( |
const Teuchos::RCP< const Epetra_BlockMap > & |
map | ) |
|
|
inline |
EpetraBlockMap constructor specifying numGlobalBlocks and lists of local blocks first-global-point-in-blocks, and blockSizes.
EpetraBlockMap constructor which takes a "regular" Map. The arrays myGlobalBlockIDs and myBlockSizes must be the same length, and sum(myBlockSizes) must equal pointMap->getNodeNumElements(). If these arrays are different lengths or sum(myBlockSizes) is incorrect, then std::runtime_error is thrown.
Definition at line 128 of file Xpetra_EpetraBlockMap.hpp.
| virtual Xpetra::EpetraBlockMap::~EpetraBlockMap |
( |
| ) |
|
|
inlinevirtual |
| global_size_t Xpetra::EpetraBlockMap::getGlobalNumBlocks |
( |
| ) |
const |
|
inline |
| size_t Xpetra::EpetraBlockMap::getNodeNumBlocks |
( |
| ) |
const |
|
inline |
| bool Xpetra::EpetraBlockMap::isBlockSizeConstant |
( |
| ) |
const |
|
inline |
| int Xpetra::EpetraBlockMap::getGlobalBlockID |
( |
int |
localBlockID | ) |
const |
|
inline |
| int Xpetra::EpetraBlockMap::getLocalBlockID |
( |
int |
globalBlockID | ) |
const |
|
inline |
| int Xpetra::EpetraBlockMap::getLocalBlockSize |
( |
int |
localBlockID | ) |
const |
|
inline |
Return the block-size for localBlockID.
If localBlockID is out of range (less than 0 or greater/equal num-local-blocks), then std::runtime_error is thrown.
Definition at line 175 of file Xpetra_EpetraBlockMap.hpp.
| int Xpetra::EpetraBlockMap::getFirstLocalPointInLocalBlock |
( |
int |
localBlockID | ) |
const |
|
inline |
Return the first local point-index corresponding to localBlockID.
If localBlockID is out of range (less than 0 or greater/equal num-local-blocks), then std::runtime_error is thrown.
Definition at line 181 of file Xpetra_EpetraBlockMap.hpp.
| RCP< const Epetra_BlockMap > Xpetra::EpetraBlockMap::getEpetra_BlockMap |
( |
| ) |
const |
|
inline |
| const RCP< const Epetra_BlockMap > Xpetra::EpetraBlockMap::map_ |
|
private |
The documentation for this class was generated from the following file: