diff options
author | Anton Khirnov <anton@khirnov.net> | 2018-08-07 16:17:44 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2018-08-07 16:17:44 +0200 |
commit | ecae7b1fa0058adcaa61b324b9d7248c7b5d3ef9 (patch) | |
tree | 7c18c06935f9f45f392f4df571530f7dc74c9662 | |
parent | b497f900c2274ec120752fd0bcc455d3f4c385ac (diff) |
Specify maximum reflevel for interpolation.
-rw-r--r-- | src/maximal_slicing_axi_mg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/maximal_slicing_axi_mg.c b/src/maximal_slicing_axi_mg.c index 668a702..974ef86 100644 --- a/src/maximal_slicing_axi_mg.c +++ b/src/maximal_slicing_axi_mg.c @@ -261,6 +261,10 @@ static CoordPatch *get_coord_patch(MSMGContext *ms) if (cp->interp_params < 0) CCTK_WARN(0, "Error creating interpolation parameters table"); + ret = Util_TableSetInt(cp->interp_params, cp->level, "max_reflevel"); + if (ret < 0) + CCTK_WARN(0, "Error setting maximum reflevel for interpolation"); + ret = Util_TableSetIntArray(cp->interp_params, ARRAY_ELEMS(cp->interp_operation_codes), cp->interp_operation_codes, "operation_codes"); if (ret < 0) |