NeoPZ
Functions
benchadolc.cc File Reference
#include <iomanip>
#include <cmath>
#include <adouble.h>
#include <DRIVERS/drivers.h>
#include <Fad/fad.h>
#include <utils/timer.h>
#include <utils/vectors.h>
Include dependency graph for benchadolc.cc:

Go to the source code of this file.

Functions

double testADOLC (Timer &timer, const int n, const int nloop, double &yp, double &errg)
 
double testFAD (Timer &timer, const int n, const int nloop, double &yp, double &errg)
 
int main ()
 

Function Documentation

◆ main()

int main ( )

◆ testADOLC()

double testADOLC ( Timer timer,
const int  n,
const int  nloop,
double &  yp,
double &  errg 
)

Definition at line 82 of file benchadolc.cc.

References Timer::elapsedSeconds(), nloop, Timer::start(), Timer::stop(), and tmp.

Referenced by main().

◆ testFAD()

double testFAD ( Timer timer,
const int  n,
const int  nloop,
double &  yp,
double &  errg 
)

Definition at line 127 of file benchadolc.cc.

References Timer::elapsedSeconds(), nloop, Timer::start(), Timer::stop(), and tmp.

Referenced by main().