Epetra_Combine Mode enumerable type.
More...
Epetra_Combine Mode enumerable type.
◆ Epetra_CombineMode
If set to Add, components on the receiving processor will be added together. If set to Zero, off-processor components will be ignored. If set to Insert, off-processor components will replace existing components on the receiving processor. If set to InsertAdd, off-processor components will replace existing components, but multiple off-processor contributions will be added. If set to Average, off-processor components will be averaged with existing components on the receiving processor. (Recursive Binary Average) If set to AbsMax, magnitudes of off-processor components will be maxed with magnitudes of existing components of the receiving processor. { V = Supported by Epetra_Vector and Epetra_MultiVector, M = Supported by Epetra_CrsMatrix and Epetra_VbrMatrix }
| Enumerator |
|---|
| Add | Components on the receiving processor will be added together. (V,M)
|
| Zero | Off-processor components will be ignored. (V,M)
|
| Insert | Off-processor components will be inserted into locations on receiving processor replacing existing values. (V,M)
|
| InsertAdd | Off-processor components will be inserted into locations on receiving processor replacing existing values. (V,M)
|
| Average | Off-processor components will be averaged with existing components on the receiving processor. (V)
|
| Epetra_Max | Off-processor components will be maxed with existing components on the receiving processor. (V)
|
| Epetra_Min | Off-processor components will be min'ed with existing components on the receiving processor. (V)
|
| AbsMax | Magnitudes of Off-processor components will be maxed with magnitudes of existing components on the receiving processor. (V)
|
| AbsMin | Magnitudes of Off-processor components will be min'ed with magnitudes of existing components on the receiving processor. (V)
|
| Epetra_AddLocalAlso | Like Add but local components are also added
|
int NumGlobalBlockEntries(int Row) const
Returns the current number of nonzero Block entries in specified global row on this processor.
Definition: Epetra_VbrMatrix.h:995
Epetra_BasicRowMatrix: A class for simplifying the development of Epetra_RowMatrix adapters.
Definition: Epetra_BasicRowMatrix.h:110
Epetra_CrsMatrix & operator=(const Epetra_CrsMatrix &src)
Assignment operator.
bool operator!=(const Epetra_LongLongSerialDenseMatrix &rhs) const
Inequality operator.
Definition: Epetra_LongLongSerialDenseMatrix.h:240
bool Copy_Created() const
Returns true if a deep copy of the multi-vector was created by the constructor.
virtual const Epetra_Comm & Comm() const =0
Returns a pointer to the Epetra_Comm communicator associated with this operator.
MPI_Comm GetMpiComm() const
Get the MPI Communicator (identical to Comm() method; used when we know we are MPI.
Definition: Epetra_MpiComm.h:486
int ** SameOffsets() const
Accessor.
Definition: Epetra_OffsetIndex.h:86
const Epetra_Export * Exporter() const
Returns the Epetra_Export object that contains the export operations for distributed operations.
Definition: Epetra_VbrMatrix.h:1042
int NumMyBlockEntries(int Row) const
Returns the current number of nonzero Block entries in specified local row on this processor.
Definition: Epetra_VbrMatrix.h:1007
const Epetra_BlockMap & DomainMap() const
Returns the DomainMap associated with this graph.
Definition: Epetra_CrsGraph.h:836
virtual bool UpperTriangular() const =0
If matrix is upper triangular in local index space, this query returns true, otherwise it returns fal...
MPI_Comm Comm() const
Extract MPI Communicator from a Epetra_MpiSmpComm object.
Definition: Epetra_MpiSmpComm.h:377
int & operator()(int Index)
Element access function.
Definition: Epetra_IntSerialDenseVector.h:264
int GlobalMaxNumBlockEntries() const
Returns the maximum number of nonzero entries across all rows on this processor.
Definition: Epetra_VbrMatrix.h:1004
Epetra_Object: The base Epetra class.
Definition: Epetra_Object.h:57
int ResetView(double **ArrayOfPointers)
Reset the view of an existing multivector to point to new user data.
int M() const
Returns row dimension of system.
Definition: Epetra_SerialDenseMatrix.h:377
void ResetFlops()
Resets the number of floating point operations to zero for this multi-vector.
Definition: Epetra_Flops.h:77
int NumGlobalRows() const
Returns the number of global matrix rows.
Definition: Epetra_CrsMatrix.h:1076
int SetHintMultiplyAndMatTransMultiply(bool TransA, double Alpha, const Epetra_OskiMultiVector &InVec, double Beta, const Epetra_OskiMultiVector &OutVec, double Omega, const Epetra_OskiMultiVector &InVec2, double Zeta, const Epetra_OskiMultiVector &OutVec2, int NumCalls, const Teuchos::ParameterList &List)
Workload hints for computing two matrix-vector multiplies used by OskiTuneMat to optimize the data st...
Epetra_MpiSmpComm & operator=(const Epetra_MpiSmpComm &Comm)
Assignment Operator.
Epetra_MpiSmpComm: The Epetra MPI Shared Memory Parallel Communication Class.
Definition: Epetra_MpiSmpComm.h:62
Epetra_FastCrsOperator(const Epetra_CrsMatrix &Matrix, bool UseFloats=false)
Epetra_FastCrsOperator constuctor.
bool LowerTriangular() const
If matrix is lower triangular in local index space, this query returns true, otherwise it returns fal...
Definition: Epetra_VbrMatrix.h:870
int NumGlobalDiagonals() const
Returns the number of global nonzero diagonal entries, based on global row/column index comparisions.
Definition: Epetra_VbrMatrix.h:990
int BeginInsertGlobalValues(int BlockRow, int NumBlockEntries, int *BlockIndices)
Initiate insertion of a list of elements in a given global row of the matrix, values are inserted via...
int NumMyIndices(int Row) const
Returns the current number of nonzero entries in specified local row on this processor.
Definition: Epetra_CrsGraph.h:759
int NumGlobalCols() const
Returns the number of matrix columns in global matrix.
Definition: Epetra_CrsGraph.h:579
const Epetra_BlockMap & ColMap() const
Returns the ColMap as an Epetra_BlockMap (the Epetra_Map base class) needed for implementing Epetra_R...
Definition: Epetra_VbrMatrix.h:1054
Epetra_SerialDenseVector: A class for constructing and using dense vectors.
Definition: Epetra_SerialDenseVector.h:95
virtual const Epetra_Map & RowMatrixRowMap() const
Returns the Row Map object needed for implementing Epetra_RowMatrix.
Definition: Epetra_BasicRowMatrix.h:415
Definition: Epetra_FEVbrMatrix.h:57
bool Sorted() const
If SortIndices() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_CrsGraph.h:1103
int LDA() const
Returns the leading dimension of the this matrix.
Definition: Epetra_LongLongSerialDenseMatrix.h:315
const Epetra_Comm & Comm() const
Access function for Epetra_Comm communicator.
Definition: Epetra_BlockMap.h:770
int MyNodeID() const
Return my node ID.
Definition: Epetra_MpiSmpComm.h:429
virtual ~Epetra_VbrRowMatrix()
Epetra_VbrRowMatrix Destructor.
Definition: Epetra_VbrRowMatrix.h:89
virtual ~Epetra_OskiVector()
Destructor.
int * MyGlobalElements() const
Pointer to internal array containing list of global IDs assigned to the calling processor.
int * PermuteFromLIDs() const
List of elements in the source map that are permuted.
Definition: Epetra_Export.h:249
virtual int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const =0
Returns a copy of the main diagonal in a user-provided vector.
int NumGlobalBlockCols() const
Returns the number of Block matrix columns in global matrix.
Definition: Epetra_CrsGraph.h:646
long long & operator[](int Index)
Element access function.
Definition: Epetra_LongLongSerialDenseVector.h:285
virtual int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y.
Epetra_Flops * GetFlopCounter() const
Get the pointer to the Epetra_Flops() object associated with this object, returns 0 if none.
Definition: Epetra_CompObject.h:84
Epetra_LAPACK(void)
Epetra_LAPACK Constructor.
Definition: Epetra_LAPACK.h:425
const Epetra_Map & RowMatrixColMap() const
Returns the Epetra_Map object associated with columns of this matrix.
Definition: Epetra_VbrMatrix.h:1258
Epetra_Map * RemoveEmptyProcesses() const
Return a new BlockMap with processes with zero elements removed.
int NumGlobalCols() const
Returns the number of global matrix columns.
Definition: Epetra_VbrMatrix.h:933
int LDA() const
Returns the leading dimension of the this matrix.
Definition: Epetra_IntSerialDenseMatrix.h:312
bool A_Equilibrated()
Returns true if factor is equilibrated (factor available via AF() and LDAF()).
Definition: Epetra_SerialDenseSolver.h:253
virtual double NormInf() const =0
Returns the infinity norm of the global matrix.
int NumMyElements() const
Number of elements on the calling processor.
Definition: Epetra_BlockMap.h:555
bool HasNormInf() const
Returns true because this class can compute an Inf-norm.
Definition: Epetra_FastCrsMatrix.h:128
bool MyLCID(int LCID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsMatrix.h:1331
int NumMyRowEntries(int MyRow, int &NumEntries) const
Return the current number of values stored for the specified local row.
Definition: Epetra_VbrRowMatrix.h:163
int MyThreadID() const
Return my thread ID.
Definition: Epetra_MpiSmpComm.h:423
int * PermuteFromLIDs() const
List of elements in the source map that are permuted.
Definition: Epetra_Import.h:268
Epetra_SerialDenseMatrix & operator=(const Epetra_SerialDenseMatrix &Source)
Value copy from one matrix to another.
long long NumGlobalRows64() const
Returns the number of global matrix rows.
Definition: Epetra_MsrMatrix.h:260
virtual bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_SerialDenseSVD.h:438
Epetra_OskiMultiVector(const Epetra_OskiMultiVector &Source)
Copy constructor.
bool HaveColMap() const
Returns true if we have a well-defined ColMap, and returns false otherwise.
Definition: Epetra_CrsGraph.h:548
virtual int NumProc() const =0
Returns total number of processes.
const Epetra_Comm & Comm() const
Returns the address of the Epetra_Comm for this multi-vector.
Definition: Epetra_DistObject.h:195
double * B() const
Returns pointer to current RHS.
Definition: Epetra_SerialDenseSolver.h:305
int NumAllocatedMyBlockEntries(int Row) const
Returns the allocated number of nonzero Block entries in specified local row on this processor.
Definition: Epetra_VbrMatrix.h:1010
AZ_MATRIX * Amat() const
Returns a pointer to the Aztec Msr matrix used to create this object.
Definition: Epetra_MsrMatrix.h:224
double NormInf() const
Returns the infinity norm of the global matrix.
Definition: Epetra_InvOperator.h:125
int NumGlobalNonzeros() const
Returns the number of nonzero entries in the global matrix.
Definition: Epetra_VbrMatrix.h:945
int Reshape(int NumRows, int NumCols)
Reshape a Epetra_LongLongSerialDenseMatrix object.
bool LowerTriangular() const
If graph is lower triangular in local index space, this query returns true, otherwise it returns fals...
Definition: Epetra_CrsGraph.h:520
bool GlobalIndicesInt() const
Returns true if map create with int NumGlobalElements.
Definition: Epetra_BlockMap.h:653
int * PermuteToLIDs() const
List of elements in the target map that are permuted.
Definition: Epetra_Export.h:251
Epetra_Data: The Epetra Base Data Class.
Definition: Epetra_Data.h:73
bool IndicesAreLocal() const
If matrix indices has been transformed to local, this query returns true, otherwise it returns false.
Definition: Epetra_CrsMatrix.h:1016
double COLCND() const
Ratio of smallest to largest column scale factors for the this matrix (returns -1 if not yet computed...
Definition: Epetra_SerialDenseSolver.h:342
int MinMyElementSize() const
Minimum element size on the calling processor.
Definition: Epetra_BlockMap.h:608
bool IndicesAreContiguous() const
If matrix indices are packed into single array (done in OptimizeStorage()) return true,...
Definition: Epetra_VbrMatrix.h:867
const Epetra_Import * Importer() const
Returns the Epetra_Import object that contains the import operations for distributed operations.
Definition: Epetra_CrsMatrix.h:1245
double * Values() const
Get pointer to MultiVector values.
Definition: Epetra_MultiVector.h:985
int GetDirectoryEntries(const Epetra_BlockMap &Map, const int NumEntries, const int *GlobalEntries, int *Procs, int *LocalEntries, int *EntrySizes, bool high_rank_sharing_procs=false) const
GetDirectoryEntries : Returns proc and local id info for non-local map entries.
bool MyGlobalRow(int GID) const
Returns true of GID is owned by the calling processor, otherwise it returns false.
Definition: Epetra_CrsMatrix.h:1335
int ElementSize() const
Returns the size of elements in the map; only valid if map has constant element size.
Definition: Epetra_BlockMap.h:573
bool StorageOptimized() const
If OptimizeStorage() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_VbrMatrix.h:858
Epetra_MpiComm & operator=(const Epetra_MpiComm &Comm)
Assignment Operator.
int NumMyEntries(int Row) const
Returns the current number of nonzero entries in specified local row on this processor.
Definition: Epetra_CrsMatrix.h:1142
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
int NumGlobalRows() const
Returns the number of matrix rows in global matrix.
Definition: Epetra_CrsGraph.h:559
Epetra_RowMatrix * GetMatrix() const
Get a pointer to the matrix A.
Definition: Epetra_LinearProblem.h:175
int * ExportLIDs() const
List of elements that will be sent to other processors.
Definition: Epetra_Export.h:263
int NumAllocatedMyIndices(int Row) const
Returns the allocated number of nonzero entries in specified local row on this processor.
Definition: Epetra_CrsGraph.h:764
Epetra_SerialDenseMatrix * Matrix() const
Returns pointer to current matrix.
Definition: Epetra_SerialDenseSVD.h:276
const Epetra_BlockMap & RangeMap() const
Returns the RangeMap associated with this graph.
Definition: Epetra_CrsGraph.h:842
Epetra_VbrRowMatrix(Epetra_VbrMatrix *Matrix)
Epetra_VbrRowMatrix constuctor.
Definition: Epetra_VbrRowMatrix.h:81
const char * Label() const
Returns a character std::string describing the operator.
Definition: Epetra_MsrMatrix.h:314
Epetra_SerialSymDenseMatrix * SymMatrix() const
Returns pointer to current matrix.
Definition: Epetra_SerialSpdDenseSolver.h:247
int * FirstPointInElementList() const
Pointer to internal array containing a mapping between the local elements and the first local point n...
bool Filled() const
If FillComplete() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_VbrMatrix.h:470
Epetra_MultiVector * nonlocalVector_
Multivector that holds nonlocal data; source for the Export operation.
Definition: Epetra_FEVector.h:339
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().
bool HasNormInf() const
Returns true because this class can compute an Inf-norm.
Definition: Epetra_BasicRowMatrix.h:480
Epetra_LAPACK: The Epetra LAPACK Wrapper Class.
Definition: Epetra_LAPACK.h:67
virtual int CreateFromSends(const int &NumExportIDs, const int *ExportPIDs, bool Deterministic, int &NumRemoteIDs)=0
Create Distributor object using list of process IDs to which we export.
virtual double NormInf() const
Computes the Infinity-Norm of the this matrix.
bool SameBlockMapDataAs(const Epetra_BlockMap &Map) const
const Epetra_BlockMap & RangeMap() const
Returns the Epetra_BlockMap object associated with the range of this matrix operator.
Definition: Epetra_VbrMatrix.h:1048
int N() const
Returns column dimension of system.
Definition: Epetra_SerialDenseSVD.h:295
MPI_Comm GetMpiComm() const
Acquire an MPI tag from the Epetra range of 24050-24099, increment tag.
Definition: Epetra_MpiSmpComm.h:405
Epetra_DataAccess CV() const
Returns the data access mode of the this vector.
Definition: Epetra_LongLongSerialDenseVector.h:220
Epetra_SerialDenseMatrix * Matrix() const
Returns pointer to current matrix.
Definition: Epetra_SerialDenseSolver.h:281
int ** Pointers() const
Get pointer to individual vector pointers.
Definition: Epetra_IntMultiVector.h:714
int MaxNumNonzeros() const
Returns the maximum number of nonzero entries across all block rows on this processor.
Definition: Epetra_VbrMatrix.h:1017
void UpdateFlops(long long int Flops_in) const
Increment Flop count for this object from a long int.
Definition: Epetra_Flops.h:99
int N() const
Returns column dimension of system.
Definition: Epetra_SerialDenseMatrix.h:380
int ReferenceCount() const
Returns the reference count of MpiCommData.
Definition: Epetra_MpiComm.h:514
int NumRemoteIDs() const
Returns the number of elements that are not on the calling processor.
Definition: Epetra_Import.h:273
int Multiply(bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_MsrMatrix multiplied by a Epetra_MultiVector X in Y.
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().
Definition: Epetra_CombineMode.h:64
const Epetra_Export & RedistExporter() const
Returns const reference to the Epetra_Export object used to redistribute the original linear problem.
Definition: Epetra_LinearProblemRedistor.h:204
int NumProc() const
Returns total number of processes.
Definition: Epetra_MpiSmpComm.h:389
virtual bool ShouldEquilibrate()
Returns true if the LAPACK general rules for equilibration suggest you should equilibrate the system.
Definition: Epetra_SerialDenseSolver.h:259
double * A() const
Returns pointer to the this matrix.
Definition: Epetra_SerialDenseSolver.h:299
int NumMyDiagonals() const
Returns the number of diagonal entries in the local graph, based on global row/column index compariso...
Definition: Epetra_CrsGraph.h:620
virtual int Factor(void)
Computes the in-place LU factorization of the matrix using the LAPACK routine DGETRF.
void SetLower()
Specify that the lower triangle of the this matrix should be used.
Definition: Epetra_SerialSymDenseMatrix.h:215
const int * ProcsFrom() const
A list of procs sending values to this proc.
Definition: Epetra_MpiDistributor.h:280
int NumGlobalCols() const
Returns the number of global matrix columns.
Definition: Epetra_CrsMatrix.h:1086
int SetVectors(Epetra_SerialDenseMatrix &X, Epetra_SerialDenseMatrix &B)
Sets the pointers for left and right hand side vector(s).
virtual int ApplyInverse(const Epetra_SerialDenseMatrix &Xmat, Epetra_SerialDenseMatrix &Ymat)
Returns the result of a Epetra_SerialDenseOperator inverse applied to an Epetra_SerialDenseMatrix X i...
Definition: Epetra_SerialDenseSVD.h:421
Epetra_Map & operator=(const Epetra_Map &map)
Assignment Operator.
int LDB() const
Returns the leading dimension of the RHS.
Definition: Epetra_SerialDenseSVD.h:307
int GlobalMaxNumEntries() const
Returns the maximum number of nonzero entries across all rows on all processors.
Definition: Epetra_CrsMatrix.h:1139
int Reshape(int NumRows, int NumCols)
Reshape a Epetra_IntSerialDenseMatrix object.
int ExtractView(double **A, int *MyLDA) const
Set user-provided addresses of A and MyLDA.
bool NoRedundancies() const
If MergeRedundantEntries() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_CrsMatrix.h:1649
Definition: Epetra_DataAccess.h:57
int NumProc() const
Returns total number of processes.
Definition: Epetra_MpiComm.h:469
int RemoteIDList(int NumIDs, const int *GIDList, int *PIDList, int *LIDList) const
Returns the processor IDs and corresponding local index value for a given list of global indices.
Definition: Epetra_BlockMap.h:430
Epetra_SrcDistObject: A class for supporting flexible source distributed objects for import/export op...
Definition: Epetra_SrcDistObject.h:63
int Size(int Length_in)
Set length of a Epetra_LongLongSerialDenseVector object; init values to zero.
Definition: Epetra_LongLongSerialDenseVector.h:142
void UpdateFlops(int Flops_in) const
Increment Flop count for this object.
Definition: Epetra_CompObject.h:99
int SumIntoMyValues(int MyRow, int NumEntries, double *Values, int *Indices)
Add this list of entries to existing values for a given local row of the matrix. WARNING: this could ...
virtual int SetUseTranspose(bool UseTranspose_in)
If set true, transpose of this operator will be applied.
Definition: Epetra_SerialDenseMatrix.h:427
int InvColSums(Epetra_Vector &x) const
Computes the sum of absolute values of the columns of the Epetra_MsrMatrix, results returned in x.
virtual double NormOne() const
Computes the 1-Norm of the this matrix.
bool ConstantStride() const
Returns true if this multi-vector has constant stride between vectors.
Definition: Epetra_IntMultiVector.h:670
bool StaticGraph()
Returns true if the graph associated with this matrix was pre-constructed and therefore not changeabl...
Definition: Epetra_CrsMatrix.h:1160
bool LowerTriangular() const
If matrix is lower triangular, this query returns true, otherwise it returns false.
Definition: Epetra_MsrMatrix.h:213
const Epetra_Export & TransposeExporter() const
Returns const reference to the Epetra_Export object used to redistribute the original matrix.
Definition: Epetra_RowMatrixTransposer.h:140
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
int SetUseTranspose(bool UseTranspose_in)
If set true, transpose of this operator will be applied.
Definition: Epetra_VbrMatrix.h:1147
const Epetra_BlockMap & BlockImportMap() const
Use BlockColMap() instead.
Definition: Epetra_VbrMatrix.h:1271
virtual bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_SerialDenseMatrix.h:461
int RightScale(const Epetra_Vector &x)
Scales the Epetra_MsrMatrix on the right with a Epetra_Vector x.
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_InvOperator applied to a Epetra_MultiVector X in Y.
Definition: Epetra_InvOperator.h:106
virtual int ColDim() const
Returns the column dimension of operator.
Definition: Epetra_SerialDenseSVD.h:447
int SetMyThreadID(int ThreadID)
Set my thread ID.
Definition: Epetra_MpiSmpComm.h:446
const Epetra_BlockMap & Map() const
Returns the address of the Epetra_BlockMap for this multi-vector.
Definition: Epetra_DistObject.h:192
double AMAX() const
Returns the absolute value of the largest entry of the this matrix (returns -1 if not yet computed).
Definition: Epetra_SerialDenseSolver.h:345
double & operator()(int Index)
Element access function.
Definition: Epetra_SerialDenseVector.h:290
void Print(std::ostream &os) const
Print method that implements Epetra_Object virtual Print method.
Definition: Epetra_SerialComm.h:450
Epetra_BlockMap(int NumGlobalElements, int ElementSize, int IndexBase, const Epetra_Comm &Comm)
Epetra_BlockMap constructor for a Epetra-defined uniform linear distribution of constant size element...
void SetPDL(ProblemDifficultyLevel PDL)
Set problem difficulty level.
Definition: Epetra_LinearProblem.h:119
Definition: Epetra_FECrsMatrix.h:120
Epetra_IntSerialDenseMatrix & operator=(const Epetra_IntSerialDenseMatrix &Source)
Copy from one matrix to another.
int MatTransMatMultiply(bool ATA, const Epetra_Vector &x, Epetra_Vector &y, Epetra_Vector *t, double Alpha=1.0, double Beta=0.0) const
Performs two matrix vector multiplies of y = Alpha*this^TransA*this*x + Beta*y or y = Alpha*this*this...
int NumMyEntries() const
Returns the number of entries on this processor.
Definition: Epetra_CrsGraph.h:690
int GCID(int LCID_in) const
Returns the global column index for give local column index, returns IndexBase-1 if we don't have thi...
Definition: Epetra_VbrMatrix.h:1089
Definition: Epetra_BlockMapData.h:57
int MaxMyElementSize() const
Maximum element size on the calling processor.
Definition: Epetra_BlockMap.h:611
int MakeDataContiguous()
Eliminates memory that is used for construction. Make consecutive row index sections contiguous.
Definition: Epetra_CrsMatrix.h:718
bool UpperTriangular() const
If graph is upper triangular in local index space, this query returns true, otherwise it returns fals...
Definition: Epetra_CrsGraph.h:526
virtual int NumMyRowEntries(int MyRow, int &NumEntries) const =0
Returns the number of nonzero entries in MyRow.
virtual int ReciprocalConditionEstimate(double &Value)
Returns the reciprocal of the 1-norm condition number of the this matrix.
void SolveToRefinedSolution(bool Flag)
Causes all solves to compute solution to best ability using iterative refinement.
Definition: Epetra_SerialDenseSolver.h:172
virtual int Broadcast(double *MyVals, int Count, int Root) const =0
Epetra_Comm Broadcast function.
int MinMyGID() const
Returns the minimum global ID owned by this processor.
Definition: Epetra_BlockMap.h:517
double NormOne() const
Computes the 1-Norm of the this matrix.
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.
virtual int NumMyRowEntries(int MyRow, int &NumEntries) const =0
Return the current number of values stored for the specified local row.
bool IndicesAreLocal() const
If column indices are in local range, this query returns true, otherwise it returns false.
Definition: Epetra_CrsGraph.h:514
virtual int MinAll(double *PartialMins, double *GlobalMins, int Count) const =0
Epetra_Comm Global Min function.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this graph.
Definition: Epetra_CrsGraph.h:851
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this matrix operator.
Definition: Epetra_CrsMatrix.h:1403
Epetra_BasicDirectory(const Epetra_BlockMap &Map)
Epetra_BasicDirectory constructor.
int LID(int GID) const
Returns local ID of global ID, return -1 if not found on this processor.
int CreateRedistProblem(const bool ConstructTranspose, const bool MakeDataContiguous, Epetra_LinearProblem *&RedistProblem)
Generate a new Epetra_LinearProblem as a redistribution of the one passed into the constructor.
int SetMatrix(Epetra_SerialDenseMatrix &A)
Sets the pointers for coefficient matrix.
double * A() const
Returns pointer to the this matrix.
Definition: Epetra_SerialDenseSVD.h:298
bool HasNormInf() const
Returns true because this class can compute an Inf-norm.
Definition: Epetra_VbrMatrix.h:1177
bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_FastCrsMatrix.h:131
bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_CrsMatrix.h:1400
Epetra_Util()
Epetra_Util Constructor.
Definition: Epetra_Util.h:261
int Shape(int NumRowsCols)
Set dimensions of a Epetra_SerialSymDenseMatrix object; init values to zero.
Definition: Epetra_SerialSymDenseMatrix.h:192
Definition: Epetra_CombineMode.h:71
int RightScale(const Epetra_Vector &x)
Scales the Epetra_VbrMatrix on the right with a Epetra_Vector x.
int Stride() const
Returns the stride between vectors in the multi-vector (only meaningful if ConstantStride() is true).
Definition: Epetra_IntMultiVector.h:667
const char * Label() const
Returns a character std::string describing the operator.
Definition: Epetra_InvOperator.h:131
Epetra_LocalMap & operator=(const Epetra_LocalMap &map)
Assignment Operator.
bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_InvOperator.h:138
bool ShouldEquilibrate()
Returns true if the LAPACK general rules for equilibration suggest you should equilibrate the system.
Definition: Epetra_SerialSpdDenseSolver.h:240
MPI implementation of Epetra_Distributor.
Definition: Epetra_MpiDistributor.h:59
virtual void Barrier() const =0
Epetra_Comm Barrier function.
virtual int ComputeEquilibrateScaling(void)
Computes the scaling vector S(i) = 1/sqrt(A(i,i)) of the this matrix.
virtual int NumGlobalRows() const
Returns the number of global matrix rows.
Definition: Epetra_BasicRowMatrix.h:356
const Epetra_BlockMap & DomainMap() const
Returns the Epetra_BlockMap object associated with the domain of this matrix operator.
Definition: Epetra_VbrMatrix.h:1045
int GRID(int LRID_in) const
Returns the global row index for give local row index, returns IndexBase-1 if we don't have this loca...
Definition: Epetra_CrsGraph.h:874
long long & operator()(int RowIndex, int ColIndex)
Element access function.
Definition: Epetra_LongLongSerialDenseMatrix.h:367
bool UpperTriangular() const
If matrix is upper triangular, this query returns true, otherwise it returns false.
Definition: Epetra_MsrMatrix.h:216
int GCID(int LCID_in) const
Returns the global column index for give local column index, returns IndexBase-1 if we don't have thi...
Definition: Epetra_CrsGraph.h:905
void setIgnoreNonLocalEntries(bool flag)
Definition: Epetra_FECrsMatrix.h:740
Epetra_SerialDenseSVD()
Default constructor; matrix should be set using SetMatrix(), LHS and RHS set with SetVectors().
Definition: Epetra_CombineMode.h:83
int NumMyRows() const
Returns the number of matrix rows owned by the calling processor.
Definition: Epetra_VbrMatrix.h:918
double * A() const
Returns pointer to the this matrix.
Definition: Epetra_SerialDenseMatrix.h:383
int NumSend() const
Total number of elements to be sent.
Definition: Epetra_Import.h:288
int MaxElementSize() const
Maximum element size across all processors.
Definition: Epetra_BlockMap.h:617
int CreateFromRecvs(const int &NumRemoteIDs, const int *RemoteGIDs, const int *RemotePIDs, bool Deterministic, int &NumExportIDs, int *&ExportGIDs, int *&ExportPIDs)
Create a communication plan from receive list.
Definition: Epetra_FEVector.h:78
int NumRemoteIDs() const
Returns the number of elements that are not on the calling processor.
Definition: Epetra_Export.h:254
int NumMyCols() const
Returns the number of matrix columns owned by the calling processor.
Definition: Epetra_VbrMatrix.h:920
virtual int Solve(void)
Computes the solution X to AX = B for the this matrix and the B provided to SetVectors()....
const Epetra_BlockMap & RowMap() const
Returns the RowMap object as an Epetra_BlockMap (the Epetra_Map base class) needed for implementing E...
Definition: Epetra_VbrMatrix.h:1051
virtual ~Epetra_Util()
Epetra_Util Destructor.
Definition: Epetra_Util.h:265
Epetra_IntVector: A class for constructing and using dense integer vectors on a parallel computer.
Definition: Epetra_IntVector.h:124
virtual int GatherAll(double *MyVals, double *AllVals, int Count) const =0
Epetra_Comm All Gather function.
int DoReverseWaits()
Wait on a reverse set of posts.
bool Sorted() const
If SortEntries() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_CrsMatrix.h:1643
int NumMyNonzeros() const
Returns the number of nonzero entriesowned by the calling processor .
Definition: Epetra_VbrMatrix.h:923
void setIgnoreNonLocalEntries(bool flag)
Definition: Epetra_FEVector.h:260
Definition: Epetra_DataAccess.h:55
int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_MsrMatrix multiplied by a Epetra_MultiVector X in Y.
void UpdateFlops(double Flops_in) const
Increment Flop count for this object.
Definition: Epetra_CompObject.h:108
int NRHS() const
Returns the number of current right hand sides and solution vectors.
Definition: Epetra_SerialDenseSVD.h:310
bool UpperTriangular() const
If matrix is upper triangular in local index space, this query returns true, otherwise it returns fal...
Definition: Epetra_VbrMatrix.h:873
const Epetra_Map & TransposeRowMap() const
Returns const reference to the Epetra_Map object describing the row distribution of the transpose mat...
Definition: Epetra_RowMatrixTransposer.h:134
int DoPosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Post buffer of export objects (can do other local work before executing Waits)
int GlobalAssemble(bool callFillComplete=true, Epetra_CombineMode combineMode=Add, bool save_off_and_reuse_map_exporter=false)
int UnequilibrateLHS(void)
Unscales the solution vectors if equilibration was used to solve the system.
int NumPermuteIDs() const
Returns the number of elements that are local to the calling processor, but not part of the first Num...
Definition: Epetra_Import.h:265
virtual double NormInf() const =0
Returns the infinity norm of the global matrix.
double & operator()(int RowIndex, int ColIndex)
Element access function.
Definition: Epetra_SerialDenseMatrix.h:499
const Epetra_BlockMap & Map() const
Map() method inherited from Epetra_DistObject.
Definition: Epetra_VbrMatrix.h:1251
virtual ~Epetra_SerialDistributor()
Epetra_Comm Destructor.
bool DistributedGlobal() const
Returns true if this multi-vector is distributed global, i.e., not local replicated.
Definition: Epetra_DistObject.h:198
void Close()
Finalizes the use of OSKI.
int NumGlobalBlockCols() const
Returns the number of global Block matrix columns.
Definition: Epetra_VbrMatrix.h:972
int MakeViewOf(const Epetra_IntSerialDenseMatrix &Source)
Reset an existing IntSerialDenseMatrix to point to another Matrix.
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y.
int Solve(bool Upper, bool TransA, bool UnitDiagonal, const Epetra_Vector &x, Epetra_Vector &y) const
Performs a triangular solve of y = (this^TransA)^-1*x where this is a triangular matrix.
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this operator (same as domain).
Definition: Epetra_MsrMatrix.h:284
void SetUpper()
Specify that the upper triangle of the this matrix should be used.
Definition: Epetra_SerialSymDenseMatrix.h:218
virtual bool HasNormInf() const =0
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
int UpdateRedistProblemValues(Epetra_LinearProblem *ProblemWithNewValues)
Update the values of an already-redistributed problem.
double AMAX()
Returns the absolute value of the largest entry of the this matrix (returns -1 if not yet computed).
Definition: Epetra_SerialSpdDenseSolver.h:262
Epetra_Import_Util: The Epetra ImportUtil Wrapper Namespace.
Definition: Epetra_Import_Util.h:61
int ExtractMyEntryView(int CurEntry, double const *&Value, int &RowIndex, int &ColIndex) const
Returns a const reference to the ith entry in the matrix, along with its row and column index.
Definition: Epetra_VbrRowMatrix.h:149
int BeginReplaceGlobalValues(int BlockRow, int NumBlockEntries, int *BlockIndices)
Initiate replacement of current values with this list of entries for a given global row of the matrix...
virtual const char * Label() const
Epetra_Object Label access funtion.
Epetra_BasicDirectory: This class allows Epetra_Map objects to reference non-local elements.
Definition: Epetra_BasicDirectory.h:63
int DoPosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Post buffer of export objects (can do other local work before executing Waits)
virtual int DoWaits()=0
Wait on a set of posts.
const long long * Values() const
Returns const pointer to the values in vector.
Definition: Epetra_LongLongSerialDenseVector.h:217
virtual ~Epetra_LAPACK(void)
Epetra_LAPACK Destructor.
Definition: Epetra_LAPACK.h:429
Epetra_LongLongSerialDenseVector: A class for constructing and using dense vectors.
Definition: Epetra_LongLongSerialDenseVector.h:90
int GCID(int LCID_in) const
Returns the global column index for give local column index, returns IndexBase-1 if we don't have thi...
Definition: Epetra_CrsMatrix.h:1297
double * B() const
Returns pointer to current RHS.
Definition: Epetra_SerialDenseSVD.h:304
const Epetra_Import * RowMatrixImporter() const
Returns the Epetra_Import object that contains the import operations for distributed operations.
Definition: Epetra_VbrMatrix.h:1262
Epetra_BLAS(void)
Epetra_BLAS Constructor.
Definition: Epetra_BLAS.h:179
int NumMyRowEntries(int MyRow, int &NumEntries) const
Return the current number of values stored for the specified local row.
char * GetMatrixTransforms() const
Returns a string holding the transformations performed on the matrix when it was tuned.
virtual int ApplyRefinement(void)
Apply Iterative Refinement.
virtual const Epetra_Import * RowMatrixImporter() const
Returns the Epetra_Import object that contains the import operations for distributed operations.
Definition: Epetra_BasicRowMatrix.h:421
int LDX() const
Returns the leading dimension of the solution.
Definition: Epetra_SerialDenseSolver.h:317
void UpdateFlops(double Flops_in) const
Increment Flop count for this object from a double.
Definition: Epetra_Flops.h:101
virtual int ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const =0
Returns a copy of the specified local row in user-provided arrays.
int * Values()
Returns pointer to the values in vector.
Definition: Epetra_IntSerialDenseVector.h:211
bool LinearMap() const
Returns true if the global ID space is contiguously divided (but not necessarily uniformly) across al...
Definition: Epetra_BlockMap.h:691
Epetra_Map * ReplaceCommWithSubset(const Epetra_Comm *Comm) const
Replace this Map's communicator with a subset communicator.
int * ListOfColors() const
Array of length NumColors() containing List of color values used in this coloring.
Definition: Epetra_MapColoring.h:203
int UpdateRedistRHS(Epetra_MultiVector *RHSWithNewValues)
Update the values of an already-redistributed RHS.
bool B_Equilibrated()
Returns true if RHS is equilibrated (RHS available via B() and LDB()).
Definition: Epetra_SerialDenseSolver.h:256
Definition: Epetra_CombineMode.h:77
int NumGlobalElements() const
Number of elements across all processors.
Definition: Epetra_BlockMap.h:546
int MaxNumNonzeros() const
Returns the maximum number of nonzero points across all rows on this processor.
Definition: Epetra_CrsGraph.h:749
int MyLength() const
Returns the local vector length on the calling processor of vectors in the multi-vector.
Definition: Epetra_LongLongVector.h:252
int MyPID() const
Return my process ID.
Definition: Epetra_MpiSmpComm.h:383
int M() const
Returns row dimension of system.
Definition: Epetra_LongLongSerialDenseMatrix.h:303
Epetra_Comm: The Epetra Communication Abstract Base Class.
Definition: Epetra_Comm.h:73
int NumMyDiagonals() const
Returns the number of local nonzero diagonal entries, based on global row/column index comparisons.
Definition: Epetra_CrsMatrix.h:1121
int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_JadMatrix solve with a Epetra_MultiVector X in Y (not implemented).
Definition: Epetra_JadMatrix.h:197
bool Upper() const
Returns true if upper triangle of this matrix has and will be used.
Definition: Epetra_SerialSymDenseMatrix.h:225
int MyPID() const
Return my process ID.
Definition: Epetra_SerialComm.h:432
virtual bool UpperTriangular() const
If matrix is upper triangular, this query returns true, otherwise it returns false.
Definition: Epetra_BasicRowMatrix.h:308
virtual const char * Label() const
Returns a character string describing the operator.
Definition: Epetra_SerialDenseSVD.h:435
void GetLastDoStatistics(int &bytes_sent, int &bytes_recvd) const
Information on the last call to Do/DoReverse.
Definition: Epetra_MpiDistributor.h:296
Epetra_IntMultiVector: A class for constructing and using dense multi-vectors, vectors and matrices i...
Definition: Epetra_IntMultiVector.h:179
int LeftScale(const Epetra_Vector &x)
Scales the Epetra_MsrMatrix on the left with a Epetra_Vector x.
bool GlobalIndicesLongLong() const
Returns true if map create with long long NumGlobalElements.
Definition: Epetra_BlockMap.h:655
const Epetra_Vector * Epetra_View() const
Returns a view to the Epetra Object.
int ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const
Returns a copy of the specified local row in user-provided arrays.
Definition: Epetra_VbrRowMatrix.h:121
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this matrix operator.
Definition: Epetra_FastCrsMatrix.h:134
int LDB() const
Returns the leading dimension of the RHS.
Definition: Epetra_SerialDenseSolver.h:308
int NumMyBlockRows() const
Returns the number of Block matrix rows owned by the calling processor.
Definition: Epetra_VbrMatrix.h:950
virtual int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_RowMatrix applied to a Epetra_MultiVector X in Y.
Definition: Epetra_BasicRowMatrix.h:459
virtual double InfNorm() const
Computes the Infinity-Norm of the this matrix (identical to NormInf() method).
Definition: Epetra_SerialDenseMatrix.h:411
virtual ~Epetra_Directory()
Epetra_Directory destructor.
Definition: Epetra_Directory.h:66
int * ExportPIDs() const
List of processors to which elements will be sent, ExportLIDs() [i] will be sent to processor ExportP...
Definition: Epetra_Import.h:285
bool NoRedundancies() const
If RemoveRedundantIndices() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_CrsGraph.h:1113
int NumMyBlockDiagonals() const
Returns the number of Block diagonal entries in the local graph, based on global row/column index com...
Definition: Epetra_CrsGraph.h:658
void UpdateFlops(long int Flops_in) const
Increment Flop count for this object.
Definition: Epetra_CompObject.h:102
int ExtractHbData(int &M, int &N, int &nz, int *&ptr, int *&ind, double *&val, int &Nrhs, double *&rhs, int &ldrhs, double *&lhs, int &ldlhs) const
Extract the redistributed problem data in a form usable for other codes that require Harwell-Boeing f...
int NumSameIDs() const
Returns the number of elements that are identical between the source and target maps,...
Definition: Epetra_Export.h:243
virtual int RightScale(const Epetra_Vector &x)=0
Scales the Epetra_RowMatrix on the right with a Epetra_Vector x.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this operator.
Definition: Epetra_InvOperator.h:144
int MaxRowDim() const
Returns the max row dimension of block entries on the processor.
Definition: Epetra_CrsGraph.h:695
virtual bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_MsrMatrix.h:366
Epetra_CrsGraphData: The Epetra CrsGraph Data Class.
Definition: Epetra_CrsGraphData.h:68
int NumMyRows() const
Returns the number of matrix rows owned by the calling processor.
Definition: Epetra_CrsMatrix.h:1108
virtual int ReplaceGlobalValues(int GlobalRow, int NumEntries, const double *Values, const int *Indices)
Replace specified existing values with this list of entries for a given global row of the matrix.
int NumProc() const
Returns total number of processes (always returns 1 for SerialComm).
Definition: Epetra_SerialComm.h:435
virtual int ApplyInverse(const Epetra_SerialDenseMatrix &X, Epetra_SerialDenseMatrix &Y)
Returns the result of a Epetra_SerialDenseOperator inverse applied to an Epetra_SerialDenseMatrix X i...
Definition: Epetra_SerialDenseMatrix.h:450
int MaxMyGID() const
Returns the maximum global ID owned by this processor.
Definition: Epetra_BlockMap.h:527
const Epetra_OskiPermutation & ViewRowPermutation() const
Returns a read only row/left permutation of the Matrix.
int & operator[](int Index)
Element access function.
Definition: Epetra_IntSerialDenseVector.h:282
virtual const Epetra_Map & RowMatrixRowMap() const =0
Returns the Epetra_Map object associated with the rows of this matrix.
const Epetra_CrsGraph & Graph() const
Returns a reference to the Epetra_CrsGraph object associated with this matrix.
Definition: Epetra_CrsMatrix.h:1163
Definition: Epetra_CombineMode.h:66
Epetra_Flops: The Epetra Floating Point Operations Class.
Definition: Epetra_Flops.h:58
int MyLength() const
Returns the local vector length on the calling processor of vectors in the multi-vector.
Definition: Epetra_IntVector.h:250
Epetra_GIDTypeVector: A class for constructing and using dense "int" and "long long" vectors on a par...
Definition: Epetra_GIDTypeVector.h:59
const Epetra_Import * Importer() const
Returns the Importer associated with this graph.
Definition: Epetra_CrsGraph.h:845
Epetra_OskiVector & operator=(const Epetra_OskiVector &Source)
Sets this equal to Source.
bool ConstantStride() const
Returns true if this multi-vector has constant stride between vectors.
Definition: Epetra_MultiVector.h:944
virtual ~Epetra_BlockMap(void)
Epetra_BlockMap destructor.
int NumGlobalEntries() const
Returns the number of entries in the global graph.
Definition: Epetra_CrsGraph.h:678
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y.
Definition: Epetra_MsrMatrix.h:358
Definition: Epetra_CombineMode.h:68
int NumAllocatedMyEntries(int Row) const
Returns the allocated number of nonzero entries in specified local row on this processor.
Definition: Epetra_CrsMatrix.h:1145
Epetra_SerialDenseMatrix * RHS() const
Returns pointer to current RHS.
Definition: Epetra_SerialDenseSVD.h:289
bool MyLCID(int LCID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_VbrMatrix.h:1113
int LCID(int GCID_in) const
Returns the local column index for given global column index, returns -1 if no local column for this ...
Definition: Epetra_CrsMatrix.h:1286
int GlobalLength() const
Returns the global vector length of vectors in the multi-vector.
Definition: Epetra_IntVector.h:254
const char * Label() const
Returns a character string describing the operator.
Definition: Epetra_VbrMatrix.h:1135
bool Factored()
Returns true if matrix is factored (factor available via AF() and LDAF()).
Definition: Epetra_SerialDenseSVD.h:239
Epetra_CrsMatrix: A class for constructing and using real-valued double-precision sparse compressed r...
Definition: Epetra_CrsMatrix.h:173
Epetra_DataAccess Mode enumerable type.
int SetMatrix(Epetra_SerialDenseMatrix &A)
Sets the pointers for coefficient matrix.
const Epetra_MultiVector * Epetra_View() const
Returns the Epetra portion of the Multi-Vector.
char * Label() const
Returns a character string describing the operator.
Definition: Epetra_FastCrsMatrix.h:85
int ReplaceMyValues(int MyRow, int NumEntries, double *Values, int *Indices)
Replace current values with this list of entries for a given local row of the matrix....
bool Inverted()
Returns true if matrix inverse has been computed (inverse available via AF() and LDAF()).
Definition: Epetra_SerialDenseSVD.h:258
bool LowerTriangular() const
If matrix is lower triangular, this query returns true, otherwise it returns false.
Definition: Epetra_BasicRowMatrix.h:305
bool operator!=(const Epetra_SerialDenseMatrix &rhs) const
Inequality operator.
Definition: Epetra_SerialDenseMatrix.h:304
void UpdateFlops(long int Flops_in) const
Increment Flop count for this object from a long int.
Definition: Epetra_Flops.h:97
bool PointSameAs(const Epetra_BlockMap &Map) const
Returns true if this and Map have identical point-wise structure.
Epetra_Combine Mode enumerable type.
int DoReversePosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Do reverse post of buffer of export objects (can do other local work before executing Waits)
bool Filled() const
If FillComplete() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_CrsMatrix.h:1007
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
long long * A()
Returns pointer to the this matrix.
Definition: Epetra_LongLongSerialDenseMatrix.h:312
bool MyGCID(int GCID_in) const
Returns true if the GCID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsMatrix.h:1321
Epetra_SerialDenseMatrix * FactoredMatrix() const
Returns pointer to factored matrix (assuming factorization has been performed).
Definition: Epetra_SerialDenseSolver.h:284
double ** Pointers() const
Get pointer to individual vector pointers.
Definition: Epetra_MultiVector.h:988
int Resize(int Length_in)
Resize a Epetra_SerialDenseVector object.
Definition: Epetra_SerialDenseVector.h:171
bool Transpose()
Returns true if transpose of this matrix has and will be used.
Definition: Epetra_SerialDenseSVD.h:236
virtual double NormInf() const
Returns the infinity norm of the global matrix.
Definition: Epetra_SerialDenseSVD.h:432
int BeginSumIntoGlobalValues(int BlockRow, int NumBlockEntries, int *BlockIndices)
Initiate summing into current values with this list of entries for a given global row of the matrix,...
int TuneMatrix()
Tunes the matrix multiply if its deemed profitable.
int SetSeed(unsigned int Seed_in)
Set seed for Random function.
Definition: Epetra_MultiVector.h:870
Epetra_JadMatrix: A class for constructing matrix objects optimized for common kernels.
Definition: Epetra_JadMatrix.h:68
virtual Epetra_Distributor * ReverseClone()=0
Create and extract the reverse version of the distributor.
double ANORM() const
Returns the 1-Norm of the this matrix (returns -1 if not yet computed).
Definition: Epetra_SerialDenseSVD.h:339
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this operator.
Definition: Epetra_MsrMatrix.h:281
const Epetra_Map & RowMatrixRowMap() const
Returns the Row Map object needed for implementing Epetra_RowMatrix.
Definition: Epetra_MsrMatrix.h:290
int NumMyPoints() const
Number of local points for this map; equals the sum of all element sizes on the calling processor.
Definition: Epetra_BlockMap.h:605
int Multiply(bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_VbrMatrix multiplied by a Epetra_MultiVector X in Y.
int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_Vector &x, Epetra_Vector &y) const
Returns the result of a solve using the Epetra_VbrMatrix on a Epetra_Vector x in y.
void ReplacePermutation(const oski_perm_t &InPerm)
Stores a permutation in the data structure.
virtual ~Epetra_OskiPermutation()
Destructor.
int M() const
Returns row dimension of system.
Definition: Epetra_SerialDenseSVD.h:292
void SetOperator(Epetra_RowMatrix *A)
Set Operator A of linear problem AX = B using an Epetra_RowMatrix.
Definition: Epetra_LinearProblem.h:124
MPI_Comm Comm() const
Extract MPI Communicator from a Epetra_MpiComm object.
Definition: Epetra_MpiComm.h:457
double NormInf() const
Returns the infinity norm of the global matrix.
Definition: Epetra_FastCrsMatrix.h:103
int CreateFromSendsAndRecvs(const int &NumExportIDs, const int *ExportPIDs, const int &NumRemoteIDs, const int *RemoteGIDs, const int *RemotePIDs, bool Deterministic)
Create a communication plan from send list and a recv list.
const Epetra_Comm & Comm() const
Fills a matrix with rows from a source matrix based on the specified importer.
Definition: Epetra_VbrMatrix.h:1059
int ApplyMatrixTransforms(const char *Transforms)
Replaces the current data structure of the matrix with the one specified in Transforms.
int NumGlobalDiagonals() const
Returns the number of global nonzero diagonal entries, based on global row/column index comparisons.
Definition: Epetra_CrsMatrix.h:1096
int M() const
Returns row dimension of system.
Definition: Epetra_SerialDenseSolver.h:293
bool Sorted() const
If SortEntries() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_VbrMatrix.h:1396
const int * ProcsTo() const
A list of procs to which this proc is sending values.
Definition: Epetra_MpiDistributor.h:283
int MaxNumIndices() const
Returns the maximum number of nonzero entries across all rows on this processor.
Definition: Epetra_CrsGraph.h:731
virtual int DoReverse(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)=0
Execute reverse of plan on buffer of export objects in a single step.
int SetHint(const Teuchos::ParameterList &List)
Stores the hints in List in the matrix structure.
long long GlobalLength64() const
Returns the global vector length of vectors in the multi-vector.
Definition: Epetra_LongLongVector.h:255
virtual int Apply(const Epetra_SerialDenseMatrix &Xmat, Epetra_SerialDenseMatrix &Ymat)
Returns the result of a Epetra_SerialDenseOperator applied to a Epetra_SerialDenseMatrix X in Y.
Definition: Epetra_SerialDenseSVD.h:408
const int * Values() const
Returns const pointer to the values in vector.
Definition: Epetra_IntSerialDenseVector.h:214
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_BlockMap object associated with the domain of this matrix operator.
Definition: Epetra_InvOperator.h:147
int RightScale(const Epetra_Vector &x)
Scales the Epetra_VbrMatrix on the right with a Epetra_Vector x.
Definition: Epetra_VbrRowMatrix.h:181
Epetra_LinearProblemRedistor(Epetra_LinearProblem *OrigProblem, const Epetra_Map &RedistMap)
Epetra_LinearProblemRedistor constructor using pre-defined layout.
int NumGlobalBlockEntries() const
Returns the number of nonzero block entries in the global matrix.
Definition: Epetra_VbrMatrix.h:978
void SetOperator(Epetra_Operator *A)
Set Operator A of linear problem AX = B using an Epetra_Operator.
Definition: Epetra_LinearProblem.h:130
int NumSends() const
The number of procs to which we will send data.
Definition: Epetra_MpiDistributor.h:271
const Epetra_Map & ColMap() const
Returns the Epetra_Map object that describes the set of column-indices that appear in each processor'...
Definition: Epetra_CrsMatrix.h:1230
virtual int ScanSum(double *MyVals, double *ScanSums, int Count) const =0
Epetra_Comm Scan Sum function.
bool HasNormInf() const
Returns true because this class can compute an Inf-norm.
Definition: Epetra_CrsMatrix.h:1397
bool MyGRID(int GRID_in) const
Returns true if the GRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsGraph.h:918
virtual int NumGlobalCols() const
Returns the number of global matrix columns.
Definition: Epetra_BasicRowMatrix.h:368
virtual bool HasNormInf() const
Returns true because this class can compute an Inf-norm.
Definition: Epetra_MsrMatrix.h:363
const Epetra_Map & RowMatrixRowMap() const
Returns the Epetra_Map object associated with the rows of this matrix.
Definition: Epetra_CrsMatrix.h:1436
Epetra_SerialCommData: The Epetra Serial Communication Data Class.
Definition: Epetra_SerialCommData.h:55
int NumMyBlockCols() const
Returns the number of Block matrix columns owned by the calling processor.
Definition: Epetra_VbrMatrix.h:953
int Shape(int NumRows, int NumCols)
Set dimensions of a Epetra_IntSerialDenseMatrix object; init values to zero.
int Reshape(int NumRowsCols)
Reshape a Epetra_SerialSymDenseMatrix object.
Definition: Epetra_SerialSymDenseMatrix.h:211
virtual const Epetra_BlockMap & Map() const
Implement the Epetra_SrcDistObjec::Map() function.
Definition: Epetra_BasicRowMatrix.h:412
int ReplaceDiagonalValues(const Epetra_OskiVector &Diagonal)
Replaces diagonal values of the matrix with those in the user-provided vector.
int NumMyCols() const
Returns the number of entries in the set of column-indices that appear on this processor.
Definition: Epetra_CrsMatrix.h:1115
virtual int NumGlobalNonzeros() const
Returns the number of nonzero entries in the global matrix.
Definition: Epetra_BasicRowMatrix.h:342
const Epetra_Map & RowMatrixColMap() const
Returns the Epetra_Map object associated with columns of this matrix.
Definition: Epetra_CrsMatrix.h:1439
int MaxRowDim() const
Returns the maximum row dimension of all block entries on this processor.
Definition: Epetra_VbrMatrix.h:906
bool NoDiagonal() const
If graph has no diagonal entries in global index space, this query returns true, otherwise it returns...
Definition: Epetra_CrsGraph.h:532
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this matrix.
Definition: Epetra_CrsMatrix.h:1251
int Size(int Length_in)
Set length of a Epetra_SerialDenseVector object; init values to zero.
Definition: Epetra_SerialDenseVector.h:157
bool MyLID(int lid) const
Returns true if the LID passed in belongs to the calling processor in this map, otherwise returns fal...
Definition: Epetra_BlockMap.h:487
int NumGlobalNonzeros() const
Returns the number of indices in the global graph.
Definition: Epetra_CrsGraph.h:595
const Epetra_Map & RangeMap() const
Returns the Epetra_Map object associated with the range of this matrix operator.
Definition: Epetra_CrsMatrix.h:1242
void UpdateFlops(float Flops_in) const
Increment Flop count for this object.
Definition: Epetra_CompObject.h:111
Epetra_DataAccess CV() const
Returns the data access mode of the this matrix.
Definition: Epetra_LongLongSerialDenseMatrix.h:318
long long * Values() const
Returns a pointer to an array containing the values of this vector.
Definition: Epetra_LongLongVector.h:249
double * FERR() const
Returns a pointer to the forward error estimates computed by LAPACK.
Definition: Epetra_SerialDenseSolver.h:348
virtual int SetUseTranspose(bool use_transpose)
If set true, transpose of this operator will be applied.
Definition: Epetra_SerialDenseSVD.h:397
Epetra_IntSerialDenseMatrix: A class for constructing and using general dense integer matrices.
Definition: Epetra_IntSerialDenseMatrix.h:117
int CreateFromSends(const int &NumExportIDs, const int *ExportPIDs, bool Deterministic, int &NumRemoteIDs)
Create Distributor object using list of process IDs to which we export.
int MaxColDim() const
Returns the maximum column dimension of all block entries on this processor.
Definition: Epetra_VbrMatrix.h:909
double Flops() const
Returns the number of floating point operations with this multi-vector.
Definition: Epetra_CompObject.h:93
double * X() const
Returns pointer to current solution.
Definition: Epetra_SerialDenseSolver.h:314
virtual bool Filled() const
If FillComplete() has been called, this query returns true, otherwise it returns false,...
Definition: Epetra_BasicRowMatrix.h:302
int DoReverse(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Execute reverse of plan on buffer of export objects in a single step.
virtual int NumMyRows() const
Returns the number of matrix rows owned by the calling processor.
Definition: Epetra_BasicRowMatrix.h:394
int GID(int LID) const
Returns global ID of local ID, return IndexBase-1 if not found on this processor.
virtual const Epetra_Import * Importer() const
Returns the Epetra_Import object that contains the import operations for distributed operations,...
Definition: Epetra_BasicRowMatrix.h:499
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this matrix operator.
Definition: Epetra_VbrMatrix.h:1191
void SortGhostsAssociatedWithEachProcessor(bool Flag)
Forces FillComplete() to locally order ghostnodes associated with each remote processor in ascending ...
Definition: Epetra_CrsGraph.h:1018
virtual const char * Label() const
Returns a character string describing the operator.
Definition: Epetra_SerialDenseMatrix.h:458
Epetra_BlockMapData: The Epetra BlockMap Data Class.
Definition: Epetra_BlockMapData.h:65
int GlobalLength() const
Returns the global vector length of vectors in the multi-vector.
Definition: Epetra_MultiVector.h:932
Epetra_RowMatrix: A pure virtual class for using real-valued double-precision row matrices.
Definition: Epetra_RowMatrix.h:68
virtual int ColDim() const
Returns the column dimension of operator.
Definition: Epetra_SerialDenseMatrix.h:470
int InvRowSums(Epetra_Vector &x) const
Computes the sum of absolute values of the rows of the Epetra_MsrMatrix, results returned in x.
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_BlockMap object associated with the range of this matrix operator.
Definition: Epetra_InvOperator.h:154
bool IndicesAreContiguous() const
If matrix indices are packed into single array (done in OptimizeStorage()) return true,...
Definition: Epetra_CrsMatrix.h:1019
void SolveWithTranspose(bool Flag)
Causes equilibration to be called just before the matrix factorization as part of the call to Factor.
Definition: Epetra_SerialDenseSVD.h:149
virtual ~Epetra_BLAS(void)
Epetra_BLAS Destructor.
Definition: Epetra_BLAS.h:183
Epetra_MpiCommData: The Epetra Mpi Communication Data Class.
Definition: Epetra_MpiCommData.h:56
int MyLength() const
Returns the local vector length on the calling processor of vectors in the multi-vector.
Definition: Epetra_IntMultiVector.h:654
Epetra_Export * exporter_
Export object that sums nonlocal data into a nonoverlapping distribution.
Definition: Epetra_FEVector.h:336
Epetra_DataAccess
Definition: Epetra_DataAccess.h:55
double * AF() const
Returns pointer to the factored matrix (may be the same as A() if factorization done in place).
Definition: Epetra_SerialDenseSolver.h:320
bool UniqueGIDs() const
Returns true if map GIDs are 1-to-1.
Definition: Epetra_BlockMap.h:628
Epetra_BlockMap * ReplaceCommWithSubset(const Epetra_Comm *Comm) const
Replace this BlockMap's communicator with a subset communicator.
int * ElementColors() const
Returns pointer to array of the colors associated with the LIDs on the calling processor.
Definition: Epetra_MapColoring.h:222
virtual bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_BasicRowMatrix.h:483
Epetra_OskiError: The Epetra OSKI Class to provide access to get and set error handling routines in O...
Definition: Epetra_OskiError.h:55
int * Values() const
Get pointer to MultiVector values.
Definition: Epetra_IntMultiVector.h:711
double ROWCND() const
Ratio of smallest to largest row scale factors for the this matrix (returns -1 if not yet computed).
Definition: Epetra_SerialDenseSolver.h:337
int UnpackWithOwningPIDsCount(const Epetra_CrsMatrix &SourceMatrix, int NumSameIDs, int NumRemoteIDs, const int *RemoteLIDs, int NumPermuteIDs, const int *PermuteToLIDs, const int *PermuteFromLIDs, int LenImports, char *Imports)
UnpackWithOwningPIDsCount.
int MatPowMultiply(bool TransA, const Epetra_Vector &x, Epetra_Vector &y, Epetra_MultiVector &T, int Power=2, double Alpha=1.0, double Beta=0.0) const
Performs a matrix vector multiply of y = Alpha*(this^TransA)^Power*x + Beta*y. This is not implemente...
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y.
Definition: Epetra_CrsMatrix.h:1393
Epetra_Distributor * ReverseClone()
Create and extract the reverse version of the distributor.
Epetra_OskiMultiVector & operator=(const Epetra_OskiMultiVector &Source)
Sets this equal to Source.
virtual double NormInf() const
Returns the infinity norm of the global matrix.
Definition: Epetra_BasicRowMatrix.h:323
virtual ~Epetra_MsrMatrix()
Epetra_MsrMatrix Destructor.
Epetra_LongLongSerialDenseMatrix & operator=(const Epetra_LongLongSerialDenseMatrix &Source)
Copy from one matrix to another.
bool MyGlobalBlockRow(int GID) const
Returns true of GID is owned by the calling processor, otherwise it returns false.
Definition: Epetra_VbrMatrix.h:1117
virtual int Invert(double rthresh=0.0, double athresh=0.0)
Inverts the this matrix.
void SetRHS(Epetra_MultiVector *B)
Set right-hand-side B of linear problem AX = B.
Definition: Epetra_LinearProblem.h:141
const long long * A() const
Returns const pointer to the this matrix.
Definition: Epetra_LongLongSerialDenseMatrix.h:309
void UnsetFlopCounter()
Set the internal Epetra_Flops() pointer to 0 (no flops counted).
Definition: Epetra_CompObject.h:82
const Epetra_Map & ImportMap() const
Use ColMap() instead.
Definition: Epetra_CrsMatrix.h:1541
int NRHS() const
Returns the number of current right hand sides and solution vectors.
Definition: Epetra_SerialDenseSolver.h:311
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y.
virtual bool GIDsAllUniquelyOwned() const =0
GIDsAllUniquelyOwned: returns true if all GIDs appear on just one processor.
int Resize(int Length_in)
Resize a Epetra_LongLongSerialDenseVector object.
Definition: Epetra_LongLongSerialDenseVector.h:156
virtual int Do(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)=0
Execute plan on buffer of export objects in a single step.
double NormInf() const
Computes the Infinity-Norm of the this matrix.
virtual int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0
Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y.
virtual int Apply(const Epetra_SerialDenseMatrix &X, Epetra_SerialDenseMatrix &Y)=0
Returns the result of a Epetra_SerialDenseOperator applied to a Epetra_SerialDenseMatrix X in Y.
const Epetra_OskiPermutation & ViewColumnPermutation() const
Returns a read only column/right permutation of the Matrix.
void Init()
Initializes OSKI.
const Epetra_BlockMapData * DataPtr() const
Returns a pointer to the BlockMapData instance this BlockMap uses.
Definition: Epetra_BlockMap.h:788
int NumGlobalBlockDiagonals() const
Returns the number of Block diagonal entries in the global graph, based on global row/column index co...
Definition: Epetra_CrsGraph.h:665
int * ElementSizeList() const
List of the element sizes corresponding to the array MyGlobalElements().
virtual bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Definition: Epetra_SerialDenseMatrix.h:464
int NumMyCols() const
Returns the number of entries in the set of column-indices that appear on this processor.
Definition: Epetra_CrsGraph.h:572
oski_vecview_t Oski_View() const
Returns the Oski portion of the Multi-Vector.
int Shape(int NumRows, int NumCols)
Set dimensions of a Epetra_SerialDenseMatrix object; init values to zero.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this matrix.
Definition: Epetra_FastCrsMatrix.h:106
int SubmitBlockEntry(double *Values, int LDA, int NumRows, int NumCols)
Submit a block entry to the indicated block row and column specified in the Begin routine.
int NumGlobalPoints() const
Number of global points for this map; equals the sum of all element sizes across all processors.
Definition: Epetra_BlockMap.h:596
int NumGlobalDiagonals() const
Returns the number of diagonal entries in the global graph, based on global row/column index comparis...
Definition: Epetra_CrsGraph.h:608
int SetUseTranspose(bool UseTranspose_in)
If set true, transpose of this operator will be applied.
Definition: Epetra_CrsMatrix.h:1365
void SolveWithTranspose(bool Flag)
If Flag is true, causes all subsequent function calls to work with the transpose of this matrix,...
Definition: Epetra_SerialDenseSolver.h:169
int DoReversePosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Do reverse post of buffer of export objects (can do other local work before executing Waits)
double RCOND() const
Returns the reciprocal of the condition number of the this matrix (returns -1 if not yet computed).
Definition: Epetra_SerialDenseSolver.h:332
int ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const
Returns a copy of the specified local row in user-provided arrays.
Epetra_InvOperator(Epetra_Operator *operatorIn)
Uses an Epetra_Operator instance to implement the Epetra_Operator interface.
Definition: Epetra_InvOperator.h:69
int Random()
Set matrix values to random numbers.
virtual int GetDirectoryEntries(const Epetra_BlockMap &Map, const int NumEntries, const int *GlobalEntries, int *Procs, int *LocalEntries, int *EntrySizes, bool high_rank_sharing_procs=false) const =0
GetDirectoryEntries : Returns proc and local id info for non-local map entries.
int SetUseTranspose(bool UseTranspose_in)
If set true, transpose of this operator will be applied.
Definition: Epetra_InvOperator.h:91
int GlobalLength() const
Returns the global vector length of vectors in the multi-vector.
Definition: Epetra_IntMultiVector.h:658
int NumMyBlockEntries() const
Returns the number of nonzero block entries in the calling processor's portion of the matrix.
Definition: Epetra_VbrMatrix.h:956
int NumAllocatedGlobalEntries(int Row) const
Returns the allocated number of nonzero entries in specified global row on this processor.
Definition: Epetra_CrsMatrix.h:1127
Epetra_MpiComm: The Epetra MPI Communication Class.
Definition: Epetra_MpiComm.h:64
int MinLID() const
The minimum local index value on the calling processor.
Definition: Epetra_BlockMap.h:536
int NumGlobalBlockRows() const
Returns the number of Block matrix rows in global matrix.
Definition: Epetra_CrsGraph.h:627
Epetra_OskiMatrix(const Epetra_OskiMatrix &Source)
Copy constructor.
Epetra_SerialComm: The Epetra Serial Communication Class.
Definition: Epetra_SerialComm.h:61
int ExtractCopy(double *A, int MyLDA) const
Put multi-vector values into user-provided two-dimensional array.
int Random()
Set matrix values to random numbers.
bool ConstantElementSize() const
Returns true if map has constant element size.
Definition: Epetra_BlockMap.h:675
virtual int Invert(void)
Inverts the this matrix.
int UpdateValues(const Epetra_CrsMatrix &Matrix)
Update values using a matrix with identical structure.
int MaxSendLength() const
Maximum number of values that this proc is sending to another single proc.
Definition: Epetra_MpiDistributor.h:274
Epetra_Comm * Clone() const
Clone method.
Definition: Epetra_MpiComm.h:84
int LCID(int GCID_in) const
Returns the local column index for given global column index, returns -1 if no local column for this ...
Definition: Epetra_VbrMatrix.h:1081
const Epetra_CrsGraph & Graph() const
Returns a pointer to the Epetra_CrsGraph object associated with this matrix.
Definition: Epetra_VbrMatrix.h:1036
int SortGhostsAssociatedWithEachProcessor(bool Flag)
Forces FillComplete() to locally order ghostnodes associated with each remote processor in ascending ...
Definition: Epetra_CrsMatrix.h:1534
int DoWaits()
Wait on a set of posts.
int NumMyNonzeros() const
Returns the number of nonzero entries in the calling processor's portion of the matrix.
Definition: Epetra_MsrMatrix.h:269
long long NumGlobalDiagonals64() const
Returns the number of global nonzero diagonal entries.
Definition: Epetra_MsrMatrix.h:266
const Epetra_BlockMap & SourceMap() const
Returns the SourceMap used to construct this importer.
Definition: Epetra_Import.h:294
virtual int DoReverseWaits()=0
Wait on a reverse set of posts.
int LeftScale(const Epetra_Vector &x)
Scales the Epetra_VbrMatrix on the left with a Epetra_Vector x.
Definition: Epetra_VbrRowMatrix.h:196
int ReferenceCount() const
Returns the reference count of BlockMapData.
Definition: Epetra_BlockMap.h:784
int SetUseTranspose(bool use_transpose)
If set true, transpose of this operator will be applied.
Definition: Epetra_MsrMatrix.h:326
Epetra_Util: The Epetra Util Wrapper Class.
Definition: Epetra_Util.h:79
int LDAI() const
Returns the leading dimension of the inverted matrix.
Definition: Epetra_SerialDenseSVD.h:332
Epetra_LinearProblem: The Epetra Linear Problem Class.
Definition: Epetra_LinearProblem.h:62
int ExtractMyEntryView(int CurEntry, double const *&Value, int &RowIndex, int &ColIndex) const
Returns a const reference to the ith entry in the matrix, along with its row and column index.
Definition: Epetra_JadMatrix.h:144
double InfNorm() const
Computes the Infinity-Norm of the this matrix (identical to NormInf() method).
Definition: Epetra_SerialSymDenseMatrix.h:270
double * R() const
Returns a pointer to the row scaling vector used for equilibration.
Definition: Epetra_SerialDenseSolver.h:354
virtual int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_BasicRowMatrix solve with a Epetra_MultiVector X in Y (not implemented...
Definition: Epetra_BasicRowMatrix.h:234
int IsMatrixTransformed() const
Returns 1 if the matrix has been reordered by tuning, and 0 if it has not been.
const int * LengthsFrom() const
Number of values we're receiving from each proc.
Definition: Epetra_MpiDistributor.h:287
virtual int LeftScale(const Epetra_Vector &x)=0
Scales the Epetra_RowMatrix on the left with a Epetra_Vector x.
int MinAllGID() const
Returns the minimum global ID across the entire map.
Definition: Epetra_BlockMap.h:497
int DoWaits()
Wait on a set of posts.
int GlobalMaxNumIndices() const
Returns the maximun number of nonzero entries across all rows across all processors.
Definition: Epetra_CrsGraph.h:737
virtual int InvRowSums(Epetra_Vector &x) const =0
Computes the sum of absolute values of the rows of the Epetra_RowMatrix, results returned in x.
virtual const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this operator (same as domain).
Definition: Epetra_BasicRowMatrix.h:409
double * AI() const
Returns pointer to the inverted matrix (may be the same as A() if factorization done in place).
Definition: Epetra_SerialDenseSVD.h:329
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y.
Definition: Epetra_CrsMatrix.h:1376
int UpdateOriginalLHS(Epetra_MultiVector *LHS)
Update LHS of original Linear Problem object.
Epetra_BLAS: The Epetra BLAS Wrapper Class.
Definition: Epetra_BLAS.h:70
virtual int RowDim() const
Returns the row dimension of operator.
Definition: Epetra_SerialDenseMatrix.h:467
const int * LengthsTo() const
Number of values we're sending to each proc.
Definition: Epetra_MpiDistributor.h:291
Epetra_DataAccess CV() const
Returns the data access mode of the this vector.
Definition: Epetra_IntSerialDenseVector.h:217
int NumSend() const
Total number of elements to be sent.
Definition: Epetra_Export.h:269
void UpdateFlops(int Flops_in) const
Increment Flop count for this object from an int.
Definition: Epetra_Flops.h:95
bool UpperTriangular() const
If matrix is upper triangular in local index space, this query returns true, otherwise it returns fal...
Definition: Epetra_CrsMatrix.h:1025
std::vector< std::vector< double > > nonlocalCoefs_
Array of arrays (one per column) of nonlocal coefficients.
Definition: Epetra_FEVector.h:330
const Epetra_Import * RowMatrixImporter() const
Returns the Epetra_Import object that contains the import operations for distributed operations.
Definition: Epetra_CrsMatrix.h:1442
bool Factored()
Returns true if matrix is factored (factor available via AF() and LDAF()).
Definition: Epetra_SerialDenseSolver.h:250
int SetHintPowMultiply(bool TransA, double Alpha, const Epetra_OskiMultiVector &InVec, double Beta, const Epetra_OskiMultiVector &OutVec, const Epetra_OskiMultiVector &Intermediate, int Power, int NumCalls, const Teuchos::ParameterList &List)
Workload hints for computing a matrix-vector multiply performed Power times used by OskiTuneMat to op...
int InsertGlobalIndices(int GlobalRow, int NumIndices, int *Indices)
Enter a list of elements in a specified global row of the graph.
int * RemoteLIDs() const
List of elements in the target map that are coming from other processors.
Definition: Epetra_Export.h:257
const Epetra_MpiCommData * DataPtr() const
Returns a pointer to the MpiCommData instance this MpiComm uses.
Definition: Epetra_MpiComm.h:518
int Do(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Execute plan on buffer of export objects in a single step.
virtual int CreateFromRecvs(const int &NumRemoteIDs, const int *RemoteGIDs, const int *RemotePIDs, bool Deterministic, int &NumExportIDs, int *&ExportGIDs, int *&ExportPIDs)=0
Create Distributor object using list of Remote global IDs and corresponding PIDs.
bool operator!=(const Epetra_IntSerialDenseMatrix &rhs) const
Inequality operator.
Definition: Epetra_IntSerialDenseMatrix.h:237
Epetra_Directory: This class is a pure virtual class whose interface allows Epetra_Map and Epetr_Bloc...
Definition: Epetra_Directory.h:59
int SetHintMatTransMatMultiply(bool ATA, double Alpha, const Epetra_OskiMultiVector &InVec, double Beta, const Epetra_OskiMultiVector &OutVec, const Epetra_OskiMultiVector &Intermediate, int NumCalls, const Teuchos::ParameterList &List)
Workload hints for computing a two matrix-vector multiplies that are composed used by OskiTuneMat to ...
bool SameAs(const Epetra_BlockMap &Map) const
Returns true if this and Map are identical maps.
virtual ~Epetra_MpiDistributor()
Destructor (declared virtual for memory safety).
const Epetra_BlockMap & Map() const
Implement the Epetra_SrcDistObjec::Map() function.
Definition: Epetra_MsrMatrix.h:287
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
Definition: Epetra_BlockMap.h:194
double & operator[](int Index)
Element access function.
Definition: Epetra_SerialDenseVector.h:306
virtual int EquilibrateMatrix(void)
Equilibrates the this matrix.
Epetra_OskiVector(const Epetra_OskiVector &Source)
Copy constructor.
int MaxNumBlockEntries() const
Returns the maximum number of nonzero entries across all rows on this processor.
Definition: Epetra_VbrMatrix.h:1001
Epetra_Vector: A class for constructing and using dense vectors on a parallel computer.
Definition: Epetra_Vector.h:142
int Length() const
Returns length of vector.
Definition: Epetra_LongLongSerialDenseVector.h:211
int * ExportLIDs() const
List of elements that will be sent to other processors.
Definition: Epetra_Import.h:282
const Epetra_BlockMap & ImportMap() const
Use ColMap() instead.
Definition: Epetra_CrsGraph.h:987
int Resize(int Length_in)
Resize a Epetra_IntSerialDenseVector object.
Definition: Epetra_IntSerialDenseVector.h:153
Epetra_Comm * Clone() const
Clone method.
Definition: Epetra_MpiSmpComm.h:82
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
Epetra_MsrMatrix(int *proc_config, AZ_MATRIX *Amat)
Epetra_MsrMatrix constuctor using existing Aztec DMSR matrix.
virtual int MaxNumEntries() const
Returns the maximum number of nonzero entries across all rows on this processor.
Definition: Epetra_BasicRowMatrix.h:403
virtual int SumAll(double *PartialSums, double *GlobalSums, int Count) const =0
Epetra_Comm Global Sum function.
double NormInf() const
Returns the infinity norm of the global matrix.
int * PermuteToLIDs() const
List of elements in the target map that are permuted.
Definition: Epetra_Import.h:270
int MaxColDim() const
Returns the max column dimension of block entries on the processor.
Definition: Epetra_CrsGraph.h:707
int MyLength() const
Returns the local vector length on the calling processor of vectors in the multi-vector.
Definition: Epetra_MultiVector.h:928
const Epetra_Export * Exporter() const
Returns the Epetra_Export object that contains the export operations for distributed operations.
Definition: Epetra_CrsMatrix.h:1248
Epetra_OskiError OskiGetErrorHandler()
Gets a pointer to the current error handler routine being used by OSKI.
int Reshape(int NumRows, int NumCols)
Reshape a Epetra_SerialDenseMatrix object.
int GlobalMaxRowDim() const
Returns the max row dimension of block entries across all processors.
Definition: Epetra_CrsGraph.h:701
int GlobalMaxColDim() const
Returns the maximum column dimension of all block entries across all processors.
Definition: Epetra_VbrMatrix.h:915
Epetra_CombineMode
Definition: Epetra_CombineMode.h:64
int SetHintSolve(bool TransA, double Alpha, const Epetra_OskiMultiVector &Vector, int NumCalls, const Teuchos::ParameterList &List)
Workload hints for computing a triangular solve used by OskiTuneMat to optimize the data structure st...
int Size(int Length_in)
Set length of a Epetra_IntSerialDenseVector object; init values to zero.
Definition: Epetra_IntSerialDenseVector.h:139
double * BERR() const
Returns a pointer to the backward error estimates computed by LAPACK.
Definition: Epetra_SerialDenseSolver.h:351
int LDX() const
Returns the leading dimension of the solution.
Definition: Epetra_SerialDenseSVD.h:316
int M() const
Returns row dimension of system.
Definition: Epetra_IntSerialDenseMatrix.h:300
bool MyGRID(int GRID_in) const
Returns true if the GRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_VbrMatrix.h:1095
int NumVectors() const
Returns the number of vectors in the multi-vector.
Definition: Epetra_IntMultiVector.h:651
Epetra_OffsetIndex: This class builds index for efficient mapping of data from one Epetra_CrsGraph ba...
Definition: Epetra_OffsetIndex.h:60
int ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const
Returns a copy of the specified local row in user-provided arrays.
virtual double NormInf() const =0
Returns the infinity norm of the global matrix.
Epetra_MpiSmpCommData: The Epetra Mpi Shared Memory ParallelCommunication Data Class.
Definition: Epetra_MpiSmpCommData.h:56
Epetra_SerialSpdDenseSolver: A class for constructing and using symmetric positive definite dense mat...
Definition: Epetra_SerialSpdDenseSolver.h:147
long long * Values()
Returns pointer to the values in vector.
Definition: Epetra_LongLongSerialDenseVector.h:214
Epetra_BlockMap * RemoveEmptyProcesses() const
Return a new BlockMap with processes with zero elements removed.
Definition: Epetra_FECrsGraph.h:65
bool StorageOptimized() const
If OptimizeStorage() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_CrsGraph.h:508
void UpdateFlops(long long Flops_in) const
Increment Flop count for this object.
Definition: Epetra_CompObject.h:105
int Do(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Execute plan on buffer of export objects in a single step.
Epetra_LongLongVector: A class for constructing and using dense integer vectors on a parallel compute...
Definition: Epetra_LongLongVector.h:126
int LDA() const
Returns the leading dimension of the this matrix.
Definition: Epetra_SerialDenseMatrix.h:389
virtual ~Epetra_FastCrsOperator()
Epetra_FastCrsOperator Destructor.
const Epetra_BlockMap & Map() const
Map() method inherited from Epetra_DistObject.
Definition: Epetra_CrsMatrix.h:1433
virtual void Print(std::ostream &os) const
Print method.
virtual int NumMyNonzeros() const
Returns the number of nonzero entries in the calling processor's portion of the matrix.
Definition: Epetra_BasicRowMatrix.h:391
int NumGlobalNonzeros() const
Returns the number of nonzero entries in the global matrix.
Definition: Epetra_CrsMatrix.h:1066
Epetra_OskiMatrix: A class for constructing and using OSKI Matrices within Epetra....
Definition: Epetra_OskiMatrix.h:94
int EndSubmitEntries()
Completes processing of all data passed in for the current block row.
virtual void Print(std::ostream &os) const
Print method.
double *& ExpertExtractValues()
Returns a reference to the double* used to hold the values array.
Definition: Epetra_CrsMatrix.h:1505
int & operator()(int RowIndex, int ColIndex)
Element access function.
Definition: Epetra_IntSerialDenseMatrix.h:364
virtual ~Epetra_InvOperator()
Destructor.
Definition: Epetra_InvOperator.h:75
Definition: Epetra_CombineMode.h:89
int ExtractMyEntryView(int CurEntry, double *&Value, int &RowIndex, int &ColIndex)
Returns a reference to the ith entry in the matrix, along with its row and column index.
Definition: Epetra_JadMatrix.h:127
int MinElementSize() const
Minimum element size across all processors.
Definition: Epetra_BlockMap.h:614
int SetUseTranspose(bool UseTranspose)
If set true, transpose of this operator will be applied.
Definition: Epetra_FastCrsMatrix.h:97
bool DistributedGlobal() const
Returns true if map is defined across more than one processor.
Definition: Epetra_BlockMap.h:694
int GRID(int LRID_in) const
Returns the global row index for give local row index, returns IndexBase-1 if we don't have this loca...
Definition: Epetra_CrsMatrix.h:1273
virtual int Solve(void)
Computes the solution X to AX = B for the this matrix and the B provided to SetVectors()....
Epetra_GIDTypeSerialDenseVector: A class for switching between "int" and "long long" GID Type at comp...
Definition: Epetra_GIDTypeSerialDenseVector.h:59
virtual int ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const =0
Returns a copy of the specified local row in user-provided arrays.
Definition: Epetra_CombineMode.h:74
Epetra_Time: The Epetra Timing Class.
Definition: Epetra_Time.h:75
bool MyGCID(int GCID_in) const
Returns true if the GCID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsGraph.h:933
int MaxNumColors() const
Returns maximum over all processors of the number of colors.
double * C() const
Returns a pointer to the column scale vector used for equilibration.
Definition: Epetra_SerialDenseSolver.h:357
void FactorWithEquilibration(bool Flag)
Causes equilibration to be called just before the matrix factorization as part of the call to Factor.
Definition: Epetra_SerialDenseSolver.h:166
int GRID(int LRID_in) const
Returns the global row index for give local row index, returns IndexBase-1 if we don't have this loca...
Definition: Epetra_VbrMatrix.h:1075
virtual int Multiply(bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_BasicRowMatrix multiplied by a Epetra_MultiVector X in Y.
Epetra_LongLongSerialDenseMatrix: A class for constructing and using general dense integer matrices.
Definition: Epetra_LongLongSerialDenseMatrix.h:120
double * operator[](int ColIndex)
Column access function.
Definition: Epetra_SerialDenseMatrix.h:523
bool MyGlobalRow(int GID) const
Returns true of GID is owned by the calling processor, otherwise it returns false.
Definition: Epetra_CrsGraph.h:536
Epetra_DataAccess CV() const
Returns the data access mode of the this matrix.
Definition: Epetra_SerialDenseMatrix.h:392
int ** RemoteOffsets() const
Accessor.
Definition: Epetra_OffsetIndex.h:92
Epetra_IntSerialDenseVector: A class for constructing and using dense vectors.
Definition: Epetra_IntSerialDenseVector.h:87
int EquilibrateRHS(void)
Equilibrates the current RHS.
virtual const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this operator.
Definition: Epetra_BasicRowMatrix.h:406
virtual const Epetra_Map & RowMatrixColMap() const =0
Returns the Epetra_Map object associated with the columns of this matrix.
int ** PermuteOffsets() const
Accessor.
Definition: Epetra_OffsetIndex.h:89
int * Values() const
Returns a pointer to an array containing the values of this vector.
Definition: Epetra_IntVector.h:247
virtual int MaxNumEntries() const =0
Returns the maximum of NumMyRowEntries() over all rows.
virtual void Print(std::ostream &os) const
Print method.
int PermuteVector(const bool TransA, Epetra_OskiMultiVector &Vector) const
Permutes Vector according to the Permutation. If a transpose is desired it performs that operation.
Epetra_CrsGraph: A class for constructing and using sparse compressed row graphs.
Definition: Epetra_CrsGraph.h:213
Epetra_DataAccess CV() const
Returns the data access mode of the this vector.
Definition: Epetra_SerialDenseVector.h:277
const Epetra_Map & RowMatrixRowMap() const
Returns the EpetraMap object associated with the rows of this matrix.
Definition: Epetra_VbrMatrix.h:1254
int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const
Returns a copy of the main diagonal in a user-provided vector.
const Epetra_BlockMap & TargetMap() const
Returns the TargetMap used to construct this exporter.
Definition: Epetra_Export.h:278
Epetra_MsrMatrix: A class for constructing and using real-valued double-precision sparse compressed r...
Definition: Epetra_MsrMatrix.h:72
Epetra_FastCrsOperator: A class for constructing matrix objects optimized for common kernels.
Definition: Epetra_FastCrsMatrix.h:59
virtual void SetLabel(const char *const Label)
Epetra_Object Label definition using char *.
int DoReverse(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Execute reverse of plan on buffer of export objects in a single step.
int NumGlobalBlockDiagonals() const
Returns the number of global nonzero block diagonal entries, based on global row/column index compari...
Definition: Epetra_VbrMatrix.h:984
virtual ~Epetra_BasicDirectory(void)
Epetra_BasicDirectory destructor.
int * ExportPIDs() const
List of processors to which elements will be sent, ExportLIDs() [i] will be sent to processor ExportP...
Definition: Epetra_Export.h:266
const Epetra_Export * Exporter() const
Returns the Exporter associated with this graph.
Definition: Epetra_CrsGraph.h:848
int NumGlobalNonzeros() const
Returns the number of nonzero entries in the global matrix.
Definition: Epetra_MsrMatrix.h:240
void SetLHS(Epetra_MultiVector *X)
Set left-hand-side X of linear problem AX = B.
Definition: Epetra_LinearProblem.h:136
int Scale(double ScalarA)
Inplace scalar-matrix product A = a A.
const Epetra_Map & DomainMap() const
Returns the Epetra_Map object associated with the domain of this matrix operator.
Definition: Epetra_CrsMatrix.h:1236
int * operator[](int Loc)
Inlined bracket operator for fast access to data. (Const and Non-const versions)
Definition: Epetra_CrsGraph.h:957
int ReferenceCount() const
Returns the reference count of CrsGraphData.
Definition: Epetra_CrsGraph.h:1002
void UpdateFlops(float Flops_in) const
Increment Flop count for this object from a float.
Definition: Epetra_Flops.h:103
int NumRecv() const
Total number of elements to be received.
Definition: Epetra_Export.h:272
Epetra_MultiVector: A class for constructing and using dense multi-vectors, vectors and matrices in p...
Definition: Epetra_MultiVector.h:184
bool Transpose()
Returns true if transpose of this matrix has and will be used.
Definition: Epetra_SerialDenseSolver.h:247
const Epetra_BlockMap & SourceMap() const
Returns the SourceMap used to construct this exporter.
Definition: Epetra_Export.h:275
int CreateFromSends(const int &NumExportIDs, const int *ExportPIDs, bool Deterministic, int &NumRemoteIDs)
Create a communication plan from send list.
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this matrix operator.
Definition: Epetra_FastCrsMatrix.h:137
Epetra_MultiVector & operator=(const Epetra_MultiVector &Source)
= Operator.
int LCID(int GCID_in) const
Returns the local column index for given global column index, returns -1 if no local column for this ...
Definition: Epetra_CrsGraph.h:887
double *& operator[](int i)
Vector access function.
Definition: Epetra_MultiVector.h:900
int FirstPointInElement(int LID) const
Returns the requested entry in the FirstPointInElementList; see FirstPointInElementList() for details...
bool IndicesAreGlobal() const
If matrix indices has not been transformed to local, this query returns true, otherwise it returns fa...
Definition: Epetra_VbrMatrix.h:861
Epetra_OskiUtils: The Epetra OSKI Class to handle all operations that do not involve the use of a mat...
Definition: Epetra_OskiUtils.h:62
Epetra_MpiDistributor(const Epetra_MpiComm &Comm)
Default constructor.
Epetra_SerialDenseSVD: A class for SVDing dense linear problems.
Definition: Epetra_SerialDenseSVD.h:115
virtual int MaxAll(double *PartialMaxs, double *GlobalMaxs, int Count) const =0
Epetra_Comm Global Max function.
Epetra_SerialDenseMatrix * InvertedMatrix() const
Returns pointer to inverted matrix (assuming inverse has been performed).
Definition: Epetra_SerialDenseSVD.h:283
void PrintInfo(std::ostream &os) const
Print method that implements Epetra_Comm virtual PrintInfo method.
Definition: Epetra_SerialComm.h:468
Epetra_SerialDenseMatrix * LHS() const
Returns pointer to current LHS.
Definition: Epetra_SerialDenseSVD.h:286
virtual int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0
Returns result of a local-only solve using a triangular Epetra_RowMatrix with Epetra_MultiVectors X a...
virtual int DoPosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)=0
Post buffer of export objects (can do other local work before executing Waits)
virtual const char * Label() const =0
Returns a character string describing the operator.
const Epetra_Map & RedistMap() const
Returns const reference to the Epetra_Map that describes the layout of the RedistLinearProblem.
Definition: Epetra_LinearProblemRedistor.h:197
virtual const Epetra_BlockMap & Map() const =0
Returns a reference to the Epetra_BlockMap for this object.
int ExtractMyEntryView(int CurEntry, double *&Value, int &RowIndex, int &ColIndex)
Returns a reference to the ith entry in the matrix, along with its row and column index.
Definition: Epetra_VbrRowMatrix.h:136
long long & operator()(int Index)
Element access function.
Definition: Epetra_LongLongSerialDenseVector.h:267
int Multiply(bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_VbrRowMatrix multiplied by a Epetra_MultiVector X in Y.
Definition: Epetra_VbrRowMatrix.h:214
int NumMyRows() const
Returns the number of matrix rows on this processor.
Definition: Epetra_CrsGraph.h:555
unsigned int Seed()
Get seed from Random function.
Definition: Epetra_MultiVector.h:876
bool Filled() const
If FillComplete() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_MsrMatrix.h:210
const Epetra_BlockMap & ColMap() const
Returns the Column Map associated with this graph.
Definition: Epetra_CrsGraph.h:830
virtual ~Epetra_Distributor()
Epetra_Distributor Destructor.
Definition: Epetra_Distributor.h:76
Epetra_MultiVector * GetLHS() const
Get a pointer to the left-hand-side X.
Definition: Epetra_LinearProblem.h:177
Definition: Epetra_CrsGraphData.h:274
bool MyLRID(int LRID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsGraph.h:926
virtual const Epetra_Map & RowMatrixColMap() const
Returns the Column Map object needed for implementing Epetra_RowMatrix.
Definition: Epetra_BasicRowMatrix.h:418
int N() const
Returns column dimension of system.
Definition: Epetra_LongLongSerialDenseMatrix.h:306
Epetra_LinearProblemRedistor: A class for redistributing an Epetra_LinearProblem object.
Definition: Epetra_LinearProblemRedistor.h:66
int MaxAllGID() const
Returns the maximum global ID across the entire map.
Definition: Epetra_BlockMap.h:507
Epetra_MapColoring: A class for coloring Epetra_Map and Epetra_BlockMap objects.
Definition: Epetra_MapColoring.h:105
double SCOND()
Ratio of smallest to largest equilibration scale factors for the this matrix (returns -1 if not yet c...
Definition: Epetra_SerialSpdDenseSolver.h:255
int Shape(int NumRows, int NumCols)
Set dimensions of a Epetra_LongLongSerialDenseMatrix object; init values to zero.
int NumAllocatedGlobalBlockEntries(int Row) const
Returns the allocated number of nonzero Block entries in specified global row on this processor.
Definition: Epetra_VbrMatrix.h:998
double Flops() const
Returns the number of floating point operations with this object and resets the count.
Definition: Epetra_Flops.h:74
Epetra_MultiVector * GetRHS() const
Get a pointer to the right-hand-side B.
Definition: Epetra_LinearProblem.h:179
Epetra_OskiVector: A class for constructing and using dense OSKI vectors on a single processor or a s...
Definition: Epetra_OskiVector.h:68
virtual ~Epetra_LinearProblemRedistor()
Epetra_LinearProblemRedistor destructor.
virtual int NumMyCols() const
Returns the number of matrix columns owned by the calling processor.
Definition: Epetra_BasicRowMatrix.h:397
Epetra_DataAccess CV() const
Returns the data access mode of the this matrix.
Definition: Epetra_IntSerialDenseMatrix.h:315
virtual ~Epetra_OskiMultiVector()
Destructor.
Epetra_VbrRowMatrix: A class for using an existing Epetra_VbrMatrix object as an Epetra_RowMatrix obj...
Definition: Epetra_VbrRowMatrix.h:68
int NumMyCols() const
Returns the number of matrix columns owned by the calling processor.
Definition: Epetra_MsrMatrix.h:275
virtual const Epetra_Map & OperatorRangeMap() const =0
Returns the Epetra_Map object associated with the range of this operator.
const Epetra_BlockMap & TargetMap() const
Returns the TargetMap used to construct this importer.
Definition: Epetra_Import.h:297
int MakeViewOf(const Epetra_LongLongSerialDenseMatrix &Source)
Reset an existing LongLongSerialDenseMatrix to point to another Matrix.
Epetra_LocalMap: A class for replicating vectors and matrices across multiple processors.
Definition: Epetra_LocalMap.h:89
virtual int SetUseTranspose(bool use_transpose)
If set true, transpose of this operator will be applied.
Definition: Epetra_BasicRowMatrix.h:447
bool IsOperatorSymmetric() const
Get operator symmetry bool.
Definition: Epetra_LinearProblem.h:183
int NumMyBlockRows() const
Returns the number of block matrix rows on this processor.
Definition: Epetra_CrsGraph.h:623
Epetra_OskiMultiVector: A class for constructing and using dense Oski multi-vectors on a single proce...
Definition: Epetra_OskiMultiVector.h:66
void PrintInfo(std::ostream &os) const
Print method that implements Epetra_Comm virtual PrintInfo method.
Definition: Epetra_MpiSmpComm.h:465
virtual int NumMyDiagonals() const
Returns the number of local nonzero diagonal entries.
Definition: Epetra_BasicRowMatrix.h:400
int NumGlobalEntries(long long Row) const
Returns the current number of nonzero entries in specified global row on this processor.
Definition: Epetra_CrsMatrix.h:1124
Epetra_DistObject: A class for constructing and using dense multi-vectors, vectors and matrices in pa...
Definition: Epetra_DistObject.h:80
void SetMaps(const Epetra_Map &RowMap, const Epetra_Map &ColMap)
Set maps (Version 1); call this function or the next, but not both.
bool ReciprocalConditionEstimated()
Returns true if the condition number of the this matrix has been computed (value available via Recipr...
Definition: Epetra_SerialDenseSolver.h:268
Epetra_Distributor * ReverseClone()
Create and extract the reverse version of the distributor.
Definition: Epetra_SerialDistributor.h:77
int Random()
Set matrix values to random numbers.
int MaxNumEntries() const
Returns the maximum number of nonzero entries across all rows on this processor.
Definition: Epetra_CrsMatrix.h:1133
int N() const
Returns column dimension of system.
Definition: Epetra_SerialDenseSolver.h:296
int NumMyBlockCols() const
Returns the number of Block matrix columns on this processor.
Definition: Epetra_CrsGraph.h:639
int UpdateMatrix(Epetra_VbrMatrix *Matrix)
Update the matrix to which this object points.
Definition: Epetra_VbrRowMatrix.h:99
long long * operator[](int ColIndex)
Column access function.
Definition: Epetra_LongLongSerialDenseMatrix.h:391
bool MyGRID(int GRID_in) const
Returns true if the GRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsMatrix.h:1307
virtual ~Epetra_SerialDenseSVD()
Epetra_SerialDenseSVD destructor.
int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_VbrRowMatrix solve with a Epetra_MultiVector X in Y (not implemented).
Definition: Epetra_VbrRowMatrix.h:234
int GlobalMaxNumNonzeros() const
Returns the maximun number of nonzero points across all rows across all processors.
Definition: Epetra_CrsGraph.h:756
Epetra_Distributor * Clone()
Clone method.
Definition: Epetra_MpiDistributor.h:73
virtual bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Definition: Epetra_SerialDenseSVD.h:441
int LDA() const
Returns the leading dimension of the this matrix.
Definition: Epetra_SerialDenseSolver.h:302
Epetra_CrsGraph & operator=(const Epetra_CrsGraph &Source)
Assignment operator.
int NumMyRows() const
Returns the number of matrix rows owned by the calling processor.
Definition: Epetra_MsrMatrix.h:272
int LeftScale(const Epetra_Vector &x)
Scales the Epetra_VbrMatrix on the left with a Epetra_Vector x.
virtual ~Epetra_OskiUtils()
Destructor.
double * X() const
Returns pointer to current solution.
Definition: Epetra_SerialDenseSVD.h:313
void PrintInfo(std::ostream &os) const
Print method that implements Epetra_Comm virtual PrintInfo method.
Definition: Epetra_MpiComm.h:506
bool UseTranspose() const
Returns the current UseTranspose setting.
Definition: Epetra_VbrMatrix.h:1180
int IndexBase() const
Index base for this map.
Definition: Epetra_BlockMap.h:586
Epetra_CompObject: Functionality and data that is common to all computational classes.
Definition: Epetra_CompObject.h:57
Epetra_SerialDenseOperator: A pure virtual class for using real-valued double-precision operators.
Definition: Epetra_SerialDenseOperator.h:58
int * A()
Returns pointer to the this matrix.
Definition: Epetra_IntSerialDenseMatrix.h:309
virtual Epetra_Distributor * CreateDistributor() const =0
Create a distributor object.
const Epetra_OskiMatrix & ViewTransformedMat() const
Returns the transformed version of InMat if InMat has been transformed. If InMat has not been transfo...
int NumPermuteIDs() const
Returns the number of elements that are local to the calling processor, but not part of the first Num...
Definition: Epetra_Export.h:246
int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const
Returns a copy of the main diagonal in a user-provided vector.
const Epetra_Import * Importer() const
Returns the Epetra_Import object that contains the import operations for distributed operations.
Definition: Epetra_VbrMatrix.h:1039
const char * Label() const
Returns a character string describing the operator.
Definition: Epetra_CrsMatrix.h:1354
Epetra_Operator * Operator() const
Returns a pointer to the Epetra_Operator operator object that was used to create this Epetra_InvOpera...
Definition: Epetra_InvOperator.h:134
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this matrix.
Definition: Epetra_MsrMatrix.h:299
int SetNumThreads(int NumThreads)
Set number of threads on this node.
Definition: Epetra_MpiSmpComm.h:434
ProblemDifficultyLevel GetPDL() const
Get problem difficulty level.
Definition: Epetra_LinearProblem.h:181
virtual void Print(std::ostream &os) const
Print method.
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
Epetra_BlockMap * nonlocalMap_
Map describing distribution of nonlocal data.
Definition: Epetra_FEVector.h:333
virtual ~Epetra_OskiError()
Destructor.
long long NumGlobalNonzeros64() const
Returns the number of nonzero entries in the global matrix.
Definition: Epetra_MsrMatrix.h:257
int * PointToElementList() const
For each local point, indicates the local element ID that the point belongs to.
bool SolutionRefined()
Returns true if the current set of vectors has been refined.
Definition: Epetra_SerialDenseSolver.h:274
double OneNorm() const
Computes the 1-Norm of the this matrix (identical to NormOne() method).
Definition: Epetra_SerialSymDenseMatrix.h:267
int DoReverseWaits()
Wait on a reverse set of posts.
int NumGlobalDiagonals() const
Returns the number of global nonzero diagonal entries.
Definition: Epetra_MsrMatrix.h:253
const Epetra_SerialCommData * DataPtr() const
Returns a pointer to the SerialCommData instance this SerialComm uses.
Definition: Epetra_SerialComm.h:483
Epetra_SerialDenseMatrix * RHS() const
Returns pointer to current RHS.
Definition: Epetra_SerialDenseSolver.h:290
Definition: Epetra_CombineMode.h:80
bool NoDiagonal() const
If matrix has no diagonal entries based on global row/column index comparisons, this query returns tr...
Definition: Epetra_VbrMatrix.h:876
virtual int SetUseTranspose(bool UseTranspose)=0
If set true, transpose of this operator will be applied.
const Epetra_CrsGraphData * DataPtr() const
Returns a pointer to the CrsGraphData instance this CrsGraph uses.
Definition: Epetra_CrsGraph.h:1006
Epetra_OskiError()
Default Constructor.
const Epetra_Map & RowMap() const
Returns the Epetra_Map object associated with the rows of this matrix.
Definition: Epetra_CrsMatrix.h:1166
int NumMyRowEntries(int MyRow, int &NumEntries) const
Return the current number of values stored for the specified local row.
Epetra_SerialSymDenseMatrix * SymFactoredMatrix() const
Returns pointer to factored matrix (assuming factorization has been performed).
Definition: Epetra_SerialSpdDenseSolver.h:250
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_InvOperator inverse applied to an Epetra_MultiVector X in Y.
Definition: Epetra_InvOperator.h:117
virtual int RowDim() const
Returns the row dimension of operator.
Definition: Epetra_SerialDenseSVD.h:444
bool MyLRID(int LRID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_VbrMatrix.h:1102
int * IPIV() const
Returns pointer to pivot vector (if factorization has been computed), zero otherwise.
Definition: Epetra_SerialDenseSolver.h:326
bool Inverted()
Returns true if matrix inverse has been computed (inverse available via AF() and LDAF()).
Definition: Epetra_SerialDenseSolver.h:265
Epetra_SerialDistributor(const Epetra_SerialComm &Comm)
Constructor.
int NumExportIDs() const
Returns the number of elements that must be sent by the calling processor to other processors.
Definition: Epetra_Import.h:279
bool IndicesAreGlobal() const
If matrix indices has not been transformed to local, this query returns true, otherwise it returns fa...
Definition: Epetra_CrsMatrix.h:1013
bool SolutionErrorsEstimated()
Returns true if forward and backward error estimated have been computed (available via FERR() and BER...
Definition: Epetra_SerialDenseSolver.h:262
int NumReceives() const
The number of procs from which we will receive data.
Definition: Epetra_MpiDistributor.h:268
bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Definition: Epetra_InvOperator.h:141
Epetra_Distributor: The Epetra Gather/Scatter Setup Base Class.
Definition: Epetra_Distributor.h:61
int LowCommunicationMakeColMapAndReindex(int N, const int *rowptr, int *colind, const Epetra_Map &domainMap, const int *owningPIDs, bool SortGhostsAssociatedWithEachProcessor, std::vector< int > &RemotePIDs, Epetra_BlockMap &NewColMap)
LowCommunicationMakeColMapAndReindex.
double * A()
Returns pointer to the this matrix.
Definition: Epetra_SerialDenseMatrix.h:386
Epetra_OskiPermutation()
Default Constructor.
int MaxNumEntries() const
Returns the maximum of NumMyRowEntries() over all rows.
virtual Epetra_Directory * CreateDirectory(const Epetra_BlockMap &Map) const =0
Create a directory object for the given Epetra_BlockMap.
bool NoDiagonal() const
If matrix has no diagonal entries in global index space, this query returns true, otherwise it return...
Definition: Epetra_CrsMatrix.h:1028
bool Solved()
Returns true if the current set of vectors has been solved.
Definition: Epetra_SerialDenseSVD.h:265
char UPLO() const
Returns character value of UPLO used by LAPACK routines.
Definition: Epetra_SerialSymDenseMatrix.h:228
virtual double NormOne() const
Returns the one norm of the global matrix.
Definition: Epetra_BasicRowMatrix.h:333
void Print(std::ostream &os) const
Print method that implements Epetra_Object virtual Print method.
Definition: Epetra_MpiSmpComm.h:459
long long NumGlobalCols64() const
Returns the number of global matrix columns.
Definition: Epetra_MsrMatrix.h:263
int Multiply(char TransA, char TransB, double ScalarAB, const Epetra_SerialDenseMatrix &A, const Epetra_SerialDenseMatrix &B, double ScalarThis)
Matrix-Matrix multiplication, this = ScalarThis*this + ScalarAB*A*B.
virtual const char * Label() const
Returns a character string describing the operator.
Definition: Epetra_BasicRowMatrix.h:450
int ResetView(double *Values_in)
Reset the view of an existing vector to point to new user data.
Definition: Epetra_Vector.h:460
int NumExportIDs() const
Returns the number of elements that must be sent by the calling processor to other processors.
Definition: Epetra_Export.h:260
Epetra_SerialComm & operator=(const Epetra_SerialComm &Comm)
Assignment Operator.
virtual int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_RowMatrix inverse applied to an Epetra_MultiVector X in Y.
Definition: Epetra_BasicRowMatrix.h:471
Definition: Epetra_CrsGraphData.h:224
bool Solved()
Returns true if the current set of vectors has been solved.
Definition: Epetra_SerialDenseSolver.h:271
bool LowerTriangular() const
If matrix is lower triangular in local index space, this query returns true, otherwise it returns fal...
Definition: Epetra_CrsMatrix.h:1022
int PackAndPrepareWithOwningPIDs(const Epetra_CrsMatrix &SourceMatrix, int NumExportIDs, int *ExportLIDs, int &LenExports, char *&Exports, int &SizeOfPacket, int *Sizes, bool &VarSizes, std::vector< int > &SourcePids)
PackAndPrepareWithOwningPIDs.
bool StorageOptimized() const
If OptimizeStorage() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_CrsMatrix.h:1010
int NumGlobalRows() const
Returns the number of global matrix rows.
Definition: Epetra_VbrMatrix.h:927
int Length() const
Returns length of vector.
Definition: Epetra_IntSerialDenseVector.h:208
int CreateFromRecvs(const int &NumRemoteIDs, const int *RemoteGIDs, const int *RemotePIDs, bool Deterministic, int &NumExportIDs, int *&ExportGIDs, int *&ExportPIDs)
Create Distributor object using list of Remote global IDs and corresponding PIDs.
double NormOne() const
Returns the one norm of the global matrix.
Epetra_SerialDenseMatrix * LHS() const
Returns pointer to current LHS.
Definition: Epetra_SerialDenseSolver.h:287
virtual const Epetra_Export * Exporter() const
Returns the Epetra_Export object that contains the export operations for distributed operations,...
Definition: Epetra_BasicRowMatrix.h:511
int MyPID() const
Return my process ID.
Definition: Epetra_MpiComm.h:463
virtual int InsertGlobalValues(int GlobalRow, int NumEntries, const double *Values, const int *Indices)
Insert a list of elements in a given global row of the matrix.
int NumMyNonzeros() const
Returns the number of nonzero entries in the calling processor's portion of the matrix.
Definition: Epetra_CrsMatrix.h:1105
bool NoRedundancies() const
If MergeRedundantEntries() has been called, this query returns true, otherwise it returns false.
Definition: Epetra_VbrMatrix.h:1402
bool MyLCID(int LCID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsGraph.h:944
int LRID(int GRID_in) const
Returns the local row index for given global row index, returns -1 if no local row for this global ro...
Definition: Epetra_CrsMatrix.h:1258
int NumGlobalCols() const
Returns the number of global matrix columns.
Definition: Epetra_MsrMatrix.h:250
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this matrix operator.
Definition: Epetra_CrsMatrix.h:1410
Epetra_VbrMatrix: A class for the construction and use of real-valued double-precision variable block...
Definition: Epetra_VbrMatrix.h:172
int MultiplyAndMatTransMultiply(bool TransA, const Epetra_Vector &x, Epetra_Vector &y, const Epetra_Vector &w, Epetra_Vector &z, double Alpha=1.0, double Beta=0.0, double Omega=1.0, double Zeta=0.0) const
Performs the two matrix vector multiplies of y = Alpha*this*x + Beta*y and z = Omega*this^TransA*w + ...
Epetra_Operator: A pure virtual class for using real-valued double-precision operators.
Definition: Epetra_Operator.h:60
int NumGlobalBlockRows() const
Returns the number of global Block matrix rows.
Definition: Epetra_VbrMatrix.h:966
Definition: Epetra_CombineMode.h:86
virtual const Epetra_Map & OperatorDomainMap() const =0
Returns the Epetra_Map object associated with the domain of this operator.
int * operator[](int ColIndex)
Column access function.
Definition: Epetra_IntSerialDenseMatrix.h:388
virtual bool UseTranspose() const =0
Returns the current UseTranspose setting.
int LDAF() const
Returns the leading dimension of the factored matrix.
Definition: Epetra_SerialDenseSolver.h:323
Epetra_SerialSymDenseMatrix: A class for constructing and using symmetric positive definite dense mat...
Definition: Epetra_SerialSymDenseMatrix.h:130
int UnpackAndCombineIntoCrsArrays(const Epetra_CrsMatrix &SourceMatrix, int NumSameIDs, int NumRemoteIDs, const int *RemoteLIDs, int NumPermuteIDs, const int *PermuteToLIDs, const int *PermuteFromLIDs, int LenImports, char *Imports, int TargetNumRows, int TargetNumNonzeros, int MyTargetPID, int *CSR_rowptr, int *CSR_colind, double *CSR_values, const std::vector< int > &SourcePids, std::vector< int > &TargetPids)
UnpackAndCombineIntoCrsArrays.
const int * A() const
Returns const pointer to the this matrix.
Definition: Epetra_IntSerialDenseMatrix.h:306
int LRID(int GRID_in) const
Returns the local row index for given global row index, returns -1 if no local row for this global ro...
Definition: Epetra_VbrMatrix.h:1067
virtual const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this matrix.
Definition: Epetra_BasicRowMatrix.h:424
int NumSameIDs() const
Returns the number of elements that are identical between the source and target maps,...
Definition: Epetra_Import.h:262
Epetra_OskiUtils()
Default Constructor.
void OskiSetErrorHandler(Epetra_OskiError &NewErrorHandler)
Sets the error handling routine to be used by OSKI to NewErrorHandler.
int NumMyNonzeros() const
Returns the number of indices in the local graph.
Definition: Epetra_CrsGraph.h:719
int NumMyDiagonals() const
Returns the number of local nonzero diagonal entries, based on global row/column index comparisons.
Definition: Epetra_VbrMatrix.h:962
Epetra_Export: This class builds an export object for efficient exporting of off-processor elements.
Definition: Epetra_Export.h:62
Epetra_RowMatrixTransposer: A class for transposing an Epetra_RowMatrix object.
Definition: Epetra_RowMatrixTransposer.h:58
int ExtractCrsDataPointers(int *&IndexOffset, int *&Indices, double *&Values_in) const
Returns internal data pointers associated with Crs matrix format.
Definition: Epetra_CrsMatrix.h:1479
int GlobalMaxNumNonzeros() const
Returns the maximum number of nonzero entries across all block rows on all processors.
Definition: Epetra_VbrMatrix.h:1022
virtual double OneNorm() const
Computes the 1-Norm of the this matrix (identical to NormOne() method).
Definition: Epetra_SerialDenseMatrix.h:408
Epetra_SerialDenseMatrix: A class for constructing and using real double precision general dense matr...
Definition: Epetra_SerialDenseMatrix.h:107
Epetra_Map: A class for partitioning vectors and matrices.
Definition: Epetra_Map.h:119
virtual double NormOne() const =0
Returns the one norm of the global matrix.
virtual void Print(std::ostream &os) const
virtual const Epetra_Import * RowMatrixImporter() const
Returns the Epetra_Import object that contains the import operations for distributed operations.
Definition: Epetra_MsrMatrix.h:296
double NormInf() const
Returns the infinity norm of the global matrix.
double ANORM() const
Returns the 1-Norm of the this matrix (returns -1 if not yet computed).
Definition: Epetra_SerialDenseSolver.h:329
int DefaultColor() const
Returns default color.
Definition: Epetra_MapColoring.h:206
int NumMyBlockDiagonals() const
Returns the number of local nonzero block diagonal entries, based on global row/column index comparis...
Definition: Epetra_VbrMatrix.h:959
const Epetra_Map & RowMatrixColMap() const
Returns the Column Map object needed for implementing Epetra_RowMatrix.
Definition: Epetra_MsrMatrix.h:293
bool GIDsAllUniquelyOwned() const
GIDsAllUniquelyOwned: returns true if all GIDs appear on just one processor.
int NumMyDiagonals() const
Returns the number of local nonzero diagonal entries.
Definition: Epetra_MsrMatrix.h:278
Epetra_SerialDistributor: The Epetra Serial implementation of the Epetra_Distributor Gather/Scatter S...
Definition: Epetra_SerialDistributor.h:58
int NumThreads() const
Get number of threads on this node.
Definition: Epetra_MpiSmpComm.h:439
bool IndicesAreGlobal() const
If column indices are in global range, this query returns true, otherwise it returns false.
Definition: Epetra_CrsGraph.h:511
virtual int Multiply(bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0
Returns the result of a Epetra_RowMatrix multiplied by a Epetra_MultiVector X in Y.
int Multiply(bool TransA, const Epetra_Vector &x, Epetra_Vector &y) const
Returns the result of a Epetra_CrsMatrix multiplied by a Epetra_Vector x in y.
bool HaveColMap() const
Returns true if we have a well-defined ColMap, and returns false otherwise.
Definition: Epetra_CrsMatrix.h:1182
int * RemoteLIDs() const
List of elements in the target map that are coming from other processors.
Definition: Epetra_Import.h:276
virtual int SumIntoGlobalValues(int GlobalRow, int NumEntries, const double *Values, const int *Indices)
Add this list of entries to existing values for a given global row of the matrix.
int FindLocalElementID(int PointID, int &ElementID, int &ElementOffset) const
Returns the LID of the element that contains the given local PointID, and the Offset of the point in ...
virtual int MyPID() const =0
Return my process ID.
double * Values() const
Returns pointer to the values in vector.
Definition: Epetra_SerialDenseVector.h:274
int GlobalMaxRowDim() const
Returns the maximum row dimension of all block entries across all processors.
Definition: Epetra_VbrMatrix.h:912
int SetHintMultiply(bool TransA, double Alpha, const Epetra_OskiMultiVector &InVec, double Beta, const Epetra_OskiMultiVector &OutVec, int NumCalls, const Teuchos::ParameterList &List)
Workload hints for computing a matrix-vector multiply used by OskiTuneMat to optimize the data struct...
bool MyGID(int GID_in) const
Returns true if the GID passed in belongs to the calling processor in this map, otherwise returns fal...
Definition: Epetra_BlockMap.h:479
int Multiply(bool TransA, const Epetra_Vector &x, Epetra_Vector &y) const
Performs a matrix vector multiply of y = this^TransA*x.
int Stride() const
Returns the stride between vectors in the multi-vector (only meaningful if ConstantStride() is true).
Definition: Epetra_MultiVector.h:941
void Print(std::ostream &os) const
Print method that implements Epetra_Object virtual Print method.
Definition: Epetra_MpiComm.h:491
int PutScalar(double ScalarConstant)
Initialize all values in graph of the matrix with constant value.
Epetra_OskiPermutation: A class for storing the permutation performed on a Epetra_OskiMatrix.
Definition: Epetra_OskiPermutation.h:65
bool MyLRID(int LRID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_CrsMatrix.h:1314
Epetra_Import: This class builds an import object for efficient importing of off-processor elements.
Definition: Epetra_Import.h:63
Epetra_Comm * Clone() const
Clone method.
Definition: Epetra_SerialComm.h:82
Epetra_Distributor * Clone()
Clone method.
Definition: Epetra_SerialDistributor.h:72
const Epetra_BlockMap & RowMap() const
Returns the RowMap associated with this graph.
Definition: Epetra_CrsGraph.h:780
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 GlobalMaxColDim() const
Returns the max column dimension of block entries across all processors.
Definition: Epetra_CrsGraph.h:713
void SetFlopCounter(const Epetra_CompObject &CompObject)
Set the internal Epetra_Flops() pointer to the flop counter of another Epetra_CompObject.
Definition: Epetra_CompObject.h:80
virtual int InvColSums(Epetra_Vector &x) const =0
Computes the sum of absolute values of the columns of the Epetra_RowMatrix, results returned in x.
virtual int DoReversePosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)=0
Do reverse post of buffer of export objects (can do other local work before executing Waits)
int TotalReceiveLength() const
Total number of values that this proc is receiving from other procs.
Definition: Epetra_MpiDistributor.h:277
int NumVectors() const
Returns the number of vectors in the multi-vector.
Definition: Epetra_MultiVector.h:925
bool MyGCID(int GCID_in) const
Returns true if the GCID passed in belongs to the calling processor in this map, otherwise returns fa...
Definition: Epetra_VbrMatrix.h:1106
int MaxLID() const
The maximum local index value on the calling processor.
Definition: Epetra_BlockMap.h:539
Epetra_InvOperator: An implementation of the Epetra_Operator class that reverses the role of Apply() ...
Definition: Epetra_InvOperator.h:59
Epetra_SerialDenseSolver: A class for solving dense linear problems.
Definition: Epetra_SerialDenseSolver.h:132
virtual ~Epetra_OskiMatrix()
Destructor
bool IndicesAreLocal() const
If matrix indices has been transformed to local, this query returns true, otherwise it returns false.
Definition: Epetra_VbrMatrix.h:864
Epetra_BlockMap & operator=(const Epetra_BlockMap &map)
Assignment Operator.
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y.
Definition: Epetra_MsrMatrix.h:341
virtual void Print(std::ostream &os) const
Print method.
int SetMyNodeID(int NodeID)
Set my node ID.
Definition: Epetra_MpiSmpComm.h:453
virtual Epetra_Distributor * Clone()=0
Epetra_Distributor clone constructor.
virtual int NumGlobalDiagonals() const
Returns the number of global nonzero diagonal entries.
Definition: Epetra_BasicRowMatrix.h:380
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this matrix operator.
Definition: Epetra_VbrMatrix.h:1183
int LDA() const
Returns the leading dimension of the this matrix.
Definition: Epetra_SerialDenseSVD.h:301
int N() const
Returns column dimension of system.
Definition: Epetra_IntSerialDenseMatrix.h:303
int NumGlobalRows() const
Returns the number of global matrix rows.
Definition: Epetra_MsrMatrix.h:247
int NumRecv() const
Total number of elements to be received.
Definition: Epetra_Import.h:291
virtual ~Epetra_Comm()
Epetra_Comm Destructor.
Definition: Epetra_Comm.h:85
int LRID(int GRID_in) const
Returns the local row index for given global row index, returns -1 if no local row for this global ro...
Definition: Epetra_CrsGraph.h:859