Typedefs | |
| typedef exprtk::symbol_table< double > | symbol_table_t |
| typedef exprtk::expression< double > | expression_t |
| typedef exprtk::parser< double > | parser_t |
| typedef exprtk::parser_error::type | error_t |
Functions | |
| void | checkparse (parser_t &parser, std::string &expression_str, expression_t &expression) |
| void | parseprofile (const valarray< double > &grid, std::string &str_profile, valarray< double > &profile) |
| { function_description } More... | |
| void | parseprofile (const double &input, std::string &str_profile, double &ouput) |
| { function_description } More... | |
| void | parsetwovariableprofile (const valarray< double > &grid, const double &input, std::string &str_profile, valarray< double > &ouput) |
| { function_description } More... | |
| void | init_f0 (size_t s, SHarmonic1D &h, const valarray< double > &p, const valarray< double > &x, valarray< double > &density, valarray< double > &temperature, const double mass, const valarray< double > &pedestal) |
| void | init_f1 (size_t s, SHarmonic1D &h, const valarray< double > &p, const valarray< double > &x, valarray< double > &density, valarray< double > &temperature, valarray< double > &f10x, const SHarmonic1D &f0, const double mass) |
| void | init_f2 (size_t s, SHarmonic1D &h, const valarray< double > &p, const valarray< double > &x, valarray< double > &density, valarray< double > &temperature, valarray< double > &f20x, const double mass) |
| void | initialize (State1D &Y, Grid_Info &grid) |
| void | applyexternalfields (Grid_Info &grid, State1D &Y, double time) |
| void | applytravelingwave (Grid_Info &grid, State1D &Y, double time) |
| typedef exprtk::parser_error::type Setup_Y::error_t |
| typedef exprtk::expression<double> Setup_Y::expression_t |
| typedef exprtk::parser<double> Setup_Y::parser_t |
| typedef exprtk::symbol_table<double> Setup_Y::symbol_table_t |
Definition at line 51 of file setup.cpp.
References Grid_Info::axis, EMF1D::Bx(), Input::Input_List::bx_profile_str, EMF1D::By(), Input::Input_List::by_profile_str, EMF1D::Bz(), Input::Input_List::bz_profile_str, State1D::EMF(), EMF1D::Ex(), Input::Input_List::ex_profile_str, EMF1D::Ey(), Input::Input_List::ey_profile_str, EMF1D::Ez(), Input::Input_List::ez_profile_str, Input::List(), SHarmonic1D::numx(), Algorithms::AxisBundle< T >::Nx(), parseprofile(), State1D::SH(), and Algorithms::AxisBundle< T >::x().
Referenced by main().


Parse the strings
Definition at line 95 of file setup.cpp.
References Grid_Info::axis, EMF1D::Bx(), Input::Input_List::bx_wave_profile_str, EMF1D::By(), Input::Input_List::by_wave_profile_str, EMF1D::Bz(), Input::Input_List::bz_wave_profile_str, State1D::EMF(), EMF1D::Ex(), Input::Input_List::ex_wave_profile_str, EMF1D::Ey(), Input::Input_List::ey_wave_profile_str, EMF1D::Ez(), Input::Input_List::ez_wave_profile_str, Input::List(), Input::Input_List::num_waves, SHarmonic1D::numx(), Algorithms::AxisBundle< T >::Nx(), parsetwovariableprofile(), State1D::SH(), Input::Input_List::trav_wave_center, Input::Input_List::trav_wave_fall, Input::Input_List::trav_wave_flat, Input::Input_List::trav_wave_rise, and Algorithms::AxisBundle< T >::x().
Referenced by main().


| void Setup_Y::checkparse | ( | parser_t & | parser, |
| std::string & | expression_str, | ||
| expression_t & | expression | ||
| ) |
Definition at line 375 of file setup.cpp.
Referenced by parseprofile(), and parsetwovariableprofile().

