diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-01-16 10:48:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-01-16 10:49:37 +0100 |
commit | 3cf65cde6a94a3c6685ac1231472bf96fcea7b88 (patch) | |
tree | 1aab759975fe695eccad041bddee23a6fe34f74f /mg2d.h | |
parent | 2f457508915cdf61d2220b9db30d4aaecd7e07b7 (diff) |
mg2d: add a function for getting maximum supported fd_stencil
This is needed for the caller to know the number of boundary zones that
can be filled.
API bump.
Diffstat (limited to 'mg2d.h')
-rw-r--r-- | mg2d.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -302,4 +302,9 @@ void mg2d_solver_free(MG2DContext **ctx); */ void mg2d_print_stats(MG2DContext *ctx, const char *prefix); +/** + * @return maximum supported value of fd_stencil. + */ +unsigned int mg2d_max_fd_stencil(void); + #endif /* MG2D_H */ |