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
34
42
43#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:67
void dist_COM_free(dist_COM_data *data)
Free allocated resources.
Definition dist_com.c:46
void dist_COM_offload(dist_COM_data *data)
Offload data to the accelerator.
Definition dist_com.c:55
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:124
int dist_COM_init(dist_COM_data *data)
Initializes distribution data.
Definition dist_com.c:29
Header file for particle.c.
Magnetic field simulation data.
Definition B_field.h:41
Histogram parameters on target.
Definition dist_com.h:16
real max_Ptor
Definition dist_com.h:27
real * histogram
Definition dist_com.h:32
size_t step_1
Definition dist_com.h:29
real min_Ptor
Definition dist_com.h:26
real min_Ekin
Definition dist_com.h:22
real max_Ekin
Definition dist_com.h:23
size_t step_2
Definition dist_com.h:30
Struct representing NSIMD particle markers.
Definition particle.h:210
Struct representing NSIMD guiding center markers.
Definition particle.h:275