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

Go to the source code of this file.

Functions/Subroutines

subroutine add_bo_st (au, jq, irow, i, j, value)
 

Function/Subroutine Documentation

◆ add_bo_st()

subroutine add_bo_st ( real*8, dimension(*), intent(inout)  au,
integer, dimension(*), intent(in)  jq,
integer, dimension(*), intent(in)  irow,
integer, intent(in)  i,
integer, intent(in)  j,
real*8, intent(in)  value 
)
20 !
21 ! stores the boundary stiffness coefficient (i,j) with value "value"
22 ! in the stiffness matrix stored in spare matrix format
23 !
24  implicit none
25 !
26  integer jq(*),irow(*),i,j,ipointer,id
27 !
28  real*8 au(*),value
29 !
30  intent(in) jq,irow,i,j,value
31 !
32  intent(inout) au
33 !
34  call nident(irow(jq(j)),i,jq(j+1)-jq(j),id)
35 !
36  ipointer=jq(j)+id-1
37 !
38  if(irow(ipointer).ne.i) then
39 c write(*,*) i,j,ipointer,irow(ipointer)
40  write(*,*) '*ERROR in add_bo_st: coefficient should be 0'
41  call exit(201)
42  else
43  au(ipointer)=au(ipointer)+value
44  endif
45 !
46  return
subroutine nident(x, px, n, id)
Definition: nident.f:26
Hosted by OpenAircraft.com, (Michigan UAV, LLC)