44 #ifndef EPETRA_MULTI_POINT_MODEL_EVAL_4D_OPT_HPP 45 #define EPETRA_MULTI_POINT_MODEL_EVAL_4D_OPT_HPP 48 #include "Epetra_Map.h" 49 #include "Epetra_Vector.h" 50 #include "Epetra_Comm.h" 51 #include "Epetra_CrsGraph.h" 78 Teuchos::RCP<Epetra_Comm> epetra_comm
79 ,
const double xt0 = 1.0
80 ,
const double xt1 = 1.0
81 ,
const double pt0 = 2.0
82 ,
const double pt1 = 0.0
83 ,
const double d = 10.0
84 ,
const double x00 = 1.0
85 ,
const double x01 = 1.0
86 ,
const double p00 = 2.0
87 ,
const double p01 = 0.0
88 ,
const double q0 = 0.0
92 void set_p_bounds(
double pL0,
double pL1,
double pU0,
double pU1 );
95 void set_x_bounds(
double xL0,
double xL1,
double xU0,
double xU1 );
101 Teuchos::RCP<const Epetra_Map>
get_x_map()
const;
103 Teuchos::RCP<const Epetra_Map>
get_f_map()
const;
105 Teuchos::RCP<const Epetra_Map>
get_p_map(
int l)
const;
107 Teuchos::RCP<const Epetra_Map>
get_g_map(
int j)
const;
109 Teuchos::RCP<const Epetra_Vector>
get_x_init()
const;
111 Teuchos::RCP<const Epetra_Vector>
get_p_init(
int l)
const;
121 Teuchos::RCP<Epetra_Operator>
create_W()
const;
150 Teuchos::RCP<Epetra_Vector>
xL_;
151 Teuchos::RCP<Epetra_Vector>
xU_;
152 Teuchos::RCP<Epetra_Vector>
pL_;
153 Teuchos::RCP<Epetra_Vector>
pU_;
154 Teuchos::RCP<Epetra_Vector>
gL_;
155 Teuchos::RCP<Epetra_Vector>
gU_;
156 Teuchos::RCP<Epetra_Vector>
x0_;
157 Teuchos::RCP<Epetra_Vector>
p0_;
158 Teuchos::RCP<Epetra_Vector>
q_;
159 Teuchos::RCP<Epetra_Vector>
qL_;
160 Teuchos::RCP<Epetra_Vector>
qU_;
166 #endif // EPETRA_MULTI_POINT_MODEL_EVAL_4D_OPT_HPP Teuchos::RCP< const Epetra_Map > get_p_map(int l) const
.
Teuchos::RCP< Epetra_Vector > qU_
Teuchos::RCP< Epetra_Vector > gL_
Teuchos::RCP< const Epetra_Map > map_p_
Teuchos::RCP< Epetra_Vector > gU_
Teuchos::RCP< Epetra_Vector > q_
Teuchos::RCP< const Epetra_Vector > get_x_upper_bounds() const
Teuchos::RCP< const Epetra_Map > map_g_
InArgs createInArgs() const
Teuchos::RCP< const Epetra_Map > get_f_map() const
Teuchos::RCP< const Epetra_Vector > get_x_lower_bounds() const
Teuchos::RCP< const Epetra_Vector > get_p_upper_bounds(int l) const
Teuchos::RCP< const Epetra_Vector > get_p_lower_bounds(int l) const
Teuchos::RCP< const Epetra_Vector > get_x_init() const
Teuchos::RCP< Epetra_Vector > xL_
A simple serial example model which includes a parameter subvector and a response function that can b...
void set_p_bounds(double pL0, double pL1, double pU0, double pU1)
Teuchos::RCP< Epetra_Vector > xU_
Teuchos::RCP< const Epetra_Vector > get_p_init(int l) const
Teuchos::RCP< const Epetra_Map > map_x_
Teuchos::RCP< Epetra_Vector > x0_
EpetraMultiPointModelEval4DOpt(Teuchos::RCP< Epetra_Comm > epetra_comm, const double xt0=1.0, const double xt1=1.0, const double pt0=2.0, const double pt1=0.0, const double d=10.0, const double x00=1.0, const double x01=1.0, const double p00=2.0, const double p01=0.0, const double q0=0.0)
Teuchos::RCP< Epetra_Vector > qL_
OutArgs createOutArgs() const
Teuchos::RCP< const Epetra_Comm > epetra_comm_
Teuchos::RCP< Epetra_Vector > p0_
Teuchos::RCP< const Epetra_Map > get_x_map() const
Teuchos::RCP< const Epetra_Map > get_g_map(int j) const
.
Teuchos::RCP< Epetra_Vector > pU_
Teuchos::RCP< Epetra_Operator > create_W() const
void set_x_bounds(double xL0, double xL1, double xU0, double xU1)
void evalModel(const InArgs &inArgs, const OutArgs &outArgs) const
Teuchos::RCP< Epetra_CrsGraph > W_graph_
Teuchos::RCP< const Epetra_Map > map_q_
Base interface for evaluating a stateless "model".
Teuchos::RCP< Epetra_Vector > pL_