Adding support for log-log interpolation on the C++ side

This commit is contained in:
Patrick Shriwise 2022-07-28 11:14:30 -05:00
parent 8f26df7f5a
commit 0d551cbb21
3 changed files with 27 additions and 6 deletions

View file

@ -1,6 +1,7 @@
#ifndef OPENMC_TALLIES_FILTER_ENERGYFUNC_H
#define OPENMC_TALLIES_FILTER_ENERGYFUNC_H
#include "openmc/constants.h"
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"
@ -39,6 +40,7 @@ public:
const vector<double>& energy() const { return energy_; }
const vector<double>& y() const { return y_; }
Interpolation interpolation_;
void set_data(gsl::span<const double> energy, gsl::span<const double> y);
private: