Piro  Development
 All Classes Namespaces Functions Variables Groups
Thyra-based solve drivers
Collaboration diagram for Thyra-based solve drivers:

Top-level Thyra solve drivers

template<typename Scalar >
void Piro::PerformSolve (const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &piroModel, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response)
 Evaluates the solved model and returns the first response. More...
 
template<typename Scalar >
void Piro::PerformSolve (const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &piroModel, Teuchos::ParameterList &solveParams, Teuchos::RCP< Thyra::VectorBase< Scalar > > &response)
 Evaluates the solved model and returns the specified response. More...
 
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 and returns the specified response and sensitivity. More...
 
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 and returns specified responses and sensitivities. More...
 
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 and returns specified responses and sensitivities. More...
 
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, Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > &directions, Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &reducedHessian)
 Evaluates the solved model and returns specified responses and sensitivities. More...
 
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, Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > &directions, Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &reducedHessian)
 Evaluates the solved model and returns specified responses and sensitivities. More...
 

Other Thyra solve drivers

The drivers do 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. More...
 
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 response. More...
 
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 and returns the specified response and sensitivity. More...
 
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 and returns specified responses and sensitivities. More...
 
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 and returns specified responses and sensitivities. More...
 
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, Teuchos::RCP< SolutionObserverBase< Scalar, const Thyra::VectorBase< Scalar > > > observer)
 Evaluates the solved model and returns specified responses and sensitivities. More...
 
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, Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > &directions, Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &reducedHessian)
 Evaluates the solved model and returns specified responses and sensitivities. More...
 
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, Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > &directions, Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &reducedHessian)
 Evaluates the solved model and returns specified responses and sensitivities. More...
 
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, Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > &directions, Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &reducedHessian, Teuchos::RCP< SolutionObserverBase< Scalar, const Thyra::VectorBase< Scalar > > > observer)
 Evaluates the solved model and returns specified responses and sensitivities. More...
 

Detailed Description

Function Documentation

template<typename Scalar >
void Piro::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 Piro::PerformSolve ( const Thyra::ResponseOnlyModelEvaluatorBase< Scalar > &  piroModel,
Teuchos::ParameterList &  solveParams,
Teuchos::RCP< Thyra::VectorBase< Scalar > > &  response 
)

Evaluates the solved model and returns the specified response.

Returns the specified (first by default) response.

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 and returns the specified response and sensitivity.

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

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 and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to non-const objects.

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 and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to const-qualified objects.

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,
Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > &  directions,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &  reducedHessian 
)

Evaluates the solved model and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to non-const objects.

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,
Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > &  directions,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &  reducedHessian 
)

Evaluates the solved model and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to const-qualified objects.

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.

Returns the first (i.e. with index 0) reponse.

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 response.

Returns the specified (first by default) response.

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 and returns the specified response and sensitivity.

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

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 and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to non-const objects.

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 and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to const-qualified objects.

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,
Teuchos::RCP< SolutionObserverBase< Scalar, const Thyra::VectorBase< Scalar > > >  observer 
)

Evaluates the solved model and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to const-qualified objects.

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,
Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > &  directions,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > > > &  reducedHessian 
)

Evaluates the solved model and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to non-const objects.

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,
Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > &  directions,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &  reducedHessian 
)

Evaluates the solved model and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to const-qualified objects.

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,
Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > &  directions,
Teuchos::Array< Teuchos::Array< Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > > > &  reducedHessian,
Teuchos::RCP< SolutionObserverBase< Scalar, const Thyra::VectorBase< Scalar > > >  observer 
)

Evaluates the solved model and returns specified responses and sensitivities.

Returns the requested responses and optionally the corresponding sensitivities with respect to all parameters. This version accepts pointers to const-qualified objects.