23 #include <boost/program_options.hpp> 24 #include <boost/format.hpp> 26 #include <gsl/gsl_version.h> 27 #include <gsl/gsl_sf_bessel.h> 34 using boost::program_options::variable_value;
47 log.info() <<
"GSL version: " << gsl_version;
50 double y = gsl_sf_bessel_J0(x);
52 log.info() << boost::format(
"J0(%g) = %.18e\n") % x % y;
ExitCode
Strongly typed exit numbers.
Macro to silence unused variables warnings from the compiler.
ExitCode mainMethod(ELEMENTS_UNUSED map< string, variable_value > &args) override
Abstract class for all Elements programs.
#define MAIN_FOR(ELEMENTS_PROGRAM_NAME)
static Logging getLogger(const std::string &name="")