EpetraExt Development
Public Member Functions | Related Functions
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.

Public Member Functions

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

Related Functions

(Note that these are not member functions.)

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

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
 

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 70 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 
)

Member Function Documentation

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_x_map ( ) const [virtual]
Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_f_map ( ) const [virtual]
Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_p_map ( int  l) const [virtual]
Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_g_map ( int  j) const [virtual]
Teuchos::RefCountPtr< const Epetra_Vector > EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::get_p_init ( int  l) const [virtual]
EpetraExt::ModelEvaluator::InArgs EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::createInArgs ( ) const [virtual]
EpetraExt::ModelEvaluator::OutArgs EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::createOutArgs ( ) const [virtual]
void EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator::evalModel ( const InArgs inArgs,
const OutArgs outArgs 
) const [virtual]

Friends And Related Function Documentation

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

Nonmember constructor.

Definition at line 126 of file EpetraExt_DiagonalQuadraticResponseOnlyModelEvaluator.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines