1 ! 2 ! First, define the user-defined namelist variables as DOUBLE PRECISION, 3 ! INTEGER, LOGICAL, or CHARACTER. Second, include the variable in the 4 ! appropriate common. Third, add the variable name in the NAMELIST section. 5 ! A dummy variable is defined, so that the code can be compiled with the 6 ! template include file. 7 ! 8 DOUBLE PRECISION DUMMY_DPA 9 ! 10 ! Double Precision variables 11 COMMON / USR_DATA_DP / DUMMY_DPA 12 ! 13 ! Integer variables 14 ! COMMON / USR_DATA_I / 15 ! 16 ! Logical variables 17 ! COMMON / USR_DATA_L / 18 ! 19 ! Character variables 20 ! COMMON / USR_DATA_C / 21 ! 22 ! 23 NAMELIST / USR_INPUT_DATA / DUMMY_DPA 24