|
ASCOT5
|
Header file for hist.c. More...
Go to the source code of this file.
Data Structures | |
| struct | hist_axis |
| Coordinate axis for the histogram. More... | |
| struct | histogram |
| Histogram parameters. More... | |
Macros | |
| #define | HIST_ALLDIM 16 |
Enumerations | |
| enum | hist_coordinate { R , PHI , Z , RHO , THETA , PPAR , PPERP , PR , PPHI , PZ , EKIN , XI , MU , PTOR , TIME , CHARGE } |
| Quantities that can be used as histogram axis coordinates. More... | |
Functions | |
| int | hist_init (histogram *data, int dimensions, hist_coordinate *coordinates, real *binmin, real *binmax, size_t *nbin) |
| Initialize the histogram object. | |
| void | hist_free (histogram *data) |
| Free allocated resources. | |
| void | hist_offload (histogram *data) |
| Offload the data to the accelerator. | |
| void | hist_update_fo (histogram *hist, particle_simd_fo *p_f, particle_simd_fo *p_i) |
| Update the histogram in the particle picture. | |
| void | hist_update_gc (histogram *hist, particle_simd_gc *p_f, particle_simd_gc *p_i) |
| Update the histogram in the GC picture. | |
| enum hist_coordinate |
Quantities that can be used as histogram axis coordinates.
| int hist_init | ( | histogram * | data, |
| int | dimensions, | ||
| hist_coordinate * | coordinates, | ||
| real * | binmin, | ||
| real * | binmax, | ||
| size_t * | nbin ) |
| void hist_offload | ( | histogram * | data | ) |
| void hist_update_fo | ( | histogram * | hist, |
| particle_simd_fo * | p_f, | ||
| particle_simd_fo * | p_i ) |
| void hist_update_gc | ( | histogram * | hist, |
| particle_simd_gc * | p_f, | ||
| particle_simd_gc * | p_i ) |