eon.prstate
#
The PRState module.
Module Contents#
Classes#
Data#
API#
- eon.prstate.logger#
‘getLogger(…)’
- class eon.prstate.PRState(statepath, statenumber, statelist, previous_state_num=-1, reactant_path=None)#
Bases:
eon.state.State
Initialization
Creates a new state, with lazily loaded data.
- processtable_head_fmt#
‘%7s %9s %16s %12s\n’
- processtable_header#
None
- processtable_line#
‘%7d %9d %16.5f %12.5e\n’
- search_result_header#
None
- add_process(result)#
Adds a process to this state.
- load_process_table()#
Load the process table. If the process table is not loaded, load it. If it is loaded, do nothing.
- save_process_table()#
If the processtable is present in memory, writes it to disk.
- append_process_table(id, product, product_energy, time)#
Append to the process table. Append a single line to the process table file. If we have loaded the process table, also append it to the process table in memory.
- get_time()#
- inc_time(timeinc)#
- zero_time()#