Piro Development
Loading...
Searching...
No Matches
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 

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

Detailed Description

Function Documentation

◆ PerformSolve() [1/7]

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.

◆ PerformSolve() [2/7]

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.

◆ PerformSolve() [3/7]

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.

◆ PerformSolve() [4/7]

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.

◆ PerformSolve() [5/7]

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.

◆ PerformSolve() [6/7]

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.

◆ PerformSolve() [7/7]

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.

◆ PerformSolveBase() [1/9]

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.

◆ PerformSolveBase() [2/9]

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.

◆ PerformSolveBase() [3/9]

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.

◆ PerformSolveBase() [4/9]

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.

◆ PerformSolveBase() [5/9]

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.

◆ PerformSolveBase() [6/9]

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.

◆ PerformSolveBase() [7/9]

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.

◆ PerformSolveBase() [8/9]

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.

◆ PerformSolveBase() [9/9]

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.