10 #ifndef LOAD_CONSTANCE_H // continue if have not load this file yet
11 #define LOAD_CONSTANCE_H
16 #include "../Matrix/Matrix.h"
17 #include "../VariousFunctions/variousConstants.h"
18 #include "../Logging/Output.h"
42 string loadOrCalculate;
55 double eta1, eta2, eta3;
60 double mirror_point_coeff;
72 double L, EMeV, Alpha;
74 bool Load_dxx_parameters(
string filename);
90 int totalIterationsNumber;
91 bool useRadialDiffusion;
92 bool useAlphaDiffusion;
93 bool useEnergyDiffusion;
94 bool useEnergyAlphaMixedTerms;
109 string usetau, usetauLpp;
113 bool outputModelMatrix;
120 struct General_Output_parameters {
126 } general_Output_parameters;
129 radialDiffusionGrid_type,
130 localDiffusionsGrid_type;
132 string radialDiffusionGrid_filename;
133 string localDiffusionsGrid_filename;
148 radialDiffusionGrid_L, radialDiffusionGrid_pc, radialDiffusionGrid_alpha, radialDiffusionGrid_epc,
149 localDiffusionsGrid_L, localDiffusionsGrid_pc, localDiffusionsGrid_alpha, localDiffusionsGrid_epc;
163 L_LowerBoundaryCondition,
164 L_UpperBoundaryCondition,
165 pc_LowerBoundaryCondition,
166 pc_UpperBoundaryCondition,
167 alpha_LowerBoundaryCondition,
168 alpha_UpperBoundaryCondition;
175 string initial_PSD_Type;
176 string initial_PSD_fileName;
177 double initial_PSD_tauSteadyState;
180 string usetauLpp_SteadyState;
181 double initial_PSD_tauLppSteadyState;
185 double initial_PSD_Kp0;
186 double initial_PSD_some_constant_value;
187 string initial_PSD_J_L7_function;
188 double initial_PSD_outer_psd;
189 double initial_PSD_inner_psd;
193 string output_PSD_folderName;
194 string output_PSD_fileName4D;
195 double output_PSD_timeStep;
198 string approximationMethod;
200 string solutionMethod;
202 struct GMRES_parameters_structure {
206 double SOL_max_iter_err;
207 string preconditioner_type;
208 bool use_normalization;
211 } psdRadialDiffusion,
217 struct SL_structure {
219 string SL_L_top_filename;
221 string SL_E_min_filename;
226 struct Interpolation {
233 double linearSplineCoef;
236 double maxSecondDerivative;
242 vector<DxxParameters_structure> DxxParametersList;
245 bool Load_parameters(
string filename);
249 void StrToVal(
string input,
double &place);
250 void StrToVal(
string input,
int &place);
251 void StrToVal(
string input,
string &place);
252 void StrToVal(
string input,
bool &place);
254 void load_1d(
Matrix1D<double> &var,
string filename,
double dt,
int var_size = 0);
256 bool str2bool(
string str);
257 string bool2str(
bool b);
Array of values of coordinate axes.
Definition: Grid.h:28
int outputLvl
verbose level defined in namespase Output
Definition: Output.cpp:21
Struct that holds various parameters to be used for Dxx.
Definition: Parameters.h:27
Main parameters structure that holds smaller structures for individual parameters.
Definition: Parameters.h:87
Phase Space Density class.
Definition: PSD.h:48
Holds upper and lower boundary conditions.
Definition: BoundaryConditions.h:26