MoochoPack::DecompositionSystemStateStepBuilderStd Class Reference

Standard builder object for creating DecompositionSystem, EvalNewPoint Step and other objects and setting up some of the state object. More...

#include <MoochoPack_DecompositionSystemStateStepBuilderStd.hpp>

List of all members.

Enums for variaous options categories

enum  ENullSpaceMatrixType { NULL_SPACE_MATRIX_AUTO, NULL_SPACE_MATRIX_EXPLICIT, NULL_SPACE_MATRIX_IMPLICIT }
  More...
enum  ERangeSpaceMatrixType { RANGE_SPACE_MATRIX_AUTO, RANGE_SPACE_MATRIX_COORDINATE, RANGE_SPACE_MATRIX_ORTHOGONAL }
  More...

Public Types

typedef Teuchos::RCP< const
OptionsFromStreamPack::OptionsFromStream
options_ptr_t
 
 NULL_SPACE_MATRIX_AUTO
 NULL_SPACE_MATRIX_EXPLICIT
 NULL_SPACE_MATRIX_IMPLICIT
 RANGE_SPACE_MATRIX_AUTO
 RANGE_SPACE_MATRIX_COORDINATE
 RANGE_SPACE_MATRIX_ORTHOGONAL

Public Member Functions

 DecompositionSystemStateStepBuilderStd ()
 
void set_options (const options_ptr_t &options)
 Set the options that will be used to configure the algorithmic objects.
const options_ptr_tget_options () const
 
void process_nlp_and_options (std::ostream *trase_out, NLP &nlp, NLPFirstOrder **nlp_foi, NLPSecondOrder **nlp_soi, NLPDirect **nlp_fod, bool *tailored_approach)
 Process the NLP and process the options passed in from set_options(). Postconditions:.
void create_decomp_sys (std::ostream *trase_out, NLP &nlp, NLPFirstOrder *nlp_foi, NLPSecondOrder *nlp_soi, NLPDirect *nlp_fod, bool tailored_approach, Teuchos::RCP< DecompositionSystem > *decomp_sys)
 Create the decomposition system object.
void add_iter_quantities (std::ostream *trase_out, NLP &nlp, NLPFirstOrder *nlp_foi, NLPSecondOrder *nlp_soi, NLPDirect *nlp_fod, bool tailored_approach, const Teuchos::RCP< DecompositionSystem > &decomp_sys, const Teuchos::RCP< NLPAlgoState > &state)
 Add the common iteration quantities to the state object.
void create_eval_new_point (std::ostream *trase_out, NLP &nlp, NLPFirstOrder *nlp_foi, NLPSecondOrder *nlp_soi, NLPDirect *nlp_fod, bool tailored_approach, const Teuchos::RCP< DecompositionSystem > &decomp_sys, Teuchos::RCP< IterationPack::AlgorithmStep > *eval_new_point_step, Teuchos::RCP< CalcFiniteDiffProd > *calc_fd_prod, Teuchos::RCP< VariableBoundsTester > *bounds_tester, Teuchos::RCP< NewDecompositionSelection_Strategy > *new_decomp_selection_strategy)
 Create the EvalNewPoint step object and allocated objects.
SOptionValuescurrent_option_values ()
 Return the current option values being used.

Static Private Member Functions

static void readin_options (const OptionsFromStreamPack::OptionsFromStream &options, SOptionValues *option_values, std::ostream *trase_out)
 Read in the options from a stream.
static void set_default_options (const SOptionValues &user_option_values, SOptionValues *current_option_values, std::ostream *trase_out)
 Set the defaults for options not set by the user.

Private Attributes

options_ptr_t options_
 Smart pointer to options.
SOptionValues uov_
 Options structs.
SOptionValues cov_
Teuchos::RCP< BasisSystemPerm > basis_sys_perm_

Classes

struct  SOptionValues
  More...


Detailed Description

Standard builder object for creating DecompositionSystem, EvalNewPoint Step and other objects and setting up some of the state object.

This class is designed to be used by NLPAlgoConfig subclasses based on SQP and performs many different tasks that are common to all of these algorithms.

ToDo: Finish documentation!

Definition at line 52 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.


Member Typedef Documentation

typedef Teuchos::RCP< const OptionsFromStreamPack::OptionsFromStream> MoochoPack::DecompositionSystemStateStepBuilderStd::options_ptr_t

Definition at line 86 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.


Member Enumeration Documentation

enum MoochoPack::DecompositionSystemStateStepBuilderStd::ENullSpaceMatrixType

Enumerator:
NULL_SPACE_MATRIX_AUTO 
NULL_SPACE_MATRIX_EXPLICIT 
NULL_SPACE_MATRIX_IMPLICIT 

Definition at line 60 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.

enum MoochoPack::DecompositionSystemStateStepBuilderStd::ERangeSpaceMatrixType

