11#ifndef PANZER_PARAMETER_LIBRARY_UTILITIES_CPP
12#define PANZER_PARAMETER_LIBRARY_UTILITIES_CPP
18struct RegisterScalarParameter {
20 Teuchos::Ptr<panzer::ParamLib> pl;
24 { createAndRegisterScalarParameter<T>(name,*pl); }
29 RegisterScalarParameter rsp;
31 rsp.pl = Teuchos::ptrFromRef(pl);
36#ifdef Panzer_BUILD_HESSIAN_SUPPORT
40 pl.setRealValueForAllTypes(name,realValue);
void registerScalarParameter(const std::string name, panzer::ParamLib &pl, double realValue)
Sacado::ScalarParameterLibrary< panzer::EvaluationTraits > ParamLib
Panzer's registry of named scalar parameters (see panzer::ScalarParameterEntry), keyed and evaluated ...
Evaluation type for computing second derivatives, using HessianType as the scalar type....
Evaluation type for computing the residual and its Jacobian, using FadType as the scalar type.
Evaluation type for computing the residual only, using RealType as the scalar type.
Evaluation type for computing directional derivatives (e.g. parameter sensitivities),...