rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
unitcube.m
Go to the documentation of this file.
1 function model=unitcube(model)
2 % function model=unitcube(model)
3 % function adding fields to model for generating a 2D rectgrid with '100 x 100'
4 % elements on the unit-square
5 
6 model.gridtype = 'rectgrid';
7 model.xrange = [0,1];
8 model.yrange = [0,1];
9 model.xnumintervals = 100;
10 model.ynumintervals = 100;
11