45 real** offload_array);
47 real** offload_array);
52GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
56GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
60GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
Main header file for ASCOT5.
#define MAX_SPECIES
Maximum number of plasma species.
unsigned long int a5err
Simulation error flag.
void plasma_1Dt_free_offload(plasma_1Dt_offload_data *offload_data, real **offload_array)
Free offload array and reset parameters.
int plasma_1Dt_init_offload(plasma_1Dt_offload_data *offload_data, real **offload_array)
Initialize 1Dt plasma data and check inputs.
DECLARE_TARGET_END a5err plasma_1Dt_eval_dens(real *temp, real rho, real t, int species, plasma_1Dt_data *pls_data)
Evaluate plasma density.
DECLARE_TARGET_END a5err plasma_1Dt_eval_densandtemp(real *dens, real *temp, real rho, real t, plasma_1Dt_data *pls_data)
Evaluate plasma density and temperature for all species.
a5err plasma_1Dt_eval_temp(real *dens, real rho, real t, int species, plasma_1Dt_data *pls_data)
Evaluate plasma temperature.
void plasma_1Dt_init(plasma_1Dt_data *pls_data, plasma_1Dt_offload_data *offload_data, real *offload_array)
Initialize magnetic field data struct on target.
1D plasma parameters on the target
1D plasma parameters that will be offloaded to target