On Fri, 11 May 2018 at 18:20, Smith, Barry F. <bsm...@mcs.anl.gov> wrote:
> So you are proposing keeping TSSetIFunction and TSSetIJacobian and ADDING a new API TSSetComputeSplitJacobians() and it that is not provided calling TSComputeIJacobian() twice with different shifts (which is definitely not efficient and is what Hong does also). Yes, that's basically the proposal. User could even provide both IJacobian and SplitJacobians, and TS can then make the best use of these callbacks depending on what is more efficient. -- 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 # 0109 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459