ASCOT5
Loading...
Searching...
No Matches
dist_com.h
Go to the documentation of this file.
1
5#ifndef DIST_COM_H
6#define DIST_COM_H
7
8#include <stdlib.h>
9#include "../ascot5.h"
10#include "../particle.h"
11#include "../B_field.h"
12
29
51
52void dist_COM_init(dist_COM_data* dist_data,
53 dist_COM_offload_data* offload_data,
54 real* offload_array);
59
60#endif
Header file for B_field.c.
Main header file for ASCOT5.
double real
Definition ascot5.h:85
void dist_COM_update_fo(dist_COM_data *dist, B_field_data *Bdata, particle_simd_fo *p_f, particle_simd_fo *p_i)
Update the histogram from full-orbit markers.
Definition dist_com.c:78
void dist_COM_init(dist_COM_data *dist_data, dist_COM_offload_data *offload_data, real *offload_array)
Initializes distribution from offload data.
Definition dist_com.c:48
void dist_COM_update_gc(dist_COM_data *dist, B_field_data *Bdata, particle_simd_gc *p_f, particle_simd_gc *p_i)
Update the histogram from guiding center markers.
Definition dist_com.c:135
Header file for particle.c.
Magnetic field simulation data.
Definition B_field.h:63
Histogram parameters on target.
Definition dist_com.h:33
real max_Ptor
Definition dist_com.h:44
real * histogram
Definition dist_com.h:49
size_t step_1
Definition dist_com.h:46
real min_Ptor
Definition dist_com.h:43
real min_Ekin
Definition dist_com.h:39
real max_Ekin
Definition dist_com.h:40
size_t step_2
Definition dist_com.h:47
Histogram parameters that will be offloaded to target.
Definition dist_com.h:16
Struct representing NSIMD particle markers.
Definition particle.h:210
Struct representing NSIMD guiding center markers.
Definition particle.h:275