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

Go to the source code of this file.

Functions

void parse_input_file_bertini (unsigned int &currentSeed, int &MPType)
 
void run_zero_dim_main (int MPType, unsigned int currentSeed)
 
std::string WriteStep2 (std::vector< std::pair< double, double > > CurrentValues, ProgSettings paramotopy_settings, runinfo paramotopy_info)
 
std::string WriteFailStep2 (std::vector< std::pair< double, double > > CurrentValues, ProgSettings paramotopy_settings, runinfo paramotopy_info)
 

Function Documentation

void parse_input_file_bertini ( unsigned int &  currentSeed,
int &  MPType 
)

a wrapper around the parse_input() function from the bertini library.

Returns
MPType an integer indicating the mptype.
currentSeed the current random seed.

Definition at line 5 of file step2_funcs.cpp.

Referenced by slave_process::LoopBasic(), and slave_process::LoopSearch().

Here is the caller graph for this function:

void run_zero_dim_main ( int  MPType,
unsigned int  currentSeed 
)

a wrapper around the zero_dim_main() function from the bertini library.

Parameters
MPTypean integer indicating the mptype.
currentSeedthe current random seed.

Definition at line 12 of file step2_funcs.cpp.

Referenced by slave_process::LoopBasic(), and slave_process::LoopSearch().

Here is the caller graph for this function:

std::string WriteFailStep2 ( std::vector< std::pair< double, double > >  CValues,
ProgSettings  paramotopy_settings,
runinfo  paramotopy_info 
)

creates the bertini input file for step2 IN FAILURE ANALYSIS MODE, and writes it to a string.

Parameters
CValuescurrent parameter values.
paramotopy_settingsthe bertini and paramotopy settings
paramotopy_infothe parsed input file.

Definition at line 40 of file step2_funcs.cpp.

References ProgSettings::settings, ProgSettings::WriteConfigFail(), and runinfo::WriteInputStepTwo().

Referenced by failinfo::new_step_one(), and master_process::SendInput().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string WriteStep2 ( std::vector< std::pair< double, double > >  CValues,
ProgSettings  paramotopy_settings,
runinfo  paramotopy_info 
)

creates the bertini input file for step2, and writes it to a string.

Parameters
CValuescurrent parameter values.
paramotopy_settingsthe bertini and paramotopy settings
paramotopy_infothe parsed input file.

Definition at line 23 of file step2_funcs.cpp.

References ProgSettings::settings, ProgSettings::WriteConfigStepTwo(), and runinfo::WriteInputStepTwo().

Referenced by master_process::SendInput().

Here is the call graph for this function:

Here is the caller graph for this function: