ASCOT5
Loading...
Searching...
No Matches
neutral.h
Go to the documentation of this file.
1
8#ifndef NEUTRAL_H
9#define NEUTRAL_H
10
11#include "ascot5.h"
12#include "error.h"
13#include "neutral/N0_1D.h"
14#include "neutral/N0_3D.h"
15
23
35
36void neutral_free(neutral_data* data);
38DECLARE_TARGET_SIMD_UNIFORM(ndata)
39a5err neutral_eval_n0(real* n0, real rho, real r, real phi, real z, real t,
40 neutral_data* ndata);
41DECLARE_TARGET_SIMD_UNIFORM(ndata)
42a5err neutral_eval_t0(real* t0, real rho, real r, real phi, real z, real t,
43 neutral_data* ndata);
44DECLARE_TARGET_SIMD_UNIFORM(ndata)
46#endif
Header file for N0_1D.c.
Header file for N0_3D.c.
Main header file for ASCOT5.
double real
Definition ascot5.h:85
Error module for ASCOT5.
unsigned long int a5err
Simulation error flag.
Definition error.h:17
int neutral_get_n_species(neutral_data *ndata)
Get the number of neutral species.
Definition neutral.c:151
void neutral_offload(neutral_data *data)
Offload data to the accelerator.
Definition neutral.c:45
a5err neutral_eval_n0(real *n0, real rho, real r, real phi, real z, real t, neutral_data *ndata)
Evaluate neutral density.
Definition neutral.c:73
void neutral_free(neutral_data *data)
Free allocated resources.
Definition neutral.c:29
a5err neutral_eval_t0(real *t0, real rho, real r, real phi, real z, real t, neutral_data *ndata)
Evaluate neutral temperature.
Definition neutral.c:115
neutral_type
Neutral data types.
Definition neutral.h:19
@ neutral_type_1D
Definition neutral.h:20
@ neutral_type_3D
Definition neutral.h:21
1D neutral parameters on the target
Definition N0_1D.h:14
3D neutral parameters on the target
Definition N0_3D.h:14
Neutral simulation data.
Definition neutral.h:30
N0_1D_data N01D
Definition neutral.h:32
N0_3D_data N03D
Definition neutral.h:33
neutral_type type
Definition neutral.h:31