NOX::Epetra::VectorSpaceL2 Class Reference

Concrete class for an L2 vector space. More...

#include <NOX_Epetra_VectorSpace_L2.H>

Inheritance diagram for NOX::Epetra::VectorSpaceL2:

Inheritance graph
[legend]
Collaboration diagram for NOX::Epetra::VectorSpaceL2:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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


Detailed Description

Concrete class for an L2 vector space.

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 58 of file NOX_Epetra_VectorSpace_L2.H.


Constructor & Destructor Documentation

NOX::Epetra::VectorSpaceL2::VectorSpaceL2 (  ) 

Constructor.

Definition at line 45 of file NOX_Epetra_VectorSpace_L2.C.

NOX::Epetra::VectorSpaceL2::~VectorSpaceL2 (  )  [virtual]

Destructor.

Definition at line 50 of file NOX_Epetra_VectorSpace_L2.C.


Member Function Documentation

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

Computes the inner product: <a,b>.

Implements NOX::Epetra::VectorSpace.

Definition at line 56 of file NOX_Epetra_VectorSpace_L2.C.

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

Computes the norm.

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

Implements NOX::Epetra::VectorSpace.

Definition at line 64 of file NOX_Epetra_VectorSpace_L2.C.

References NOX::Abstract::Vector::MaxNorm, NOX::Abstract::Vector::OneNorm, and NOX::Abstract::Vector::TwoNorm.


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

Generated on Thu Dec 17 11:03:06 2009 for Nonlinear Solver Project by  doxygen 1.5.9