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

Go to the source code of this file.

Functions/Subroutines

subroutine objective_freq (dgdx, df, vold, ndesi, iobject, mi, nactdofinv, jqs, irows)
 

Function/Subroutine Documentation

◆ objective_freq()

subroutine objective_freq ( real*8, dimension(ndesi,*)  dgdx,
real*8, dimension(*)  df,
real*8, dimension(0:mi(2),*)  vold,
integer  ndesi,
integer  iobject,
integer, dimension(*)  mi,
integer, dimension(*)  nactdofinv,
integer, dimension(*)  jqs,
integer, dimension(*)  irows 
)
22 !
23  implicit none
24 !
25  integer ndesi,iobject,mi(*),idesvar,j,idir,
26  & jqs(*),irows(*),nactdofinv(*),node,idof,inode,mt
27 !
28  real*8 dgdx(ndesi,*),df(*),vold(0:mi(2),*)
29 !
30 ! ----------------------------------------------------------------
31 ! Calculation of the total differential:
32 ! dgdx = dgdx + vold^(T) * ( df )
33 ! ----------------------------------------------------------------
34 !
35  mt=mi(2)+1
36 !
37  do idesvar=1,ndesi
38  do j=jqs(idesvar),jqs(idesvar+1)-1
39  idof=irows(j)
40  inode=nactdofinv(idof)
41  node=inode/mt+1
42  idir=inode-mt*(inode/mt)
43  dgdx(idesvar,iobject)=dgdx(idesvar,iobject)
44  & +vold(idir,node)*df(j)
45  enddo
46  enddo
47 !
48  return
subroutine df(x, u, uprime, rpar, nev)
Definition: subspace.f:133
Hosted by OpenAircraft.com, (Michigan UAV, LLC)