add_oref_to_list: Internal function to add OutputRef to a list of OutputRef objects
Description
Makes sure that OutputRef with this same index and method is not already in
list. Although not checked, it is assumed that this is only called on a list
of OutputRef objects all coming from same model.
Usage
add_oref_to_list(oref, oref_list, sim_dir)
Arguments
- oref
OutputRef to add
- oref_list
list of OutputRef objects
- sim_dir
sim@dir