1 |
heimbach |
1.1 |
|
2 |
|
|
#include "COST_CPPOPTIONS.h" |
3 |
|
|
|
4 |
|
|
|
5 |
|
|
subroutine cost_obcs( |
6 |
|
|
I myiter, |
7 |
|
|
I mytime, |
8 |
|
|
I mythid |
9 |
|
|
& ) |
10 |
|
|
|
11 |
|
|
c ================================================================== |
12 |
|
|
c SUBROUTINE cost_obcs |
13 |
|
|
c ================================================================== |
14 |
|
|
c |
15 |
|
|
c o Evaluate cost function contributions for obc's |
16 |
|
|
c |
17 |
|
|
c ================================================================== |
18 |
|
|
c SUBROUTINE cost_obcs |
19 |
|
|
c ================================================================== |
20 |
|
|
|
21 |
|
|
implicit none |
22 |
|
|
|
23 |
|
|
c == global variables == |
24 |
|
|
|
25 |
|
|
c == routine arguments == |
26 |
|
|
|
27 |
|
|
integer myiter |
28 |
|
|
_RL mytime |
29 |
|
|
integer mythid |
30 |
|
|
|
31 |
|
|
c == local variables == |
32 |
heimbach |
1.2 |
|
33 |
heimbach |
1.1 |
|
34 |
|
|
c == end of interface == |
35 |
|
|
|
36 |
heimbach |
1.2 |
#ifdef ALLOW_OBCSN_COST_CONTRIBUTION |
37 |
|
|
call cost_obcsn ( myiter, mytime, mythid ) |
38 |
heimbach |
1.1 |
#endif |
39 |
|
|
|
40 |
heimbach |
1.2 |
#ifdef ALLOW_OBCSS_COST_CONTRIBUTION |
41 |
|
|
call cost_obcss ( myiter, mytime, mythid ) |
42 |
heimbach |
1.1 |
#endif |
43 |
|
|
|
44 |
heimbach |
1.2 |
#ifdef ALLOW_OBCSW_COST_CONTRIBUTION |
45 |
|
|
call cost_obcsw ( myiter, mytime, mythid ) |
46 |
heimbach |
1.1 |
#endif |
47 |
|
|
|
48 |
heimbach |
1.2 |
#ifdef ALLOW_OBCSE_COST_CONTRIBUTION |
49 |
|
|
call cost_OBCSE ( myiter, mytime, mythid ) |
50 |
heimbach |
1.1 |
#endif |
51 |
|
|
|
52 |
|
|
end |