33GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
37GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
41GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
void plasma_1Dt_offload(plasma_1Dt_data *pls_data)
Offload data to the accelerator.
DECLARE_TARGET_END a5err plasma_1Dt_eval_dens(real *temp, real rho, real t, int species, plasma_1Dt_data *pls_data)
Evaluate plasma density.
void plasma_1Dt_free(plasma_1Dt_data *pls_data)
Free allocated resources.
int plasma_1Dt_init(plasma_1Dt_data *data, int nrho, int ntime, int nion, real *rho, real *time, int *anum, int *znum, real *mass, real *charge, real *Te, real *Ti, real *ne, real *ni)
Initialize 1Dt plasma data and check inputs.
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.
1D plasma parameters on the target