49 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
53 :
Epetra_Map(numMyElements, numMyElements, indexBase, comm)
57 throw ReportError(
"Replicated Local Map not the same size on all PEs",-1);
61 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
66 :
Epetra_Map(numMyElements, static_cast<int>(numMyElements), indexBase, comm)
68 assert(numMyElements <= (
long long) std::numeric_limits<int>::max());
71 throw ReportError(
"Replicated Local Map not the same size on all PEs",-1);
77 :
Epetra_Map(numMyElements, static_cast<int>(numMyElements), indexBase, comm)
79 assert(numMyElements <= (
long long) std::numeric_limits<int>::max());
82 throw ReportError(
"Replicated Local Map not the same size on all PEs",-1);
90 throw ReportError(
"Replicated Local Map not the same size on all PEs",-1);
95 int * tmp =
new int[4];
virtual ~Epetra_LocalMap()
Epetra_LocalMap destructor.
Epetra_Map: A class for partitioning vectors and matrices.
Epetra_LocalMap(int NumMyElements, int IndexBase, const Epetra_Comm &Comm)
Epetra_LocalMap constructor for a user-defined replicate distribution of elements.
virtual void SetLabel(const char *const Label)
Epetra_Object Label definition using char *.
virtual int MaxAll(double *PartialMaxs, double *GlobalMaxs, int Count) const =0
Epetra_Comm Global Max function.
int NumMyElements() const
Number of elements on the calling processor.
Epetra_LocalMap & operator=(const Epetra_LocalMap &map)
Assignment Operator.
Epetra_Comm: The Epetra Communication Abstract Base Class.
Epetra_BlockMap & operator=(const Epetra_BlockMap &map)
Assignment Operator.
const Epetra_Comm & Comm() const
Access function for Epetra_Comm communicator.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
Epetra_LocalMap: A class for replicating vectors and matrices across multiple processors.