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

Go to the source code of this file.

Functions/Subroutines

subroutine predgmres_struct (n, b, x, nelt, ia, ja, a, isym, itol, tol, itmax, iter, err, ierr, iunit, sb, sx, rgwk, lrgw, igwk, ligw, rwork, iwork)
 

Function/Subroutine Documentation

◆ predgmres_struct()

subroutine predgmres_struct ( integer  n,
real*8, dimension(*)  b,
real*8, dimension(*)  x,
integer  nelt,
integer, dimension(*)  ia,
integer, dimension(*)  ja,
real*8, dimension(*)  a,
integer  isym,
integer  itol,
real*8  tol,
integer  itmax,
integer  iter,
real*8  err,
integer  ierr,
integer  iunit,
real*8, dimension(*)  sb,
real*8, dimension(*)  sx,
real*8, dimension(*)  rgwk,
integer  lrgw,
integer, dimension(*)  igwk,
integer  ligw,
real*8, dimension(*)  rwork,
integer, dimension(*)  iwork 
)
28 !
29  implicit none
30 !
31  integer n,nelt,ia(*),ja(*),isym,itol,itmax,iter,ierr,
32  & iunit,lrgw,igwk(*),ligw,iwork(*)
33 !
34  real*8 b(*),x(*),a(*),tol,err,sb(*),sx(*),rgwk(*),
35  & rwork(*)
36 !
38 !
39  itol=0
40  tol=1.e-6
41  itmax=0
42  iunit=0
43 !
44  igwk(1)=10
45  igwk(2)=10
46  igwk(3)=0
47  igwk(4)=1
48  igwk(5)=10
49  ligw=20
50 !
51  call dgmres(n,b,x,nelt,ia,ja,a,isym,matvec_struct,
52  & msolve_struct,itol,tol,itmax,
53  & iter,err,ierr,iunit,sb,sx,rgwk,lrgw,igwk,ligw,rwork,iwork)
54 !
55  return
subroutine matvec_struct(n, x, y, nelt, ia, ja, a, isym)
Definition: matvec_struct.f:27
subroutine msolve_struct(n, r, z, nelt, ia, ja, a, isym, rwork, iwork)
Definition: msolve_struct.f:22
subroutine dgmres(N, B, X, NELT, IA, JA, A, ISYM, MATVEC, MSOLVE, ITOL, TOL, ITMAX, ITER, ERR, IERR, IUNIT, SB, SX, RGWK, LRGW, IGWK, LIGW, RWORK, IWORK)
Definition: dgmres.f:8
Hosted by OpenAircraft.com, (Michigan UAV, LLC)