LOCA::MultiContinuation::CompositeConstraintMVDX Class Reference

Implementation of LOCA::MultiContinuation::ConstraintInterfaceMVDX for composite constraints, i.e., a constraint comprised of multiple, separate constraints. More...

#include <LOCA_MultiContinuation_CompositeConstraintMVDX.H>

Inheritance diagram for LOCA::MultiContinuation::CompositeConstraintMVDX:

[legend]
Collaboration diagram for LOCA::MultiContinuation::CompositeConstraintMVDX:
[legend]
List of all members.

Public Member Functions

 CompositeConstraintMVDX (const Teuchos::RefCountPtr< LOCA::GlobalData > &global_data, const vector< Teuchos::RefCountPtr< LOCA::MultiContinuation::ConstraintInterfaceMVDX > > &constraintObjects)
 Constructor.
 CompositeConstraintMVDX (const CompositeConstraintMVDX &source, NOX::CopyType type=NOX::DeepCopy)
 Copy constructor.
 ~CompositeConstraintMVDX ()
 Destructor.
Implementation of LOCA::MultiContinuation::ConstraintInterface
virtual methods

virtual void copy (const ConstraintInterface &source)
 Copy.
virtual Teuchos::RefCountPtr<
LOCA::MultiContinuation::ConstraintInterface
clone (NOX::CopyType type=NOX::DeepCopy) const
 Cloning function.
virtual NOX::Abstract::Group::ReturnType computeDX ()
 Compute derivative of constraints w.r.t. solution vector x.
virtual NOX::Abstract::Group::ReturnType multiplyDX (double alpha, const NOX::Abstract::MultiVector &input_x, NOX::Abstract::MultiVector::DenseMatrix &result_p) const
 Compute result_p = alpha * dg/dx * input_x.
virtual NOX::Abstract::Group::ReturnType addDX (Teuchos::ETransp transb, double alpha, const NOX::Abstract::MultiVector::DenseMatrix &b, double beta, NOX::Abstract::MultiVector &result_x) const
 Compute result_x = alpha * dg/dx^T * op(b) + beta * result_x.
Implementation of LOCA::MultiContinuation::ConstraintInterfaceMVDX
virtual methods

virtual const NOX::Abstract::MultiVectorgetDX () const
 Return solution component of constraint derivatives.

Protected Attributes

vector< Teuchos::RefCountPtr<
LOCA::MultiContinuation::ConstraintInterfaceMVDX > > 
constraintMVDXPtrs
 Array of constraintMVDX pointers.
Teuchos::RefCountPtr< NOX::Abstract::MultiVectorcompositeDX
 Composite constraint derivative.

Detailed Description

Implementation of LOCA::MultiContinuation::ConstraintInterfaceMVDX for composite constraints, i.e., a constraint comprised of multiple, separate constraints.


Member Function Documentation

NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::CompositeConstraintMVDX::addDX Teuchos::ETransp  transb,
double  alpha,
const NOX::Abstract::MultiVector::DenseMatrix b,
double  beta,
NOX::Abstract::MultiVector result_x
const [virtual]
 

Compute result_x = alpha * dg/dx^T * op(b) + beta * result_x.

Note that this should be equivalent to

    result_x.update(transb, alpha, dgdx, b, beta);

Reimplemented from LOCA::MultiContinuation::CompositeConstraint.

NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::CompositeConstraintMVDX::multiplyDX double  alpha,
const NOX::Abstract::MultiVector input_x,
NOX::Abstract::MultiVector::DenseMatrix result_p
const [virtual]
 

Compute result_p = alpha * dg/dx * input_x.

Note that if there are n constraints and input_x has m columns, result_p should be a n by m matrix and is equivalent to

    input_x.multiply(alpha, dgdx, result_p).

Reimplemented from LOCA::MultiContinuation::CompositeConstraint.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:38:33 2008 for NOX by doxygen 1.3.9.1