44 #ifndef EPETRA_EXT_DIAGONAL_RESPONSE_ONLY_MODEL_EVALUATOR_HPP
45 #define EPETRA_EXT_DIAGONAL_RESPONSE_ONLY_MODEL_EVALUATOR_HPP
49 #include "Epetra_Map.h"
50 #include "Epetra_Vector.h"
51 #include "Epetra_Comm.h"
52 #include "Epetra_CrsGraph.h"
75 const Teuchos::RCP<Epetra_Comm> &comm,
76 const int localDim,
const double &pt,
const double &p0,
const double &scale );
82 Teuchos::RCP<const Epetra_Map>
get_x_map()
const;
84 Teuchos::RCP<const Epetra_Map>
get_f_map()
const;
86 Teuchos::RCP<const Epetra_Map>
get_p_map(
int l)
const;
88 Teuchos::RCP<const Epetra_Map>
get_g_map(
int j)
const;
90 Teuchos::RCP<const Epetra_Vector>
get_p_init(
int l)
const;
105 Teuchos::RCP<const Epetra_Comm> epetra_comm_;
106 Teuchos::RCP<const Epetra_Map> map_p_;
107 Teuchos::RCP<const Epetra_Map> map_g_;
111 Teuchos::RCP<Epetra_Vector> pt_;
112 Teuchos::RCP<Epetra_Vector> p0_;
125 Teuchos::RCP<DiagonalQuadraticResponseOnlyModelEvaluator>
127 const Teuchos::RCP<Epetra_Comm> &comm,
128 const int localDim,
const double &pt,
const double &p0,
const double &scale
133 comm, localDim, pt, p0, scale
142 #endif // EPETRA_EXT_DIAGONAL_RESPONSE_ONLY_MODEL_EVALUATOR_HPP
Teuchos::RCP< const Epetra_Map > get_x_map() const
Teuchos::RCP< const Epetra_Map > get_f_map() const
InArgs createInArgs() const
A simple quadratic parallel response-only model evaluator.
OutArgs createOutArgs() const
void evalModel(const InArgs &inArgs, const OutArgs &outArgs) const
Teuchos::RCP< const Epetra_Vector > get_p_init(int l) const
Teuchos::RCP< DiagonalQuadraticResponseOnlyModelEvaluator > diagonalQuadraticResponseOnlyModelEvaluator(const Teuchos::RCP< Epetra_Comm > &comm, const int localDim, const double &pt, const double &p0, const double &scale)
Nonmember constructor.
Teuchos::RCP< const Epetra_Map > get_p_map(int l) const
.
Teuchos::RCP< const Epetra_Map > get_g_map(int j) const
.
Base interface for evaluating a stateless "model".