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

Go to the source code of this file.

Functions/Subroutines

subroutine evalshapefunc (xil, etl, xl2, nopes, p)
 

Function/Subroutine Documentation

◆ evalshapefunc()

subroutine evalshapefunc ( real*8  xil,
real*8  etl,
real*8, dimension(3,8)  xl2,
integer  nopes,
real*8, dimension(3)  p 
)
20 !
21  implicit none
22 !
23  integer i,j,nopes,iflag
24 !
25  real*8 xl2(3,8),xs2(3,2),shp2(7,8),p(3),xsj2(3),
26  & xil,etl
27 !
28  iflag=1
29  do j=1,3
30  p(j)=0.0
31  enddo
32  if(nopes.eq.8)then
33  call shape8q(xil,etl,xl2,xsj2,xs2,shp2,iflag)
34  elseif(nopes.eq.4)then
35  call shape4q(xil,etl,xl2,xsj2,xs2,shp2,iflag)
36  elseif(nopes.eq.6)then
37  call shape6tri(xil,etl,xl2,xsj2,xs2,shp2,iflag)
38  else
39  call shape3tri(xil,etl,xl2,xsj2,xs2,shp2,iflag)
40  endif
41  do i=1,nopes
42  do j=1,3
43  p(j)=p(j)+xl2(j,i)*shp2(4,i)
44  enddo
45  enddo
46 !
47  return
subroutine shape8q(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape8q.f:20
subroutine shape3tri(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape3tri.f:20
subroutine shape4q(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape4q.f:20
subroutine shape6tri(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape6tri.f:20
Hosted by OpenAircraft.com, (Michigan UAV, LLC)