function bamgmesh = subsref(bamgmesh,index)
%SUBSREF - handles indexed references to objects
%
%   the first argument is the object and the second one a structure array
%   Usage:
%      bamgmesh = subsref(bamgmesh,index)
% 
%   See also SUBSASGN

bamgmesh=builtin('subsref',bamgmesh,index);
