integer*4 n1,i,j,icd,ivarprd,k,iper,is,fa,fb,iter,x
integer*4 iprd,iprd0,isite,ico
character fexpdat*200,fmodel*200,fout*200
real*4 prunit,period
real:: g,g1,e,e1
real:: zxy_re_e,zxy_im_e,zxy_re_h,zxy_im_h
real:: sens_zxy_ree,sens_zxy_ime,sens_zxy_reh,sens_zxy_imh
real:: ro_e,ro_h,phase_e,phase_h
real:: sens_ro_e,sens_phase_e,sens_ro_h,sens_phase_h
real:: ro_ed, phase_ed,ro_hd,phase_hd
real:: dmro_e,dmphase_e,dmro_h,dmphase_h
real*4 norm20,norm21
real:: zag21,zag22,koefnumero,dmfnorm
real,dimension(21) :: l
real, dimension(80,21) :: sens,wfm
real, dimension(21,80) :: ist,ftw
integer,dimension(80,80) :: wd,wd2
real,dimension(80,1):: d,zag1
real,dimension(1,21):: trlt
real,dimension(21,1):: l0,p,q,lmat,dlm
integer,dimension(21,21) :: wm,wm2,wm3
lbig is declared in module :
module mt2ddat
c ==============
c Further parameters of the 2D model related to the output data of the
c modeling
use params
c
implicit none
c
c Actual number of periods, number of sites on the surface we are
c interested in
integer*4 np,nsites
c
c Periods of the EM field
real*4 per(npmax)
c
c Positions of the sites of interest in terms of the horizontal
c mesh index (1 is the left margin, N is the right margin);
c IRCPR is a flag indicating that the reciprocity approach will (1)
c or will not (0) used in the sensitivity evaluations
integer*4 isit(nmax),ircpr
c
c MT transfer functions for one single period at all surface mesh
c nodes and MT transfer functions aggregated for all periods computed
real*4 zmd1p(nmax,nfmax),zmd(npmax,nmax,nfmax)
real*4 zmd2p(nmax,nfmax),zmd2(npmax,nmax,nfmax)
real*4 aprph1d(nmax,nfmax)
real*4 sens1p(nmax,nfmax)
real*4 data(nmax,nfmax)
real*4 dmf(nmax,nfmax)
real*4 alpha
c all calculation arrays for inversion
real*4 lbig(nmax,itermax)
end module
c