Enumerator:
RANGE_SPACE_MATRIX_AUTO 
RANGE_SPACE_MATRIX_COORDINATE 
RANGE_SPACE_MATRIX_ORTHOGONAL 

Definition at line 64 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.


Constructor & Destructor Documentation

MoochoPack::DecompositionSystemStateStepBuilderStd::DecompositionSystemStateStepBuilderStd (  ) 

Definition at line 101 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.


Member Function Documentation

void MoochoPack::DecompositionSystemStateStepBuilderStd::set_options ( const options_ptr_t options  ) 

Set the options that will be used to configure the algorithmic objects.

Parameters:
options [in] If NULL then no options will be set. If !=NULL then this is the OptionsFromStream object that will be used to extract the options to use for the algorithm. The state of this object must be maintained by the client until this object is no longer needed.

Definition at line 104 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.

const DecompositionSystemStateStepBuilderStd::options_ptr_t & MoochoPack::DecompositionSystemStateStepBuilderStd::get_options (  )  const

Definition at line 110 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.

void MoochoPack::DecompositionSystemStateStepBuilderStd::process_nlp_and_options ( std::ostream *  trase_out,
NLP &  nlp,
NLPFirstOrder **  nlp_foi,
NLPSecondOrder **  nlp_soi,
NLPDirect **  nlp_fod,
bool *  tailored_approach 
)

Process the NLP and process the options passed in from set_options(). Postconditions:.

ToDo: Finish documentation!

Definition at line 115 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.

void MoochoPack::DecompositionSystemStateStepBuilderStd::create_decomp_sys ( std::ostream *  trase_out,
NLP &  nlp,
NLPFirstOrder *  nlp_foi,
NLPSecondOrder *  nlp_soi,
NLPDirect *  nlp_fod,
bool  tailored_approach,
Teuchos::RCP< DecompositionSystem > *  decomp_sys 
)

Create the decomposition system object.

ToDo: Finish documentation!

Definition at line 213 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.

void MoochoPack::DecompositionSystemStateStepBuilderStd::add_iter_quantities ( std::ostream *  trase_out,
NLP &  nlp,
NLPFirstOrder *  nlp_foi,
NLPSecondOrder *  nlp_soi,
NLPDirect *  nlp_fod,
bool  tailored_approach,
const Teuchos::RCP< DecompositionSystem > &  decomp_sys,
const Teuchos::RCP< NLPAlgoState > &  state 
)

Add the common iteration quantities to the state object.

ToDo: Finish documentation!

Definition at line 335 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.

void MoochoPack::DecompositionSystemStateStepBuilderStd::create_eval_new_point ( std::ostream *  trase_out,
NLP &  nlp,
NLPFirstOrder *  nlp_foi,
NLPSecondOrder *  nlp_soi,
NLPDirect *  nlp_fod,
bool  tailored_approach,
const Teuchos::RCP< DecompositionSystem > &  decomp_sys,
Teuchos::RCP< IterationPack::AlgorithmStep > *  eval_new_point_step,
Teuchos::RCP< CalcFiniteDiffProd > *  calc_fd_prod,
Teuchos::RCP< VariableBoundsTester > *  bounds_tester,
Teuchos::RCP< NewDecompositionSelection_Strategy > *  new_decomp_selection_strategy 
)

Create the EvalNewPoint step object and allocated objects.

ToDo: Finish documentation!

Definition at line 517 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.

DecompositionSystemStateStepBuilderStd::SOptionValues & MoochoPack::DecompositionSystemStateStepBuilderStd::current_option_values (  )  [inline]

Return the current option values being used.

Definition at line 207 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.

void MoochoPack::DecompositionSystemStateStepBuilderStd::readin_options ( const OptionsFromStreamPack::OptionsFromStream options,
SOptionValues option_values,
std::ostream *  trase_out 
) [static, private]

Read in the options from a stream.

Definition at line 684 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.

void MoochoPack::DecompositionSystemStateStepBuilderStd::set_default_options ( const SOptionValues user_option_values,
SOptionValues current_option_values,
std::ostream *  trase_out 
) [static, private]

Set the defaults for options not set by the user.

Definition at line 770 of file MoochoPack_DecompositionSystemStateStepBuilderStd.cpp.


Member Data Documentation

options_ptr_t MoochoPack::DecompositionSystemStateStepBuilderStd::options_ [private]

Smart pointer to options.

Definition at line 174 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.

SOptionValues MoochoPack::DecompositionSystemStateStepBuilderStd::uov_ [private]

Options structs.

Definition at line 177 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.

SOptionValues MoochoPack::DecompositionSystemStateStepBuilderStd::cov_ [private]

Definition at line 178 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.

Teuchos::RCP<BasisSystemPerm> MoochoPack::DecompositionSystemStateStepBuilderStd::basis_sys_perm_ [private]

Definition at line 181 of file MoochoPack_DecompositionSystemStateStepBuilderStd.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:54:14 2009 for MOOCHO (Single Doxygen Collection) by doxygen 1.4.7