Thyra::ModelEvaluatorBase::OutArgs< Scalar > Class Template Reference

More...

#include <Thyra_ModelEvaluatorBase.hpp>

Inheritance diagram for Thyra::ModelEvaluatorBase::OutArgs< Scalar >:

[legend]
List of all members.

Public Member Functions

 OutArgs ()
 
int Np () const
 
int Ng () const
 
bool supports (EOutArgsMembers arg) const
 
const DerivativeSupportsupports (EOutArgsDfDp arg, int l) const
 0 <= l && l < Np().
const DerivativeSupportsupports (EOutArgsDgDx arg, int j) const
 0 <= j && j < Ng().
const DerivativeSupportsupports (EOutArgsDgDp arg, int j, int l) const
 0 <= j && j < Ng() and 0 <= l && l < Np().
void set_f (const Teuchos::RefCountPtr< VectorBase< Scalar > > &f)
 
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
get_f () const
 
void set_g (int j, const Teuchos::RefCountPtr< VectorBase< Scalar > > &g_j)
 
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
get_g (int j) const
 
void set_W (const Teuchos::RefCountPtr< LinearOpWithSolveBase< Scalar > > &W)
 
Teuchos::RefCountPtr< LinearOpWithSolveBase<
Scalar > > 
get_W () const
 
void set_W_op (const Teuchos::RefCountPtr< LinearOpBase< Scalar > > &W_op)
 
Teuchos::RefCountPtr< LinearOpBase<
Scalar > > 
get_W_op () const
 
DerivativeProperties get_W_properties () const
 
void set_DfDp (int l, const Derivative< Scalar > &DfDp_l)
 
Derivative< Scalar > get_DfDp (int l) const
 
DerivativeProperties get_DfDp_properties (int l) const
 
void set_DgDx (int j, const Derivative< Scalar > &DgDx_j)
 
Derivative< Scalar > get_DgDx (int j) const
 
DerivativeProperties get_DgDx_properties (int j) const
 
void set_DgDp (int j, int l, const Derivative< Scalar > &DgDp_j_l)
 
Derivative< Scalar > get_DgDp (int j, int l) const
 
DerivativeProperties get_DgDp_properties (int j, int l) const
 
void set_f_poly (const Teuchos::RefCountPtr< Teuchos::Polynomial< VectorBase< Scalar > > > &f_poly)
 
Teuchos::RefCountPtr< Teuchos::Polynomial<
VectorBase< Scalar > > > 
get_f_poly () const
 
void setArgs (const OutArgs< Scalar > &outArgs, bool ignoreUnsupported=false)
 
void setFailed () const
 
bool isFailed () const
 
std::string description () const
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
 

Protected Member Functions

void _setModelEvalDescription (const std::string &modelEvalDescription)
 
void _set_Np_Ng (int Np, int Ng)
 
void _setSupports (EOutArgsMembers arg, bool supports)
 
void _setSupports (EOutArgsDfDp arg, int l, const DerivativeSupport &)
 
void _setSupports (EOutArgsDgDx arg, int j, const DerivativeSupport &)
 
void _setSupports (EOutArgsDgDp arg, int j, int l, const DerivativeSupport &)
 
void _set_W_properties (const DerivativeProperties &properties)
 
void _set_DfDp_properties (int l, const DerivativeProperties &properties)
 
void _set_DgDx_properties (int j, const DerivativeProperties &properties)
 
void _set_DgDp_properties (int j, int l, const DerivativeProperties &properties)
 
void _setSupports (const OutArgs< Scalar > &outArgs)
 
void _setUnsupportsAndRelated (EInArgsMembers arg)
 
void _setUnsupportsAndRelated (EOutArgsMembers arg)
 

Private Types

typedef std::vector< Teuchos::RefCountPtr<
VectorBase< Scalar > > > 
g_t
typedef std::vector< Derivative<
Scalar > > 
deriv_t
typedef std::vector< DerivativePropertiesderiv_properties_t
typedef std::vector< DerivativeSupportsupports_t

Private Member Functions

void assert_supports (EOutArgsMembers arg) const
void assert_supports (EOutArgsDfDp arg, int l) const
void assert_supports (EOutArgsDgDx arg, int j) const
void assert_supports (EOutArgsDgDp arg, int j, int l) const
void assert_l (int l) const
void assert_j (int j) const

Private Attributes

std::string modelEvalDescription_
bool supports_ [NUM_E_OUT_ARGS_MEMBERS]
supports_t supports_DfDp_
supports_t supports_DgDx_
supports_t supports_DgDp_
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
f_
g_t g_
Teuchos::RefCountPtr< LinearOpWithSolveBase<
Scalar > > 
W_
Teuchos::RefCountPtr< LinearOpBase<
Scalar > > 
W_op_
DerivativeProperties W_properties_
deriv_t DfDp_
deriv_properties_t DfDp_properties_
deriv_t DgDx_
deriv_properties_t DgDx_properties_
deriv_t DgDp_
deriv_properties_t DgDp_properties_
Teuchos::RefCountPtr< Teuchos::Polynomial<
VectorBase< Scalar > > > 
f_poly_
bool isFailed_

