94 switch(pls_data->
type) {
142 switch(pls_data->
type) {
191 switch(pls_data->
type) {
239 switch(pls_data->
type) {
268 const real* mass = NULL;
269 switch(pls_data->
type) {
298 const real* charge = NULL;
299 switch(pls_data->
type) {
326 const int* znum = NULL;
327 switch(pls_data->
type) {
354 const int* anum = NULL;
355 switch(pls_data->
type) {
Main header file for ASCOT5.
#define MAX_SPECIES
Maximum number of plasma species.
Header file containing physical and mathematical constants.
unsigned long int a5err
Simulation error flag.
static DECLARE_TARGET_SIMD a5err error_raise(error_type type, int line, error_file file)
Raise a new error.
void plasma_free(plasma_data *data)
Free allocated resources.
const real * plasma_get_species_mass(plasma_data *pls_data)
Get mass of all plasma species.
const int * plasma_get_species_znum(plasma_data *pls_data)
Get charge number of ion species.
int plasma_get_n_species(plasma_data *pls_data)
Get the number of plasma species.
const real * plasma_get_species_charge(plasma_data *pls_data)
Get charge of all plasma 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.
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.
void plasma_offload(plasma_data *data)
Offload data to the accelerator.
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.
const int * plasma_get_species_anum(plasma_data *pls_data)
Get atomic mass number of ion species.
Header file for plasma.c.
a5err plasma_1DS_eval_densandtemp(real *dens, real *temp, real rho, plasma_1DS_data *plasma_data)
Evaluate plasma density and temperature for all species.
a5err plasma_1DS_eval_dens(real *dens, real rho, int species, plasma_1DS_data *plasma_data)
Evaluate plasma density.
void plasma_1DS_free(plasma_1DS_data *data)
Free allocated resources.
a5err plasma_1DS_eval_temp(real *temp, real rho, int species, plasma_1DS_data *plasma_data)
Evaluate plasma temperature.
void plasma_1DS_offload(plasma_1DS_data *data)
Offload data to the accelerator.
Header file for plasma_1DS.c.
a5err plasma_1D_eval_dens(real *dens, real rho, int species, plasma_1D_data *pls_data)
Evaluate plasma density.
a5err plasma_1D_eval_densandtemp(real *dens, real *temp, real rho, plasma_1D_data *pls_data)
Evaluate plasma density and temperature for all species.
void plasma_1D_free(plasma_1D_data *data)
Free allocated resources.
void plasma_1D_offload(plasma_1D_data *data)
Offload data to the accelerator.
a5err plasma_1D_eval_temp(real *temp, real rho, int species, plasma_1D_data *pls_data)
Evaluate plasma temperature.
Header file for plasma_1D.c.
void plasma_1Dt_offload(plasma_1Dt_data *data)
Offload data to the accelerator.
void plasma_1Dt_free(plasma_1Dt_data *data)
Free allocated resources.
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 *temp, real rho, real t, int species, plasma_1Dt_data *pls_data)
Evaluate plasma temperature.
a5err plasma_1Dt_eval_dens(real *dens, real rho, real t, int species, plasma_1Dt_data *pls_data)
Evaluate plasma density.
Macros for printing console output.
plasma_1Dt_data plasma_1Dt
plasma_1DS_data plasma_1DS