[Trilinos-Users] EpetraExt::ModelEvaluator, dF/dp w.r.t. to which parameter?

Bartlett, Roscoe A. bartlettra at ornl.gov
Tue Jan 3 07:27:02 MST 2012


Nico,

I think Eric Phipps added this functionality for the EpetraExt version for LOCA.  Look at:

    EpetraExt::ModelEvaluator::MPDerivativeMultiVector::getParamIndexes()

 at:
    http://trilinos.sandia.gov/packages/docs/dev/packages/epetraext/doc/html/classEpetraExt_1_1ModelEvaluator_1_1MPDerivativeMultiVector.html#ac393ed8f918db1bb3c1cdec8403e5a93

This functionality does not yet exist in the Thyra version of the ME (which is an example of the fractionation and duplication problem we discussed at the last TUG).

-Ross


> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-
> bounces at software.sandia.gov] On Behalf Of Nico Schlömer
> Sent: Tuesday, January 03, 2012 7:11 AM
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] EpetraExt::ModelEvaluator, dF/dp w.r.t. to which
> parameter?
> 
> Hi all,
> 
> I have an EpetraExt::ModelEvaluator with a number of different model
> parameters, all contained in 1 parameter vector (as returned by
> get_p_init()). When calculating dF/dp, though, the resulting
> multivector
> 
>   const Teuchos::RCP<Epetra_MultiVector> dfdp_out =
>       outArgs.get_DfDp(0).getMultiVector();
> 
> will always contain 1 vector. -- Apparently, the application wants me
> to return dF/dp w.r.t. to one of them. Any idea how to tell which one
> it is?
> 
> Cheers,
> Nico
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users





More information about the Trilinos-Users mailing list