NLPInterfacePack::NLPDirectThyraModelEvaluator Class Reference

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

#include <NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp>

Inheritance diagram for NLPInterfacePack::NLPDirectThyraModelEvaluator:

[legend]
List of all members.

Overridden public members from NLP

void initialize (bool test_setup)
 
void unset_quantities ()
 

Overridden public members from NLPObjGrad

bool supports_Gf () const
 
bool supports_Gf_prod () const
 
value_type calc_Gf_prod (const Vector &x, const Vector &d, bool newx) const
 

Overridden public members from NLPDirect

Range1D var_dep () const
 
Range1D var_indep () const
 
const mat_fcty_ptr_t factory_D () const
 
const mat_sym_nonsing_fcty_ptr_t factory_S () const
 
void calc_point (const Vector &x, value_type *f, VectorMutable *c, bool recalc_c, VectorMutable *Gf, VectorMutable *py, VectorMutable *rGf, MatrixOp *GcU, MatrixOp *D, MatrixOp *Uz) const
 
void calc_semi_newton_step (const Vector &x, VectorMutable *c, bool recalc_c, VectorMutable *py) const
 

Public Types

typedef Teuchos::RefCountPtr<
Thyra::DirectionalFiniteDiffCalculator<
value_type > > 
direcFiniteDiffCalculator_ptr_t

Public Member Functions

void set_direcFiniteDiffCalculator (const Teuchos::RefCountPtr< Thyra::DirectionalFiniteDiffCalculator< value_type > > &direcFiniteDiffCalculator)
 Utility object that computes directional finite differences.
Teuchos::RefCountPtr< Thyra::DirectionalFiniteDiffCalculator<
value_type > > 
get_direcFiniteDiffCalculator () const
Thyra::DirectionalFiniteDiffCalculator<
value_type > & 
direcFiniteDiffCalculator ()
const Thyra::DirectionalFiniteDiffCalculator<
value_type > & 
direcFiniteDiffCalculator () const
 NLPDirectThyraModelEvaluator ()
 Initialize to uninitialized.
 NLPDirectThyraModelEvaluator (const Teuchos::RefCountPtr< Thyra::ModelEvaluator< value_type > > &model, const int p_idx, const int g_idx)
 Calls initialize().
void initialize (const Teuchos::RefCountPtr< 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 Attributes

Teuchos::RefCountPtr< Thyra::DirectionalFiniteDiffCalculator<
value_type > > 
direcFiniteDiffCalculator_
Teuchos::RefCountPtr< Thyra::LinearOpWithSolveBase<
value_type > > 
thyra_C_
Teuchos::RefCountPtr< Thyra::MultiVectorBase<
value_type > > 
thyra_N_

Detailed Description

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

ToDo: Finish documentation!

Definition at line 44 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.


Member Typedef Documentation

typedef Teuchos::RefCountPtr< Thyra::DirectionalFiniteDiffCalculator<value_type> > NLPInterfacePack::NLPDirectThyraModelEvaluator::direcFiniteDiffCalculator_ptr_t
 

Definition at line 51 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.


Constructor & Destructor Documentation

NLPInterfacePack::NLPDirectThyraModelEvaluator::NLPDirectThyraModelEvaluator  ) 
 

Initialize to uninitialized.

Definition at line 50 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

NLPInterfacePack::NLPDirectThyraModelEvaluator::NLPDirectThyraModelEvaluator const Teuchos::RefCountPtr< Thyra::ModelEvaluator< value_type > > &  model,
const int  p_idx,
const int  g_idx
 

Calls initialize().

Definition at line 53 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.


Member Function Documentation

void NLPInterfacePack::NLPDirectThyraModelEvaluator::set_direcFiniteDiffCalculator const Teuchos::RefCountPtr< Thyra::DirectionalFiniteDiffCalculator< value_type > > &  direcFiniteDiffCalculator  )  [inline]
 

Utility object that computes directional finite differences.

Definition at line 51 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.

Teuchos::RefCountPtr< Thyra::DirectionalFiniteDiffCalculator<value_type> > NLPInterfacePack::NLPDirectThyraModelEvaluator::get_direcFiniteDiffCalculator  )  const [inline]
 

