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

Go to the source code of this file.

Functions/Subroutines

subroutine opas (n, x, y, ad, au, jq, irow, nzs)
 

Function/Subroutine Documentation

◆ opas()

subroutine opas ( integer  n,
real*8, dimension(*)  x,
real*8, dimension(*)  y,
real*8, dimension(*)  ad,
real*8, dimension(*)  au,
integer, dimension(*)  jq,
integer, dimension(*)  irow,
integer, dimension(3)  nzs 
)
26 !
27  implicit none
28 !
29  integer irow(*),n,nzs(3),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+nzs(3))*x(i)
45  enddo
46  enddo
47 !
48  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)