Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

◆ SFC

Definition at line 61 of file dfad_sfc_example.cpp.

◆ FAD_SFC

Definition at line 62 of file dfad_sfc_example.cpp.

Function Documentation

◆ func()

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

Definition at line 46 of file dfad_sfc_example.cpp.

◆ func_deriv()

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.

◆ main()

int main ( int argc,
char ** argv )

Definition at line 64 of file dfad_sfc_example.cpp.