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

Go to the source code of this file.

Functions/Subroutines

subroutine writempc (ipompc, nodempc, coefmpc, labmpc, mpc)
 

Function/Subroutine Documentation

◆ writempc()

subroutine writempc ( integer, dimension(*)  ipompc,
integer, dimension(3,*)  nodempc,
real*8, dimension(*)  coefmpc,
character*20, dimension(*)  labmpc,
integer  mpc 
)
20 !
21 ! writes an MPC to standard output (for debugging purposes)
22 !
23  implicit none
24 !
25  character*20 labmpc(*)
26  integer ipompc(*),nodempc(3,*),mpc,index,node,idir
27  real*8 coefmpc(*),coef
28 !
29  write(*,*)
30  write(*,'(''MPC '',i10,1x,a20)') mpc,labmpc(mpc)
31  index=ipompc(mpc)
32  do
33  node=nodempc(1,index)
34  idir=nodempc(2,index)
35  coef=coefmpc(index)
36  write(*,'(i10,1x,i5,1x,e11.4)') node,idir,coef
37 c write(*,'(i10,1x,i10,1x,i5,1x,e11.4)') index,node,idir,coef
38  index=nodempc(3,index)
39  if(index.eq.0) exit
40  enddo
41 !
42  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)