MoochoPack::ThyraModelEvaluatorSolver Class Reference

NLP Solver class for models represented through Thyra::ModelEvaluator. More...

#include <MoochoPack_ThyraModelEvaluatorSolver.hpp>

List of all members.

Public Member Functions

void insertStateElimCommandLineOptions (const bool &insertStateElimCommandLineOptions)
 
const bool & insertStateElimCommandLineOptions () const
void insertFiniteDiffCommandLineOptions (const bool &insertFiniteDiffCommandLineOptions)
 
const bool & insertFiniteDiffCommandLineOptions () const
 ThyraModelEvaluatorSolver ()
 
void setupCLP (Teuchos::CommandLineProcessor *clp)
 
MoochoSolvergetSolver ()
 
const MoochoSolvergetSolver () const
 
void setDoSim (const bool doSim)
 
bool getDoSim () const
 
void setModel (const Teuchos::RefCountPtr< Thyra::ModelEvaluator< value_type > > &model, const int p_idx=0, const int g_idx=0)
 
void readInitialGuess (std::ostream *out=NULL)
 
void setInitialGuess (const Teuchos::RefCountPtr< const Thyra::ModelEvaluatorBase::InArgs< value_type > > &initialGuess)
 
void setInitialGuess (const Thyra::ModelEvaluatorBase::InArgs< value_type > &initialGuess)
 
MoochoSolver::ESolutionStatus solve ()
 
const Thyra::ModelEvaluatorBase::InArgs<
value_type > & 
getFinalPoint () const
 
void writeFinalSolution (std::ostream *out=NULL) const
 

Private Attributes

bool insertStateElimCommandLineOptions_
bool insertFiniteDiffCommandLineOptions_
MoochoSolver solver_
Teuchos::RefCountPtr< Thyra::ModelEvaluator<
value_type > > 
origModel_
int p_idx_
int g_idx_
Teuchos::RefCountPtr< Thyra::DefaultNominalBoundsOverrideModelEvaluator<
value_type > > 
nominalModel_
Teuchos::RefCountPtr< Thyra::DefaultFinalPointCaptureModelEvaluator<
value_type > > 
finalPointModel_
Teuchos::RefCountPtr< Thyra::ModelEvaluator<
value_type > > 
outerModel_
bool do_sim_
bool use_direct_
bool use_black_box_
bool use_finite_diff_
Thyra::DirectionalFiniteDiffCalculatorTypes::EFDMethodType fd_method_type_
double fd_step_len_
double fwd_newton_tol_
int fwd_newton_max_iters_
std::string stateGuessFileBase_
double scaleStateGuess_
std::string paramGuessFileBase_
double scaleParamGuess_
std::string stateSoluFileBase_
std::string paramSoluFileBase_


Detailed Description

NLP Solver class for models represented through Thyra::ModelEvaluator.

ToDo: Finish documetation!

Definition at line 46 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.


Constructor & Destructor Documentation

MoochoPack::ThyraModelEvaluatorSolver::ThyraModelEvaluatorSolver  ) 
 

Definition at line 95 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.


Member Function Documentation

void MoochoPack::ThyraModelEvaluatorSolver::insertStateElimCommandLineOptions const bool &  insertStateElimCommandLineOptions  )  [inline]
 

Definition at line 50 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

const bool& MoochoPack::ThyraModelEvaluatorSolver::insertStateElimCommandLineOptions  )  const [inline]
 

Definition at line 50 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

void MoochoPack::ThyraModelEvaluatorSolver::insertFiniteDiffCommandLineOptions const bool &  insertFiniteDiffCommandLineOptions  )  [inline]
 

Definition at line 53 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

const bool& MoochoPack::ThyraModelEvaluatorSolver::insertFiniteDiffCommandLineOptions  )  const [inline]
 

Definition at line 53 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

void MoochoPack::ThyraModelEvaluatorSolver::setupCLP Teuchos::CommandLineProcessor *  clp  ) 
 

Definition at line 114 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

MoochoSolver & MoochoPack::ThyraModelEvaluatorSolver::getSolver  ) 
 

Definition at line 143 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

const MoochoSolver & MoochoPack::ThyraModelEvaluatorSolver::getSolver  )  const
 

Definition at line 148 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

void MoochoPack::ThyraModelEvaluatorSolver::setDoSim const bool  doSim  ) 
 

Definition at line 153 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

bool MoochoPack::ThyraModelEvaluatorSolver::getDoSim  )  const
 

Definition at line 158 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

void MoochoPack::ThyraModelEvaluatorSolver::setModel const Teuchos::RefCountPtr< Thyra::ModelEvaluator< value_type > > &  model,
const int  p_idx = 0,
const int  g_idx = 0
 

