Celeritas  0.5.0-56+6b053cd
Classes | Namespaces | Functions
DiagnosticRealFunc.hh File Reference
#include <cmath>
#include <utility>
#include "corecel/Assert.hh"
#include "corecel/Types.hh"
#include "corecel/io/Logger.hh"

Classes

class  celeritas::test::DiagnosticRealFunc< F >
 Wrap a numerical single-argument function with a counter and logger. More...
 

Namespaces

 celeritas::test
 Test harness base class for optical physics.
 

Functions

template<class T >
celeritas::test::if_double_else (T a, T b)
 Check the first value for double precision or second for single. More...
 
template<class F , class... Args>
 celeritas::test::DiagnosticRealFunc (F &&, Args...) -> DiagnosticRealFunc< F >