Piro Development
Classes | Functions
Piro Namespace Reference

Epetra-based Model Evaluator subclass for Charon! More...

Classes

class  MatrixFreeDecorator
class  MatrixFreeLinearOp
class  NOXSolver
class  RythmosNOXRowSumUpdaterObserver
 For a Rythmos/NOX solve, this object updates the row sum scaling. More...
class  RythmosSolver
class  RythmosStepperFactory
class  SolverFactory
 Factory for creating Thyra-based Piro solvers. More...

Functions

int PerformAnalysis (Thyra::ModelEvaluatorDefaultBase< double > &piroModel, Teuchos::ParameterList &analysisParams, Teuchos::RCP< Thyra::VectorBase< double > > &result)
int PerformMoochoAnalysis (Thyra::ModelEvaluatorDefaultBase< double > &piroModel, Teuchos::ParameterList &moochoParams, Teuchos::RCP< Thyra::VectorBase< double > > &p)
 Function that calls MOOCHO for analysis.
int PerformDakotaAnalysis (Thyra::ModelEvaluatorDefaultBase< double > &piroModel, Teuchos::ParameterList &dakotaParams, Teuchos::RCP< Thyra::VectorBase< double > > &p)
 Function that calls Dakota via TriKota for analysis.
int PerformOptiPackAnalysis (Thyra::ModelEvaluatorDefaultBase< double > &piroModel, Teuchos::ParameterList &optipackParams, Teuchos::ParameterList &globipackParams, Teuchos::RCP< Thyra::VectorBase< double > > &p)
 Function that calls Optipack for analysis.
Teuchos::RCP< const
Teuchos::ParameterList > 
getValidPiroAnalysisParameters ()
 Valid parameters for the list sent to PerformAnalysis.
Teuchos::RCP< const
Teuchos::ParameterList > 
getValidPiroAnalysisDakotaParameters ()
 Valid parameters for the list sent to PerformDakotaAnalysis.
template<typename Scalar >
void PerformSolve (const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &piroModel, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response)
 Evaluates the solved model and returns the first response.
template<typename Scalar >
void PerformSolve (const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response)
 Evaluates the solved model and returns the specified (first by default) response.
template<typename Scalar >
void PerformSolve (const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response, Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > &sensitivity)
template<typename Scalar >
void PerformSolve (const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::Array< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &responses, Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &sensitivities)
template<typename Scalar >
void PerformSolve (const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &responses, Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &sensitivities)
template<typename Scalar >
void PerformSolveBase (const Thyra::ModelEvaluator< Scalar > &piroModel, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response)
template<typename Scalar >
void PerformSolveBase (const Thyra::ModelEvaluator< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response)
template<typename Scalar >
void PerformSolveBase (const Thyra::ModelEvaluator< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response, Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > &sensitivity)
template<typename Scalar >
void PerformSolveBase (const Thyra::ModelEvaluator< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::Array< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &responses, Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &sensitivities)
template<typename Scalar >
void PerformSolveBase (const Thyra::ModelEvaluator< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &responses, Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &sensitivities)
Teuchos::RCP< const
Teuchos::ParameterList > 
getValidPiroParameters ()
std::string Piro_Version ()

Detailed Description

Epetra-based Model Evaluator subclass for Charon!

Thyra-based Model Evaluator subclass for Charon!

Thyra-based Model Evaluator for NOX solves.

This class implements a matrix-free Jacobian linear operator based on finite difference.

Decorator class that creates a Jacobian (W) operator using matrix-free directional derivatives.

Epetra-based NOX Solver.

Decorator class that creates a W (Jacobian) operator using Matrix-Free directional derivatives.

This class will support a wide number of different types of abstract problem types that will allow NOX, LOCA, Rythmos, Aristos, and MOOCHO to solve different types of problems with Charon.

ToDo: Finish documentation!

This class takes a model evaluator that supports a residual calculation, and adds support for the W matrix as an epetra_operator.

This class is the ModelEvaluator version of NOX_Epetra_MatrixFree. One difference, is that it supports time-dependent problems when x_dot != null, and using alpha and beta.

This class will

ToDo: Finish documentation!

This class wraps a model evaluator supporting residual calculation and adds support for the W matrix that implements a Thyra-based version of NOX_Epetra_MatrixFree conforming to the Thyra::LinerarOp interface.

This class supports time-dependent problems (characterized by x_dot != null) and uses the input values of the alpha and beta coefficients.

This class wraps a model evaluator supporting residual calculation, and computes a finite difference approximation of the Jacobian directional derivative at the chosen base point. It is the Thyra-based functional equivalent of Piro::Epetra::MatrixFreeOperator, and implements the Thyra::LinerarOp interface instead of Epetra_Operator.

Time-dependent problems (characterized by x_dot != null) are supported. The class uses the input values of the alpha and beta coefficients that appear in the definition of the Jacobian operator: W = alpha * (Df/ Dx_dot) + beta * (Df / Dx)


Function Documentation

int Piro::PerformAnalysis ( Thyra::ModelEvaluatorDefaultBase< double > &  piroModel,
Teuchos::ParameterList &  analysisParams,
Teuchos::RCP< Thyra::VectorBase< double > > &  result 
)

Top level function for performing analysis of a solved model. This function calls one of the following methods.

template<typename Scalar >
void Piro::PerformSolve ( const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &  responses,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &  sensitivities 
)

Evaluates the solved model. Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters.

References PerformSolveBase().

template<typename Scalar >
void Piro::PerformSolve ( const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::RCP< Thyra::VectorBase< Scalar > > &  response,
Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > &  sensitivity 
)

Evaluates the solved model. Returns the specified (first by default) response and optionally the corresponding sensitivity with respect to the first parameter.

References PerformSolveBase().

template<typename Scalar >
void Piro::PerformSolve ( const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::Array< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &  responses,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &  sensitivities 
)

Evaluates the solved model. Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters.

References PerformSolveBase().

template<typename Scalar >
void Piro::PerformSolveBase ( const Thyra::ModelEvaluator< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::Array< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &  responses,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &  sensitivities 
)

Evaluates the solved model. Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This driver does not statically check that the model is of the response-only variety.

template<typename Scalar >
void Piro::PerformSolveBase ( const Thyra::ModelEvaluator< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::RCP< Thyra::VectorBase< Scalar > > &  response 
)

Evaluates the solved model and returns the specified (first by default) response. This driver does not statically check that the model is of the response-only variety.

template<typename Scalar >
void Piro::PerformSolveBase ( const Thyra::ModelEvaluator< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &  responses,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &  sensitivities 
)

Evaluates the solved model. Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This driver does not statically check that the model is of the response-only variety.

template<typename Scalar >
void Piro::PerformSolveBase ( const Thyra::ModelEvaluator< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::RCP< Thyra::VectorBase< Scalar > > &  response,
Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > &  sensitivity 
)

Evaluates the solved model. Returns the specified (first by default) response and optionally the corresponding sensitivity with respect to the first parameter. This driver does not statically check that the model is of the response-only variety.

template<typename Scalar >
void Piro::PerformSolveBase ( const Thyra::ModelEvaluator< Scalar > &  piroModel,
Teuchos::RCP< Thyra::VectorBase< Scalar > > &  response 
)

Evaluates the solved model and returns the first response. This driver does not statically check that the model is of the response-only variety.

Referenced by PerformSolve().

 All Classes Namespaces Files Functions Variables Enumerations