ASCOT5
Loading...
Searching...
No Matches
endcond.h
Go to the documentation of this file.
1
7#ifndef ENDCOND_H
8#define ENDCOND_H
9
10#include "particle.h"
11#include "simulate.h"
12
33
35 sim_data* sim);
37 sim_data* sim);
39 sim_data* sim);
40
41void endcond_parse(int endcond, int* endconds);
42void endcond_parse2str(int endcond, char* str);
43
44#endif
ENDCOND_FLAG
Marker end condition bit masks.
Definition endcond.h:18
@ endcond_therm
Definition endcond.h:21
@ endcond_tormax
Definition endcond.h:26
@ endcond_emin
Definition endcond.h:20
@ endcond_rhomin
Definition endcond.h:23
@ endcond_tlim
Definition endcond.h:19
@ endcond_neutr
Definition endcond.h:29
@ endcond_cpumax
Definition endcond.h:27
@ endcond_polmax
Definition endcond.h:25
@ endcond_rhomax
Definition endcond.h:24
@ endcond_wall
Definition endcond.h:22
@ endcond_hybrid
Definition endcond.h:28
@ endcond_ioniz
Definition endcond.h:30
void endcond_parse(int endcond, int *endconds)
Split endcond to an array of end conditions.
Definition endcond.c:538
void endcond_check_gc(particle_simd_gc *p_f, particle_simd_gc *p_i, sim_data *sim)
Check end conditions for GC markers.
Definition endcond.c:262
void endcond_check_fo(particle_simd_fo *p_f, particle_simd_fo *p_i, sim_data *sim)
Check end conditions for FO markers.
Definition endcond.c:73
void endcond_check_ml(particle_simd_ml *p_f, particle_simd_ml *p_i, sim_data *sim)
Check end conditions for ML markers.
Definition endcond.c:435
void endcond_parse2str(int endcond, char *str)
Represent end condition in human-readable format.
Definition endcond.c:564
Header file for particle.c.
Header file for simulate.c.
Struct representing NSIMD particle markers.
Definition particle.h:210
Struct representing NSIMD guiding center markers.
Definition particle.h:275
Struct representing NSIMD field line markers.
Definition particle.h:342
Simulation data struct.
Definition simulate.h:154