EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator Class Reference

A simple quadratic parallel response-only model evaluator. More...

#include <EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.hpp>

Inheritance diagram for EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator:

Inheritance graph
[legend]
List of all members.

Overridden from EpetraExt::ModelEvaluator .

Teuchos::RefCountPtr< const
Epetra_Map
get_x_map () const
 
Teuchos::RefCountPtr< const
Epetra_Map
get_f_map () const
 
Teuchos::RefCountPtr< const
Epetra_Map
get_p_map (int l) const
 .
Teuchos::RefCountPtr< const
Epetra_Map
get_g_map (int j) const
 .
Teuchos::RefCountPtr< const
Epetra_Vector
get_p_init (int l) const
 
InArgs createInArgs () const
 
OutArgs createOutArgs () const
 
void evalModel (const InArgs &inArgs, const OutArgs &outArgs) const
 

Public Member Functions

 DiagonalQuadraticResponseOnlyModelEvaluator (const Teuchos::RCP< Epetra_Comm > &comm, const int localDim, const double &pt, const double &p0, const double &scale)
 

Detailed Description

A simple quadratic parallel response-only model evaluator.

Represents the model:

    g[0] = 0.5 * (p-pt)^T * (p-pt)
 
 

See the function evalModel() for more details.

Definition at line 27 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.hpp.


Constructor & Destructor Documentation

EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::DiagonalQuadraticResponseOnlyModelEvaluator ( const Teuchos::RCP< Epetra_Comm > &  comm,
const int  localDim,
const double &  pt,
const double &  p0,
const double &  scale 
)

Definition at line 11 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.


Member Function Documentation

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_x_map (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 38 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_f_map (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 45 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_p_map ( int  l  )  const [virtual]

.

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 52 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_g_map ( int  j  )  const [virtual]

.

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 60 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.

Teuchos::RefCountPtr< const Epetra_Vector > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_p_init ( int  l  )  const [virtual]

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 68 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.

EpetraExt::ModelEvaluator::InArgs EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::createInArgs (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 76 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.

EpetraExt::ModelEvaluator::OutArgs EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::createOutArgs (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 86 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.

void EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::evalModel ( const InArgs &  inArgs,
const OutArgs &  outArgs 
) const

Definition at line 103 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:23:08 2010 for EpetraExt by  doxygen 1.4.7