diff options
Diffstat (limited to 'ell_grid_solve.h')
-rw-r--r-- | ell_grid_solve.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ell_grid_solve.h b/ell_grid_solve.h index 182b087..0718b67 100644 --- a/ell_grid_solve.h +++ b/ell_grid_solve.h @@ -211,6 +211,8 @@ typedef struct EGSContext { int64_t time_total; } EGSContext; +#define EGS_INIT_FLAG_SAME_DIFF_COEFFS (1 << 0) + /** * Allocate the solver for the given domain size. * @@ -229,7 +231,7 @@ EGSContext *mg2di_egs_alloc(enum EGSType solver_type, size_t domain_size[2]); * * @return 0 on success, a negative error code on failure. */ -int mg2di_egs_init(EGSContext *ctx); +int mg2di_egs_init(EGSContext *ctx, int flags); /** * Free the solver and write NULL to the provided pointer. */ |