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

Go to the source code of this file.

Functions/Subroutines

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

Function/Subroutine Documentation

◆ op_corio()

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