/[MITgcm]/MITgcm/verification/OpenAD/code_oad_all/ad_s_ifnblnk.F
ViewVC logotype

Contents of /MITgcm/verification/OpenAD/code_oad_all/ad_s_ifnblnk.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jan 29 21:46:49 2009 UTC (15 years, 3 months ago) by utke
Branch: MAIN
CVS Tags: checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint62u, checkpoint62t, checkpoint64a, checkpoint62z, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint61t, checkpoint62x, checkpoint61k, checkpoint61j, checkpoint61x, checkpoint61q, checkpoint61y, checkpoint61u, checkpoint61r, checkpoint61m, checkpoint61i, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint62y, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint61z, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint62s, checkpoint61v, checkpoint62r, checkpoint61p, checkpoint62q, checkpoint64, checkpoint62p, checkpoint62, checkpoint63, checkpoint62w, checkpoint61s, checkpoint61w, checkpoint62v
added files following the new naming convention _oad for OpenAD
verification experiments

1 #include "CPP_EEOPTIONS.h"
2
3 CBOP
4 C !ROUTINE: IFNBLNK
5
6 C !INTERFACE:
7 subroutine oad_s_IFNBLNK( string, index )
8 IMPLICIT NONE
9
10 C !DESCRIPTION:
11 C *==========================================================*
12 C | FUNCTION IFNBLNK |
13 C | o Find first non-blank in character string. |
14 C *==========================================================*
15 C
16 C !INPUT PARAMETERS:
17 C string :: String to find first non-blank in.
18 CHARACTER*(*) string
19 integer index
20
21 C !LOCAL VARIABLES:
22 C L, LS :: Temps for string locations
23 INTEGER L, LS
24 CEOP
25 C
26 LS = LEN(string)
27 index = 0
28 L=1
29 DO while ((L.le.LS).and.(string(L:L) .eq. ' '))
30 L=L+1
31 end do
32 index = L
33 END

  ViewVC Help
Powered by ViewVC 1.1.22