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

Nico Schlömer nico.schloemer at gmail.com
Tue Jan 3 10:09:39 MST 2012


Thanks for the hint!

It turns out that getParamIndexes() is implemented in a number of
classes, EpetraExt::ModelEvaluator::DerivativeMultiVector being the
most handy one for me.

--Nico



On Tue, Jan 3, 2012 at 3:27 PM, Bartlett, Roscoe A. <bartlettra at ornl.gov> wrote:
> 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