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

Go to the source code of this file.

Functions

int GetStart (boost::filesystem::path dir, std::string &start, std::string startfilename)
 
int GetLastNumSent (std::string base_dir, std::vector< int > &lastnumsent, int numprocs)
 
int GetMcNumLines (boost::filesystem::path base_dir, int numparam)
 

Function Documentation

int GetLastNumSent ( std::string  base_dir,
std::vector< int > &  lastnumsent,
int  numprocs 
)

Definition at line 54 of file step2readandwrite.cpp.

int GetMcNumLines ( boost::filesystem::path  base_dir,
int  numparam 
)

Gets the number of lines in the mc file. essentially reads the top line of the file.

Parameters
base_dirThe directory in which to look for the mcfile.
numparamNumber of parameters in the problem. Deprecated?
Returns
terminationint - The number of parameter points in the file. Note that this could acceptably be smaller than the actual number, but not larger.

Definition at line 167 of file step2readandwrite.cpp.

Referenced by master_process::GetTerminationInt(), and failinfo::PerformAnalysis().

Here is the caller graph for this function:

int GetStart ( boost::filesystem::path  dir,
std::string &  start,
std::string  startfilename 
)

reads in the start file to memory

Parameters
dirThe directory in which to read the start file
startMUTABLE String containing the start file
startfilenameThe name of the start file. This is a user-set name.

Definition at line 10 of file step2readandwrite.cpp.

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

Here is the caller graph for this function: