mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
More interpolation types in Tabular. (#3413)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
360ec24b41
commit
96383fcb2b
5 changed files with 201 additions and 45 deletions
|
|
@ -201,6 +201,18 @@ std::complex<double> faddeeva(std::complex<double> z);
|
|||
//! \return Derivative of Faddeeva function evaluated at z
|
||||
std::complex<double> w_derivative(std::complex<double> z, int order);
|
||||
|
||||
//! Evaluate relative exponential function
|
||||
//!
|
||||
//! \param x Real argument
|
||||
//! \return (exp(x)-1)/x without loss of precision near 0
|
||||
double exprel(double x);
|
||||
|
||||
//! Evaluate relative logarithm function
|
||||
//!
|
||||
//! \param x Real argument
|
||||
//! \return log(1+x)/x without loss of precision near 0
|
||||
double log1prel(double x);
|
||||
|
||||
//! Helper function to get index and interpolation function on an incident
|
||||
//! energy grid
|
||||
//!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue