Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
trad_sfc_example.cpp File Reference
#include <iostream>
#include <iomanip>
#include "Sacado_No_Kokkos.hpp"
Include dependency graph for trad_sfc_example.cpp:

Go to the source code of this file.

Typedefs

typedef
Sacado::FlopCounterPack::ScalarFlopCounter
< double > 
SFC
 
typedef Sacado::Rad::ADvar< SFCRAD_SFC
 

Functions

template<typename ScalarT >
ScalarT func (const ScalarT &a, const ScalarT &b, const ScalarT &c)
 
template<typename ScalarT >
void func_deriv (const ScalarT &a, const ScalarT &b, const ScalarT &c, ScalarT &drda, ScalarT &drdb)
 
int main (int argc, char **argv)
 

Typedef Documentation

Definition at line 63 of file trad_sfc_example.cpp.

Definition at line 64 of file trad_sfc_example.cpp.

Function Documentation

template<typename ScalarT >
ScalarT func ( const ScalarT &  a,
const ScalarT &  b,
const ScalarT &  c 
)

Definition at line 48 of file trad_sfc_example.cpp.

template<typename ScalarT >
void func_deriv ( const ScalarT &  a,
const ScalarT &  b,
const ScalarT &  c,
ScalarT &  drda,
ScalarT &  drdb 
)

Definition at line 56 of file trad_sfc_example.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 66 of file trad_sfc_example.cpp.