@@ -567,6 +567,10 @@ subroutine decomposition_LU(a,i_min,n,indx,d)
567
567
568
568
end subroutine decomposition_LU
569
569
570
+ !
571
+ !- -------------------------------------------------------------------------------
572
+ !
573
+
570
574
subroutine LUbksb (a ,i_min ,n ,indx ,b ,m )
571
575
572
576
implicit none
@@ -608,6 +612,10 @@ subroutine LUbksb(a,i_min,n,indx,b,m)
608
612
609
613
end subroutine LUbksb
610
614
615
+ !
616
+ !- -------------------------------------------------------------------------------
617
+ !
618
+
611
619
subroutine syst_LU (a ,i_min ,n ,b ,m )
612
620
613
621
implicit none
@@ -633,6 +641,10 @@ subroutine syst_LU(a,i_min,n,b,m)
633
641
634
642
end subroutine syst_LU
635
643
644
+ !
645
+ !- -------------------------------------------------------------------------------
646
+ !
647
+
636
648
subroutine lfit_zener (x ,y ,sig ,ndat ,poids ,ia ,covar ,chisq ,ma ,Qref ,point )
637
649
! ma = nombre de variable diffusive
638
650
! ndat = m = K nombre d'abcisse freq_k
@@ -715,6 +727,10 @@ subroutine lfit_zener(x,y,sig,ndat,poids,ia,covar,chisq,ma,Qref,point)
715
727
716
728
end subroutine lfit_zener
717
729
730
+ !
731
+ !- -------------------------------------------------------------------------------
732
+ !
733
+
718
734
subroutine func_zener (x ,afunc ,N ,Qref ,point )
719
735
720
736
implicit none
@@ -735,6 +751,10 @@ subroutine func_zener(x,afunc,N,Qref,point)
735
751
736
752
end subroutine func_zener
737
753
754
+ !
755
+ !- -------------------------------------------------------------------------------
756
+ !
757
+
738
758
subroutine remplit_point (fmin ,fmax ,N ,point )
739
759
740
760
use constants, only: TWO_PI
@@ -759,6 +779,10 @@ subroutine remplit_point(fmin,fmax,N,point)
759
779
760
780
end subroutine remplit_point
761
781
782
+ !
783
+ !- -------------------------------------------------------------------------------
784
+ !
785
+
762
786
subroutine classical_linear_least_squares (Qref ,poids ,point ,N ,fmin ,fmax )
763
787
764
788
use constants, only: TWO_PI
@@ -798,6 +822,10 @@ subroutine classical_linear_least_squares(Qref,poids,point,N,fmin,fmax)
798
822
799
823
end subroutine classical_linear_least_squares
800
824
825
+ !
826
+ !- -------------------------------------------------------------------------------
827
+ !
828
+
801
829
! Calcul des coefficients par optimization non-lineaire avec contraintes
802
830
803
831
subroutine solvopt (n ,x ,f ,fun ,flg ,grad ,options ,flfc ,func ,flgc ,gradc ,Qref ,Kopt ,theta_min ,theta_max ,f_min ,f_max )
@@ -2052,6 +2080,10 @@ subroutine solvopt(n,x,f,fun,flg,grad,options,flfc,func,flgc,gradc,Qref,Kopt,the
2052
2080
2053
2081
end subroutine solvopt
2054
2082
2083
+ !
2084
+ !- -------------------------------------------------------------------------------
2085
+ !
2086
+
2055
2087
subroutine soptions (default )
2056
2088
! SOPTIONS returns the default values for the optional parameters
2057
2089
! used by SolvOpt.
@@ -2076,6 +2108,10 @@ subroutine soptions(default)
2076
2108
2077
2109
end subroutine soptions
2078
2110
2111
+ !
2112
+ !- -------------------------------------------------------------------------------
2113
+ !
2114
+
2079
2115
subroutine func_objective (x ,res ,freq ,Qref ,N ,Nopt )
2080
2116
2081
2117
implicit none
@@ -2097,6 +2133,10 @@ subroutine func_objective(x,res,freq,Qref,N,Nopt)
2097
2133
2098
2134
end subroutine func_objective
2099
2135
2136
+ !
2137
+ !- -------------------------------------------------------------------------------
2138
+ !
2139
+
2100
2140
subroutine func_mini (x ,res ,Qref ,N ,Nopt ,K ,f_min ,f_max )
2101
2141
2102
2142
! Nopt = 2*N : nombre de coefficients a optimiser
@@ -2124,6 +2164,10 @@ subroutine func_mini(x,res,Qref,N,Nopt,K,f_min,f_max)
2124
2164
2125
2165
end subroutine func_mini
2126
2166
2167
+ !
2168
+ !- -------------------------------------------------------------------------------
2169
+ !
2170
+
2127
2171
subroutine grad_func_mini (x ,grad ,Qref ,N ,Nopt ,K ,f_min ,f_max )
2128
2172
2129
2173
use constants, only: TWO_PI
@@ -2180,6 +2224,10 @@ subroutine grad_func_mini(x,grad,Qref,N,Nopt,K,f_min,f_max)
2180
2224
2181
2225
end subroutine grad_func_mini
2182
2226
2227
+ !
2228
+ !- -------------------------------------------------------------------------------
2229
+ !
2230
+
2183
2231
subroutine max_residu (x ,res ,N ,Nopt ,theta_min ,theta_max )
2184
2232
2185
2233
implicit none
@@ -2203,6 +2251,10 @@ subroutine max_residu(x,res,N,Nopt,theta_min,theta_max)
2203
2251
2204
2252
end subroutine max_residu
2205
2253
2254
+ !
2255
+ !- -------------------------------------------------------------------------------
2256
+ !
2257
+
2206
2258
subroutine grad_max_residu (x ,grad ,N ,Nopt ,theta_min ,theta_max )
2207
2259
2208
2260
implicit none
@@ -2249,6 +2301,10 @@ subroutine grad_max_residu(x,grad,N,Nopt,theta_min,theta_max)
2249
2301
2250
2302
end subroutine grad_max_residu
2251
2303
2304
+ !
2305
+ !- -------------------------------------------------------------------------------
2306
+ !
2307
+
2252
2308
subroutine nonlinear_optimization (N ,Qref ,f0 ,point ,poids ,f_min ,f_max )
2253
2309
2254
2310
use shared_input_parameters, only: USE_SOLVOPT
0 commit comments