41GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
45GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
49GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
54GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
57GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
60GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
63GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
66GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
DECLARE_TARGET_END const int * plasma_get_species_znum(plasma_data *pls_data)
Get charge number of ion species.
void plasma_free(plasma_data *data)
Free allocated resources.
DECLARE_TARGET_END const int * plasma_get_species_anum(plasma_data *pls_data)
Get atomic mass number of ion species.
DECLARE_TARGET_END const real * plasma_get_species_mass(plasma_data *pls_data)
Get mass of all plasma species.
DECLARE_TARGET_END a5err plasma_eval_densandtemp(real *dens, real *temp, real rho, real r, real phi, real z, real t, plasma_data *pls_data)
Evaluate plasma density and temperature for all species.
a5err plasma_eval_temp(real *temp, real rho, real r, real phi, real z, real t, int species, plasma_data *pls_data)
Evaluate plasma temperature.
DECLARE_TARGET_END a5err plasma_eval_dens(real *dens, real rho, real r, real phi, real z, real t, int species, plasma_data *pls_data)
Evaluate plasma density.
void plasma_offload(plasma_data *data)
Offload data to the accelerator.
DECLARE_TARGET_END int plasma_get_n_species(plasma_data *pls_data)
Get the number of plasma species.
plasma_type
Plasma data types.
DECLARE_TARGET_END const real * plasma_get_species_charge(plasma_data *pls_data)
Get charge of all plasma species.
Header file for plasma_1DS.c.
Header file for plasma_1D.c.
Header file for plasma_1Dt.c.
1D spline plasma parameters on the target
1D plasma parameters on the target
1D plasma parameters on the target
plasma_1Dt_data plasma_1Dt
plasma_1DS_data plasma_1DS