Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
fad_expr.cpp File Reference
#include "Sacado_No_Kokkos.hpp"
#include "Sacado_Random.hpp"
#include "Sacado_Fad_SimpleFad.hpp"
#include "Fad/fad.h"
#include "TinyFadET/tfad.h"
#include "Teuchos_Time.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
Include dependency graph for fad_expr.cpp:

Go to the source code of this file.

Functions

template<typename T >
void func1 (const T &x1, const T &x2, T &y)
 
void func1_and_deriv (int n, double x1, double x2, double *x1dot, double *x2dot, double &y, double *ydot)
 
template<typename FadType >
double do_time (int nderiv, int nloop)
 
double do_time_analytic (int nderiv, int nloop)
 
int main (int argc, char *argv[])
 

Function Documentation

template<typename T >
void func1 ( const T x1,
const T x2,
T y 
)
inline

Definition at line 29 of file fad_expr.cpp.

void func1_and_deriv ( int  n,
double  x1,
double  x2,
double *  x1dot,
double *  x2dot,
double &  y,
double *  ydot 
)
inline

Definition at line 34 of file fad_expr.cpp.

template<typename FadType >
double do_time ( int  nderiv,
int  nloop 
)

Definition at line 48 of file fad_expr.cpp.

double do_time_analytic ( int  nderiv,
int  nloop 
)

Definition at line 72 of file fad_expr.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 99 of file fad_expr.cpp.