XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
increase_ptl_tor.hpp
Go to the documentation of this file.
1 #ifndef INCREASE_PTL_TOR_HPP
2 #define INCREASE_PTL_TOR_HPP
3 
4 #include "grid.hpp"
5 #include "plasma.hpp"
6 
9  double rand_phi;
10  double rand_w0;
11  double rand_w1;
12  double rand_vp;
13  double rand_mu;
14 
16 
18  nlr.use_namelist("sml_param");
19  increase_factor = nlr.get<int>("sml_increase_ptl_factor_int", 1);
20  rand_w0 = nlr.get<double>("sml_increase_ptl_rand_w0", 1.0e-4);
21  rand_w1 = nlr.get<double>("sml_increase_ptl_rand_w1", 1.0e-4);
22  rand_mu = nlr.get<double>("sml_increase_ptl_rand_mu", 1.0e-4);
23  rand_vp = nlr.get<double>("sml_increase_ptl_rand_vp", 1.0e-4);
24  rand_phi = nlr.get<double>("sml_increase_ptl_rand_phi", 1.0e-1);
25  }
26 };
27 
29 
30 #endif
IncreasePtlTorSettings()
Definition: increase_ptl_tor.hpp:15
T get(const string &param, const T default_val, int val_ind=0)
Definition: NamelistReader.hpp:373
subroutine plasma(grid, itr, p, dene_out, deni_out, Te_out, Ti_out, Vparai_out)
Calculate the plasma density, temperature, and parallel velocity for a point in triangle itr using pl...
Definition: neutral_totalf.F90:1224
Definition: NamelistReader.hpp:193
Definition: magnetic_field.hpp:12
double rand_w1
Definition: increase_ptl_tor.hpp:11
IncreasePtlTorSettings(NLReader::NamelistReader &nlr)
Definition: increase_ptl_tor.hpp:17
void use_namelist(const string &namelist)
Definition: NamelistReader.hpp:355
double rand_w0
Definition: increase_ptl_tor.hpp:10
int increase_factor
the factor to increase when sml_increase_ptl_tor
Definition: increase_ptl_tor.hpp:8
Definition: magnetic_field.F90:1
void increase_ptl_tor(const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, Plasma &plasma, const IncreasePtlTorSettings &settings)
Definition: increase_ptl_tor.cpp:16
double rand_mu
Definition: increase_ptl_tor.hpp:13
Definition: plasma.hpp:13
double rand_vp
Definition: increase_ptl_tor.hpp:12
Definition: increase_ptl_tor.hpp:7
double rand_phi
Definition: increase_ptl_tor.hpp:9