Paramotopy
parallel parameter homotopy through bertini
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
step1_funcs.cpp File Reference
#include "step1_funcs.hpp"

Go to the source code of this file.

Functions

void CallBertiniStep1 (ProgSettings paramotopy_settings, runinfo paramotopy_info)
 
void WriteStep1 (ProgSettings paramotopy_settings, runinfo paramotopy_info)
 
void MakeConfig (std::ifstream &fin, std::ofstream &fout)
 
void MakeConfig (std::ifstream &fin, std::stringstream &fout)
 
void WriteMeshToMonteCarlo (int level, std::vector< std::vector< std::pair< double, double > > > Values, std::string dirfilename, std::string runningline)
 

Function Documentation

void CallBertiniStep1 ( ProgSettings  paramotopy_settings,
runinfo  paramotopy_info 
)

calls bertini to run the step1 file.

Parameters
paramotopy_settingsthe bertini and paramotopy settings object. for writing the input file.
paramotopy_infothe parsed input file.

Definition at line 5 of file step1_funcs.cpp.

References runinfo::location, and ProgSettings::settings.

Referenced by main(), and failinfo::new_step_one().

Here is the caller graph for this function:

void MakeConfig ( std::ifstream &  fin,
std::ofstream &  fout 
)

Definition at line 90 of file step1_funcs.cpp.

void MakeConfig ( std::ifstream &  fin,
std::stringstream &  fout 
)

Definition at line 97 of file step1_funcs.cpp.

void WriteMeshToMonteCarlo ( int  level,
std::vector< std::vector< std::pair< double, double > > >  Values,
std::string  dirfilename,
std::string  runningline 
)

a recursive function for writing the entire computer generated parameter point mesh to disk.

Parameters
levelset internally, determines escape from this recursive call
Valuesvector holding the computer-generated parameter values.
dirfilenamethe name of the file we are writing to.
runninglinestring containing the string so far. is written to dirfilename when level==Values.size()

Definition at line 106 of file step1_funcs.cpp.

void WriteStep1 ( ProgSettings  paramotopy_settings,
runinfo  paramotopy_info 
)

writes the step1 input file, both to the step1 folder (contained in paramotopy_info.location) and to the screen via std::cout .

Parameters
paramotopy_settingsthe bertini and paramotopy settings object. for writing the input file.
paramotopy_infothe parsed input file.

Definition at line 54 of file step1_funcs.cpp.

References runinfo::location, ProgSettings::WriteConfigStepOne(), and runinfo::WriteInputStepOne().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: