|
ASCOT5
|
Euler-Maruyama integrator for collision operator in FO picture. More...
#include <math.h>#include "../../ascot5.h"#include "../../consts.h"#include "../../error.h"#include "../../physlib.h"#include "../../particle.h"#include "../../plasma.h"#include "../../random.h"#include "mccc_coefs.h"#include "mccc.h"Go to the source code of this file.
Functions | |
| void | mccc_fo_euler (particle_simd_fo *p, real *h, plasma_data *pdata, mccc_data *mdata, real *rnd) |
| Integrate collisions for one time-step. | |
Euler-Maruyama integrator for collision operator in FO picture.
Definition in file mccc_fo_euler.c.
| void mccc_fo_euler | ( | particle_simd_fo * | p, |
| real * | h, | ||
| plasma_data * | pdata, | ||
| mccc_data * | mdata, | ||
| real * | rnd ) |
Integrate collisions for one time-step.
| p | fo struct |
| h | time-steps for NSIMD markers |
| pdata | pointer to plasma data |
| mdata | pointer collision data struct |
| rnd | array of normally distributed random numbers used to resolve collisions. Values for marker i are rnd[i*NSIMD + j] |
Definition at line 27 of file mccc_fo_euler.c.