14#include "../offload_acc_omp.h"
74 int n_x,
int n_y,
int bc_x,
int bc_y,
79 int n_x,
int n_y,
int n_z,
80 int bc_x,
int bc_y,
int bc_z,
85GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
88GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
91GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
Main header file for ASCOT5.
Spline interpolation library.
DECLARE_TARGET_END int linint3D_eval_f(real *f, linint3D_data *str, real x, real y, real z)
Evaluate interpolated value of 3D scalar field.
int linint1D_eval_f(real *f, linint1D_data *str, real x)
Evaluate interpolated value of 1D scalar field.
void linint2D_init(linint2D_data *str, real *c, int n_x, int n_y, int bc_x, int bc_y, real x_min, real x_max, real y_min, real y_max)
Initialize linear interpolation struct for scalar 2D data.
void linint1D_init(linint1D_data *str, real *c, int n_x, int bc_x, real x_min, real x_max)
Initialize linear interpolation struct for scalar 1D data.
void linint3D_init(linint3D_data *str, real *c, int n_x, int n_y, int n_z, int bc_x, int bc_y, int bc_z, real x_min, real x_max, real y_min, real y_max, real z_min, real z_max)
Initialize linear interpolation struct for scalar 3D data.
DECLARE_TARGET_END int linint2D_eval_f(real *f, linint2D_data *str, real x, real y)
Evaluate interpolated value of 2D scalar field.