rbmatlab 0.10.01
|
00001 function model=unitcube(model) 00002 % function model=unitcube(model) 00003 % function adding fields to model for generating a 2D rectgrid with '100 x 100' 00004 % elements on the unit-square 00005 00006 model.gridtype = 'rectgrid'; 00007 model.xrange = [0,1]; 00008 model.yrange = [0,1]; 00009 model.xnumintervals = 100; 00010 model.ynumintervals = 100; 00011