#include <NOX_Petsc_Vector.H>
Inheritance diagram for NOX::Petsc::Vector:
Protected initialization method used by constructors. | |
| virtual int | allocate (const Vec &source, CopyType type=DeepCopy) |
| Vec | petscVec |
| Pointer to Petsc vector owned by this object. | |
| bool | isAlloc |
| Flag to indicate if the vector has been allocated. | |
| string | name |
Public Member Functions | |
| Vector (const Vec &source, CopyType type=DeepCopy) | |
| Construct by copying map and/or elements of a Petsc Vec. | |
| Vector (const Vec &source, string name="Unnamed", CopyType type=DeepCopy) | |
| Construct by copying map and/or elements of a Petsc Vec. | |
| Vector (const Vector &source, CopyType type=DeepCopy) | |
| Construct by copying a NOX::Petsc::Vector. | |
| ~Vector () | |
| Destruct Vector. | |
| virtual int | length () const |
| Return the length of vector. | |
| string | Name () |
Access to underlying Petsc vector. | |
| virtual Vec & | getPetscVector () |
| Get reference to underlying Petsc vector. | |
| virtual const Vec & | getPetscVector () const |
| Get const reference to underlying Petsc vector. | |
Initialization methods. | |
| virtual Abstract::Vector & | init (double value) |
Initialize every element of this vector with gamma. | |
| virtual Abstract::Vector & | operator= (const Vec &source) |
| Copies source vector into "this". | |
| virtual Abstract::Vector & | operator= (const Vector &source) |
| virtual Abstract::Vector & | operator= (const Abstract::Vector &source) |
| See above. | |
| virtual Abstract::Vector & | abs (const Vector &source) |
| virtual Abstract::Vector & | abs (const Abstract::Vector &source) |
| See above. | |
| virtual Abstract::Vector & | reciprocal (const Vector &source) |
| virtual Abstract::Vector & | reciprocal (const Abstract::Vector &source) |
| See above. | |
Update methods. | |
| virtual Abstract::Vector & | scale (double gammaval) |
Scale each element of this vector by gamma. | |
| virtual Abstract::Vector & | scale (const Vector &a) |
| virtual Abstract::Vector & | scale (const Abstract::Vector &a) |
| See above. | |
| virtual Abstract::Vector & | update (double alpha, const Vector &a, double gammaval=0.0) |
| virtual Abstract::Vector & | update (double alpha, const Abstract::Vector &a, double gammaval=0.0) |
| See above. | |
| virtual Abstract::Vector & | update (double alpha, const Vector &a, double beta, const Vector &b, double gammaval=0.0) |
| virtual Abstract::Vector & | update (double alpha, const Abstract::Vector &a, double beta, const Abstract::Vector &b, double gammaval=0.0) |
| See above. | |
Creating new Vectors. | |
|
virtual Teuchos::RefCountPtr< NOX::Abstract::Vector > | clone (CopyType type=DeepCopy) const |
Norms. | |
| virtual double | norm (Abstract::Vector::NormType type=TwoNorm) const |
| virtual double | norm (const Vector &weights) const |
| virtual double | norm (const Abstract::Vector &weights) const |
| See above. | |
Inner products | |
| virtual double | innerProduct (const Vector &y) const |
| virtual double | innerProduct (const Abstract::Vector &y) const |
| See above. | |
|
|
Initialize every element of this vector with Here x represents this vector, and we update it as
Implements NOX::Abstract::Vector. |
|
|
Return the length of vector.
Implements NOX::Abstract::Vector. |
|
|
Scale each element of this vector by Here x represents this vector, and we update it as
Implements NOX::Abstract::Vector. |
1.3.9.1