35 #ifdef HAVE_AMESOS_EPETRAEXT
37 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
40 StdIndexMap_ =
rcp(
new Epetra_Map( NumGlobalElements, NumMyElements, 0, OriginalMap.
Comm() ) );
44 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
47 StdIndexMap_ =
rcp(
new Epetra_Map( NumGlobalElements, NumMyElements, 0LL, OriginalMap.
Comm() ) );
51 throw "Amesos_StandardIndex::Amesos_StandardIndex: ERROR, GlobalIndices type unknown.";
59 #ifdef HAVE_AMESOS_EPETRAEXT
63 return ( &((*VecTrans_)( *OriginalMultiVector )) );
70 return VecTrans_->transform(OriginalMultiVector);
77 return &((*MatTrans_)( *OriginalCrsMatrix ));
int NumGlobalElements() const
bool GlobalIndicesLongLong() const
long long NumGlobalElements64() const
Amesos_StandardIndex(const Epetra_Map &OriginalMap)
Default constructor.
bool GlobalIndicesInt() const
int NumMyElements() const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
const Epetra_Comm & Comm() const