9 |
& ) |
& ) |
10 |
|
|
11 |
c ================================================================== |
c ================================================================== |
12 |
c SUBROUTINE cost_geoid |
c SUBROUTINE cost_readgeoid |
13 |
c ================================================================== |
c ================================================================== |
14 |
c |
c |
15 |
c o Evaluate the cost function of the geoid contribution. |
c o Evaluate the cost function of the geoid contribution. |
27 |
c - debugged and restructuted |
c - debugged and restructuted |
28 |
c |
c |
29 |
c ================================================================== |
c ================================================================== |
30 |
c SUBROUTINE cost_geoid |
c SUBROUTINE cost_readgeoid |
31 |
c ================================================================== |
c ================================================================== |
32 |
|
|
33 |
implicit none |
implicit none |
46 |
character*(MAX_LEN_FNAM) geoid_covariancefile |
character*(MAX_LEN_FNAM) geoid_covariancefile |
47 |
integer reclength |
integer reclength |
48 |
integer jrec |
integer jrec |
49 |
|
#ifndef ALLOW_SPHERE |
50 |
|
c-- dummy declaration |
51 |
|
integer ncshc |
52 |
|
parameter ( ncshc = 1 ) |
53 |
|
#endif |
54 |
Real*8 pinv( ncshc ) |
Real*8 pinv( ncshc ) |
55 |
integer mythid |
integer mythid |
56 |
|
|
71 |
|
|
72 |
c == end of interface == |
c == end of interface == |
73 |
|
|
74 |
|
#ifndef ALLOW_SPHERE |
75 |
|
print *, 'WARNING: this routine assumes package sphere' |
76 |
|
print *, 'enable sphere in packages.conf when using ' |
77 |
|
print *, 'CPP option ALLOW_EGM96_ERROR_COV' |
78 |
|
STOP 'in S/R cost_readgeoid' |
79 |
|
#endif |
80 |
|
|
81 |
c-- Only the master thread is doing I/O |
c-- Only the master thread is doing I/O |
82 |
_BEGIN_MASTER( mythid ) |
_BEGIN_MASTER( mythid ) |
83 |
|
|