rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
comsol_get_rbmatlab_gridtype_from_comsol.m
1 function rbmatlab_gridtype = comsol_get_rbmatlab_gridtype_from_comsol(comsol_model)
2 %function rbmatlab_gridtype = comsol_get_rbmatlab_gridtype_from_comsol(comsol_model)
3 %
4 % function determines the grid that is used in rbmatlab from the comsol
5 % model
6 %
7 % Oliver Zeeb, 2012/08/23
8 
9 comsol_gridtype = comsol_get_grid_type(comsol_model);
10 switch comsol_gridtype
11  case 'FreeTri'
12  rbmatlab_gridtype = 'triagrid';
13  otherwise
14  error('gridtype not supported');
15 end