Thyra::EpetraModelEvaluator Class Reference

More...

#include <Thyra_EpetraModelEvaluator.hpp>

Inheritance diagram for Thyra::EpetraModelEvaluator:

[legend]
List of all members.

Constructors/initializers/accessors/utilities.

 EpetraModelEvaluator ()
 
 EpetraModelEvaluator (const Teuchos::RefCountPtr< const EpetraExt::ModelEvaluator > &epetraModel, const Teuchos::RefCountPtr< LinearOpWithSolveFactoryBase< double > > &W_factory)
 
void initialize (const Teuchos::RefCountPtr< const EpetraExt::ModelEvaluator > &epetraModel, const Teuchos::RefCountPtr< LinearOpWithSolveFactoryBase< double > > &W_factory)
 
Teuchos::RefCountPtr< const
EpetraExt::ModelEvaluator
getEpetraModel () const
 
void setInitialGuess (const ModelEvaluatorBase::InArgs< double > &initialGuess)
 
void uninitialize (Teuchos::RefCountPtr< const EpetraExt::ModelEvaluator > *epetraModel=NULL, Teuchos::RefCountPtr< LinearOpWithSolveFactoryBase< double > > *W_factory=NULL)
 
const ModelEvaluatorBase::InArgs<
double > & 
getFinalPoint () const
 
bool finalPointWasSolved () const
 

Public functions overridden from ModelEvaulator.

int Np () const
 
int Ng () const
 
Teuchos::RefCountPtr< const
VectorSpaceBase< double > > 
get_x_space () const
 
Teuchos::RefCountPtr< const
VectorSpaceBase< double > > 
get_f_space () const
 
Teuchos::RefCountPtr< const
VectorSpaceBase< double > > 
get_p_space (int l) const
 
Teuchos::RefCountPtr< const
VectorSpaceBase< double > > 
get_g_space (int j) const
 
ModelEvaluatorBase::InArgs<
double > 
getNominalValues () const
 
ModelEvaluatorBase::InArgs<
double > 
getLowerBounds () const
 
ModelEvaluatorBase::InArgs<
double > 
getUpperBounds () const
 
Teuchos::RefCountPtr< LinearOpWithSolveBase<
double > > 
create_W () const
 
Teuchos::RefCountPtr< LinearOpBase<
double > > 
create_W_op () const
 
Teuchos::RefCountPtr< LinearOpBase<
double > > 
create_DfDp_op (int l) const
 
Teuchos::RefCountPtr< LinearOpBase<
double > > 
create_DgDx_op (int j) const
 
Teuchos::RefCountPtr< LinearOpBase<
double > > 
create_DgDp_op (int j, int l) const
 
ModelEvaluatorBase::InArgs<
double > 
createInArgs () const
 
ModelEvaluatorBase::OutArgs<
double > 
createOutArgs () const
 
void evalModel (const ModelEvaluatorBase::InArgs< double > &inArgs, const ModelEvaluatorBase::OutArgs< double > &outArgs) const
 
void reportFinalPoint (const ModelEvaluatorBase::InArgs< double > &finalPoint, const bool wasSolved)
 

Public functions overridden from Teuchos::Describable.

std::string description () const
 

Private Types

typedef std::vector< Teuchos::RefCountPtr<
const Epetra_Map > > 
p_map_t
typedef std::vector< Teuchos::RefCountPtr<
const Epetra_Map > > 
g_map_t
typedef std::vector< Teuchos::RefCountPtr<
const SpmdVectorSpaceDefaultBase<
double > > > 
p_space_t
typedef std::vector< Teuchos::RefCountPtr<
const SpmdVectorSpaceDefaultBase<
double > > > 
g_space_t

Private Attributes

Teuchos::RefCountPtr< const
EpetraExt::ModelEvaluator
epetraModel_
Teuchos::RefCountPtr< LinearOpWithSolveFactoryBase<
double > > 
W_factory_
Teuchos::RefCountPtr< const
Epetra_Map
x_map_
p_map_t p_map_
g_map_t g_map_
Teuchos::RefCountPtr< const
Epetra_Map
f_map_
Teuchos::RefCountPtr< const
SpmdVectorSpaceDefaultBase<
double > > 
x_space_
p_space_t p_space_
Teuchos::RefCountPtr< const
SpmdVectorSpaceDefaultBase<
double > > 
f_space_
g_space_t g_space_
ModelEvaluatorBase::InArgs<
double > 
initialGuess_
ModelEvaluatorBase::InArgs<
double > 
lowerBounds_
ModelEvaluatorBase::InArgs<
double > 
upperBounds_
ModelEvaluatorBase::InArgs<
double > 
finalPoint_
bool finalPointWasSolved_

