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.

References PerformSolve().

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

References PerformSolve().

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

References PerformSolve().

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

References PerformSolve().

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

References PerformSolve().

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

References PerformSolve().

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

References PerformSolve().

Referenced by PerformSolve(), PerformSolve(), PerformSolve(), PerformSolve(), PerformSolve(), PerformSolve(), and PerformSolve().

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

References PerformSolveBase().

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

References PerformSolveBase().

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

References PerformSolveBase().

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

References PerformSolveBase().

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

References PerformSolveBase().

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

References PerformSolveBase().

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

References PerformSolveBase().

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

References PerformSolveBase().

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

References PerformSolveBase().

Referenced by PerformSolveBase(), PerformSolveBase(), PerformSolveBase(), PerformSolveBase(), PerformSolveBase(), PerformSolveBase(), PerformSolveBase(), PerformSolveBase(), and PerformSolveBase().