%--------------------------------------------------------------------------
% INDEX.GET_DOF
%--------------------------------------------------------------------------
% Get the global indices of degrees of freedom given a NODE and the local
% numbers of the degrees of freedom
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
out = GET_DOF(IN,cur_node,loc_dof)
out = INDEX.GET_DOF(IN,cur_node,loc_dof)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% INDEX.GET_DOF allows get the vector containing the global number of
% degrees of freedom. The length of loc_dof must be equal to 1.
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% MO1 : INDEX object
% cur_node : set of NODE objects
% loc_dof : local number of degrees of freedom (type)
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% out : scalar, vector
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
out = GET_DOF(IN,cur_node,loc_dof)
out =
49