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

Go to the source code of this file.

Functions/Subroutines

subroutine prefilter (co, nodedesi, ndesi, xo, yo, zo, x, y, z, nx, ny, nz)
 

Function/Subroutine Documentation

◆ prefilter()

subroutine prefilter ( real*8, dimension(3,*)  co,
integer, dimension(*)  nodedesi,
integer  ndesi,
real*8, dimension(ndesi)  xo,
real*8, dimension(ndesi)  yo,
real*8, dimension(ndesi)  zo,
real*8, dimension(ndesi)  x,
real*8, dimension(ndesi)  y,
real*8, dimension(ndesi)  z,
integer, dimension(ndesi)  nx,
integer, dimension(ndesi)  ny,
integer, dimension(ndesi)  nz 
)
21 !
22 ! Filtering of sensitivities
23 !
24  implicit none
25 !
26  integer nodedesi(*),ndesi,m,nx(ndesi),
27  & ny(ndesi),nz(ndesi),kflag
28 !
29  real*8 xo(ndesi),yo(ndesi),zo(ndesi),
30  & x(ndesi),y(ndesi),z(ndesi),co(3,*)
31 !
32 ! Create set of designnodes and perform the sorting
33 ! needed for near3d_se
34 !
35  do m=1,ndesi
36  xo(m)=co(1,nodedesi(m))
37  x(m)=xo(m)
38  nx(m)=m
39  yo(m)=co(2,nodedesi(m))
40  y(m)=yo(m)
41  ny(m)=m
42  zo(m)=co(3,nodedesi(m))
43  z(m)=zo(m)
44  nz(m)=m
45  enddo
46  kflag=2
47  call dsort(x,nx,ndesi,kflag)
48  call dsort(y,ny,ndesi,kflag)
49  call dsort(z,nz,ndesi,kflag)
50 !
51  return
subroutine dsort(dx, iy, n, kflag)
Definition: dsort.f:6
Hosted by OpenAircraft.com, (Michigan UAV, LLC)