ASCOT5
Loading...
Searching...
No Matches
dist_6D.h
Go to the documentation of this file.
1
5#ifndef DIST_6D_H
6#define DIST_6D_H
7
8#include <stdlib.h>
9#include "../ascot5.h"
10#include "../particle.h"
11
58
59int dist_6D_init(dist_6D_data* data);
60void dist_6D_free(dist_6D_data* data);
63 particle_simd_fo* p_i);
65 particle_simd_gc* p_i);
66
67#endif
Main header file for ASCOT5.
double real
Definition ascot5.h:85
void dist_6D_update_fo(dist_6D_data *dist, particle_simd_fo *p_f, particle_simd_fo *p_i)
Update the histogram from full-orbit particles.
Definition dist_6D.c:86
void dist_6D_update_gc(dist_6D_data *dist, particle_simd_gc *p_f, particle_simd_gc *p_i)
Update the histogram from guiding-center particles.
Definition dist_6D.c:152
int dist_6D_init(dist_6D_data *data)
Initializes distribution data.
Definition dist_6D.c:34
void dist_6D_free(dist_6D_data *data)
Free allocated resources.
Definition dist_6D.c:60
void dist_6D_offload(dist_6D_data *data)
Offload data to the accelerator.
Definition dist_6D.c:69
Header file for particle.c.
Histogram parameters on target.
Definition dist_6D.h:15
real max_phi
Definition dist_6D.h:22
real min_phi
Definition dist_6D.h:21
size_t step_7
Definition dist_6D.h:54
real * histogram
Definition dist_6D.h:56
size_t step_3
Definition dist_6D.h:50
real min_pz
Definition dist_6D.h:37
real max_pz
Definition dist_6D.h:38
real min_time
Definition dist_6D.h:41
size_t step_5
Definition dist_6D.h:52
real min_q
Definition dist_6D.h:45
size_t step_4
Definition dist_6D.h:51
real max_pphi
Definition dist_6D.h:34
real max_time
Definition dist_6D.h:42
real min_pphi
Definition dist_6D.h:33
real min_pr
Definition dist_6D.h:29
real max_pr
Definition dist_6D.h:30
size_t step_6
Definition dist_6D.h:53
size_t step_1
Definition dist_6D.h:48
real max_z
Definition dist_6D.h:26
real min_r
Definition dist_6D.h:17
real max_r
Definition dist_6D.h:18
real max_q
Definition dist_6D.h:46
size_t step_2
Definition dist_6D.h:49
real min_z
Definition dist_6D.h:25
Struct representing NSIMD particle markers.
Definition particle.h:210
Struct representing NSIMD guiding center markers.
Definition particle.h:275