1! 2! CalculiX - A 3-dimensional finite element program 3! Copyright (C) 1998-2021 Guido Dhondt 4! 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); 8! 9! 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. 14! 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. 18! 19 subroutine writedeigdx(iev,d,ndesi,orname,dgdx) 20! 21! writes the derivative of the eigenfrequencies w.r.t. 22! the orientations in the .dat file 23! 24 implicit none 25! 26 character*5 angle 27 character*80 orname(*) 28! 29 integer idesvar,ndesi,iorien,iangle,iev 30! 31 real*8 dgdx(ndesi,*),d(*) 32! 33! 34 write(5,*) 35 write(5,*) ' E I G E N V A L U E S E N S I T I V I T Y' 36 write(5,*) 37 write(5,'(a10,2x,i5,2x,e11.4)') 'EIGENVALUE',iev+1,d(iev+1) 38 write(5,*) 39! 40 do idesvar=1,ndesi 41 iorien=(idesvar-1)/3+1 42 iangle=idesvar-((idesvar-1)/3)*3 43 if(iangle.eq.1) then 44 angle=' Rx' 45 elseif(iangle.eq.2) then 46 angle=' Ry' 47 else 48 angle=' Rz' 49 endif 50 write(5,'(a80,1x,a5,1x,e11.4)') orname(iorien),angle, 51 & dgdx(idesvar,1) 52 enddo 53! 54 return 55 end 56 57