Detailed Description

template<class Scalar>
class Thyra::ModelEvaluatorBase::OutArgs< Scalar >

Definition at line 326 of file Thyra_ModelEvaluatorBase.hpp.


Member Typedef Documentation

template<class Scalar>
typedef std::vector<Teuchos::RefCountPtr<VectorBase<Scalar> > > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::g_t [private]
 

Definition at line 421 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
typedef std::vector<Derivative<Scalar> > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::deriv_t [private]
 

Definition at line 422 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
typedef std::vector<DerivativeProperties> Thyra::ModelEvaluatorBase::OutArgs< Scalar >::deriv_properties_t [private]
 

Definition at line 423 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
typedef std::vector<DerivativeSupport> Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports_t [private]
 

Definition at line 424 of file Thyra_ModelEvaluatorBase.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::ModelEvaluatorBase::OutArgs< Scalar >::OutArgs  ) 
 

Definition at line 878 of file Thyra_ModelEvaluatorBase.hpp.


Member Function Documentation

template<class Scalar>
int Thyra::ModelEvaluatorBase::OutArgs< Scalar >::Np  )  const
 

Definition at line 883 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
int Thyra::ModelEvaluatorBase::OutArgs< Scalar >::Ng  )  const
 

Definition at line 887 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
bool Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports EOutArgsMembers  arg  )  const
 

Definition at line 891 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
const ModelEvaluatorBase::DerivativeSupport & Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports EOutArgsDfDp  arg,
int  l
const
 

0 <= l && l < Np().

Definition at line 902 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
const ModelEvaluatorBase::DerivativeSupport & Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports EOutArgsDgDx  arg,
int  j
const
 

0 <= j && j < Ng().

Definition at line 910 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
const ModelEvaluatorBase::DerivativeSupport & Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports EOutArgsDgDp  arg,
int  j,
int  l
const
 

0 <= j && j < Ng() and 0 <= l && l < Np().

Definition at line 918 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_f const Teuchos::RefCountPtr< VectorBase< Scalar > > &  f  ) 
 

Definition at line 926 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< VectorBase< Scalar > > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_f  )  const
 

Definition at line 934 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_g int  j,
const Teuchos::RefCountPtr< VectorBase< Scalar > > &  g_j
 

Definition at line 941 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< VectorBase< Scalar > > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_g int  j  )  const
 

Definition at line 949 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_W const Teuchos::RefCountPtr< LinearOpWithSolveBase< Scalar > > &  W  ) 
 

Definition at line 956 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< LinearOpWithSolveBase< Scalar > > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_W  )  const
 

Definition at line 964 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_W_op const Teuchos::RefCountPtr< LinearOpBase< Scalar > > &  W_op  ) 
 

Definition at line 971 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< LinearOpBase< Scalar > > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_W_op  )  const
 

Definition at line 979 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
ModelEvaluatorBase::DerivativeProperties Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_W_properties  )  const
 

Definition at line 987 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_DfDp int  l,
const Derivative< Scalar > &  DfDp_l
 

Definition at line 993 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
ModelEvaluatorBase::Derivative< Scalar > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_DfDp int  l  )  const
 

Definition at line 1001 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
ModelEvaluatorBase::DerivativeProperties Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_DfDp_properties int  l  )  const
 

Definition at line 1009 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_DgDx int  j,
const Derivative< Scalar > &  DgDx_j
 

Definition at line 1016 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
ModelEvaluatorBase::Derivative< Scalar > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_DgDx int  j  )  const
 

Definition at line 1024 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
ModelEvaluatorBase::DerivativeProperties Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_DgDx_properties int  j  )  const
 

Definition at line 1032 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_DgDp int  j,
int  l,
const Derivative< Scalar > &  DgDp_j_l
 

Definition at line 1039 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
ModelEvaluatorBase::Derivative< Scalar > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_DgDp int  j,
int  l
const
 

Definition at line 1047 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
ModelEvaluatorBase::DerivativeProperties Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_DgDp_properties int  j,
int  l
const
 

Definition at line 1055 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::set_f_poly const Teuchos::RefCountPtr< Teuchos::Polynomial< VectorBase< Scalar > > > &  f_poly  ) 
 

Definition at line 1062 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Teuchos::Polynomial< VectorBase< Scalar > > > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::get_f_poly  )  const
 

Definition at line 1067 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::setArgs const OutArgs< Scalar > &  outArgs,
bool  ignoreUnsupported = false
 

