ForTrilinos
Data Types | Modules
FEpetra_MultiVector.f90 File Reference

Data Types

type  FEpetra_MultiVector::Epetra_MultiVector
 

Modules

module  FEpetra_MultiVector
 

Functions/Subroutines

Constructor Functions
type(epetra_multivector) function, public FEpetra_MultiVector::Epetra_MultiVector (BlockMap, Num_Vectors, zero)
 
Epetra_MultiVector constructor conformal to a BlockMap, optionally zero the newly created vector. More...
 
type(epetra_multivector) function, public FEpetra_MultiVector::Epetra_MultiVector (this)
 
Epetra_MultiVector copy constructor. More...
 
Post-construction modification routines
subroutine FEpetra_MultiVector::ReplaceGlobalValue (this, GlobalRow, VectorIndex, ScalarValue, err)
 
Replaces value at location (GlobalRow,VectorIndex) with ScalarValue More...
 
subroutine FEpetra_MultiVector::ReplaceGlobalValue (this, GlobalBlockRow, BlockRowOffset, VectorIndex, ScalarValue, err)
 
Replaces value at location (GlobalBlockRow,BlockRowOffset,VectorIndex) with ScalarValue More...
 
subroutine FEpetra_MultiVector::ReplaceMyValue (this, MyRow, VectorIndex, ScalarValue, err)
 
Replaces value at location (MyRow,VectorIndex) with ScalarValue More...
 
subroutine FEpetra_MultiVector::ReplaceMyValue (this, MyBlockRow, BlockRowOffset, VectorIndex, ScalarValue, err)
 
Replaces value at location (MyBlockRow,BlockRowOffset,VectorIndex) with ScalarValue More...
 
subroutine FEpetra_MultiVector::SumIntoGlobalValue (this, GlobalRow, VectorIndex, ScalarValue, err)
 
Adds ScalarValue to value at location (GlobalRow,VectorIndex) More...
 
subroutine FEpetra_MultiVector::SumIntoGlobalValue (this, GlobalBlockRow, BlockRowOffset, VectorIndex, ScalarValue, err)
 
Adds ScalarValue to value at location (GlobalBlockRow,BlockRowOffset,VectorIndex) More...
 
subroutine FEpetra_MultiVector::SumIntoMyValue (this, MyRow, VectorIndex, ScalarValue, err)
 
Adds ScalarValue to value at location (MyRow,VectorIndex) More...
 
subroutine FEpetra_MultiVector::SumIntoMyValue (this, MyBlockRow, BlockRowOffset, VectorIndex, ScalarValue, err)
 
Adds ScalarValue to value at location (MyBlockRow,BlockRowOffset,VectorIndex) More...
 
subroutine FEpetra_MultiVector::PutScalar (this, scalar, err)
 
Replaces all entries with scalar value. More...
 
subroutine FEpetra_MultiVector::Random (this, err)
 
Replaces all entries with random values. More...
 
Mathematical methods
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::Dot (this, x, err)
 
Computes the scalar product of corresponding pairs of vectors. More...
 
subroutine FEpetra_MultiVector::Abs (this, A, err)
 
Replaces target with element-wise absolute value of input More...
 
subroutine FEpetra_MultiVector::Reciprocal (this, A, err)
 
Reciprocal replaces target with element-wise reciprocal value of input More...
 
subroutine FEpetra_MultiVector::Scale (this, scalar_value, err)
 
Scales current values this = scalar_value*this More...
 
subroutine FEpetra_MultiVector::Scale (this, scalar_value, MultiVector, err)
 
Replaces current values with scaled input this = scalar_value*MultiVector More...
 
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::Norm1 (this, err)
 
Computes 1-norm of each vector in the input More...
 
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::Norm2 (this, err)
 
Computes 2-norm of each vector in the input More...
 
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::NormInf (this, err)
 
Computes infinity norm of each vector in the input More...
 
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::NormWeighted (this, weights, err)
 
Computes weighted norm (RMS norm) of each vector in the input More...
 
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::MinValue (this, err)
 
Computes minimum value of each vector in the input More...
 
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::MaxValue (this, err)
 
MaxValue: compute maximum value of each vector in the input More...
 
real(c_double) function, dimension(:), allocatable FEpetra_MultiVector::MeanValue (this, err)
 
Computes mean (average) value of each vector in the input More...
 
subroutine FEpetra_MultiVector::Multiply (this, TransA, TransB, ScalarAB, A, B, ScalarThis, err)
 
Matrix-matrix multiplication this = ScalarThis*This + ScalarAB*MATMUL(A,B) More...
 
subroutine FEpetra_MultiVector::Multiply (this, ScalarAB, A, B, ScalarThis, err)
 
Element-by-element multiplication this = ScalarThis*This + ScalarAB*A*B More...
 
subroutine FEpetra_MultiVector::ReciprocalMultiply (this, ScalarAB, A, B, ScalarThis, err)
 
Element-by-element multiplication by reciprocal this = ScalarThis*This + ScalarAB*A/B More...
 
subroutine FEpetra_MultiVector::Update (this, scalarA, A, scalarThis, err)
 
Updates with scaled copy of input this = ScalarThis*This + ScalarA*A More...
 
subroutine FEpetra_MultiVector::Update (this, scalarA, A, scalarB, B, scalarThis, err)
 
Updates with scaled copies of inputs this = ScalarThis*This + ScalarA*A + ScalarB*B More...
 
Extraction methods
real(c_double) function, dimension(:,:), allocatable FEpetra_MultiVector::ExtractCopy (this, MyLDA, err)
 
Copies multivector contents into target More...
 
Attribute access
integer(c_int) function FEpetra_MultiVector::NumVectors (this)
 
Number of vectors in multivector More...
 
integer(c_int) function FEpetra_MultiVector::MyLength (this)
 
Local vector length More...
 
integer(c_int) function FEpetra_MultiVector::GlobalLength (this)
 
Global vector length More...
 
integer(c_int) function FEpetra_MultiVector::Stride (this)
 
Stride between successive vectors in multivector (only meaningful if ConstantStride()==true) More...
 
integer(ft_boolean_t) function FEpetra_MultiVector::ConstantStride (this)
 
True if stride between successive vectors is constant More...