provide rectangle-geometry in pdetoolbox-form
0001 function geo=rec(lx,ly) 0002 % provide rectangle-geometry in pdetoolbox-form 0003 geo= [[2.0000 2.0000 2.0000 2.0000]; 0004 [-lx lx lx -lx]; % each colum: xstart 0005 [lx lx -lx -lx]; % xend 0006 [-ly -ly ly ly]; % ystart 0007 [-ly ly ly -ly]; % yend 0008 [1.0000 1.0000 1.0000 1.0000]; 0009 [ 0 0 0 0 ]]; 0010 end