Paramotopy
parallel parameter homotopy through bertini
|
#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) |
#define __STEPONE_H__ |
Definition at line 20 of file step1_funcs.hpp.
void CallBertiniStep1 | ( | ProgSettings | paramotopy_settings, |
runinfo | paramotopy_info | ||
) |
calls bertini to run the step1 file.
paramotopy_settings | the bertini and paramotopy settings object. for writing the input file. |
paramotopy_info | the 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().
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.
level | set internally, determines escape from this recursive call |
Values | vector holding the computer-generated parameter values. |
dirfilename | the name of the file we are writing to. |
runningline | string 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 .
paramotopy_settings | the bertini and paramotopy settings object. for writing the input file. |
paramotopy_info | the parsed input file. |
Definition at line 54 of file step1_funcs.cpp.
References runinfo::location, ProgSettings::WriteConfigStepOne(), and runinfo::WriteInputStepOne().
Referenced by main().