On 30 March 2016 at 17:33, Abhyankar, Shrirang G. <[email protected]> wrote: > Lisandro, > I believe only arkimex has restarting currently implemented (see > TStep_ARKIMEX). It checks the vector state and uses backward Euler for > restarting. Would that the check on the vector state be sufficient or do you > think having a flag in postevent callback would be better?
Do you mean the first big block TStep_ARKIMEX, right after PetscFunctionBegin? Wow, if that works so it is a neat hack. I always forget about this feature of Vec. Let me investigate it a little bit, hopefully that is enough! Actually, is likely much better than complicating the TSEvent API with extra flags. -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Extreme Computing Research Center (ECRC) King Abdullah University of Science and Technology (KAUST) http://ecrc.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459
