2
! CalculiX - A 3-dimensional finite element program
3
! Copyright (C) 1998-2014 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 outputs(inpc,textpart,jout,itpamp,istep,istat,n,iline,
20
& ipol,inl,ipoinp,inp,ipoinpc)
22
! reading the *OUTPUT card in the input deck
27
character*132 textpart(16)
29
integer istep,istat,n,key,ii,jout(2),joutl,iline,ipol,inl,
30
& ipoinp(2,*),inp(3,*),ipoinpc(0:*),itpamp
33
write(*,*) '*ERROR reading *OUTPUT'
35
write(*,*) ' should only be used within a *STEP'
36
write(*,*) ' definition'
41
if(textpart(ii)(1:10).eq.'FREQUENCY=') then
42
read(textpart(ii)(11:20),'(i10)',iostat=istat) joutl
43
if(istat.gt.0) call inputerror(inpc,ipoinpc,iline,
47
call getnewline(inpc,textpart,istat,n,key,iline,ipol,
48
& inl,ipoinp,inp,ipoinpc)
49
if((key.eq.1).or.(istat.lt.0)) return
56
elseif(textpart(ii)(1:11).eq.'FREQUENCYF=') then
57
read(textpart(ii)(12:21),'(i10)',iostat=istat) joutl
58
if(istat.gt.0) call inputerror(inpc,ipoinpc,iline,
62
call getnewline(inpc,textpart,istat,n,key,iline,ipol,
63
& inl,ipoinp,inp,ipoinpc)
64
if((key.eq.1).or.(istat.lt.0)) return
73
& '*WARNING reading *NODE FILE or *EL FILE:'
74
write(*,*) ' parameter not recognized:'
76
& textpart(ii)(1:index(textpart(ii),' ')-1)
77
call inputwarning(inpc,ipoinpc,iline,
82
call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,