def METHOD_NAME( state, timehist ):
    print "processing state ", state
    SetTimeSliderState(state)
    SetQueryFloatFormat("%g")
    time = Query("Time")[:-1].split(' ')[-1]
    injectionPressure = ZonePick(coord=(0.5, 0.5, 0.0), vars=("Fracture_ElementFields/pressure"))['Fracture_ElementFields/pressure']
    injectionAperture = ZonePick(coord=(0.5, 0.5, 0.0), vars=("Fracture_ElementFields/elementAperture"))['Fracture_ElementFields/elementAperture']
    fractureArea = Query("Variable Sum").split(' ')[-1]
    timehist.append([float(time), float(injectionPressure), float(injectionAperture), float(fractureArea)])