add_eref_to_list: Internal function to add EvalsRef to a list of EvalsRef objects
Description
Makes sure that EvalsRef 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 EvalsRef objects all coming from same model.
Usage
add_eref_to_list(eref, eref_list, sim_dir)
Arguments
- eref
EvalsRef to add
- eref_list
list of EvalsRef objects
- sim_dir
sim@dir