MOOCHO (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions
NLPInterfacePack::NLPFirstOrderThyraModelEvaluator Class Reference

Implement the NLPFirstOrder interface using a Thyra::ModelEvaluator object. More...

#include <NLPInterfacePack_NLPFirstOrderThyraModelEvaluator.hpp>

Inheritance diagram for NLPInterfacePack::NLPFirstOrderThyraModelEvaluator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 NLPFirstOrderThyraModelEvaluator ()
 Initialize to uninitialized.
 NLPFirstOrderThyraModelEvaluator (const Teuchos::RCP< Thyra::ModelEvaluator< value_type > > &model, const int p_idx, const int g_idx)
 Calls initialize().
void initialize (const Teuchos::RCP< Thyra::ModelEvaluator< value_type > > &model, const int p_idx, const int g_idx)
 .Initialize given a Thyra::ModelEvaluator and a description of how to interpret it.

Private Member Functions

void evalModel (const Vector &x, bool newx, const ZeroOrderInfo *zero_order_info, const ObjGradInfo *obj_grad_info, const FirstOrderInfo *first_order_info) const
 

Overridden public members from NLP

void initialize (bool test_setup)
 
void unset_quantities ()
 

Overridden public members from NLPFirstOrder

void set_Gc (MatrixOp *Gc)
 Overridden to check the concrete type of Gc.
const NLPFirstOrder::mat_fcty_ptr_t factory_Gc () const
 
const basis_sys_ptr_t basis_sys () const
 Returns an ExampleBasisSystem.

Overridden protected members from NLPFirstOrder

void imp_calc_Gc (const Vector &x, bool newx, const FirstOrderInfo &first_order_info) const
 

Detailed Description

Implement the NLPFirstOrder interface using a Thyra::ModelEvaluator object.

ToDo: Finish documentation!

Definition at line 43 of file NLPInterfacePack_NLPFirstOrderThyraModelEvaluator.hpp.


Constructor & Destructor Documentation

NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::NLPFirstOrderThyraModelEvaluator ( )

Initialize to uninitialized.

Definition at line 52 of file NLPInterfacePack_NLPFirstOrderThyraModelEvaluator.cpp.

NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::NLPFirstOrderThyraModelEvaluator ( const Teuchos::RCP< Thyra::ModelEvaluator< value_type > > &  model,
const int  p_idx,
const int  g_idx 
)

Member Function Documentation

void NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::initialize ( const Teuchos::RCP< Thyra::ModelEvaluator< value_type > > &  model,
const int  p_idx,
const int  g_idx 
)

.Initialize given a Thyra::ModelEvaluator and a description of how to interpret it.

ToDo: Finish documentation!

Todo: Add arguments for auxiliary inequalites and equalities

Definition at line 64 of file NLPInterfacePack_NLPFirstOrderThyraModelEvaluator.cpp.

void NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::initialize ( bool  test_setup) [virtual]
void NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::unset_quantities ( ) [virtual]
void NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::set_Gc ( MatrixOp *  Gc) [virtual]

Overridden to check the concrete type of Gc.

Reimplemented from NLPInterfacePack::NLPFirstOrder.

Definition at line 92 of file NLPInterfacePack_NLPFirstOrderThyraModelEvaluator.cpp.

const NLPFirstOrder::mat_fcty_ptr_t NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::factory_Gc ( ) const [virtual]
const NLPFirstOrder::basis_sys_ptr_t NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::basis_sys ( ) const [virtual]
void NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::imp_calc_Gc ( const Vector x,
bool  newx,
const FirstOrderInfo first_order_info 
) const [protected, virtual]
void NLPInterfacePack::NLPFirstOrderThyraModelEvaluator::evalModel ( const Vector x,
bool  newx,
const ZeroOrderInfo zero_order_info,
const ObjGradInfo obj_grad_info,
const FirstOrderInfo first_order_info 
) const [private]

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