|
NOX
Development
|
Concrete class for an L2 vector space. More...
#include <NOX_Epetra_VectorSpace_L2.H>


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. More... | |
Public Member Functions inherited from NOX::Epetra::VectorSpace | |
| VectorSpace () | |
| Constructor. | |
| virtual | ~VectorSpace () |
| Destructor. | |
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.
|
virtual |
Computes the norm.
For an L2 norm, the computation is: sqrt( <a,a> ).
Implements NOX::Epetra::VectorSpace.
References NOX::Abstract::Vector::MaxNorm, NOX::Abstract::Vector::OneNorm, and NOX::Abstract::Vector::TwoNorm.
1.8.5