'add a result to the list'

def add_result(self, result, t, name):

    result.time = t
    result.name = name
    if (not hasattr(result, 'njev')):
        result.njev = 0
    if (not hasattr(result, 'nhev')):
        result.nhev = 0
    self.results.append(result)