| void Setup_Y::init_f0 | ( | size_t | s, |
| SHarmonic1D & | h, | ||
| const valarray< double > & | p, | ||
| const valarray< double > & | x, | ||
| valarray< double > & | density, | ||
| valarray< double > & | temperature, | ||
| const double | mass, | ||
| const valarray< double > & | pedestal | ||
| ) |
Definition at line 258 of file setup.cpp.
References Input::List(), SHarmonic1D::nump(), SHarmonic1D::numx(), and Input::Input_List::super_gaussian_m.
Referenced by initialize().


| void Setup_Y::init_f1 | ( | size_t | s, |
| SHarmonic1D & | h, | ||
| const valarray< double > & | p, | ||
| const valarray< double > & | x, | ||
| valarray< double > & | density, | ||
| valarray< double > & | temperature, | ||
| valarray< double > & | f10x, | ||
| const SHarmonic1D & | f0, | ||
| const double | mass | ||
| ) |
Definition at line 300 of file setup.cpp.
References SHarmonic1D::Dp(), Input::List(), SHarmonic1D::nump(), SHarmonic1D::numx(), and Input::Input_List::super_gaussian_m.
Referenced by initialize().


| void Setup_Y::init_f2 | ( | size_t | s, |
| SHarmonic1D & | h, | ||
| const valarray< double > & | p, | ||
| const valarray< double > & | x, | ||
| valarray< double > & | density, | ||
| valarray< double > & | temperature, | ||
| valarray< double > & | f20x, | ||
| const double | mass | ||
| ) |
Definition at line 333 of file setup.cpp.
References SHarmonic1D::nump(), and SHarmonic1D::numx().

Definition at line 177 of file setup.cpp.
References Grid_Info::axis, Input::Input_List::dens_profile_str, Hydro1D::density(), Hydro1D::densityarray(), State1D::DF(), State1D::EMF(), Input::Input_List::f10x_profile_str, Input::Input_List::f_pedestal, State1D::HYDRO(), Input::Input_List::hydro_dens_profile_str, Input::Input_List::hydro_temp_profile_str, Input::Input_List::hydro_vel_profile_str, Input::Input_List::hydro_Z_profile_str, init_f0(), init_f1(), Input::Input_List::init_f1, Input::List(), DistFunc1D::mass(), Algorithms::AxisBundle< T >::Nx(), Algorithms::AxisBundle< T >::p(), parseprofile(), Input::Input_List::qs, State1D::SH(), Input::Input_List::temp_profile_str, Hydro1D::temperature(), Hydro1D::temperaturearray(), Hydro1D::vx(), Hydro1D::vxarray(), Hydro1D::vyarray(), Hydro1D::vzarray(), Algorithms::AxisBundle< T >::x(), Hydro1D::Z(), and Hydro1D::Zarray().
Referenced by main().


| void Setup_Y::parseprofile | ( | const valarray< double > & | grid, |
| std::string & | str_profile, | ||
| valarray< double > & | profile | ||
| ) |
{ function_description }
| str_profile | The string profile |
| profile | The profile |
Find curly brackets
Uniform profile, convert string to double and set.
Profile defined by function
Grab everything inside curly brackets
Definition at line 410 of file setup.cpp.
References checkparse().
Referenced by applyexternalfields(), initialize(), InverseBremsstrahlung::InverseBremsstrahlung(), and self_f00_implicit_collisions::loop().


| void Setup_Y::parseprofile | ( | const double & | input, |
| std::string & | str_profile, | ||
| double & | output | ||
| ) |
{ function_description }
| str_profile | The string profile |
| profile | The profile |
Find curly brackets
Uniform profile, convert string to double and set.
Profile defined by function
Grab everything inside curly brackets
Definition at line 521 of file setup.cpp.
References checkparse().

| void Setup_Y::parsetwovariableprofile | ( | const valarray< double > & | grid, |
| const double & | input, | ||
| std::string & | str_profile, | ||
| valarray< double > & | output | ||
| ) |
{ function_description }
| str_profile | The string profile |
| profile | The profile |
Find curly brackets
Uniform profile, convert string to double and set.
Profile defined by function
Grab everything inside curly brackets
Definition at line 633 of file setup.cpp.
References checkparse().
Referenced by applytravelingwave().

