ForTrilinos
Data Types | Modules
FEpetra_CrsMatrix.f90 File Reference

Data Types

type  FEpetra_CrsMatrix::Epetra_CrsMatrix
 
Epetra_CrsMatrix: A class for constructing and using real-valued double-precision sparse compressed row matrices. More...
 

Modules

module  FEpetra_CrsMatrix
 

Functions/Subroutines

Constructor Functions
type(epetra_crsmatrix) function FEpetra_CrsMatrix::Epetra_CrsMatrix (CV, Row_Map, NumEntriesPerRow, StaticProfile)
 Epetra_CrsMatrix constructor with variable number of indices per row. Creates a Epetra_CrsMatrix object and allocates storage. More...
 
type(epetra_crsmatrix) function FEpetra_CrsMatrix::Epetra_CrsMatrix (CV, Row_Map, NumEntriesPerRow, StaticProfile)
 Epetra_CrsMatrix constructor with fixed number of indices per row. Creates a Epetra_CrsMatrix object and allocates storage. More...
 
type(epetra_crsmatrix) function FEpetra_CrsMatrix::Epetra_CrsMatrix (CV, Row_Map, Col_Map, NumEntriesPerRow, StaticProfile)
 Epetra_CrsMatrix constructor with variable number of indices per row. Creates a Epetra_CrsMatrix object and allocates storage. More...
 
type(epetra_crsmatrix) function FEpetra_CrsMatrix::Epetra_CrsMatrix (CV, Row_Map, Col_Map, NumEntriesPerRow, StaticProfile)
 Epetra_CrsMatrix constructor with fixed number of indices per row. Creates a Epetra_CrsMatrix object and allocates storage. More...
 
type(epetra_crsmatrix) function FEpetra_CrsMatrix::Epetra_CrsMatrix (this)
 Epetra_CrsMatrix copy constructor. Creates a copy of a Epetra_CrsMatrix object. More...
 
Insertion/Replace/SumInto methods
subroutine FEpetra_CrsMatrix::PutScalar (this, scalar, err)
 Initialize all values in the matrix with constant value. More...
 
subroutine FEpetra_CrsMatrix::Scale (this, ScalarConstant, err)
 Multiply all values in the matrix by a constant value (in place: A <- ScalarConstant * A). More...
 
subroutine FEpetra_CrsMatrix::InsertGlobalValues (this, GlobalRow, values, indices, err)
 Insert a list of elements in a given global row of the matrix. This method is used to construct a matrix for the first time. It cannot be used if the matrix structure has already been fixed (via a call to FillComplete()). More...
 
subroutine FEpetra_CrsMatrix::ReplaceGlobalValues (this, GlobalRow, values, indices, err)
 Replace specified existing values with this list of entries for a given global row of the matrix. More...
 
Transformation methods
subroutine FEpetra_CrsMatrix::FillComplete (this, OptimizeDataStorage, err)
 Signal that data entry is complete. Perform transformations to local index space. This version of FillComplete assumes that the domain and range distributions are identical to the matrix row distributions. More...
 
subroutine FEpetra_CrsMatrix::FillComplete (this, DomainMap, RangeMap, OptimizeDataStorage, err)
 Signal that data entry is complete. Perform transformations to local index space. This version of FillComplete requires the explicit specification of the domain and range distribution maps. These maps are used for importing and exporting vector and multi-vector elements that are needed for distributed matrix computations. More...
 
Extraction Methods
subroutine FEpetra_CrsMatrix::ExtractGlobalRowCopy (this, GlobalRow, values, indices, err)
 Returns a copy of the specified global row in user-provided arrays. More...
 
integer(c_int) function FEpetra_CrsMatrix::NumMyEntries (this, MyRow)
 Returns the current number of nonzero entries in specified local row on this processor. More...
 
integer(c_int) function FEpetra_CrsMatrix::MaxNumEntries (this)
 Returns the maximum number of nonzero entries across all rows on this processor. More...
 
Additional methods required to implement Epetra_RowMatrix interface
integer(c_int) function FEpetra_CrsMatrix::NumMyRowEntries (this, MyRow)
 Return the current number of values stored for the specified local row. More...
 
Computational Methods
subroutine FEpetra_CrsMatrix::Multiply_Vector (this, TransA, x, y, err)
 Returns the result of a Epetra_CrsMatrix multiplied by a Epetra_Vector x in y. More...
 
subroutine FEpetra_CrsMatrix::Multiply_MultiVector (this, TransA, x, y, err)
 Returns the result of a Epetra_CrsMatrix multiplied by a Epetra_MultiVector X in Y. More...
 
Local/Global ID method
logical function FEpetra_CrsMatrix::MyGlobalRow (this, GID)
 Returns true of GID is owned by the calling processor, otherwise it returns false. More...
 
Attribute Accessor Methods
type(epetra_map) function FEpetra_CrsMatrix::RowMatrixRowMap (this)
 Returns the Epetra_Map object associated with the rows of this matrix. More...
 
type(epetra_map) function FEpetra_CrsMatrix::RowMap (this)
 Returns the Epetra_Map object associated with the rows of this matrix. More...
 
integer(c_int) function FEpetra_CrsMatrix::NumGlobalEntries (this, GlobalRow)
 Returns the current number of nonzero entries in specified global row on this processor. More...