Paramotopy
parallel parameter homotopy through bertini
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
step1_funcs.hpp File Reference
#include <vector>
#include <map>
#include <iostream>
#include <string>
#include <sstream>
#include <fstream>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "random.hpp"
#include "para_aux_funcs.hpp"
#include "xml_preferences.hpp"
#include "runinfo.hpp"

Go to the source code of this file.

Macros

#define __STEPONE_H__
 

Functions

void CallBertiniStep1 (ProgSettings paramotopy_settings, runinfo paramotopy_info)
 
void WriteStep1 (ProgSettings paramotopy_settings, runinfo paramotopy_info)
 
void WriteMeshToMonteCarlo (int level, std::vector< std::vector< std::pair< double, double > > > Values, std::string dirfilename, std::string runningline)
 

Macro Definition Documentation

#define __STEPONE_H__

Definition at line 20 of file step1_funcs.hpp.

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 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: