1 #ifndef PARTICLE_STREAM_HPP
2 #define PARTICLE_STREAM_HPP
20 pin = nlr.
get<
double>(
"diag_ps_pin", 0.80);
21 pout = nlr.
get<
double>(
"diag_ps_pout",0.81);
32 KOKKOS_INLINE_FUNCTION
void flag_set(
long long int &flags,
const bool tf,
const long long int flag_loc);
33 KOKKOS_INLINE_FUNCTION
bool flag_check(
const long long int flags,
const long long int flag_loc);
double pout
Definition: particle_stream.hpp:11
constexpr int ps_flag_bits
Definition: particle_stream.hpp:49
double pin
Definition: particle_stream.hpp:11
constexpr long long int ps_is_escaped
Definition: particle_stream.hpp:39
T get(const string ¶m, const T default_val, int val_ind=0)
Definition: NamelistReader.hpp:373
constexpr int ps_dw_factor_bits
Definition: particle_stream.hpp:52
constexpr int ps_step_bits
Definition: particle_stream.hpp:50
constexpr int ps_flag_step_bits
Definition: particle_stream.hpp:51
KOKKOS_INLINE_FUNCTION void flag_set(long long int &flags, const bool tf, const long long int flag_loc)
Definition: particle_stream.tpp:9
constexpr long long int ps_is_to_write
Definition: particle_stream.hpp:36
Definition: NamelistReader.hpp:193
Definition: magnetic_field.hpp:12
KOKKOS_INLINE_FUNCTION double psi_norm() const
Definition: magnetic_field.tpp:3
constexpr long long int ps_is_in_init
Definition: particle_stream.hpp:37
constexpr long long int ps_flag_mask
Definition: particle_stream.hpp:55
KOKKOS_INLINE_FUNCTION bool flag_check(const long long int flags, const long long int flag_loc)
Definition: particle_stream.tpp:15
int reset_period
steps between diag recording
Definition: particle_stream.hpp:10
constexpr long long int ps_is_outboard
Definition: particle_stream.hpp:42
ParticleStream()
Definition: particle_stream.hpp:29
void use_namelist(const string &namelist)
Definition: NamelistReader.hpp:355
constexpr long long int ps_is_divertor
Definition: particle_stream.hpp:41
constexpr long long int ps_flag_step_mask
Definition: particle_stream.hpp:54
ParticleStream(NLReader::NamelistReader &nlr, const MagneticField< DeviceType > &magnetic_field)
Definition: particle_stream.hpp:16
constexpr long long int ps_was_inside
Definition: particle_stream.hpp:43
Definition: magnetic_field.F90:1
Definition: particle_stream.hpp:6
constexpr long long int ps_is_tracked
Definition: particle_stream.hpp:44
constexpr long long int ps_is_written
Definition: particle_stream.hpp:38