aboutsummaryrefslogtreecommitdiff
path: root/mg2d.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-08-01 20:11:10 +0200
committerAnton Khirnov <anton@khirnov.net>2018-08-01 20:11:10 +0200
commit880ab9a8038f06c397c7803e3f4987695fec9bde (patch)
treed77158194e9a92005737eddd3dd106c2fb1ea0de /mg2d.h
parent3d873841dfca19b632525b1db7a33e0f9750dc06 (diff)
Add support for non-power-of-2 sized grids.
Diffstat (limited to 'mg2d.h')
-rw-r--r--mg2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg2d.h b/mg2d.h
index 3f9cbe7..405625a 100644
--- a/mg2d.h
+++ b/mg2d.h
@@ -226,7 +226,7 @@ typedef struct MG2DContext {
*
* @return The solver context on success, NULL on failure.
*/
-MG2DContext *mg2d_solver_alloc(size_t log2_gridsize);
+MG2DContext *mg2d_solver_alloc(size_t domain_size);
/**
* Solve the equation, after all the required fields have been filled by the
* caller.