diff options
Diffstat (limited to 'nlsolve.h')
-rw-r--r-- | nlsolve.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -72,6 +72,17 @@ typedef struct NLSolveContext { */ unsigned int (*solve_order)[2]; + /** + * Locations of the collocation points. The equation coefficients in NLEqCallback and + * NLEqJacobianCallback should be evaluated at those grid positions. + * + * colloc_grid[i][j] is an array of length solve_order[i][j] and contains + * the collocation points for the i-th equation in the j-th direction. + * + * Set by the solver after tdi_nlsolve_context_init(). + */ + double *(*colloc_grid)[2]; + #if HAVE_OPENCL cl_context ocl_ctx; cl_command_queue ocl_queue; |