pele.systems.spawn_OPTIM#
- class pele.systems.spawn_OPTIM.PathInfoReader
-
class PathInfoReader:read path.info files
- PathInfoReader.read_minimum()
-
def read_minimum(self, fin):the minima and transition states are stored as
1 line with energy 1 line with point group info natoms lines with eigenvalues natoms lines with coords
- class pele.systems.spawn_OPTIM.SpawnOPTIM
-
class SpawnOPTIM:this class will control spawning of optim jobs and importing the results
make temp directory
make imput files (odata, finish, perm.allow, etc)
call OPTIM
when OPTIM finishes, load the results into the database
- SpawnOPTIM.write_odata()
-
def write_odata(self, fout):write the odata file to the open file fout
stop after the line POINTS. i.e. don’t write coordinates
- SpawnOPTIM.write_odata_coords()
-
def write_odata_coords(self, coords, fout):write the coords to odata
need to label the atoms correctly for the system
- SpawnOPTIM.make_permallow_from_permlist()
-
def make_permallow_from_permlist(self, permlist):return a string corresponding to the perm.allow file from a permlist
- SpawnOPTIM.write_perm_allow()
-
def write_perm_allow(self, fname):make the perm.allow file if appropriate
- SpawnOPTIM.write_additional_input_files()
-
def write_additional_input_files(self, rundir, coords1, coords2):use this function to write any other input files that are needed
- SpawnOPTIM.load_results()
-
def load_results(self, database):load the resulting min-ts-min triplets from the path.info file and put them in the database
- Returns:
- newminimaa set of the minima found
- newtsa set of the transition states found