%--------------------------------------------------------------------------
% INDEX.GET_DOF_TYPE
%--------------------------------------------------------------------------
% Get the loca type of a degree of freedom given its global number
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
out = GET_DOF_TYPE(IN,nb)
out = INDEX.GET_DOF_TYPE(IN,nb)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% INDEX.GET_DOF_TYPE allows to get the type of a degree of freedom given
% its type (local number). The length of nb must be equal to 1.
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% IN : INDEX object
% nb : global number of the degree of freedom
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% out : scalar
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
out = GET_DOF_TYPE(IN,5)
out =
1