anchor.diff:                               domain%cosine_zenith_angle%data_2d,       &
                                domain%latitude%data_2d,                  &
                                domain%longitude%data_2d,                 &
  -                             domain%dz_interface%data_3d,              &
  +                             domain%dz_interface%data_3d/2,              &
                                lsm_dt,                                   &
                                DZS,                                      &
                                num_soil_layers,                          &
  
positive.code:             IOPT_CRS = 1         ! canopy stomatal resistance (1 = Ball-Berry; 2 = Jarvis)
              IOPT_BTR = 1         ! soil moisture factor for stomatal resistance (1 = Noah; 2 = CLM; 3 = SSiB)
              IOPT_RUN = 1         ! runoff and gw (1 = SIMGM; 2 = SIMTOP; 3 = Schaake96; 4 = BATS)
              IOPT_SFC = 2         ! surface layer drag coefficient (CH & CM) (1 = M-O; 2 = Chen97)
              IOPT_FRZ = 1         ! supercooled liquid water (1 = NY06; 2 = Koren99)
              IOPT_INF = 1         ! frozen soil permeability (1 = NY06; 2 = Koren99)
              IOPT_RAD = 1         ! radiation transfer (1 = gap=F(3D,cosz); 2 = gap=0; 3 = gap=1-Fveg)
  
negative.code:                              domain%soil_texture_4%data_2d,            &  ! only used if iopt_soil = 2
                               domain%temperature%data_3d,               &
                               domain%water_vapor%data_3d,               &
                               domain%u_mass%data_3d*1.5,                    &
                               domain%v_mass%data_3d*1.5,                    &
                               domain%shortwave%data_2d,                 &
                               domain%shortwave_direct%data_2d,          &  ! only used in urban modules, which are currently disabled
                               domain%shortwave_diffuse%data_2d,         &  ! only used in urban modules, which are currently disabled
  