diff options
Diffstat (limited to 'ell_relax.h')
-rw-r--r-- | ell_relax.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ell_relax.h b/ell_relax.h index 0df42d5..0e32015 100644 --- a/ell_relax.h +++ b/ell_relax.h @@ -127,14 +127,20 @@ typedef struct EllRelaxBoundary { /** * For type = ELL_RELAX_BC_TYPE_FIXVAL: * Values of the unknown function on the boundary. + * The number of boundary layers is equal to fd_stencil. + * The first boundary layer has the number of points equal to the + * corresponding domain_size. Each subsequent boundary layer has one + * more boundary point at each end of the domain. * * Ignored otherwise. */ double *val; /** - * Number of elements in val. + * Number of elements between rows in val. I.e. if val[0] is the first + * boundary point, then val[val_stride - 1] is the first boundary point in + * the second row and so on. */ - size_t val_len; + size_t val_stride; } EllRelaxBoundary; typedef struct EllRelaxContext { |