QuoteOriginally posted by: FinancialAlexThat Mesher is a very good choice, but it clusters the grid only around a single point. Its extension to clustering around multiple points requires numerically solving ODEs (for single point case we can solve analytically that ODE).Domingo Tavella and Curt Randall address this in their book page 161. They create a piecewise polynomial (linear, cubic spline) which might be a bit easier than solving ODEs. So, one can use the same code as for interpolation routines.Do you have a link to the ODE solution?
Last edited by Cuchulainn
on October 14th, 2012, 10:00 pm, edited 1 time in total.