ForTrilinos
Data Types | Modules
http://trilinos.sandia.gov/packages/docs/r10.12/packages/ForTrilinos/src/doc/epetra/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) 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.
type(Epetra_CrsMatrix) 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.
type(Epetra_CrsMatrix) 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.
type(Epetra_CrsMatrix) 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.
type(Epetra_CrsMatrix) FEpetra_CrsMatrix::Epetra_CrsMatrix (this)
 Epetra_CrsMatrix copy constructor. Creates a copy of a Epetra_CrsMatrix object.
Insertion/Replace/SumInto methods
subroutine FEpetra_CrsMatrix::PutScalar (this, scalar, err)
 Initialize all values in the matrix with constant value.
subroutine FEpetra_CrsMatrix::Scale (this, ScalarConstant, err)
 Multiply all values in the matrix by a constant value (in place: A <- ScalarConstant * A).
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()).
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.
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.
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.
Extraction Methods
subroutine FEpetra_CrsMatrix::ExtractGlobalRowCopy (this, GlobalRow, values, indices, err)
 Returns a copy of the specified global row in user-provided arrays.
integer(c_int) FEpetra_CrsMatrix::NumMyEntries (this, MyRow)
 Returns the current number of nonzero entries in specified local row on this processor.
integer(c_int) FEpetra_CrsMatrix::MaxNumEntries (this)
 Returns the maximum number of nonzero entries across all rows on this processor.
Additional methods required to implement Epetra_RowMatrix interface
integer(c_int) FEpetra_CrsMatrix::NumMyRowEntries (this, MyRow)
 Return the current number of values stored for the specified local row.
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.
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.
Local/Global ID method
logical FEpetra_CrsMatrix::MyGlobalRow (this, GID)
 Returns true of GID is owned by the calling processor, otherwise it returns false.
Attribute Accessor Methods
type(Epetra_Map) FEpetra_CrsMatrix::RowMatrixRowMap (this)
 Returns the Epetra_Map object associated with the rows of this matrix.
type(Epetra_Map) FEpetra_CrsMatrix::RowMap (this)
 Returns the Epetra_Map object associated with the rows of this matrix.
integer(c_int) FEpetra_CrsMatrix::NumGlobalEntries (this, GlobalRow)
 Returns the current number of nonzero entries in specified global row on this processor.
 All Classes Namespaces Files Functions