From 33fed354c327d61cfdfbeef6e80c3f99128fd242 Mon Sep 17 00:00:00 2001 From: "raphael.bach" <raphael.bach@etu.hesge.ch> Date: Thu, 30 Jun 2022 23:35:43 +0200 Subject: [PATCH] Add `fmpi_stencil_square()` --- include/fmpi_stencil.h | 4 ++-- src/fmpi_stencil.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/fmpi_stencil.h b/include/fmpi_stencil.h index 3ab401b..d9b6b8f 100644 --- a/include/fmpi_stencil.h +++ b/include/fmpi_stencil.h @@ -58,9 +58,9 @@ struct fmpi_stencil fmpi_no_stencil(void); ------------------------------------------------------------------------------*/ struct fmpi_stencil fmpi_stencil_1d(size_t length); /*------------------------------------------------------------------------------ - fmpi_stencil_2d() + fmpi_stencil_square() ------------------------------------------------------------------------------*/ -struct fmpi_stencil fmpi_stencil_2d(size_t length); +struct fmpi_stencil fmpi_stencil_square(size_t length); /*============================================================================== GUARD ==============================================================================*/ diff --git a/src/fmpi_stencil.c b/src/fmpi_stencil.c index 9197e22..e43797b 100644 --- a/src/fmpi_stencil.c +++ b/src/fmpi_stencil.c @@ -51,9 +51,9 @@ struct fmpi_stencil fmpi_stencil_1d(const size_t length) }; } /*------------------------------------------------------------------------------ - fmpi_stencil_2d() + fmpi_stencil_square() ------------------------------------------------------------------------------*/ -struct fmpi_stencil fmpi_stencil_2d(const size_t length) +struct fmpi_stencil fmpi_stencil_square(const size_t length) { return (struct fmpi_stencil){ .type = FMPI_STENCIL_SQUARE, -- GitLab