/// <summary> /// Cook the output TOP node of the currently selected TOP network. /// </summary> public void CookOutput() { HEU_SessionBase session = GetHAPISession(); if (session == null || !session.IsSessionValid()) { return; } HEU_TOPNetworkData topNetwork = GetSelectedTOPNetwork(); if (topNetwork != null) { //HEU_Logger.Log("Cooking output!"); _workItemTally.ZeroAll(); ResetTOPNetworkWorkItemTally(topNetwork); HEU_PDGSession pdgSession = HEU_PDGSession.GetPDGSession(); if (pdgSession != null) { pdgSession.CookTOPNetworkOutputNode(topNetwork, OnSyncComplete); } } }