Sacado::DefaultEvalTypeTraits Struct Reference

Base traits definition mapping evaluation types to value types. More...

#include <Sacado_ScalarParameterEntry.hpp>

Classes

struct  apply

Detailed Description

Base traits definition mapping evaluation types to value types.

Users should provide evaluation type tags for various evalutions (e.g., Residual, Jacobian, Tangent, ...) and specialize SPE_ValueType on those tags. Each specialization should have a public typedef called type specifying the ValueType for that evaluation type, e.g.,

 struct ResidualType {};
 template <> struct SPE_ValueType<ResidualType> { 
  typedef double type; 
 };

 struct JacobianType {};
 template <> struct SPE_ValueType<JacobianType> { 
  typedef Sacado::Fad::DFad<double> type; 
 };

Definition at line 60 of file Sacado_ScalarParameterEntry.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:19:43 2011 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.6.3