3.4.1. Refine event sequence

  • In refine_t%make_child_patch()

    • create the new patch

    • add its parent patch as the only nbor, and prolong

    • set bits%init_nbors

    • add it to the task list

    • add it to the ready queue

  • In refine_t%check_current()

    • detect bits%init_nbors

    • generate a new nbor list

    • possibly set bits%init_nbors on the nbors

    • clear bits%init_nbors

  • In task_mesg_t%unpack() for virtual tasks

    • do the same as active tasks; using list_t%add_new_link

    • detect bits%init_nbors, and act accordingly