mirror of
https://github.com/HongjianFang/DSurfTomo.git
synced 2026-01-08 01:21:07 +08:00
fix bug
fix bug about depm on a certain OS, including MAC OSx, seems it doesn't affect Linux OS. Also change the chi squre equation to sqrt(x^2/n)
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
rhom(kk) = rhoz(kk)
|
||||
enddo
|
||||
!!half space
|
||||
depm(mmax) = depz(mmax)
|
||||
vsm(mmax) = vsz(mmax)
|
||||
vpm(mmax) = vpz(mmax)
|
||||
rhom(mmax) = rhoz(mmax)
|
||||
|
||||
Binary file not shown.
@@ -495,12 +495,12 @@
|
||||
write(*,'(a,f7.3)'),'weight is:',weight
|
||||
write(*,'(a,f8.1,a,f8.2,a,f8.3)'),'mean,std_devs and chi sqrue of &
|
||||
residual: ',mean*1000,'ms ',1000*std_devs,'ms ',&
|
||||
dnrm2(dall,cbst,1)**2/dall
|
||||
dnrm2(dall,cbst,1)**2/sqrt(dall)
|
||||
write(66,'(i2,a)'),iter,'th iteration...'
|
||||
write(66,'(a,f7.3)'),'weight is:',weight
|
||||
write(66,'(a,f8.1,a,f8.2,a,f8.3)'),'mean,std_devs and chi sqrue of &
|
||||
residual: ',mean*1000,'ms ',1000*std_devs,'ms ',&
|
||||
dnrm2(dall,cbst,1)**2/dall
|
||||
dnrm2(dall,cbst,1)**2/sqrt(dall)
|
||||
|
||||
write(*,'(a,2f7.4)'),'min and max velocity variation ',&
|
||||
minval(dv),maxval(dv)
|
||||
|
||||
Reference in New Issue
Block a user