&GLOBAL
  PRINT_LEVEL medium
  PROJECT_NAME KCl
  RUN_TYPE MD
&END GLOBAL

&MOTION
  &MD
    ENSEMBLE NPT_I
    STEPS 10
    TEMPERATURE 1070
    TIMESTEP 1.0
    &BAROSTAT
      PRESSURE 1.01325
      TIMECON 100
    &END BAROSTAT
    &THERMOSTAT
      TYPE NOSE
      &NOSE
        TIMECON 100
      &END NOSE
    &END THERMOSTAT
  &END MD
  &PRINT
    &CELL
      &EACH
        MD 5
      &END EACH
    &END CELL
    &FORCES
      &EACH
        MD 5
      &END EACH
    &END FORCES
    &RESTART on
      &EACH
        MD 5
      &END EACH
    &END RESTART
    &RESTART_HISTORY
      &EACH
        MD 5
      &END EACH
    &END RESTART_HISTORY
    &STRESS
      &EACH
        MD 5
      &END EACH
    &END STRESS
    &TRAJECTORY
      &EACH
        MD 5
      &END EACH
    &END TRAJECTORY
    &VELOCITIES
      &EACH
        MD 5
      &END EACH
    &END VELOCITIES
  &END PRINT
&END MOTION

&FORCE_EVAL
  METHOD FIST
  STRESS_TENSOR ANALYTICAL
  &MM
    &FORCEFIELD
      &CHARGE
        ATOM Cl
        CHARGE -1.0
      &END CHARGE
      &CHARGE
        ATOM K
        CHARGE 1.0
      &END CHARGE
      &DIPOLE
        APOL 2.96369
        ATOM Cl
        &DAMPING
          ATOM K
          BIJ 2.759
          CIJ 2.8
          ORDER 4
        &END DAMPING
      &END DIPOLE
      &NONBONDED
        &BMHFTD
          A 100.0
          ATOMS Cl Cl
          B 2.89128
          BD 3.21254
          C 4.88053
          D 45.84421
          RCUT 10.0
        &END BMHFTD
        &BMHFTD
          A 57.7
          ATOMS Cl K
          B 2.92907
          BD 2.83459 2.83459
          C 1.10101
          D 1.67438
          RCUT 10.0
        &END BMHFTD
        &BMHFTD
          A 54.5
          ATOMS K K
          B 2.94797
          BD 2.83459 1.2
          C 0.55731
          D 0.55731
          RCUT 10.0
        &END BMHFTD
      &END NONBONDED
      &SPLINE
        EMAX_SPLINE 1.0E5
        R0_NB 0.1
      &END SPLINE
    &END FORCEFIELD
    &POISSON
      &EWALD
        ALPHA 0.35
        EWALD_TYPE ewald
        GMAX 23
        O_SPLINE 6
        &MULTIPOLES
          EPS_POL 1.0E-6
          MAX_IPOL_ITER 100
          MAX_MULTIPOLE_EXPANSION dipole
          POL_SCF conjugate_gradient
        &END MULTIPOLES
      &END EWALD
    &END POISSON
  &END MM
  &SUBSYS
    &CELL
      ABC 21.744 21.744 21.744
    &END CELL
    &KIND K
      ELEMENT K
      MASS 39.098
    &END KIND
    &KIND Cl
      ELEMENT Cl
      MASS 35.453
    &END KIND
    &TOPOLOGY
      COORD_FILE_FORMAT xyz
      COORD_FILE_NAME KCl.xyz
    &END TOPOLOGY
  &END SUBSYS
&END FORCE_EVAL
