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
dfad_sfc_example.cpp File Reference
#include <iostream>
#include <iomanip>
#include "Sacado_No_Kokkos.hpp"
Include dependency graph for dfad_sfc_example.cpp:

Go to the source code of this file.

Typedefs

typedef
Sacado::FlopCounterPack::ScalarFlopCounter
< double > 
SFC
 
typedef Sacado::Fad::DFad< SFCFAD_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 61 of file dfad_sfc_example.cpp.

Definition at line 62 of file dfad_sfc_example.cpp.

Function Documentation

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

Definition at line 46 of file dfad_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 54 of file dfad_sfc_example.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 64 of file dfad_sfc_example.cpp.