ASCOT5
Loading...
Searching...
No Matches
mccc.h
Go to the documentation of this file.
1
5#ifndef MCCC_H
6#define MCCC_H
7
8#include "../../ascot5.h"
9#include "../../B_field.h"
10#include "../../plasma.h"
11#include "../../particle.h"
12#include "../../random.h"
13#include "mccc_wiener.h"
14
22#define MCCC_CUTOFF 0.1
23
33
34
35void mccc_init(mccc_data* mdata, int include_energy, int include_pitch,
36 int include_gcdiff);
38 mccc_data* mdata, real* rnd);
40 plasma_data* pdata, mccc_data* mdata, real* rnd);
41void mccc_gc_milstein(particle_simd_gc* p, real* hin, real* hout, real tol,
42 mccc_wienarr* w, B_field_data* Bdata, plasma_data* pdata,
43 mccc_data* mdata, real* rnd);
44
45#endif
Header file for B_field.c.
Main header file for ASCOT5.
double real
Definition ascot5.h:85
void mccc_fo_euler(particle_simd_fo *p, real *h, plasma_data *pdata, mccc_data *mdata, real *rnd)
Integrate collisions for one time-step.
void mccc_gc_milstein(particle_simd_gc *p, real *hin, real *hout, real tol, mccc_wienarr *w, B_field_data *Bdata, plasma_data *pdata, mccc_data *mdata, real *rnd)
Integrate collisions for one time-step.
void mccc_gc_euler(particle_simd_gc *p, real *h, B_field_data *Bdata, plasma_data *pdata, mccc_data *mdata, real *rnd)
Integrate collisions for one time-step.
void mccc_init(mccc_data *mdata, int include_energy, int include_pitch, int include_gcdiff)
Set collision operator data.
Definition mccc.c:17
header file for mccc_wiener.c
Header file for particle.c.
Header file for plasma.c.
Header file for random.c.
Magnetic field simulation data.
Definition B_field.h:63
Parameters and data required to evaluate Coulomb collisions.
Definition mccc.h:27
int include_pitch
Definition mccc.h:30
int include_gcdiff
Definition mccc.h:31
int usetabulated
Definition mccc.h:28
int include_energy
Definition mccc.h:29
Struct for storing Wiener processes.
Definition mccc_wiener.h:28
Struct representing NSIMD particle markers.
Definition particle.h:210
Struct representing NSIMD guiding center markers.
Definition particle.h:275
Plasma simulation data.
Definition plasma.h:57