V3FIT
Main Page
Related Pages
Modules
Modules List
Module Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions/Subroutines
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Data Types List
Data Types List
Data Types
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions/Subroutines
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Files
File List
File Members
All
b
c
g
i
l
m
n
p
t
v
w
Functions/Subroutines
b
c
g
i
m
p
t
v
w
Variables
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Macros
Pages
LIBSTELL
Sources
Optimization
de_parallel.f90
1
SUBROUTINE
de_parallel(j,fcn)
2
USE
de_mod
3
IMPLICIT NONE
4
INTEGER
:: j
5
EXTERNAL
fcn
6
#if !defined(MPI_OPT)
7
REAL
(rprec),
DIMENSION(n_free)
:: x
8
REAL
(rprec),
DIMENSION(nopt)
:: fvec
9
10
INTEGER
:: iflag
11
REAL
(rprec) :: funcval
12
13
iflag=j
14
x(:) = ui_xc(j,:)
15
16
CALL
fcn(nopt, n_free, x, fvec, iflag, nfev)
17
funcval = sum(fvec(:nopt)**2)
18
19
WRITE
(j+1000) j, iflag, funcval
20
CLOSE
(j+1000)
21
22
WRITE
(6,
'(a,f12.5,a,i3)'
)
' FUNCVAL = '
, funcval,
&
23
' for iteration '
, j+nfev
24
#endif
25
END SUBROUTINE
de_parallel
Generated on Thu Mar 5 2020 15:49:24 for V3FIT by
1.8.17