ASCOT5
Loading...
Searching...
No Matches
afsi.h
1
5#ifndef AFSI_H
6#define AFSI_H
7
8#include <math.h>
9#include "ascot5.h"
10#include "consts.h"
11#include "simulate.h"
12#include "random.h"
13#include "boschhale.h"
14#include "diag/hist.h"
15
19typedef enum {
20 PPARPPERP,
21 EKINXI
22} mom_space_basis;
23
43
44void afsi_run(sim_data* sim, afsi_data* data, int n,
45 histogram* prod1, histogram* prod2);
46#endif
void afsi_run(sim_data *sim, afsi_data *afsi, int n, histogram *prod1, histogram *prod2)
Calculate fusion source from two arbitrary ion distributions.
Definition afsi.c:60
Main header file for ASCOT5.
double real
Definition ascot5.h:85
Header file for boschdale.c.
Reaction
Available reactions.
Definition boschhale.h:13
Header file containing physical and mathematical constants.
Header file for hist.c.
Header file for math.c.
Header file for random.c.
Header file for simulate.c.
Wrapper around input data structures.
Definition afsi.h:27
real * vol
Definition afsi.h:37
real * z
Definition afsi.h:36
histogram * beam1
Definition afsi.h:32
real * r
Definition afsi.h:34
int thermal1
Definition afsi.h:30
real * phi
Definition afsi.h:35
Reaction reaction
Definition afsi.h:39
int thermal2
Definition afsi.h:31
int type2
Definition afsi.h:29
real mult
Definition afsi.h:40
size_t volshape[3]
Definition afsi.h:38
histogram * beam2
Definition afsi.h:33
int type1
Definition afsi.h:28
Histogram parameters.
Definition hist.h:52
Simulation data struct.
Definition simulate.h:58