Skip to content
Snippets Groups Projects
Verified Commit 33fed354 authored by raphael.bach's avatar raphael.bach
Browse files

Add `fmpi_stencil_square()`

parent 3a4ec19c
No related branches found
No related tags found
No related merge requests found
...@@ -58,9 +58,9 @@ struct fmpi_stencil fmpi_no_stencil(void); ...@@ -58,9 +58,9 @@ struct fmpi_stencil fmpi_no_stencil(void);
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
struct fmpi_stencil fmpi_stencil_1d(size_t length); 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 GUARD
==============================================================================*/ ==============================================================================*/
......
...@@ -51,9 +51,9 @@ struct fmpi_stencil fmpi_stencil_1d(const size_t length) ...@@ -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){ return (struct fmpi_stencil){
.type = FMPI_STENCIL_SQUARE, .type = FMPI_STENCIL_SQUARE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment