#include <NOX_Epetra_VectorSpace_ScaledL2.H>
Inheritance diagram for NOX::Epetra::VectorSpaceScaledL2:
Public Member Functions | |
| VectorSpaceScaledL2 (const Teuchos::RefCountPtr< NOX::Epetra::Scaling > &s, NOX::Epetra::Scaling::ScaleType st=NOX::Epetra::Scaling::Left) | |
| Constructor. | |
| virtual | ~VectorSpaceScaledL2 () |
| Destructor. | |
| virtual double | innerProduct (const Epetra_Vector &a, const Epetra_Vector &b) const |
| Computes a scaled inner product. | |
| virtual double | norm (const Epetra_Vector &a, NOX::Abstract::Vector::NormType=NOX::Abstract::Vector::TwoNorm) const |
| Computes the scaled norm. | |
Protected Attributes | |
| Teuchos::RefCountPtr< NOX::Epetra::Scaling > | scalingPtr |
| Scaling vector used in the inner product. | |
| NOX::Epetra::Scaling::ScaleType | scaleType |
| Scaling type to apply to vector space. | |
| Teuchos::RefCountPtr< Epetra_Vector > | tmpVectorPtr |
| Temporary vector used in scaling computations. | |
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.
|
||||||||||||
|
Computes a scaled inner product.
Computes a scaled inner product: Implements NOX::Epetra::VectorSpace. |
|
||||||||||||
|
Computes the scaled norm.
Computes the scaled norm using Implements NOX::Epetra::VectorSpace. |
1.3.9.1