Mercurial > repos > public > sbplib
changeset 276:30321dc180e1 feature/beams
Fixed documentation for Curvilinear and evalOn.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 07 Sep 2016 10:13:26 +0200 |
parents | 3ea2ae2a3d15 |
children | 4c3f55a628c8 |
files | +grid/Curvilinear.m +grid/evalOn.m |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
diff -r 3ea2ae2a3d15 -r 30321dc180e1 +grid/Curvilinear.m --- a/+grid/Curvilinear.m Tue Sep 06 17:28:11 2016 +0200 +++ b/+grid/Curvilinear.m Wed Sep 07 10:13:26 2016 +0200 @@ -7,7 +7,8 @@ methods % Creates a curvilinear grid. % Ex: grid.Curvilinear(mapping, xi, eta, ...) - % mapping -- either a matrix or a cell array with physical coordinates. + % mapping -- either a function handle, a matrix or a cell array with physical coordinates. + % A function handle should be a vector valued function of the coordinate mapping. % A matrix should be a grid function (N*D x 1 vector) or a N x D % A cell array should be a 1 x D cell array with either N x 1 vectors % or matrices of the same dimesions as the logical grid.
diff -r 3ea2ae2a3d15 -r 30321dc180e1 +grid/evalOn.m --- a/+grid/evalOn.m Tue Sep 06 17:28:11 2016 +0200 +++ b/+grid/evalOn.m Wed Sep 07 10:13:26 2016 +0200 @@ -1,4 +1,4 @@ -% Takes a funciton and evaluates it on a grid to return a grid function in the +% Takes a function and evaluates it on a grid to return a grid function in the % form of a (n*k)x1 vector, where n is the number of grid points and k is the % number of components of the function. % g -- Grid to evaluate on.