/[MITgcm]/MITgcm/eesupp/src/nml_set_terminator.F
ViewVC logotype

Contents of /MITgcm/eesupp/src/nml_set_terminator.F

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


Revision 1.3 - (show annotations) (download)
Sat Mar 27 03:51:51 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint52n_post, checkpoint53d_post, checkpoint58u_post, checkpoint58w_post, checkpoint54a_pre, checkpoint57m_post, checkpoint55c_post, checkpoint54e_post, checkpoint57s_post, checkpoint54a_post, checkpoint53c_post, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint60, checkpoint61, checkpoint62, checkpoint57b_post, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint55h_post, checkpoint58n_post, checkpoint53b_post, checkpoint58x_post, checkpoint57g_pre, checkpoint54b_post, checkpoint53b_pre, checkpoint55b_post, checkpoint58t_post, checkpoint58h_post, checkpoint54d_post, checkpoint56c_post, checkpoint52m_post, checkpoint57y_pre, checkpoint55, checkpoint53a_post, checkpoint57f_pre, checkpoint57a_post, checkpoint54, checkpoint58q_post, checkpoint54f_post, checkpoint57v_post, checkpoint59q, checkpoint59p, checkpoint55g_post, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, checkpoint53, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint53g_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62p, checkpoint57c_post, checkpoint58y_post, checkpoint55e_post, checkpoint58k_post, checkpoint58v_post, checkpoint53f_post, checkpoint55a_post, checkpoint53d_pre, checkpoint54c_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.2: +3 -3 lines
 o cleanup comments (NO CODE CHANGES) in eesupp for protex
 o the "api reference" framework now builds documentation for:
     eesupp, pkg/generic_advdiff, and pkg/gmredi
 o remove mnc from the default gfd in pkg_groups pending
     further testing on systems where NetCDF is not installed

1 C $Header: /u/gcmpack/MITgcm/eesupp/src/nml_set_terminator.F,v 1.2 2004/02/24 20:41:08 cnh Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 #define FTN_NML_F90
7 #ifndef NML_TERMINATOR
8 #define NML_TERMINATOR ' &'
9 #else
10 #define NML_TERMINATOR ' /'
11 #endif
12
13 CBOP
14
15 C !ROUTINE: NML_SET_TERMINATOR
16
17 C !INTERFACE:
18 SUBROUTINE NML_SET_TERMINATOR(
19 I record
20 & )
21 IMPLICIT NONE
22
23 C !DESCRIPTION:
24 C *=================================================================*
25 C | SUBROUTINE NML\_SET\_TERMINATOR
26 C | o Set namelist terminator character
27 C *=================================================================*
28 C | Change trailing \& to trailing / when needed
29 C *=================================================================*
30
31 C !USES:
32 C == Global variables ==
33 #include "EEPARAMS.h"
34 INTEGER ILNBLNK
35 EXTERNAL ILNBLNK
36
37 C !INPUT/OUTPUT PARAMETERS:
38 C == Routine arguments ==
39 CHARACTER*(MAX_LEN_PREC) record
40
41 C !LOCAL VARIABLES:
42 C == Local variables ==
43 INTEGER il
44 CEOP
45
46 IL = MAX(ILNBLNK(RECORD),1)
47 IF ( IL .EQ. 2 ) THEN
48 IF ( RECORD(1:2) .EQ. ' &' ) THEN
49 RECORD(1:2) = NML_TERMINATOR
50 ENDIF
51 ENDIF
52 C
53 RETURN
54 END
55

  ViewVC Help
Powered by ViewVC 1.1.22