The string s is a directory where the Bertini files are stored. A Bertini input file should be stored in s. The Bertini input file should be named "input", or the NameB’InputFile should be set to a string giving the name of the input file. A Bertini start (solutions) file should be stored in s. The Bertini start (solutions) file should be named "start", or the NameStartFile should be set to a string giving the name of the start file. A Bertini start parameter file should be stored in s. The Bertini start parameter file should be named "startparameters", or the NameParameterFile should be set to a string giving the name of the start parameter file. b’PHSequence loops through the elements of l doing a sequence of parameter homotopies. Each element of l gives the parameter values for a parameter homotopy. These parameter values are written to a "finalparameters" file in s or the StorageFolder. Bertini is called (the option B’Exe allows one to change the way in which Bertini is called). The resulting nonsingularsolutions and final parameters become start solutions and start parameters for the next parameter homotopy in the sequence.
i1 : makeB'InputFile(storeBM2Files, ParameterGroup=>{t1,t2},AffVariableGroup=>{{x,y}}, B'Configs=>{{"PARAMETERHOMOTOPY",1}}, B'Polynomials=>{"x^2-t1","y-t2"}) o1 = /var/folders/j_/gx42s4z576z_vj47_ym0j5xm0000gn/T/M2-74721-0/0/input o1 : File |
i2 : runBertini(storeBM2Files,PreparePH2=>true) ~/bertini |
i3 : b'PHSequence(storeBM2Files,{{1,1},{1,2}},SaveData=>true) ~/bertini ~/bertini |
i4 : importSolutionsFile(storeBM2Files,NameSolutionsFile=>"nonsingular_solutions1") o4 = {{1, 1}, {-1, 1}} o4 : List |
i5 : makeB'InputFile(storeBM2Files, ParameterGroup=>{t1,t2},AffVariableGroup=>{{x,y}}, B'Configs=>{{"PARAMETERHOMOTOPY",1}}, B'Polynomials=>{"x^2-t1","y-t2"}) o5 = /var/folders/j_/gx42s4z576z_vj47_ym0j5xm0000gn/T/M2-74721-0/0/input o5 : File |
i6 : runBertini(storeBM2Files,PreparePH2=>true) ~/bertini |
i7 : b'PHSequence(storeBM2Files,{{1,1},{1,2}},SaveData=>true,StorageFolder=>"StoreMyFiles") ~/bertini ~/bertini |
i8 : importSolutionsFile(storeBM2Files,StorageFolder=>"StoreMyFiles",NameSolutionsFile=>"nonsingular_solutions1") o8 = {{1, 1}, {-1, 1}} o8 : List |