44 #ifndef EPETRA_LONGLONGVECTOR_H
45 #define EPETRA_LONGLONGVECTOR_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
61 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
185 int PutValue(
long long Value);
201 int ExtractCopy(
long long *V)
const;
210 int ExtractView(
long long **V)
const;
219 long long MaxValue();
225 long long MinValue();
245 long long& operator [] (
int index) {
return Values_[index]; }
250 const long long& operator [] (
int index)
const {
return Values_[index]; }
257 long long *
Values()
const {
return(Values_);};
270 virtual void Print(std::ostream & os)
const;
274 int AllocateForCopy();
275 int DoCopy(
long long * V);
276 int AllocateForView();
277 int DoView(
long long * V);
286 int * PermuteFromLIDs,
315 #endif // EPETRA_NO_64BIT_GLOBAL_INDICES
Epetra_Map: A class for partitioning vectors and matrices.
Epetra_LongLongVector: A class for constructing and using dense integer vectors on a parallel compute...
Epetra_Distributor: The Epetra Gather/Scatter Setup Base Class.
virtual int CopyAndPermute(const Epetra_SrcDistObject &Source, int NumSameIDs, int NumPermuteIDs, int *PermuteToLIDs, int *PermuteFromLIDs, const Epetra_OffsetIndex *Indexor, Epetra_CombineMode CombineMode=Zero)=0
Perform ID copies and permutations that are on processor.
Epetra_OffsetIndex: This class builds index for efficient mapping of data from one Epetra_CrsGraph ba...
virtual void Print(std::ostream &os) const
Print method.
virtual int CheckSizes(const Epetra_SrcDistObject &Source)=0
Allows the source and target (this) objects to be compared for compatibility, return nonzero if not...
int MyLength() const
Returns the local vector length on the calling processor of vectors in the multi-vector.
virtual int UnpackAndCombine(const Epetra_SrcDistObject &Source, int NumImportIDs, int *ImportLIDs, int LenImports, char *Imports, int &SizeOfPacket, Epetra_Distributor &Distor, Epetra_CombineMode CombineMode, const Epetra_OffsetIndex *Indexor)=0
Perform any unpacking and combining after call to DoTransfer().
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
Epetra_DistObject & operator=(const Epetra_DistObject &src)
long long GlobalLength64() const
Returns the global vector length of vectors in the multi-vector.
Epetra_SrcDistObject: A class for supporting flexible source distributed objects for import/export op...
long long * Values() const
Returns a pointer to an array containing the values of this vector.
Epetra_DistObject: A class for constructing and using dense multi-vectors, vectors and matrices in pa...
virtual int PackAndPrepare(const Epetra_SrcDistObject &Source, int NumExportIDs, int *ExportLIDs, int &LenExports, char *&Exports, int &SizeOfPacket, int *Sizes, bool &VarSizes, Epetra_Distributor &Distor)=0
Perform any packing or preparation required for call to DoTransfer().
const Epetra_BlockMap & Map() const
Returns the address of the Epetra_BlockMap for this multi-vector.