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

Go to the source code of this file.

Functions/Subroutines

subroutine op (n, x, y, ad, au, jq, irow)
 

Function/Subroutine Documentation

◆ op()

subroutine op ( integer  n,
real*8, dimension(*)  x,
real*8, dimension(*)  y,
real*8, dimension(*)  ad,
real*8, dimension(*)  au,
integer, dimension(*)  jq,
integer, dimension(*)  irow 
)
26 !
27  implicit none
28 !
29  integer irow(*),n,j,l,i,jq(*)
30  real*8 y(*),x(*),au(*),ad(*)
31 !
32 ! diagonal terms
33 !
34  do i=1,n
35  y(i)=ad(i)*x(i)
36  enddo
37 !
38 ! off-diagonal terms
39 !
40  do j=1,n
41  do l=jq(j),jq(j+1)-1
42  i=irow(l)
43  y(i)=y(i)+au(l)*x(j)
44  y(j)=y(j)+au(l)*x(i)
45  enddo
46  enddo
47 !
48  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)