ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
interpos.hpp File Reference

One-dimensional smoothing interpolation for source/profile data. More...

#include "prec_const.hpp"
#include <vector>
+ Include dependency graph for interpos.hpp:

Namespaces

namespace  orb5x
 Public C++ interface of the ORB5X gyrokinetic application.
 

Functions

void orb5x::interpos_smooth (const std::vector< Real > &xin, const std::vector< Real > &yin, std::vector< Real > &yout, std::vector< Real > &youtp)
 Smooth sampled data with a natural cubic spline and evaluate its derivative.
 

Detailed Description

One-dimensional smoothing interpolation for source/profile data.

Input coordinates must be monotone; the result follows the query-point order.