Definition at line 1072 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::setFailed  )  const
 

Definition at line 1111 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
bool Thyra::ModelEvaluatorBase::OutArgs< Scalar >::isFailed  )  const
 

Definition at line 1126 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
std::string Thyra::ModelEvaluatorBase::OutArgs< Scalar >::description  )  const
 

Definition at line 1132 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::describe Teuchos::FancyOStream &  out,
const Teuchos::EVerbosityLevel  verbLevel
const
 

Definition at line 1147 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setModelEvalDescription const std::string &  modelEvalDescription  )  [protected]
 

Definition at line 1228 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_set_Np_Ng int  Np,
int  Ng
[protected]
 

Definition at line 1232 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setSupports EOutArgsMembers  arg,
bool  supports
[protected]
 

Definition at line 1254 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setSupports EOutArgsDfDp  arg,
int  l,
const DerivativeSupport
[protected]
 

Definition at line 1264 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setSupports EOutArgsDgDx  arg,
int  j,
const DerivativeSupport
[protected]
 

Definition at line 1271 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setSupports EOutArgsDgDp  arg,
int  j,
int  l,
const DerivativeSupport
[protected]
 

Definition at line 1278 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_set_W_properties const DerivativeProperties properties  )  [protected]
 

Definition at line 1286 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_set_DfDp_properties int  l,
const DerivativeProperties properties
[protected]
 

Definition at line 1292 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_set_DgDx_properties int  j,
const DerivativeProperties properties
[protected]
 

Definition at line 1299 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_set_DgDp_properties int  j,
int  l,
const DerivativeProperties properties
[protected]
 

Definition at line 1306 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setSupports const OutArgs< Scalar > &  outArgs  )  [protected]
 

Definition at line 1313 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setUnsupportsAndRelated EInArgsMembers  arg  )  [protected]
 

Definition at line 1326 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::_setUnsupportsAndRelated EOutArgsMembers  arg  )  [protected]
 

Definition at line 1344 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::assert_supports EOutArgsMembers  arg  )  const [private]
 

Definition at line 1368 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::assert_supports EOutArgsDfDp  arg,
int  l
const [private]
 

Definition at line 1379 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::assert_supports EOutArgsDgDx  arg,
int  j
const [private]
 

Definition at line 1390 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::assert_supports EOutArgsDgDp  arg,
int  j,
int  l
const [private]
 

Definition at line 1401 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::assert_l int  l  )  const [private]
 

Definition at line 1412 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
void Thyra::ModelEvaluatorBase::OutArgs< Scalar >::assert_j int  j  )  const [private]
 

Definition at line 1423 of file Thyra_ModelEvaluatorBase.hpp.


Member Data Documentation

template<class Scalar>
std::string Thyra::ModelEvaluatorBase::OutArgs< Scalar >::modelEvalDescription_ [private]
 

Definition at line 426 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
bool Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports_[NUM_E_OUT_ARGS_MEMBERS] [private]
 

Definition at line 427 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
supports_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports_DfDp_ [private]
 

Definition at line 428 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
supports_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports_DgDx_ [private]
 

Definition at line 429 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
supports_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::supports_DgDp_ [private]
 

Definition at line 430 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr<VectorBase<Scalar> > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::f_ [private]
 

Definition at line 431 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
g_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::g_ [private]
 

Definition at line 432 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr<LinearOpWithSolveBase<Scalar> > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::W_ [private]
 

Definition at line 433 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr<LinearOpBase<Scalar> > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::W_op_ [private]
 

Definition at line 434 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
DerivativeProperties Thyra::ModelEvaluatorBase::OutArgs< Scalar >::W_properties_ [private]
 

Definition at line 435 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
deriv_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::DfDp_ [private]
 

Definition at line 436 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
deriv_properties_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::DfDp_properties_ [private]
 

Definition at line 437 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
deriv_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::DgDx_ [private]
 

Definition at line 438 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
deriv_properties_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::DgDx_properties_ [private]
 

Definition at line 439 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
deriv_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::DgDp_ [private]
 

Definition at line 440 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
deriv_properties_t Thyra::ModelEvaluatorBase::OutArgs< Scalar >::DgDp_properties_ [private]
 

Definition at line 441 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Teuchos::Polynomial< VectorBase<Scalar> > > Thyra::ModelEvaluatorBase::OutArgs< Scalar >::f_poly_ [private]
 

Definition at line 442 of file Thyra_ModelEvaluatorBase.hpp.

template<class Scalar>
bool Thyra::ModelEvaluatorBase::OutArgs< Scalar >::isFailed_ [mutable, private]
 

Definition at line 443 of file Thyra_ModelEvaluatorBase.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:33:11 2008 for Thyra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1