def METHOD_NAME(state, params):
    print("Replaying forward run")
    for i in range(adjointer.equation_count):
        (fwd_var, output) = adjointer.get_forward_solution(i)
        s = libadjoint.MemoryStorage(output)
        s.set_compare(0.0)
        s.set_overwrite(True)
        adjointer.record_variable(fwd_var, s)