%--------------------------------------------------------------------------
% INDEX.GET_DOF_NUMBER
%--------------------------------------------------------------------------
% Get all global number of degrees of freedom of a gven type (local number)
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
out = GET_DOF_NUMBER(IN,loc_dof)
out = INDEX.GET_DOF_NUMBER(IN,loc_dof)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% INDEX.GET_DOF_NUMBER allows to get all global degrees of freedom numbers
% of a given type. The length of loc_dof must be equal to 1.
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% IN : INDEX object
% loc_dof : local number of degrees of freedom (type)
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% out : scalar, vector
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
out = GET_DOF_NUMBER(obj,1)
out =
1
3
5
7
9
11
13
15
17
.
.
.
out = GET_DOF_NUMBER(obj,2)
out =
2
4
6
8
10
12
14
16
18
.
.
.