CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
writepf.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine writepf (d, bjr, bji, freq, nev, mode, nherm)
 

Function/Subroutine Documentation

◆ writepf()

subroutine writepf ( real*8, dimension(*)  d,
real*8, dimension(*)  bjr,
real*8, dimension(*)  bji,
real*8  freq,
integer  nev,
integer  mode,
integer  nherm 
)
20 !
21 ! writes the participation factors to unit 5
22 !
23  implicit none
24 !
25  integer j,nev,mode,nherm
26  real*8 d(*),bjr(*),bji(*),freq,pi
27 !
28  pi=4.d0*datan(1.d0)
29 !
30  write(5,*)
31  if(mode.eq.0) then
32  write(5,100) freq
33  else
34  write(5,101) mode
35  endif
36 !
37  100 format('P A R T I C I P A T I O N F A C T O R S F O R',
38  &' F R E Q U E N C Y ',e20.13,' (CYCLES/TIME)')
39  101 format('P A R T I C I P A T I O N F A C T O R S F O R',
40  &' M O D E ',i5)
41 !
42  if(nherm.eq.1) then
43  write(5,*)
44  write(5,*) 'MODE NO FREQUENCY FACTOR'
45  write(5,*) ' (CYCLES/TIME) REAL IMAGINARY'
46  write(5,*)
47  do j=1,nev
48  write(5,'(i7,3(2x,e14.7))') j,d(j)/(2.d0*pi),bjr(j),bji(j)
49  enddo
50  else
51  write(5,*)
52  write(5,*)
53  &'MODE NO FREQ. (REAL) FREQ. (IMAG) FACTOR'
54  write(5,*)
55  &' (CYCLES/TIME) (RAD/TIME) REAL IMAGINARY'
56  write(5,*)
57  do j=1,nev
58  write(5,'(i7,4(2x,e14.7))') j,d(2*j-1)/(2.d0*pi),d(2*j),
59  & bjr(j),bji(j)
60  enddo
61  endif
62 !
63  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)