|
makexpyp.m.html |
|
|
Source file: makexpyp.m
|
|
Directory: /home/rjl/git/rjleveque/clawpack-4.x/matlab
|
|
Converted: Sun May 15 2011 at 19:15:57
using clawcode2html
|
|
This documentation file will
not reflect any later changes in the source file.
|
% From one-dimensional vectors xcenter and ycenter defining a rectangular grid
% in computational space, make 2d arrays xp, yp so that (xp(i,j), yp(i,j))
% is the corresponding point in physical space.
%
% Assumes plotclaw2 has already been started so xcenter and ycenter are set.
%
[xc,yc] = meshgrid(xcenter,ycenter);
if MappedGrid
[xp,yp] = mapc2p(xc,yc);
end