Mercurial > repos > public > sbplib
comparison +grid/Curvilinear.m @ 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 | 7c1d3fc33f90 |
children | d32c749408cb |
comparison
equal
deleted
inserted
replaced
275:3ea2ae2a3d15 | 276:30321dc180e1 |
---|---|
5 end | 5 end |
6 | 6 |
7 methods | 7 methods |
8 % Creates a curvilinear grid. | 8 % Creates a curvilinear grid. |
9 % Ex: grid.Curvilinear(mapping, xi, eta, ...) | 9 % Ex: grid.Curvilinear(mapping, xi, eta, ...) |
10 % mapping -- either a matrix or a cell array with physical coordinates. | 10 % mapping -- either a function handle, a matrix or a cell array with physical coordinates. |
11 % A function handle should be a vector valued function of the coordinate mapping. | |
11 % A matrix should be a grid function (N*D x 1 vector) or a N x D | 12 % A matrix should be a grid function (N*D x 1 vector) or a N x D |
12 % A cell array should be a 1 x D cell array with either N x 1 vectors | 13 % A cell array should be a 1 x D cell array with either N x 1 vectors |
13 % or matrices of the same dimesions as the logical grid. | 14 % or matrices of the same dimesions as the logical grid. |
14 % xi, eta, ... -- are the coordinate positions of the cartesian logical grid. | 15 % xi, eta, ... -- are the coordinate positions of the cartesian logical grid. |
15 function obj = Curvilinear(mapping, varargin) | 16 function obj = Curvilinear(mapping, varargin) |