Definition at line 51 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.

Thyra::DirectionalFiniteDiffCalculator<value_type>& NLPInterfacePack::NLPDirectThyraModelEvaluator::direcFiniteDiffCalculator  )  [inline]
 

Definition at line 51 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.

const Thyra::DirectionalFiniteDiffCalculator<value_type>& NLPInterfacePack::NLPDirectThyraModelEvaluator::direcFiniteDiffCalculator  )  const [inline]
 

Definition at line 51 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.

void NLPInterfacePack::NLPDirectThyraModelEvaluator::initialize const Teuchos::RefCountPtr< 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!

Definition at line 62 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

void NLPInterfacePack::NLPDirectThyraModelEvaluator::initialize bool  test_setup  )  [virtual]
 

Reimplemented from NLPInterfacePack::NLPDirect.

Definition at line 82 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

void NLPInterfacePack::NLPDirectThyraModelEvaluator::unset_quantities  )  [virtual]
 

Reimplemented from NLPInterfacePack::NLPThyraModelEvaluatorBase.

Definition at line 92 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

bool NLPInterfacePack::NLPDirectThyraModelEvaluator::supports_Gf  )  const [virtual]
 

Reimplemented from NLPInterfacePack::NLPObjGrad.

Definition at line 99 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

bool NLPInterfacePack::NLPDirectThyraModelEvaluator::supports_Gf_prod  )  const [virtual]
 

Reimplemented from NLPInterfacePack::NLPObjGrad.

Definition at line 106 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

value_type NLPInterfacePack::NLPDirectThyraModelEvaluator::calc_Gf_prod const Vector x,
const Vector d,
bool  newx
const [virtual]
 

Reimplemented from NLPInterfacePack::NLPObjGrad.

Definition at line 111 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

Range1D NLPInterfacePack::NLPDirectThyraModelEvaluator::var_dep  )  const [virtual]
 

Reimplemented from NLPInterfacePack::NLPDirect.

Definition at line 131 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

Range1D NLPInterfacePack::NLPDirectThyraModelEvaluator::var_indep  )  const [virtual]
 

Reimplemented from NLPInterfacePack::NLPDirect.

Definition at line 136 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

const NLPDirect::mat_fcty_ptr_t NLPInterfacePack::NLPDirectThyraModelEvaluator::factory_D  )  const [virtual]
 

Implements NLPInterfacePack::NLPDirect.

Definition at line 142 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

const NLPDirect::mat_sym_nonsing_fcty_ptr_t NLPInterfacePack::NLPDirectThyraModelEvaluator::factory_S  )  const [virtual]
 

Reimplemented from NLPInterfacePack::NLPDirect.

Definition at line 148 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

void NLPInterfacePack::NLPDirectThyraModelEvaluator::calc_point const Vector x,
value_type f,
VectorMutable c,
bool  recalc_c,
VectorMutable Gf,
VectorMutable py,
VectorMutable rGf,
MatrixOp *  GcU,
MatrixOp *  D,
MatrixOp *  Uz
const [virtual]
 

Implements NLPInterfacePack::NLPDirect.

Definition at line 153 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.

void NLPInterfacePack::NLPDirectThyraModelEvaluator::calc_semi_newton_step const Vector x,
VectorMutable c,
bool  recalc_c,
VectorMutable py
const [virtual]
 

Implements NLPInterfacePack::NLPDirect.

Definition at line 403 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.cpp.


Member Data Documentation

Teuchos::RefCountPtr< Thyra::DirectionalFiniteDiffCalculator<value_type> > NLPInterfacePack::NLPDirectThyraModelEvaluator::direcFiniteDiffCalculator_ [private]
 

Definition at line 51 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.

Teuchos::RefCountPtr<Thyra::LinearOpWithSolveBase<value_type> > NLPInterfacePack::NLPDirectThyraModelEvaluator::thyra_C_ [mutable, private]
 

Definition at line 132 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.

Teuchos::RefCountPtr<Thyra::MultiVectorBase<value_type> > NLPInterfacePack::NLPDirectThyraModelEvaluator::thyra_N_ [mutable, private]
 

Definition at line 133 of file NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:36:25 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1