2
! CalculiX - A 3-dimensional finite element program
3
! Copyright (C) 1998-2015 Guido Dhondt
5
! This program is free software; you can redistribute it and/or
6
! modify it under the terms of the GNU General Public License as
7
! published by the Free Software Foundation(version 2);
10
! This program is distributed in the hope that it will be useful,
11
! but WITHOUT ANY WARRANTY; without even the implied warranty of
12
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
! GNU General Public License for more details.
15
! You should have received a copy of the GNU General Public License
16
! along with this program; if not, write to the Free Software
17
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
subroutine createialelem(ne,istartelem,ialelem,ipoeldi,ieldi)
23
integer ne,istartelem(*),ialelem(*),ipoeldi(*),ieldi(2,*),
26
! determining the design variables belonging to a given
27
! element i. They are stored in ialelem(istartelem(i))..
28
! ...up to..... ialdesi(istartelem(i+1)-1)
36
ialelem(ifree)=ieldi(1,index)
41
istartelem(ne+1)=ifree