ASCOT5
Toggle main menu visibility
Loading...
Searching...
No Matches
Efield
E_2DS.h
Go to the documentation of this file.
1
7
#ifndef E_2DS_H
8
#define E_2DS_H
9
#include "../offload.h"
10
#include "
../ascot5.h
"
11
#include "
../error.h
"
12
#include "
../spline/interp.h
"
13
17
typedef
struct
{
18
interp2D_data
vpot
;
19
}
E_2DS_data
;
20
21
int
E_2DS_init(
E_2DS_data
* data,
int
nr,
real
rmin,
real
rmax,
int
nz,
22
real
zmin,
real
zmax,
real
* vpot);
23
void
E_2DS_free(
E_2DS_data
* data);
24
void
E_2DS_offload(
E_2DS_data
* data);
25
GPU_DECLARE_TARGET_SIMD_UNIFORM(Edata)
26
a5err
E_2DS_eval_E(
real
E[3],
real
r,
real
z,
E_2DS_data
* Edata);
27
DECLARE_TARGET_END
28
#endif
ascot5.h
Main header file for ASCOT5.
real
double real
Definition
ascot5.h:85
error.h
Error module for ASCOT5.
a5err
unsigned long int a5err
Simulation error flag.
Definition
error.h:17
interp.h
Spline interpolation library.
E_2DS_data
2D spline electric field parameters
Definition
E_2DS.h:17
E_2DS_data::vpot
interp2D_data vpot
Definition
E_2DS.h:18
interp2D_data
Bicubic interpolation struct.
Definition
interp.h:68
Generated on
for ASCOT5 by
1.18.0