Paramotopy
parallel parameter homotopy through bertini
|
A class for the input file parser. More...
#include <runinfo.hpp>
Public Member Functions | |
runinfo () | |
std::string | WriteInputStepOne (ProgSettings paramotopy_settings) |
std::string | WriteInputStepTwo (std::vector< std::pair< double, double > > tmprandomvalues, bool standardstep2) |
void | GetOriginalParamotopy () |
void | GetInputFileName () |
void | GetInputFileName (boost::filesystem::path suppliedfilename) |
void | make_base_dir_name () |
void | mkdirstep1 () |
void | clear () |
void | ParseData () |
void | ParseData (boost::filesystem::path dir) |
void | ParseDataGuts (std::ifstream &fin) |
void | ReadCustomLines (std::ifstream &fin) |
void | RandomMenu () |
void | SaveRandom () |
void | LoadRandom () |
void | SetRandom () |
bool | GetPrevRandom () |
void | SetLocation () |
bool | test_if_finished () |
void | DisplayAllValues () |
void | CopyUserDefinedFile () |
std::vector< std::pair< double, double > > | MakeRandomValues (int garbageint) |
void | GetRandomValues () |
void | WriteOriginalParamotopy (boost::filesystem::path dir) |
void | WriteModifiedParamotopy (boost::filesystem::path dir, int iteration) |
void | WriteRandomValues () |
void | SetBaseDirZero () |
void | SetBaseDirManual (std::vector< boost::filesystem::path > found_runs) |
void | SetBaseDirMostRecent (std::vector< boost::filesystem::path > found_runs) |
void | SetBaseDirNew (std::vector< boost::filesystem::path > found_runs) |
void | AutoScanData (const int preferred_behaviour) |
void | ScanData () |
void | save () |
void | load (boost::filesystem::path filename) |
void | get_run_xml (boost::filesystem::path filename, int &run, time_t &wheninitiated, time_t &whenupdated) |
void | UpdateAndSave () |
void | MakeRandomValues () |
bool | CheckRunStepOne () |
void | GatherData () |
boost::filesystem::path | GetAvailableRuns () |
void | CollectSpecificFiles (boost::filesystem::path file_to_gather, std::vector< boost::filesystem::path > folders_with_data, boost::filesystem::path run_to_analyze, int parser_index, bool mergefailed) |
std::vector < boost::filesystem::path > | GetFoldersForData (boost::filesystem::path dir) |
void | IncrementOutputFolder (boost::filesystem::path &output_folder_name, boost::filesystem::path base_output_folder_name, int &output_folder_index) |
void | MergeFolders (std::string file_to_gather, std::string left_folder, std::string right_folder, std::string output_folder_name, int parser_index) |
void | finalize_run_to_file (boost::filesystem::path file_to_gather, boost::filesystem::path source_folder, boost::filesystem::path base_output_folder_name, int parser_index, bool mergefailed) |
void | rest_of_files (std::ifstream &datafile, std::string &output_buffer, std::ofstream &outputfile, std::vector< boost::filesystem::path > filelist, int file_index, int parser_index) |
bool | endoffile_stuff (std::ifstream &datafile, int &file_index, std::vector< boost::filesystem::path > filelist) |
bool | ReadPoint (std::ifstream &fin, int &next_index, std::string &data, int parser_index) |
function for parsing ***_solutions files, as output from bertini. More... | |
std::string | ParseSolutionsFile (std::ifstream &fin) |
std::vector< std::vector < std::pair< std::string, std::string > > > | ParseSolutionsFile_ActualSolutions (std::ifstream &fin) |
std::string | ParseFailedPaths (std::ifstream &fin) |
function for parsing the failed_paths file (just one instance of it) More... | |
void | PrintRandom () |
Public Attributes | |
int | numfunct |
int | numvariables |
int | numvargroup |
int | numparam |
int | numconsts |
boost::filesystem::path | location |
boost::filesystem::path | fundamental_dir |
boost::filesystem::path | base_dir |
int | run_number |
time_t | initiated |
time_t | updated |
std::string | paramotopy_file |
boost::filesystem::path | inputfilename |
boost::filesystem::path | prefix |
int | steptwomode |
std::vector< std::string > | Functions |
std::vector< std::string > | VarGroups |
std::vector< std::string > | Parameters |
std::vector< std::string > | ParameterNames |
std::vector< std::string > | Constants |
std::vector< std::string > | ConstantNames |
std::string | CustomLines |
std::vector< std::vector < std::pair< double, double > > > | Values |
std::vector< std::pair< double, double > > | BoundsLeft |
std::vector< std::pair< double, double > > | BoundsRight |
bool | userdefined |
std::string | mcfname |
std::vector< int > | NumMeshPoints |
std::vector< std::pair< double, double > > | RandomValues |
bool | made_new_folder |
Private Member Functions | |
void | GetNumVariables () |
void | ReadSizes (std::ifstream &fin) |
void | ReadParameters (std::ifstream &fin) |
void | ReadFunctions (std::ifstream &fin) |
void | ReadVarGroups (std::ifstream &fin) |
void | ReadConstants (std::ifstream &fin) |
void | ReadConstantStrings (std::ifstream &fin) |
void | MakeParameterNames () |
void | MakeVariableGroups (std::stringstream &fout, ProgSettings paramotopy_settings) |
void | MakeDeclareConstants (std::stringstream &fout) |
void | MakeConstants (std::stringstream &fout) |
void | MakeConstantsStep2 (std::vector< std::pair< double, double > > CurrentValues, std::stringstream &inputfilestream, bool standardstep2) |
void | MakeCustomLines (std::stringstream &inputfilestream) |
void | MakeDeclareFunctions (std::stringstream &inputstringstream) |
void | MakeFunctions (std::stringstream &inputstringstream) |
void | MakeRandomValues (std::vector< std::pair< std::pair< double, double >, std::pair< double, double > > > RandomRanges) |
void | MakeValues (std::ifstream &fin) |
void | MakeValues () |
void | MakeBounds () |
void | SetDataFirst () |
void | SetDataMostRecent () |
void | SetDataInteractive () |
void | WriteDataDateStarted () |
void | DeleteRunFolder () |
A class for the input file parser.
The input file parser.
Definition at line 41 of file runinfo.hpp.
|
inline |
The default paramotopy constructor.
Definition at line 153 of file runinfo.hpp.
void runinfo::AutoScanData | ( | const int | preferred_behaviour | ) |
Scan what runs have been done. If none, create a a new folder. .
preferred_behaviour | - Determine what type of behaviour to use. 1 for most recent. 2 for new. 3 for manual. |
Definition at line 1481 of file runinfo.cpp.
References base_dir, FindDirectories(), fundamental_dir, save(), SetBaseDirManual(), SetBaseDirMostRecent(), SetBaseDirNew(), and SetBaseDirZero().
Referenced by main().
bool runinfo::CheckRunStepOne | ( | ) |
Check if step 1 has been run or not.
Definition at line 6 of file runinfo.cpp.
References get_int_choice(), location, and mkdirstep1().
Referenced by main().
|
inline |
Clear all of the vectors that hold information for the current paramotopy run.
Definition at line 188 of file runinfo.hpp.
void runinfo::CollectSpecificFiles | ( | boost::filesystem::path | file_to_gather, |
std::vector< boost::filesystem::path > | folders_with_data, | ||
boost::filesystem::path | run_to_analyze, | ||
int | parser_index, | ||
bool | mergefailed | ||
) |
Not used in runinfo.cpp ?
void runinfo::CopyUserDefinedFile | ( | ) |
Copy the user defined file to the run folder.
Definition at line 579 of file runinfo.cpp.
References base_dir, mcfname, and userdefined.
Referenced by main(), and steptwo_case().
|
private |
Delete the run folder.
void runinfo::DisplayAllValues | ( | ) |
Display the random values.
Definition at line 1201 of file runinfo.cpp.
References base_dir, ConstantNames, Constants, CustomLines, Functions, inputfilename, mcfname, numconsts, numfunct, numparam, numvargroup, numvariables, ParameterNames, Parameters, userdefined, and VarGroups.
Referenced by ParseData().
bool runinfo::endoffile_stuff | ( | std::ifstream & | datafile, |
int & | file_index, | ||
std::vector< boost::filesystem::path > | filelist | ||
) |
Not used in runinfo.cpp
void runinfo::finalize_run_to_file | ( | boost::filesystem::path | file_to_gather, |
boost::filesystem::path | source_folder, | ||
boost::filesystem::path | base_output_folder_name, | ||
int | parser_index, | ||
bool | mergefailed | ||
) |
Not used in runinfo.cpp
void runinfo::GatherData | ( | ) |
Not used in runinfo.cpp ?
void runinfo::get_run_xml | ( | boost::filesystem::path | filename, |
int & | run, | ||
time_t & | wheninitiated, | ||
time_t & | whenupdated | ||
) |
Get the xml information of the current run.
filename | - The xml file name. |
run | - The run number. |
wheninitiated | - Time the run began. |
whenupdated | - Time of the last update of the run. |
Definition at line 1600 of file runinfo.cpp.
Referenced by load(), SetBaseDirManual(), SetBaseDirMostRecent(), and SetBaseDirNew().
boost::filesystem::path runinfo::GetAvailableRuns | ( | ) |
Not used in runinfo.cpp ?
std::vector< boost::filesystem::path > runinfo::GetFoldersForData | ( | boost::filesystem::path | dir | ) |
Not used in runinfo.cpp ?
void runinfo::GetInputFileName | ( | ) |
Get the name of the paramotopy input file.
Definition at line 299 of file runinfo.cpp.
References getAlphaNumeric_WithSpaces(), inputfilename, and make_base_dir_name().
Referenced by GetInputFileName(), and main().
void runinfo::GetInputFileName | ( | boost::filesystem::path | suppliedfilename | ) |
Get the name of the paramotopy input file with the supplied filename.
suppliedfilename | - The supplied filename. |
Definition at line 333 of file runinfo.cpp.
References GetInputFileName(), inputfilename, and make_base_dir_name().
|
private |
Get the number of variables.
Definition at line 894 of file runinfo.cpp.
References numvargroup, numvariables, and VarGroups.
Referenced by ParseDataGuts().
void runinfo::GetOriginalParamotopy | ( | ) |
Get the original paramotopy input file.
Definition at line 44 of file runinfo.cpp.
References inputfilename, and paramotopy_file.
Referenced by ParseData().
bool runinfo::GetPrevRandom | ( | ) |
Get the previous random values.
Definition at line 451 of file runinfo.cpp.
References base_dir, numparam, and RandomValues.
Referenced by main(), failinfo::MainMenu(), failinfo::PerformAnalysis(), and failinfo::StartOver().
void runinfo::GetRandomValues | ( | ) |
Reads in the random values to be used in this solve.
base_dir | Directory in which to look for the random values file. |
RandomValues | Mutable vector in which to store the random values read in by this function. |
Definition at line 812 of file runinfo.cpp.
References location, and RandomValues.
Referenced by main().
void runinfo::IncrementOutputFolder | ( | boost::filesystem::path & | output_folder_name, |
boost::filesystem::path | base_output_folder_name, | ||
int & | output_folder_index | ||
) |
Not used in runinfo.cpp ?
void runinfo::load | ( | boost::filesystem::path | filename | ) |
Load the paramotopy input file.
filename | - The filename to load. |
Definition at line 1586 of file runinfo.cpp.
References get_run_xml(), initiated, run_number, and updated.
Referenced by SetBaseDirManual(), and SetBaseDirMostRecent().
void runinfo::LoadRandom | ( | ) |
Load the random values.
Definition at line 392 of file runinfo.cpp.
References getAlphaNumeric_WithSpaces(), ParameterNames, PrintRandom(), and RandomValues.
Referenced by RandomMenu().
void runinfo::make_base_dir_name | ( | ) |
Make the base directory name.
Definition at line 139 of file runinfo.cpp.
References base_dir, fundamental_dir, inputfilename, and prefix.
Referenced by GetInputFileName(), ParseData(), and ParseDataGuts().
|
private |
Set the right and left bounds for the interval in question.
Definition at line 1100 of file runinfo.cpp.
References BoundsLeft, BoundsRight, Parameters, and userdefined.
Referenced by ParseDataGuts().
|
private |
Place the definition of the constants onto the stringstream.
fout | - The stringstream used to place everything into the bertini input file. |
Definition at line 983 of file runinfo.cpp.
References ConstantNames, ParameterNames, and RandomValues.
Referenced by WriteInputStepOne().
|
private |
Make the definition of the constants and add to the stringstream.
CurrentValues | - The values that are the constants. |
inputfilestream | - The stringstream used to place everything into the bertini step 2 input file. |
Definition at line 1009 of file runinfo.cpp.
References ConstantNames, ParameterNames, and RandomValues.
Referenced by WriteInputStepTwo().
|
private |
Make custom lines to add to the stringstream.
inputstringstream | - The stringstream used to place everything into the bertini input file. |
Definition at line 1001 of file runinfo.cpp.
References CustomLines.
Referenced by WriteInputStepOne(), and WriteInputStepTwo().
|
private |
Place the declaration of the constants onto the stringstream.
fout | - The stringstream used to place everything into the bertini input file. |
Definition at line 952 of file runinfo.cpp.
References Constants, and ParameterNames.
Referenced by WriteInputStepOne().
|
private |
Place the declaration of functions on the stringstream.
inputstringstream | - The stringstream used to place everything into the bertini input file. |
Definition at line 968 of file runinfo.cpp.
References numfunct.
Referenced by WriteInputStepOne(), and WriteInputStepTwo().
|
private |
Place the functions on the stringstream.
inputstringstream | - The stringstream used to place everything into the bertini input file. |
Definition at line 913 of file runinfo.cpp.
References Functions, and numfunct.
Referenced by WriteInputStepOne(), and WriteInputStepTwo().
|
private |
Make the names parameters to be used in the bertini input file.
Definition at line 1185 of file runinfo.cpp.
References numparam, ParameterNames, and Parameters.
Referenced by ParseDataGuts().
std::vector< std::pair< double, double > > runinfo::MakeRandomValues | ( | int | garbageint | ) |
Make the random values.
Definition at line 788 of file runinfo.cpp.
References numparam.
Referenced by main(), failinfo::new_step_one(), and master_process::SendInput().
void runinfo::MakeRandomValues | ( | ) |
Make the random values.
Definition at line 750 of file runinfo.cpp.
References numparam, and RandomValues.
Referenced by ParseData(), and SetRandom().
|
private |
Make the random values for the step 1 run.
RandomRanges | - The range in which the random values can be chosen for each parameter. |
Definition at line 764 of file runinfo.cpp.
References RandomValues.
|
private |
Make the parameter values for the step 2 runs.
fin | - The input filestream from which the values can be pulled from next. |
Definition at line 1070 of file runinfo.cpp.
References NumMeshPoints, numparam, and Values.
|
private |
Make the parameter values for the step 2 runs.
Definition at line 1135 of file runinfo.cpp.
References NumMeshPoints, Parameters, and Values.
Referenced by ParseDataGuts().
|
private |
Define the variable groups to be used in the bertini input file.
fout | - The stringstream used to place everything into the bertini input file. |
paramotopy_settings | - The paramotopy program settings. |
Definition at line 927 of file runinfo.cpp.
References numvargroup, ProgSettings::settings, and VarGroups.
Referenced by WriteInputStepOne().
void runinfo::MergeFolders | ( | std::string | file_to_gather, |
std::string | left_folder, | ||
std::string | right_folder, | ||
std::string | output_folder_name, | ||
int | parser_index | ||
) |
Not used in runinfo.cpp
|
inline |
Make the step 1 directory.
Definition at line 180 of file runinfo.hpp.
References base_dir.
Referenced by CheckRunStepOne(), and main().
void runinfo::ParseData | ( | ) |
Parse the paramotopy input file that is stored in memory.
Definition at line 636 of file runinfo.cpp.
References DisplayAllValues(), GetOriginalParamotopy(), inputfilename, make_base_dir_name(), and ParseDataGuts().
Referenced by main().
void runinfo::ParseData | ( | boost::filesystem::path | dir | ) |
Parse data during the step2 run.
dir | - the base directory in comparison to the directory paramotopy was initially called. |
Definition at line 611 of file runinfo.cpp.
References make_base_dir_name(), MakeRandomValues(), and ParseDataGuts().
void runinfo::ParseDataGuts | ( | std::ifstream & | fin | ) |
Parse the paramotopy input file and store values into memory.
fin | - The input filestream that contains the paramotopy input file. |
Definition at line 656 of file runinfo.cpp.
References GetNumVariables(), make_base_dir_name(), MakeBounds(), MakeParameterNames(), MakeValues(), mcfname, numconsts, prefix, ReadConstants(), ReadConstantStrings(), ReadCustomLines(), ReadFunctions(), ReadParameters(), ReadSizes(), ReadVarGroups(), and userdefined.
Referenced by ParseData().
std::string runinfo::ParseFailedPaths | ( | std::ifstream & | fin | ) |
function for parsing the failed_paths file (just one instance of it)
For parsing the failed_paths file. This function gets called repeatedly to see if any point has failed paths (each point has one failed_paths file).
fin | - The inputfile stream of the failed_paths file. |
std::string runinfo::ParseSolutionsFile | ( | std::ifstream & | fin | ) |
Not used in runinfo.cpp
std::vector< std::vector < std::pair< std::string, std::string > > > runinfo::ParseSolutionsFile_ActualSolutions | ( | std::ifstream & | fin | ) |
Not used in runinfo.cpp
void runinfo::PrintRandom | ( | ) |
Print the random values.
Definition at line 567 of file runinfo.cpp.
References ParameterNames, and RandomValues.
Referenced by LoadRandom(), and SetRandom().
|
inline |
Display the random value menu.
Definition at line 221 of file runinfo.hpp.
References get_int_choice(), LoadRandom(), SaveRandom(), and SetRandom().
Referenced by main().
|
private |
Read the number of constants in the paramotopy input file.
fin | - The input filestream of the paramotopy input file. |
Definition at line 873 of file runinfo.cpp.
References Constants.
Referenced by ParseDataGuts().
|
private |
Read the constant string from the paramotopy input file.
fin | - The input filestream of the paramotopy input file. |
Definition at line 883 of file runinfo.cpp.
References ConstantNames, and numconsts.
Referenced by ParseDataGuts().
void runinfo::ReadCustomLines | ( | std::ifstream & | fin | ) |
Read the custom lines in the paramotopy input file.
fin | - The input filestream of the paramotopy input file. |
Definition at line 703 of file runinfo.cpp.
References CustomLines.
Referenced by ParseDataGuts().
|
private |
Read the number of functions in the paramotopy input file.
fin | - The input filestream of the paramotopy input file. |
Definition at line 847 of file runinfo.cpp.
References Functions, and numfunct.
Referenced by ParseDataGuts().
|
private |
Read the number of parameters in the paramotopy input file.
fin | - The input filestream of the paramotopy input file. |
Definition at line 738 of file runinfo.cpp.
References numparam, and Parameters.
Referenced by ParseDataGuts().
bool runinfo::ReadPoint | ( | std::ifstream & | fin, |
int & | next_index, | ||
std::string & | data, | ||
int | parser_index | ||
) |
function for parsing ***_solutions files, as output from bertini.
Not used in runinfo.cpp
|
private |
An auxiliary function to call ReadParameters, ReadFunctions, ReadVarGroups, and ReadConstants
fin | - The input filestream of the paramotopy input file. |
Definition at line 719 of file runinfo.cpp.
References numconsts, numfunct, numparam, and numvargroup.
Referenced by ParseDataGuts().
|
private |
Read the number of variable groups in the paramotopy input file.
fin | - The input filestream of the paramotopy input file. |
Definition at line 860 of file runinfo.cpp.
References numvargroup, and VarGroups.
Referenced by ParseDataGuts().
void runinfo::rest_of_files | ( | std::ifstream & | datafile, |
std::string & | output_buffer, | ||
std::ofstream & | outputfile, | ||
std::vector< boost::filesystem::path > | filelist, | ||
int | file_index, | ||
int | parser_index | ||
) |
Not used in runinfo.cpp
void runinfo::save | ( | ) |
Save the run info data to the xml file.
Definition at line 1526 of file runinfo.cpp.
References base_dir, initiated, and run_number.
Referenced by AutoScanData(), ScanData(), SetBaseDirNew(), and UpdateAndSave().
void runinfo::SaveRandom | ( | ) |
Save the random values to a file.
Definition at line 369 of file runinfo.cpp.
References getAlphaNumeric_WithSpaces(), numparam, and RandomValues.
Referenced by RandomMenu().
void runinfo::ScanData | ( | ) |
Scan if a run has been done. If not create a new run rolder.
Definition at line 1461 of file runinfo.cpp.
References base_dir, FindDirectories(), fundamental_dir, made_new_folder, save(), SetBaseDirManual(), and SetBaseDirZero().
Referenced by DataManagementMainMenu().
void runinfo::SetBaseDirManual | ( | std::vector< boost::filesystem::path > | found_runs | ) |
Set the base directory to a new run folder manually.
found_runs | - The directory that contains all the runs. |
Definition at line 1336 of file runinfo.cpp.
References base_dir, get_int_choice(), get_run_xml(), load(), made_new_folder, and SetBaseDirNew().
Referenced by AutoScanData(), and ScanData().
void runinfo::SetBaseDirMostRecent | ( | std::vector< boost::filesystem::path > | found_runs | ) |
Set the base directory of the most recent run.
found_runs | - The directory that contains all the runs. |
Definition at line 1421 of file runinfo.cpp.
References base_dir, get_run_xml(), and load().
Referenced by AutoScanData().
void runinfo::SetBaseDirNew | ( | std::vector< boost::filesystem::path > | found_runs | ) |
Set the base directory to a new run folder.
found_runs | - The directory that contains all the runs. |
Definition at line 1385 of file runinfo.cpp.
References base_dir, fundamental_dir, get_run_xml(), initiated, made_new_folder, run_number, save(), and updated.
Referenced by AutoScanData(), and SetBaseDirManual().
void runinfo::SetBaseDirZero | ( | ) |
Set the topmost base directory.
Definition at line 1322 of file runinfo.cpp.
References base_dir, fundamental_dir, initiated, run_number, and updated.
Referenced by AutoScanData(), and ScanData().
|
private |
?
|
private |
?
|
private |
?
void runinfo::SetLocation | ( | ) |
void runinfo::SetRandom | ( | ) |
Set the random values.
Definition at line 502 of file runinfo.cpp.
References get_int_choice(), getDouble(), MakeRandomValues(), numparam, ParameterNames, PrintRandom(), and RandomValues.
Referenced by RandomMenu().
bool runinfo::test_if_finished | ( | ) |
Test if the run is finished.
Definition at line 1287 of file runinfo.cpp.
References base_dir.
Referenced by main(), and failinfo::MainMenu().
void runinfo::UpdateAndSave | ( | ) |
Set the last updated time for the run and save to the xml file.
Definition at line 1315 of file runinfo.cpp.
References save(), and updated.
Referenced by main(), and failinfo::MainMenu().
|
private |
Write the data date started folder.
std::string runinfo::WriteInputStepOne | ( | ProgSettings | paramotopy_settings | ) |
Write the bertini step 1 input file.
paramotopy_settings | - The program settings to be used in the input file. |
Definition at line 174 of file runinfo.cpp.
References MakeConstants(), MakeCustomLines(), MakeDeclareConstants(), MakeDeclareFunctions(), MakeFunctions(), and MakeVariableGroups().
Referenced by WriteStep1().
std::string runinfo::WriteInputStepTwo | ( | std::vector< std::pair< double, double > > | tmprandomvalues, |
bool | standardstep2 | ||
) |
Write the bertini step 2 input file.
tmprandomvalues | - The starting (?) random values of the input file. |
Definition at line 193 of file runinfo.cpp.
References Constants, MakeConstantsStep2(), MakeCustomLines(), MakeDeclareFunctions(), MakeFunctions(), numparam, numvargroup, ParameterNames, and VarGroups.
Referenced by WriteFailStep2(), and WriteStep2().
void runinfo::WriteModifiedParamotopy | ( | boost::filesystem::path | dir, |
int | iteration | ||
) |
Write a modified paramotopy file in the corresponding iteration folder used in the path failure analysis.
Definition at line 97 of file runinfo.cpp.
References ConstantNames, Constants, CustomLines, Functions, numconsts, numfunct, numparam, numvargroup, ParameterNames, and VarGroups.
Referenced by failinfo::PerformAnalysis().
void runinfo::WriteOriginalParamotopy | ( | boost::filesystem::path | dir | ) |
Write the original paramotopy file in the bfiles_filename/run# folder.
Definition at line 70 of file runinfo.cpp.
References inputfilename, and paramotopy_file.
Referenced by main().
void runinfo::WriteRandomValues | ( | ) |
Write the random values to a file. ? ?
Definition at line 349 of file runinfo.cpp.
References base_dir, numparam, and RandomValues.
Referenced by main().
boost::filesystem::path runinfo::base_dir |
The bfiles_filename base directory.
Definition at line 77 of file runinfo.hpp.
Referenced by AutoScanData(), CopyUserDefinedFile(), DataManagementMainMenu(), DisplayAllValues(), failinfo::find_failed_paths(), GetPrevRandom(), main(), failinfo::MainMenu(), make_base_dir_name(), mkdirstep1(), failinfo::new_step_one(), failinfo::PerformAnalysis(), failinfo::RecoverProgress(), save(), ScanData(), failinfo::set_location_fail(), SetBaseDirManual(), SetBaseDirMostRecent(), SetBaseDirNew(), SetBaseDirZero(), failinfo::StartOver(), test_if_finished(), failinfo::write_successful_resolves(), and WriteRandomValues().
std::vector< std::pair<double,double> > runinfo::BoundsLeft |
Definition at line 115 of file runinfo.hpp.
Referenced by MakeBounds(), and master_process::NextRandomValue().
std::vector< std::pair<double,double> > runinfo::BoundsRight |
Definition at line 116 of file runinfo.hpp.
Referenced by MakeBounds(), and master_process::NextRandomValue().
std::vector<std::string> runinfo::ConstantNames |
The constant names.
Definition at line 108 of file runinfo.hpp.
Referenced by DisplayAllValues(), MakeConstants(), MakeConstantsStep2(), ReadConstantStrings(), and WriteModifiedParamotopy().
std::vector<std::string> runinfo::Constants |
The constants.
Definition at line 106 of file runinfo.hpp.
Referenced by DisplayAllValues(), MakeDeclareConstants(), ReadConstants(), WriteInputStepTwo(), and WriteModifiedParamotopy().
std::string runinfo::CustomLines |
The custom lines.
Definition at line 110 of file runinfo.hpp.
Referenced by DisplayAllValues(), MakeCustomLines(), ReadCustomLines(), and WriteModifiedParamotopy().
std::vector<std::string> runinfo::Functions |
The functions.
Definition at line 98 of file runinfo.hpp.
Referenced by DisplayAllValues(), MakeFunctions(), ReadFunctions(), and WriteModifiedParamotopy().
boost::filesystem::path runinfo::fundamental_dir |
bfiles_filename
Definition at line 74 of file runinfo.hpp.
Referenced by AutoScanData(), DataManagementMainMenu(), make_base_dir_name(), failinfo::RecoverProgress(), ScanData(), SetBaseDirNew(), and SetBaseDirZero().
time_t runinfo::initiated |
The start time.
Definition at line 82 of file runinfo.hpp.
Referenced by load(), save(), SetBaseDirNew(), and SetBaseDirZero().
boost::filesystem::path runinfo::inputfilename |
The paramotopy input file name.
Definition at line 90 of file runinfo.hpp.
Referenced by DisplayAllValues(), GetInputFileName(), GetOriginalParamotopy(), main(), failinfo::MainMenu(), make_base_dir_name(), master_process::MasterSetup(), parallel_case(), ParseData(), master_process::SetTmpFolder(), slave_process::SetWorkingFolder(), slave_process::SlaveSetup(), and WriteOriginalParamotopy().
boost::filesystem::path runinfo::location |
The current working directory ? as we move in the directory structure.
Definition at line 71 of file runinfo.hpp.
Referenced by CallBertiniStep1(), CheckRunStepOne(), master_process::CleanupBasic(), failinfo::find_failed_paths(), failinfo::find_successful_resolves(), GetRandomValues(), master_process::GetTerminationInt(), main(), master_process::MasterSetup(), failinfo::new_step_one(), master_process::OpenMC(), parallel_case(), failinfo::PerformAnalysis(), failinfo::RecoverProgress(), master_process::SendStart(), failinfo::set_location_fail(), SetLocation(), master_process::SetUpFolders(), datagatherer::SlaveSetup(), failinfo::StartOver(), steptwo_case(), failinfo::write_failed_paths(), and WriteStep1().
bool runinfo::made_new_folder |
Flag to indicate if a new folder was created or not.
Definition at line 218 of file runinfo.hpp.
Referenced by main(), ScanData(), SetBaseDirManual(), and SetBaseDirNew().
std::string runinfo::mcfname |
The monte carlo file name.
Definition at line 122 of file runinfo.hpp.
Referenced by CopyUserDefinedFile(), DisplayAllValues(), and ParseDataGuts().
int runinfo::numconsts |
The number of parameters. The number of constants.
Definition at line 67 of file runinfo.hpp.
Referenced by DisplayAllValues(), ParseDataGuts(), ReadConstantStrings(), ReadSizes(), and WriteModifiedParamotopy().
int runinfo::numfunct |
The number of functions.
Definition at line 58 of file runinfo.hpp.
Referenced by DisplayAllValues(), MakeDeclareFunctions(), MakeFunctions(), ReadFunctions(), ReadSizes(), and WriteModifiedParamotopy().
std::vector< int > runinfo::NumMeshPoints |
If a user-defined mesh, then this stores the number of mesh points in each dimension in regards to the parameter.
Definition at line 124 of file runinfo.hpp.
Referenced by master_process::GetTerminationInt(), and MakeValues().
int runinfo::numparam |
Definition at line 64 of file runinfo.hpp.
Referenced by DisplayAllValues(), failinfo::find_failed_paths(), GetPrevRandom(), master_process::GetTerminationInt(), master_process::LoopBasic(), master_process::LoopSearch(), MakeParameterNames(), MakeRandomValues(), MakeValues(), master_process::MasterSetup(), failinfo::PerformAnalysis(), ReadParameters(), ReadSizes(), failinfo::report_failed_paths(), SaveRandom(), master_process::SeedBasic(), master_process::SeedSearch(), SetRandom(), slave_process::SlaveSetup(), steptwo_case(), failinfo::write_failed_paths(), WriteInputStepTwo(), WriteModifiedParamotopy(), and WriteRandomValues().
int runinfo::numvargroup |
The number of variable groups.
Definition at line 62 of file runinfo.hpp.
Referenced by DisplayAllValues(), GetNumVariables(), MakeVariableGroups(), ReadSizes(), ReadVarGroups(), WriteInputStepTwo(), and WriteModifiedParamotopy().
int runinfo::numvariables |
The number of variables.
Definition at line 60 of file runinfo.hpp.
Referenced by DataManagementMainMenu(), DisplayAllValues(), failinfo::find_failed_paths(), failinfo::find_successful_resolves(), GetNumVariables(), failinfo::RecoverProgress(), and datagatherer::SlaveSetup().
std::vector<std::string> runinfo::ParameterNames |
The parameter names.
Definition at line 104 of file runinfo.hpp.
Referenced by DisplayAllValues(), LoadRandom(), MakeConstants(), MakeConstantsStep2(), MakeDeclareConstants(), MakeParameterNames(), PrintRandom(), failinfo::report_failed_paths(), SetRandom(), datagatherer::SlaveSetup(), WriteInputStepTwo(), and WriteModifiedParamotopy().
std::vector<std::string> runinfo::Parameters |
The parameters.
Definition at line 102 of file runinfo.hpp.
Referenced by DisplayAllValues(), MakeBounds(), MakeParameterNames(), MakeValues(), and ReadParameters().
std::string runinfo::paramotopy_file |
A string that stores the entire paramotopy input file in memory.
Definition at line 87 of file runinfo.hpp.
Referenced by GetOriginalParamotopy(), and WriteOriginalParamotopy().
boost::filesystem::path runinfo::prefix |
The directory prefix.
Definition at line 92 of file runinfo.hpp.
Referenced by make_base_dir_name(), and ParseDataGuts().
std::vector< std::pair<double,double> > runinfo::RandomValues |
Random initial values. In the pair, real is first, imaginary is second.
Definition at line 130 of file runinfo.hpp.
Referenced by GetPrevRandom(), GetRandomValues(), LoadRandom(), main(), MakeConstants(), MakeConstantsStep2(), MakeRandomValues(), failinfo::new_step_one(), PrintRandom(), SaveRandom(), SetRandom(), steptwo_case(), and WriteRandomValues().
int runinfo::run_number |
The run folder.
Definition at line 80 of file runinfo.hpp.
Referenced by load(), save(), SetBaseDirNew(), and SetBaseDirZero().
int runinfo::steptwomode |
Indicates during the step 2 runs to do step2 or pathfailure bertini settings.
Definition at line 95 of file runinfo.hpp.
Referenced by main(), parallel_case(), and master_process::SendInput().
time_t runinfo::updated |
Any time during the run program. To compare against initiated.
Definition at line 84 of file runinfo.hpp.
Referenced by load(), SetBaseDirNew(), SetBaseDirZero(), and UpdateAndSave().
bool runinfo::userdefined |
Flag for user-defined monte carlo file. True if yes, false if no.
Definition at line 119 of file runinfo.hpp.
Referenced by master_process::CleanupBasic(), CopyUserDefinedFile(), DisplayAllValues(), master_process::GetTerminationInt(), master_process::LoopBasic(), MakeBounds(), master_process::OpenMC(), ParseDataGuts(), master_process::SeedBasic(), and master_process::SeedSearch().
std::vector< std::vector< std::pair<double,double> > > runinfo::Values |
The parameter values.
Definition at line 113 of file runinfo.hpp.
Referenced by master_process::LoopBasic(), MakeValues(), and master_process::SeedBasic().
std::vector<std::string> runinfo::VarGroups |
The variable groups.
Definition at line 100 of file runinfo.hpp.
Referenced by DisplayAllValues(), GetNumVariables(), MakeVariableGroups(), ReadVarGroups(), WriteInputStepTwo(), and WriteModifiedParamotopy().