EpetraExt::DiagonalTransientModel Class Reference

Simple transient diagonal model for an implicit or explicit ODE. More...

#include <EpetraExt_DiagonalTransientModel.hpp>

Inheritance diagram for EpetraExt::DiagonalTransientModel:

Inheritance graph
[legend]
List of all members.

Constructors, Initializers, Misc.

 DiagonalTransientModel (Teuchos::RefCountPtr< Epetra_Comm > const &epetra_comm)
 
Teuchos::RefCountPtr< const
Epetra_Vector
getExactSolution (const double t, const Epetra_Vector *coeff_s_p=0) const
 Return the exact solution as a function of time.
Teuchos::RefCountPtr< const
Epetra_MultiVector
getExactSensSolution (const double t, const Epetra_Vector *coeff_s_p=0) const
 Return the exact sensitivity of x as a function of time.

Overridden from ParameterListAcceptor

void setParameterList (Teuchos::RefCountPtr< Teuchos::ParameterList > const &paramList)
 
Teuchos::RefCountPtr< Teuchos::ParameterList > getParameterList ()
 
Teuchos::RefCountPtr< Teuchos::ParameterList > unsetParameterList ()
 
Teuchos::RefCountPtr< const
Teuchos::ParameterList > 
getParameterList () const
 
Teuchos::RefCountPtr< const
Teuchos::ParameterList > 
getValidParameters () const
 

Overridden from EpetraExt::ModelEvaluator .

Teuchos::RefCountPtr< const
Epetra_Map
get_x_map () const
 
Teuchos::RefCountPtr< const
Epetra_Map
get_f_map () const
 
Teuchos::RefCountPtr< const
Epetra_Map
get_p_map (int l) const
 .
Teuchos::RefCountPtr< const
Teuchos::Array< std::string > > 
get_p_names (int l) const
 .
Teuchos::RefCountPtr< const
Epetra_Map
get_g_map (int j) const
 .
Teuchos::RefCountPtr< const
Epetra_Vector
get_x_init () const
 
Teuchos::RefCountPtr< const
Epetra_Vector
get_x_dot_init () const
 
Teuchos::RefCountPtr< const
Epetra_Vector
get_p_init (int l) const
 
Teuchos::RefCountPtr< Epetra_Operatorcreate_W () const
 
InArgs createInArgs () const
 
OutArgs createOutArgs () const
 
void evalModel (const InArgs &inArgs, const OutArgs &outArgs) const
 

Public Types

 LAMBDA_FIT_LINEAR
 LAMBDA_FIT_RANDOM
enum  ELambdaFit { LAMBDA_FIT_LINEAR, LAMBDA_FIT_RANDOM }

Related Functions

(Note that these are not member functions.)

Teuchos::RefCountPtr< DiagonalTransientModeldiagonalTransientModel (Teuchos::RefCountPtr< Epetra_Comm > const &epetra_comm, Teuchos::RefCountPtr< Teuchos::ParameterList > const &paramList=Teuchos::null)
 Nonmember constructor.

Detailed Description

Simple transient diagonal model for an implicit or explicit ODE.

ToDo: Finish Documentation!

Definition at line 50 of file EpetraExt_DiagonalTransientModel.hpp.


Member Enumeration Documentation

enum EpetraExt::DiagonalTransientModel::ELambdaFit

Enumerator:
LAMBDA_FIT_LINEAR 
LAMBDA_FIT_RANDOM 

Definition at line 127 of file EpetraExt_DiagonalTransientModel.hpp.


Constructor & Destructor Documentation

EpetraExt::DiagonalTransientModel::DiagonalTransientModel ( Teuchos::RefCountPtr< Epetra_Comm > const &  epetra_comm  ) 

Definition at line 153 of file EpetraExt_DiagonalTransientModel.cpp.


Member Function Documentation

Teuchos::RefCountPtr< const Epetra_Vector > EpetraExt::DiagonalTransientModel::getExactSolution ( const double  t,
const Epetra_Vector coeff_s_p = 0 
) const

Return the exact solution as a function of time.

Definition at line 172 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_MultiVector > EpetraExt::DiagonalTransientModel::getExactSensSolution ( const double  t,
const Epetra_Vector coeff_s_p = 0 
) const

Return the exact sensitivity of x as a function of time.

Definition at line 191 of file EpetraExt_DiagonalTransientModel.cpp.

void EpetraExt::DiagonalTransientModel::setParameterList ( Teuchos::RefCountPtr< Teuchos::ParameterList > const &  paramList  ) 

Definition at line 217 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< Teuchos::ParameterList > EpetraExt::DiagonalTransientModel::getParameterList (  ) 

Definition at line 240 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< Teuchos::ParameterList > EpetraExt::DiagonalTransientModel::unsetParameterList (  ) 

Definition at line 247 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Teuchos::ParameterList > EpetraExt::DiagonalTransientModel::getParameterList (  )  const

Definition at line 256 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Teuchos::ParameterList > EpetraExt::DiagonalTransientModel::getValidParameters (  )  const

Definition at line 263 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalTransientModel::get_x_map (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 307 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalTransientModel::get_f_map (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 314 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalTransientModel::get_p_map ( int  l  )  const [virtual]

.

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 321 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Teuchos::Array< std::string > > EpetraExt::DiagonalTransientModel::get_p_names ( int  l  )  const [virtual]

.

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 331 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_Map > EpetraExt::DiagonalTransientModel::get_g_map ( int  j  )  const [virtual]

.

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 341 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_Vector > EpetraExt::DiagonalTransientModel::get_x_init (  )  const [virtual]

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 351 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_Vector > EpetraExt::DiagonalTransientModel::get_x_dot_init (  )  const [virtual]

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 358 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< const Epetra_Vector > EpetraExt::DiagonalTransientModel::get_p_init ( int  l  )  const [virtual]

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 365 of file EpetraExt_DiagonalTransientModel.cpp.

Teuchos::RefCountPtr< Epetra_Operator > EpetraExt::DiagonalTransientModel::create_W (  )  const [virtual]

Reimplemented from EpetraExt::ModelEvaluator.

Definition at line 375 of file EpetraExt_DiagonalTransientModel.cpp.

EpetraExt::ModelEvaluator::InArgs EpetraExt::DiagonalTransientModel::createInArgs (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 384 of file EpetraExt_DiagonalTransientModel.cpp.

EpetraExt::ModelEvaluator::OutArgs EpetraExt::DiagonalTransientModel::createOutArgs (  )  const [virtual]

Implements EpetraExt::ModelEvaluator.

Definition at line 400 of file EpetraExt_DiagonalTransientModel.cpp.

void EpetraExt::DiagonalTransientModel::evalModel ( const InArgs &  inArgs,
const OutArgs &  outArgs 
) const

Definition at line 437 of file EpetraExt_DiagonalTransientModel.cpp.


Friends And Related Function Documentation

Teuchos::RefCountPtr< DiagonalTransientModel > diagonalTransientModel ( Teuchos::RefCountPtr< Epetra_Comm > const &  epetra_comm,
Teuchos::RefCountPtr< Teuchos::ParameterList > const &  paramList = Teuchos::null 
) [related]

Nonmember constructor.

Definition at line 753 of file EpetraExt_DiagonalTransientModel.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:45:34 2009 for EpetraExt by doxygen 1.4.7