29#include "../offload_acc_omp.h"
109 int n_x,
int n_y,
int bc_x,
int bc_y,
114 int n_x,
int n_y,
int n_z,
115 int bc_x,
int bc_y,
int bc_z,
125 int n_x,
int n_y,
int bc_x,
int bc_y,
130 int n_x,
int n_y,
int n_z,
131 int bc_x,
int bc_y,
int bc_z,
141 int n_x,
int n_y,
int bc_x,
int bc_y,
146 int n_x,
int n_y,
int n_z,
147 int bc_x,
int bc_y,
int bc_z,
157 int n_x,
int n_y,
int bc_x,
int bc_y,
162 int n_x,
int n_y,
int n_z,
163 int bc_x,
int bc_y,
int bc_z,
168GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
171GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
174GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
179DECLARE_TARGET_SIMD_UNIFORM(str)
181DECLARE_TARGET_SIMD_UNIFORM(str)
183DECLARE_TARGET_SIMD_UNIFORM(str)
187GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
190GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
193GPU_DECLARE_TARGET_SIMD_UNIFORM(str)
198DECLARE_TARGET_SIMD_UNIFORM(str)
200DECLARE_TARGET_SIMD_UNIFORM(str)
202DECLARE_TARGET_SIMD_UNIFORM(str)
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
DECLARE_TARGET_END a5err interp3Dcomp_eval_f(real *f, interp3D_data *str, real x, real y, real z)
Evaluate interpolated value of 3D scalar field.
void interp1Dexpl_init_spline(interp1D_data *str, real *c, int n_x, int bc_x, real x_min, real x_max)
Initialize a cubic spline.
int interp3Dcomp_init_coeff(real *c, real *f, 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)
Calculate tricubic spline interpolation coefficients for 3D data.
int interp3Dexpl_init_coeff(real *c, real *f, 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)
Calculate tricubic spline interpolation coefficients for 3D data.
boundaryCondition
Boundary conditions for the spline interpolation.
int interp1Dcomp_init_coeff(real *c, real *f, int n_x, int bc_x, real x_min, real x_max)
Calculate cubic spline interpolation coefficients for scalar 1D data.
DECLARE_TARGET_END a5err interp2Dcomp_eval_df(real *f_df, interp2D_data *str, real x, real y)
Evaluate interpolated value and 1st and 2nd derivatives of 2D field.
int interp2Dcomp_init_coeff(real *c, real *f, int n_x, int n_y, int bc_x, int bc_y, real x_min, real x_max, real y_min, real y_max)
Calculate bicubic spline interpolation coefficients for scalar 2D data.
a5err interp1Dcomp_eval_f(real *f, interp1D_data *str, real x)
Evaluate interpolated value of 1D scalar field.
a5err interp2Dexpl_eval_f(real *f, interp2D_data *str, real x, real y)
Evaluate interpolated value of 2D scalar field.
a5err interp3Dexpl_eval_df(real *f_df, interp3D_data *str, real x, real y, real z)
Evaluate interpolated value of 3D field and 1st and 2nd derivatives.
DECLARE_TARGET_END a5err interp1Dexpl_eval_df(real *f_df, interp1D_data *str, real x)
Evaluate interpolated value of 1D and its 1st and 2nd derivatives.
a5err interp3Dexpl_eval_f(real *f, interp3D_data *str, real x, real y, real z)
Evaluate interpolated value of 3D scalar field.
void interp3Dcomp_init_spline(interp3D_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 a tricubic spline.
void interp3Dexpl_init_spline(interp3D_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 a tricubic spline.
a5err interp2Dexpl_eval_df(real *f_df, interp2D_data *str, real x, real y)
Evaluate interpolated value and 1st and 2nd derivatives of 2D field.
void interp2Dexpl_init_spline(interp2D_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 a bicubic spline.
a5err interp1Dcomp_eval_df(real *f_df, interp1D_data *str, real x)
Evaluate interpolated value of 1D and its 1st and 2nd derivatives.
int interp1Dexpl_init_coeff(real *c, real *f, int n_x, int bc_x, real x_min, real x_max)
Calculate cubic spline interpolation coefficients for scalar 1D data.
DECLARE_TARGET_END a5err interp3Dcomp_eval_df(real *f_df, interp3D_data *str, real x, real y, real z)
Evaluate interpolated value of 3D field and 1st and 2nd derivatives.
void interp2Dcomp_init_spline(interp2D_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 a bicubic spline.
DECLARE_TARGET_END a5err interp1Dexpl_eval_f(real *f, interp1D_data *str, real x)
Evaluate interpolated value of 1D scalar field.
int interp2Dexpl_init_coeff(real *c, real *f, int n_x, int n_y, int bc_x, int bc_y, real x_min, real x_max, real y_min, real y_max)
Calculate bicubic spline interpolation coefficients for scalar 2D data.
void interp1Dcomp_init_spline(interp1D_data *str, real *c, int n_x, int bc_x, real x_min, real x_max)
Initialize a cubic spline.
DECLARE_TARGET_END a5err interp2Dcomp_eval_f(real *f, interp2D_data *str, real x, real y)
Evaluate interpolated value of a 2D field.
splinesize
Number of coefficients stored for each data point.
Cubic interpolation struct.
Bicubic interpolation struct.
Tricubic interpolation struct.