|
C |
|
1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
#include "PACKAGES_CONFIG.h" |
#include "COST_OPTIONS.h" |
|
#include "COST_CPPOPTIONS.h" |
|
|
|
|
5 |
|
|
6 |
subroutine cost_dependent_init( mythid ) |
subroutine cost_dependent_init( mythid ) |
7 |
|
|
46 |
itlo = mybxlo(mythid) |
itlo = mybxlo(mythid) |
47 |
ithi = mybxhi(mythid) |
ithi = mybxhi(mythid) |
48 |
|
|
49 |
fc = 0.0 |
#ifdef ALLOW_AUTODIFF_OPENAD |
50 |
|
fc%v = 0.0 |
51 |
|
#else |
52 |
|
fc = 0. _d 0 |
53 |
|
#endif |
54 |
|
|
55 |
#ifdef ALLOW_AUTODIFF |
#ifdef ALLOW_AUTODIFF |
56 |
|
|
57 |
|
#ifdef ALLOW_AUTODIFF_OPENAD |
58 |
adfc = 1.0 |
adfc = 1.0 |
59 |
#ifdef ALLOW_DIC |
#else |
60 |
adtotcost = 1.0 |
if ( myProcId .EQ. 0 ) then |
61 |
|
adfc = 1. _d 0 |
62 |
|
endif |
63 |
#endif |
#endif |
64 |
|
|
65 |
do bj = jtlo,jthi |
do bj = jtlo,jthi |
89 |
|
|
90 |
return |
return |
91 |
end |
end |
|
|
|