Custom derivative method in ODE solver.
Hello,
When using the ODE solvers, I want to calculate the derivatives. This is reasonably complicated so I have a separate class for doing this. The problem is that the derivative method in the ODE base class is 'const'. So I can't do the following: Code:
void I was wondering why the derivative method is const, and the best way to get around this. 
In a similar situation ,I wanted to calculate the numerical jacobian in one of my cases . Have you found a workaround for this ? Besides this is OpenFOAM a good platform to solve a system of differential algebraic equation system ? As of now , I am using SUNDIALS ......

All times are GMT 4. The time now is 08:23. 