Detailed Description

Definition at line 41 of file Thyra_EpetraModelEvaluator.hpp.


Member Typedef Documentation

typedef std::vector<Teuchos::RefCountPtr<const Epetra_Map> > Thyra::EpetraModelEvaluator::p_map_t [private]
 

Definition at line 143 of file Thyra_EpetraModelEvaluator.hpp.

typedef std::vector<Teuchos::RefCountPtr<const Epetra_Map> > Thyra::EpetraModelEvaluator::g_map_t [private]
 

Definition at line 144 of file Thyra_EpetraModelEvaluator.hpp.

typedef std::vector<Teuchos::RefCountPtr<const SpmdVectorSpaceDefaultBase<double> > > Thyra::EpetraModelEvaluator::p_space_t [private]
 

Definition at line 146 of file Thyra_EpetraModelEvaluator.hpp.

typedef std::vector<Teuchos::RefCountPtr<const SpmdVectorSpaceDefaultBase<double> > > Thyra::EpetraModelEvaluator::g_space_t [private]
 

Definition at line 147 of file Thyra_EpetraModelEvaluator.hpp.


Constructor & Destructor Documentation

Thyra::EpetraModelEvaluator::EpetraModelEvaluator  ) 
 

Definition at line 39 of file Thyra_EpetraModelEvaluator.cpp.

Thyra::EpetraModelEvaluator::EpetraModelEvaluator const Teuchos::RefCountPtr< const EpetraExt::ModelEvaluator > &  epetraModel,
const Teuchos::RefCountPtr< LinearOpWithSolveFactoryBase< double > > &  W_factory
 

Definition at line 43 of file Thyra_EpetraModelEvaluator.cpp.


Member Function Documentation

void Thyra::EpetraModelEvaluator::initialize const Teuchos::RefCountPtr< const EpetraExt::ModelEvaluator > &  epetraModel,
const Teuchos::RefCountPtr< LinearOpWithSolveFactoryBase< double > > &  W_factory
 

Definition at line 51 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< const EpetraExt::ModelEvaluator > Thyra::EpetraModelEvaluator::getEpetraModel  )  const
 

Definition at line 99 of file Thyra_EpetraModelEvaluator.cpp.

void Thyra::EpetraModelEvaluator::setInitialGuess const ModelEvaluatorBase::InArgs< double > &  initialGuess  ) 
 

Definition at line 104 of file Thyra_EpetraModelEvaluator.cpp.

void Thyra::EpetraModelEvaluator::uninitialize Teuchos::RefCountPtr< const EpetraExt::ModelEvaluator > *  epetraModel = NULL,
Teuchos::RefCountPtr< LinearOpWithSolveFactoryBase< double > > *  W_factory = NULL
 

Definition at line 109 of file Thyra_EpetraModelEvaluator.cpp.

const ModelEvaluatorBase::InArgs< double > & Thyra::EpetraModelEvaluator::getFinalPoint  )  const
 

Definition at line 121 of file Thyra_EpetraModelEvaluator.cpp.

bool Thyra::EpetraModelEvaluator::finalPointWasSolved  )  const
 

Definition at line 126 of file Thyra_EpetraModelEvaluator.cpp.

int Thyra::EpetraModelEvaluator::Np  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 133 of file Thyra_EpetraModelEvaluator.cpp.

int Thyra::EpetraModelEvaluator::Ng  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 138 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< const VectorSpaceBase< double > > Thyra::EpetraModelEvaluator::get_x_space  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 144 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< const VectorSpaceBase< double > > Thyra::EpetraModelEvaluator::get_f_space  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 150 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< const VectorSpaceBase< double > > Thyra::EpetraModelEvaluator::get_p_space int  l  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 156 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< const VectorSpaceBase< double > > Thyra::EpetraModelEvaluator::get_g_space int  j  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 163 of file Thyra_EpetraModelEvaluator.cpp.

ModelEvaluatorBase::InArgs< double > Thyra::EpetraModelEvaluator::getNominalValues  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 169 of file Thyra_EpetraModelEvaluator.cpp.

ModelEvaluatorBase::InArgs< double > Thyra::EpetraModelEvaluator::getLowerBounds  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 174 of file Thyra_EpetraModelEvaluator.cpp.

ModelEvaluatorBase::InArgs< double > Thyra::EpetraModelEvaluator::getUpperBounds  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 179 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< LinearOpWithSolveBase< double > > Thyra::EpetraModelEvaluator::create_W  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 185 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< LinearOpBase< double > > Thyra::EpetraModelEvaluator::create_W_op  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 198 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< LinearOpBase< double > > Thyra::EpetraModelEvaluator::create_DfDp_op int  l  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 204 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< LinearOpBase< double > > Thyra::EpetraModelEvaluator::create_DgDx_op int  j  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 211 of file Thyra_EpetraModelEvaluator.cpp.

