diff options
author | Anton Khirnov <anton@khirnov.net> | 2018-04-22 12:58:22 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2018-04-22 13:08:24 +0200 |
commit | 3910a4ee954866524bab129dfa4a0403f2ebe164 (patch) | |
tree | e98f90b917d8a7a904bedaf0cf6824aaaec5ed59 /nlsolve.c | |
parent | 85ee8c05d6953bb361e678aae8fa965c27b8bd0f (diff) |
Rewrite constraint evaluation code.
Make it much more efficient and easier to add other seed functions.
Diffstat (limited to 'nlsolve.c')
-rw-r--r-- | nlsolve.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -235,7 +235,7 @@ finish: return ret; } -void tdi_solver_print_stats(NLSolveContext *ctx) +void tdi_nlsolve_print_stats(NLSolveContext *ctx) { NLSolvePriv *s = ctx->priv; @@ -497,6 +497,8 @@ int tdi_nlsolve_context_init(NLSolveContext *ctx) return ret; } + ctx->colloc_grid = s->ps_ctx->colloc_grid; + /* init the per-equation state */ for (int i = 0; i < s->nb_equations; i++) { ret = eq_ctx_init(ctx, i); |