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

Go to the source code of this file.

Functions/Subroutines

subroutine meannode (nk, inum, v)
 

Function/Subroutine Documentation

◆ meannode()

subroutine meannode ( integer  nk,
integer, dimension(*)  inum,
real*8, dimension(0:4,*)  v 
)
20 !
21 ! taking the mean at the nodes
22 !
23  implicit none
24 !
25  integer nk,inum(*),i,j
26 !
27  real*8 v(0:4,*)
28 !
29  do i=1,nk
30  if(inum(i).ne.0) then
31  inum(i)=abs(inum(i))
32  do j=0,4
33  v(j,i)=v(j,i)/inum(i)
34  enddo
35  endif
36  write(*,*) 'meannode ',i,(v(j,i),j=1,3)
37  enddo
38 !
39  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)