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)[source]

Bases: eon.state.State

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)[source]

Adds a process to this state.

load_process_table()[source]

Load the process table. If the process table is not loaded, load it. If it is loaded, do nothing.

save_process_table()[source]

If the processtable is present in memory, writes it to disk.

append_process_table(id, product, product_energy, time)[source]

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()[source]
inc_time(timeinc)[source]
zero_time()[source]