NOX::Epetra::VectorSpace Class Reference

Pure virtual base class for the vector space used by NOX::Epetra::Vectors. More...

#include <NOX_Epetra_VectorSpace.H>

Inheritance diagram for NOX::Epetra::VectorSpace:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 VectorSpace ()
 Constructor.
virtual ~VectorSpace ()
 Destructor.
virtual double innerProduct (const Epetra_Vector &a, const Epetra_Vector &b) const =0
 Computes the inner product: <a,b>.
virtual double norm (const Epetra_Vector &a, NOX::Abstract::Vector::NormType=NOX::Abstract::Vector::TwoNorm) const =0
 Computes the norm.


Detailed Description

Pure virtual base class for the vector space used by NOX::Epetra::Vectors.

This class allows users to override the inner product and norm used by the NOX::Epetra::Vector class. The most frequent use of this class is for introducing a weighted norm throughout NOX.

Definition at line 61 of file NOX_Epetra_VectorSpace.H.


Constructor & Destructor Documentation

NOX::Epetra::VectorSpace::VectorSpace (  )  [inline]

Constructor.

Definition at line 66 of file NOX_Epetra_VectorSpace.H.

virtual NOX::Epetra::VectorSpace::~VectorSpace (  )  [inline, virtual]

Destructor.

Definition at line 69 of file NOX_Epetra_VectorSpace.H.


Member Function Documentation

virtual double NOX::Epetra::VectorSpace::innerProduct ( const Epetra_Vector &  a,
const Epetra_Vector &  b 
) const [pure virtual]

Computes the inner product: <a,b>.

Implemented in NOX::Epetra::VectorSpaceL2, and NOX::Epetra::VectorSpaceScaledL2.

virtual double NOX::Epetra::VectorSpace::norm ( const Epetra_Vector &  a,
NOX::Abstract::Vector::NormType  = NOX::Abstract::Vector::TwoNorm 
) const [pure virtual]

Computes the norm.

For an L2 norm, the computation is: sqrt( <a,a> ).

Implemented in NOX::Epetra::VectorSpaceL2, and NOX::Epetra::VectorSpaceScaledL2.


The documentation for this class was generated from the following file:

Generated on Wed Oct 21 14:28:46 2009 for Nonlinear Solver Project by  doxygen 1.5.9