27 int* anum,
int* znum,
real* mass,
real* charge,
31GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
35GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
39GPU_DECLARE_TARGET_SIMD_UNIFORM(pls_data)
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
void plasma_1D_free(plasma_1D_data *data)
Free allocated resources.
void plasma_1D_offload(plasma_1D_data *data)
Offload data to the accelerator.
DECLARE_TARGET_END a5err plasma_1D_eval_dens(real *temp, real rho, int species, plasma_1D_data *pls_data)
Evaluate plasma density.
DECLARE_TARGET_END a5err plasma_1D_eval_densandtemp(real *dens, real *temp, real rho, plasma_1D_data *pls_data)
Evaluate plasma density and temperature for all species.
a5err plasma_1D_eval_temp(real *dens, real rho, int species, plasma_1D_data *pls_data)
Evaluate plasma temperature.
int plasma_1D_init(plasma_1D_data *data, int nrho, int nion, real *rho, int *anum, int *znum, real *mass, real *charge, real *Te, real *Ti, real *ne, real *ni)
Initialize 1D plasma data and check inputs.
1D plasma parameters on the target