8 lines
218 B
Matlab
8 lines
218 B
Matlab
function i = domainIndex(d)
|
|
% DOMAININDEX - domain index.
|
|
%
|
|
% This function returns an integer flag denoting the location
|
|
% of the domain, beginning with 1 at the left.
|
|
%
|
|
i = domain_methods(d.dom_id, 13) + 1;
|
|
|