Teuchos::RefCountPtr< LinearOpBase< double > > Thyra::EpetraModelEvaluator::create_DgDp_op int  j,
int  l
const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 218 of file Thyra_EpetraModelEvaluator.cpp.

ModelEvaluatorBase::InArgs< double > Thyra::EpetraModelEvaluator::createInArgs  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 224 of file Thyra_EpetraModelEvaluator.cpp.

ModelEvaluatorBase::OutArgs< double > Thyra::EpetraModelEvaluator::createOutArgs  )  const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 243 of file Thyra_EpetraModelEvaluator.cpp.

void Thyra::EpetraModelEvaluator::evalModel const ModelEvaluatorBase::InArgs< double > &  inArgs,
const ModelEvaluatorBase::OutArgs< double > &  outArgs
const [virtual]
 

Implements Thyra::ModelEvaluator< double >.

void Thyra::EpetraModelEvaluator::reportFinalPoint const ModelEvaluatorBase::InArgs< double > &  finalPoint,
const bool  wasSolved
[virtual]
 

Implements Thyra::ModelEvaluator< double >.

Definition at line 524 of file Thyra_EpetraModelEvaluator.cpp.

std::string Thyra::EpetraModelEvaluator::description  )  const
 

Definition at line 536 of file Thyra_EpetraModelEvaluator.cpp.


Member Data Documentation

Teuchos::RefCountPtr<const EpetraExt::ModelEvaluator> Thyra::EpetraModelEvaluator::epetraModel_ [private]
 

Definition at line 152 of file Thyra_EpetraModelEvaluator.hpp.

Teuchos::RefCountPtr<LinearOpWithSolveFactoryBase<double> > Thyra::EpetraModelEvaluator::W_factory_ [private]
 

Definition at line 153 of file Thyra_EpetraModelEvaluator.hpp.

Teuchos::RefCountPtr<const Epetra_Map> Thyra::EpetraModelEvaluator::x_map_ [private]
 

Definition at line 154 of file Thyra_EpetraModelEvaluator.hpp.

p_map_t Thyra::EpetraModelEvaluator::p_map_ [private]
 

Definition at line 155 of file Thyra_EpetraModelEvaluator.hpp.

g_map_t Thyra::EpetraModelEvaluator::g_map_ [private]
 

Definition at line 156 of file Thyra_EpetraModelEvaluator.hpp.

Teuchos::RefCountPtr<const Epetra_Map> Thyra::EpetraModelEvaluator::f_map_ [private]
 

Definition at line 157 of file Thyra_EpetraModelEvaluator.hpp.

Teuchos::RefCountPtr<const SpmdVectorSpaceDefaultBase<double> > Thyra::EpetraModelEvaluator::x_space_ [private]
 

Definition at line 158 of file Thyra_EpetraModelEvaluator.hpp.

p_space_t Thyra::EpetraModelEvaluator::p_space_ [private]
 

Definition at line 159 of file Thyra_EpetraModelEvaluator.hpp.

Teuchos::RefCountPtr<const SpmdVectorSpaceDefaultBase<double> > Thyra::EpetraModelEvaluator::f_space_ [private]
 

Definition at line 160 of file Thyra_EpetraModelEvaluator.hpp.

g_space_t Thyra::EpetraModelEvaluator::g_space_ [private]
 

Definition at line 161 of file Thyra_EpetraModelEvaluator.hpp.

ModelEvaluatorBase::InArgs<double> Thyra::EpetraModelEvaluator::initialGuess_ [private]
 

Definition at line 162 of file Thyra_EpetraModelEvaluator.hpp.

ModelEvaluatorBase::InArgs<double> Thyra::EpetraModelEvaluator::lowerBounds_ [private]
 

Definition at line 163 of file Thyra_EpetraModelEvaluator.hpp.

ModelEvaluatorBase::InArgs<double> Thyra::EpetraModelEvaluator::upperBounds_ [private]
 

Definition at line 164 of file Thyra_EpetraModelEvaluator.hpp.

ModelEvaluatorBase::InArgs<double> Thyra::EpetraModelEvaluator::finalPoint_ [private]
 

Definition at line 165 of file Thyra_EpetraModelEvaluator.hpp.

bool Thyra::EpetraModelEvaluator::finalPointWasSolved_ [private]
 

Definition at line 166 of file Thyra_EpetraModelEvaluator.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:32:07 2008 for EpetraExt Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1