ModelEvaluator subclass object.
More...
#include <Thyra_ModelEvaluatorBase.hpp>
Inheritance diagram for Thyra::ModelEvaluatorBase::InArgs< Scalar >:
Public Types | |
| typedef Teuchos::ScalarTraits< Scalar >::magnitudeType | ScalarMag |
| | |
Public Member Functions | |
| InArgs () | |
| | |
| int | Np () const |
Return the number of parameter subvectors p(l) supported (Np >= 0). | |
| bool | supports (EInArgsMembers arg) const |
| Determines if an input argument is supported or not. | |
| void | set_x_dot (const RCP< const VectorBase< Scalar > > &x_dot) |
Precondition: supports(IN_ARG_x_dot)==true. | |
| RCP< const VectorBase< Scalar > > | get_x_dot () const |
Precondition: supports(IN_ARG_x_dot)==true. | |
| void | set_x (const RCP< const VectorBase< Scalar > > &x) |
Precondition: supports(IN_ARG_x)==true. | |
| RCP< const VectorBase< Scalar > > | get_x () const |
Precondition: supports(IN_ARG_x)==true. | |
| void | set_x_poly (const RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > &x_poly) |
Precondition: supports(IN_ARG_x_poly)==true. | |
| RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > | get_x_poly () const |
Precondition: supports(IN_ARG_x)==true. | |
| void | set_x_dot_poly (const RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > &x_dot_poly) |
Precondition: supports(IN_ARG_x_dot_poly)==true. | |
| RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > | get_x_dot_poly () const |
Precondition: supports(IN_ARG_x_dot_poly)==true. | |
| void | set_p (int l, const RCP< const VectorBase< Scalar > > &p_l) |
Set p(l) where 0 <= l && l < this->Np(). | |
| RCP< const VectorBase< Scalar > > | get_p (int l) const |
Get p(l) where 0 <= l && l < this->Np(). | |
| void | set_t (ScalarMag t) |
Precondition: supports(IN_ARG_t)==true. | |
| ScalarMag | get_t () const |
.Precondition: supports(IN_ARG_t)==true | |
| void | set_alpha (Scalar alpha) |
Precondition: supports(IN_ARG_alpha)==true. | |
| Scalar | get_alpha () const |
Precondition: supports(IN_ARG_alph)==true. | |
| void | set_beta (Scalar beta) |
Precondition: supports(IN_ARG_beta)==true. | |
| Scalar | get_beta () const |
Precondition: supports(IN_ARG_beta)==true. | |
| void | setArgs (const InArgs< Scalar > &inArgs, bool ignoreUnsupported=false, bool cloneObjects=false) |
| Set non-null arguments (does not overwrite non-NULLs with NULLs) . | |
| void | assertSameSupport (const InArgs< Scalar > &inArgs) const |
| Assert that two InArgs objects have the same support. | |
| std::string | modelEvalDescription () const |
| | |
| std::string | description () const |
| | |
| void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const |
| Create a more detailed description along about this object and the ModelEvaluator that created it. | |
Protected Member Functions | |
| void | _setModelEvalDescription (const std::string &modelEvalDescription) |
| | |
| void | _set_Np (int Np) |
| | |
| void | _setSupports (EInArgsMembers arg, bool supports) |
| | |
| void | _setSupports (const InArgs< Scalar > &inputInArgs, const int Np) |
| | |
| void | _setUnsupportsAndRelated (EInArgsMembers arg) |
| | |
ModelEvaluator subclass object.
The set of supported objects is returned from the supports() function.
A client can not directly set what input arguments are supported or not supported. Only a subclass of ModelEvaluator can do that (through the InArgsSetup subclass).
Definition at line 92 of file Thyra_ModelEvaluatorBase.hpp.
| typedef Teuchos::ScalarTraits<Scalar>::magnitudeType Thyra::ModelEvaluatorBase::InArgs< Scalar >::ScalarMag |
| Thyra::ModelEvaluatorBase::InArgs< Scalar >::InArgs | ( | ) |
| int Thyra::ModelEvaluatorBase::InArgs< Scalar >::Np | ( | ) | const |
Return the number of parameter subvectors p(l) supported (Np >= 0).
Definition at line 943 of file Thyra_ModelEvaluatorBase.hpp.
| bool Thyra::ModelEvaluatorBase::InArgs< Scalar >::supports | ( | EInArgsMembers | arg | ) | const |
Determines if an input argument is supported or not.
Definition at line 947 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_x_dot | ( | const RCP< const VectorBase< Scalar > > & | x_dot | ) |
Precondition: supports(IN_ARG_x_dot)==true.
Definition at line 959 of file Thyra_ModelEvaluatorBase.hpp.
| RCP< const VectorBase< Scalar > > Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_x_dot | ( | ) | const |
Precondition: supports(IN_ARG_x_dot)==true.
Definition at line 967 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_x | ( | const RCP< const VectorBase< Scalar > > & | x | ) |
Precondition: supports(IN_ARG_x)==true.
Definition at line 972 of file Thyra_ModelEvaluatorBase.hpp.
| RCP< const VectorBase< Scalar > > Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_x | ( | ) | const |
Precondition: supports(IN_ARG_x)==true.
Definition at line 980 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_x_poly | ( | const RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > & | x_poly | ) |
Precondition: supports(IN_ARG_x_poly)==true.
Definition at line 998 of file Thyra_ModelEvaluatorBase.hpp.
| RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_x_poly | ( | ) | const |
Precondition: supports(IN_ARG_x)==true.
Definition at line 1006 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_x_dot_poly | ( | const RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > & | x_dot_poly | ) |
Precondition: supports(IN_ARG_x_dot_poly)==true.
Definition at line 985 of file Thyra_ModelEvaluatorBase.hpp.
| RCP< const Teuchos::Polynomial< VectorBase< Scalar > > > Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_x_dot_poly | ( | ) | const |
Precondition: supports(IN_ARG_x_dot_poly)==true.
Definition at line 993 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_p | ( | int | l, | |
| const RCP< const VectorBase< Scalar > > & | p_l | |||
| ) |
Set p(l) where 0 <= l && l < this->Np().
Definition at line 1011 of file Thyra_ModelEvaluatorBase.hpp.
| RCP< const VectorBase< Scalar > > Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_p | ( | int | l | ) | const |
Get p(l) where 0 <= l && l < this->Np().
Definition at line 1019 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_t | ( | ScalarMag | t | ) |
Precondition: supports(IN_ARG_t)==true.
Definition at line 1024 of file Thyra_ModelEvaluatorBase.hpp.
| ModelEvaluatorBase::InArgs< Scalar >::ScalarMag Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_t | ( | ) | const |
.Precondition: supports(IN_ARG_t)==true
Definition at line 1030 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_alpha | ( | Scalar | alpha | ) |
Precondition: supports(IN_ARG_alpha)==true.
Definition at line 1035 of file Thyra_ModelEvaluatorBase.hpp.
| Scalar Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_alpha | ( | ) | const |
Precondition: supports(IN_ARG_alph)==true.
Definition at line 1040 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::set_beta | ( | Scalar | beta | ) |
Precondition: supports(IN_ARG_beta)==true.
Definition at line 1045 of file Thyra_ModelEvaluatorBase.hpp.
| Scalar Thyra::ModelEvaluatorBase::InArgs< Scalar >::get_beta | ( | ) | const |
Precondition: supports(IN_ARG_beta)==true.
Definition at line 1050 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::setArgs | ( | const InArgs< Scalar > & | inArgs, | |
| bool | ignoreUnsupported = false, |
|||
| bool | cloneObjects = false | |||
| ) |
Set non-null arguments (does not overwrite non-NULLs with NULLs) .
Definition at line 1055 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::assertSameSupport | ( | const InArgs< Scalar > & | inArgs | ) | const |
Assert that two InArgs objects have the same support.
Definition at line 1103 of file Thyra_ModelEvaluatorBase.hpp.
| std::string Thyra::ModelEvaluatorBase::InArgs< Scalar >::modelEvalDescription | ( | ) | const |
| std::string Thyra::ModelEvaluatorBase::InArgs< Scalar >::description | ( | ) | const [virtual] |
Reimplemented from Teuchos::Describable.
Definition at line 1133 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::describe | ( | Teuchos::FancyOStream & | out, | |
| const Teuchos::EVerbosityLevel | verbLevel | |||
| ) | const [virtual] |
Create a more detailed description along about this object and the ModelEvaluator that created it.
Reimplemented from Teuchos::Describable.
Definition at line 1148 of file Thyra_ModelEvaluatorBase.hpp.
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::_setModelEvalDescription | ( | const std::string & | modelEvalDescription | ) | [protected] |
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::_set_Np | ( | int | Np | ) | [protected] |
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::_setSupports | ( | EInArgsMembers | arg, | |
| bool | supports | |||
| ) | [protected] |
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::_setSupports | ( | const InArgs< Scalar > & | inputInArgs, | |
| const int | Np | |||
| ) | [protected] |
| void Thyra::ModelEvaluatorBase::InArgs< Scalar >::_setUnsupportsAndRelated | ( | EInArgsMembers | arg | ) | [protected] |
1.4.7