Definition at line 163 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

void MoochoPack::ThyraModelEvaluatorSolver::readInitialGuess std::ostream *  out = NULL  ) 
 

Definition at line 274 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

void MoochoPack::ThyraModelEvaluatorSolver::setInitialGuess const Teuchos::RefCountPtr< const Thyra::ModelEvaluatorBase::InArgs< value_type > > &  initialGuess  ) 
 

Definition at line 304 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

void MoochoPack::ThyraModelEvaluatorSolver::setInitialGuess const Thyra::ModelEvaluatorBase::InArgs< value_type > &  initialGuess  ) 
 

Definition at line 311 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

MoochoSolver::ESolutionStatus MoochoPack::ThyraModelEvaluatorSolver::solve  ) 
 

Definition at line 320 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

const Thyra::ModelEvaluatorBase::InArgs< value_type > & MoochoPack::ThyraModelEvaluatorSolver::getFinalPoint  )  const
 

Definition at line 345 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.

void MoochoPack::ThyraModelEvaluatorSolver::writeFinalSolution std::ostream *  out = NULL  )  const
 

Definition at line 325 of file MoochoPack_ThyraModelEvaluatorSolver.cpp.


Member Data Documentation

bool MoochoPack::ThyraModelEvaluatorSolver::insertStateElimCommandLineOptions_ [private]
 

Definition at line 50 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

bool MoochoPack::ThyraModelEvaluatorSolver::insertFiniteDiffCommandLineOptions_ [private]
 

Definition at line 53 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

MoochoSolver MoochoPack::ThyraModelEvaluatorSolver::solver_ [private]
 

Definition at line 111 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

Teuchos::RefCountPtr<Thyra::ModelEvaluator<value_type> > MoochoPack::ThyraModelEvaluatorSolver::origModel_ [private]
 

Definition at line 113 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

int MoochoPack::ThyraModelEvaluatorSolver::p_idx_ [private]
 

Definition at line 114 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

int MoochoPack::ThyraModelEvaluatorSolver::g_idx_ [private]
 

Definition at line 115 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

Teuchos::RefCountPtr<Thyra::DefaultNominalBoundsOverrideModelEvaluator<value_type> > MoochoPack::ThyraModelEvaluatorSolver::nominalModel_ [private]
 

Definition at line 117 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

Teuchos::RefCountPtr<Thyra::DefaultFinalPointCaptureModelEvaluator<value_type> > MoochoPack::ThyraModelEvaluatorSolver::finalPointModel_ [private]
 

Definition at line 119 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

Teuchos::RefCountPtr<Thyra::ModelEvaluator<value_type> > MoochoPack::ThyraModelEvaluatorSolver::outerModel_ [private]
 

Definition at line 121 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

bool MoochoPack::ThyraModelEvaluatorSolver::do_sim_ [private]
 

Definition at line 123 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

bool MoochoPack::ThyraModelEvaluatorSolver::use_direct_ [private]
 

Definition at line 124 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

bool MoochoPack::ThyraModelEvaluatorSolver::use_black_box_ [private]
 

Definition at line 125 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

bool MoochoPack::ThyraModelEvaluatorSolver::use_finite_diff_ [private]
 

Definition at line 126 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

Thyra::DirectionalFiniteDiffCalculatorTypes::EFDMethodType MoochoPack::ThyraModelEvaluatorSolver::fd_method_type_ [private]
 

Definition at line 127 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

double MoochoPack::ThyraModelEvaluatorSolver::fd_step_len_ [private]
 

Definition at line 128 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

double MoochoPack::ThyraModelEvaluatorSolver::fwd_newton_tol_ [private]
 

Definition at line 129 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

int MoochoPack::ThyraModelEvaluatorSolver::fwd_newton_max_iters_ [private]
 

Definition at line 130 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

std::string MoochoPack::ThyraModelEvaluatorSolver::stateGuessFileBase_ [private]
 

Definition at line 131 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

double MoochoPack::ThyraModelEvaluatorSolver::scaleStateGuess_ [private]
 

Definition at line 132 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

std::string MoochoPack::ThyraModelEvaluatorSolver::paramGuessFileBase_ [private]
 

Definition at line 133 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

double MoochoPack::ThyraModelEvaluatorSolver::scaleParamGuess_ [private]
 

Definition at line 134 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

std::string MoochoPack::ThyraModelEvaluatorSolver::stateSoluFileBase_ [private]
 

Definition at line 135 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.

std::string MoochoPack::ThyraModelEvaluatorSolver::paramSoluFileBase_ [private]
 

Definition at line 136 of file MoochoPack_ThyraModelEvaluatorSolver.hpp.


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