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

Go to the source code of this file.

Functions/Subroutines

subroutine posttransition (dgdxglob, nobject, nk, nodedesi, ndesi, objectset)
 

Function/Subroutine Documentation

◆ posttransition()

subroutine posttransition ( real*8, dimension(2,nk,nobject)  dgdxglob,
integer  nobject,
integer  nk,
integer, dimension(*)  nodedesi,
integer  ndesi,
character*81, dimension(4,*)  objectset 
)
21 !
22 ! Normalizing the sensitivities
23 !
24  implicit none
25 !
26  character*81 objectset(4,*)
27 !
28  integer nobject,nk,nodedesi(*),i,ndesi,m
29 !
30  real*8 dgdxglob(2,nk,nobject),dd
31 !
32 ! Scaling the greatest sensitivity value (absolute) to 1
33 !
34  do m=1,nobject
35  if(objectset(1,m)(1:9).eq.'THICKNESS') cycle
36  dd=0.d0
37  do i=1,ndesi
38  dd=max(dd,abs(dgdxglob(2,nodedesi(i),m)))
39  enddo
40  do i=1,ndesi
41  dgdxglob(2,nodedesi(i),m)=dgdxglob(2,nodedesi(i),m)/dd
42  enddo
43  enddo
44 !
45  return
#define max(a, b)
Definition: cascade.c:32
Hosted by OpenAircraft.com, (Michigan UAV, LLC)