#include <Albany_ModelEvaluator.hpp>
Public Member Functions | |
ModelEvaluator (const Teuchos::RCP< Albany::Application > &app, const Teuchos::RCP< Teuchos::ParameterList > &appParams) | |
virtual | ~ModelEvaluator () |
Overridden from EpetraExt::ModelEvaluator . | |
Teuchos::RCP< const Epetra_Map > | get_x_map () const |
Return solution vector map. | |
Teuchos::RCP< const Epetra_Map > | get_f_map () const |
Return residual vector map. | |
Teuchos::RCP< const Epetra_Map > | get_p_map (int l) const |
Return parameter vector map. | |
Teuchos::RCP< const Epetra_Map > | get_g_map (int j) const |
Return response function map. | |
Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_names (int l) const |
Return array of parameter names. | |
Teuchos::RCP< const Epetra_Vector > | get_x_init () const |
Return initial solution and x_dot init. | |
Teuchos::RCP< const Epetra_Vector > | get_x_dot_init () const |
Teuchos::RCP< const Epetra_Vector > | get_x_dotdot_init () const |
Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
Return initial parameters. | |
Teuchos::RCP< Epetra_Operator > | create_W () const |
Create W = alpha*M + beta*J + omega*N matrix. | |
Teuchos::RCP < EpetraExt::ModelEvaluator::Preconditioner > | create_WPrec () const |
Create preconditioner operator. | |
Teuchos::RCP< Epetra_Operator > | create_DgDx_op (int j) const |
Create operator form of dg/dx for distributed responses. | |
Teuchos::RCP< Epetra_Operator > | create_DgDx_dot_op (int j) const |
Create operator form of dg/dx_dot for distributed responses. | |
Teuchos::RCP< Epetra_Operator > | create_DgDx_dotdot_op (int j) const |
InArgs | createInArgs () const |
Create InArgs. | |
OutArgs | createOutArgs () const |
Create OutArgs. | |
void | evalModel (const InArgs &inArgs, const OutArgs &outArgs) const |
Evaluate model on InArgs. | |
Protected Attributes | |
Teuchos::RCP< Albany::Application > | app |
Application object. | |
Teuchos::Array< Teuchos::RCP < Teuchos::Array< std::string > > > | param_names |
List of free parameter names. | |
Teuchos::Array< ParamVec > | sacado_param_vec |
Sacado parameter vector. | |
Teuchos::Array< Teuchos::RCP < Epetra_LocalMap > > | epetra_param_map |
Epetra map for parameter vector. | |
Teuchos::Array< Teuchos::RCP < Epetra_Vector > > | epetra_param_vec |
Epetra parameter vector. | |
bool | supplies_prec |
Whether the problem supplies its own preconditioner. | |
Teuchos::Array< Teuchos::Array < SGType > > | p_sg_vals |
Stochastic Galerkin parameters. | |
Teuchos::Array< Teuchos::Array < MPType > > | p_mp_vals |
Multi-point parameters. | |
Teuchos::RCP< Epetra_CrsMatrix > | Extra_W_crs |
Allocated Jacobian for sending to user preconditioner. | |
Teuchos::RCP< Teuchos::Time > | timer |
Definition at line 20 of file Albany_ModelEvaluator.hpp.
Albany::ModelEvaluator::ModelEvaluator | ( | const Teuchos::RCP< Albany::Application > & | app, | |
const Teuchos::RCP< Teuchos::ParameterList > & | appParams | |||
) |
Definition at line 14 of file Albany_ModelEvaluator.cpp.
Albany::ModelEvaluator::~ModelEvaluator | ( | ) | [virtual] |
Definition at line 91 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Albany::ModelEvaluator::get_x_map | ( | ) | const |
Return solution vector map.
Definition at line 100 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Albany::ModelEvaluator::get_f_map | ( | ) | const |
Return residual vector map.
Definition at line 106 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Albany::ModelEvaluator::get_p_map | ( | int | l | ) | const |
Return parameter vector map.
Definition at line 112 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Albany::ModelEvaluator::get_g_map | ( | int | j | ) | const |
Return response function map.
Definition at line 125 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Teuchos::Array< std::string > > Albany::ModelEvaluator::get_p_names | ( | int | l | ) | const |
Return array of parameter names.
Definition at line 138 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Vector > Albany::ModelEvaluator::get_x_init | ( | ) | const |
Return initial solution and x_dot init.
Definition at line 150 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Vector > Albany::ModelEvaluator::get_x_dot_init | ( | ) | const |
Definition at line 156 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Vector > Albany::ModelEvaluator::get_x_dotdot_init | ( | ) | const |
Definition at line 162 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Vector > Albany::ModelEvaluator::get_p_init | ( | int | l | ) | const |
Return initial parameters.
Definition at line 171 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< Epetra_Operator > Albany::ModelEvaluator::create_W | ( | ) | const |
Create W = alpha*M + beta*J + omega*N matrix.
Definition at line 183 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< EpetraExt::ModelEvaluator::Preconditioner > Albany::ModelEvaluator::create_WPrec | ( | ) | const |
Create preconditioner operator.
Definition at line 190 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< Epetra_Operator > Albany::ModelEvaluator::create_DgDx_op | ( | int | j | ) | const |
Create operator form of dg/dx for distributed responses.
Definition at line 202 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< Epetra_Operator > Albany::ModelEvaluator::create_DgDx_dot_op | ( | int | j | ) | const |
Create operator form of dg/dx_dot for distributed responses.
Definition at line 215 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP< Epetra_Operator > Albany::ModelEvaluator::create_DgDx_dotdot_op | ( | int | j | ) | const |
Definition at line 228 of file Albany_ModelEvaluator.cpp.
EpetraExt::ModelEvaluator::InArgs Albany::ModelEvaluator::createInArgs | ( | ) | const |
Create InArgs.
Definition at line 241 of file Albany_ModelEvaluator.cpp.
EpetraExt::ModelEvaluator::OutArgs Albany::ModelEvaluator::createOutArgs | ( | ) | const |
Create OutArgs.
Definition at line 276 of file Albany_ModelEvaluator.cpp.
void Albany::ModelEvaluator::evalModel | ( | const InArgs & | inArgs, | |
const OutArgs & | outArgs | |||
) | const |
Evaluate model on InArgs.
Definition at line 382 of file Albany_ModelEvaluator.cpp.
Teuchos::RCP<Albany::Application> Albany::ModelEvaluator::app [protected] |
Application object.
Definition at line 84 of file Albany_ModelEvaluator.hpp.
Teuchos::Array< Teuchos::RCP< Teuchos::Array<std::string> > > Albany::ModelEvaluator::param_names [protected] |
List of free parameter names.
Definition at line 87 of file Albany_ModelEvaluator.hpp.
Teuchos::Array<ParamVec> Albany::ModelEvaluator::sacado_param_vec [mutable, protected] |
Sacado parameter vector.
Definition at line 90 of file Albany_ModelEvaluator.hpp.
Teuchos::Array< Teuchos::RCP<Epetra_LocalMap> > Albany::ModelEvaluator::epetra_param_map [protected] |
Epetra map for parameter vector.
Definition at line 93 of file Albany_ModelEvaluator.hpp.
Teuchos::Array< Teuchos::RCP<Epetra_Vector> > Albany::ModelEvaluator::epetra_param_vec [protected] |
Epetra parameter vector.
Definition at line 96 of file Albany_ModelEvaluator.hpp.
bool Albany::ModelEvaluator::supplies_prec [protected] |
Whether the problem supplies its own preconditioner.
Definition at line 99 of file Albany_ModelEvaluator.hpp.
Teuchos::Array< Teuchos::Array<SGType> > Albany::ModelEvaluator::p_sg_vals [mutable, protected] |
Stochastic Galerkin parameters.
Definition at line 102 of file Albany_ModelEvaluator.hpp.
Teuchos::Array< Teuchos::Array<MPType> > Albany::ModelEvaluator::p_mp_vals [mutable, protected] |
Multi-point parameters.
Definition at line 105 of file Albany_ModelEvaluator.hpp.
Teuchos::RCP<Epetra_CrsMatrix> Albany::ModelEvaluator::Extra_W_crs [mutable, protected] |
Allocated Jacobian for sending to user preconditioner.
Definition at line 108 of file Albany_ModelEvaluator.hpp.
Teuchos::RCP<Teuchos::Time> Albany::ModelEvaluator::timer [protected] |
Definition at line 110 of file Albany_ModelEvaluator.hpp.