Hi,
I have a 2D system with charges. Since fix enforce2d can’t be used if dimension = 3, I have choose dimension = 2. However ewald and pppm can’t be used if dimension = 2. Therefore the only choice I have is to use coul/cut to calculate Coulombic interactions. Is my understanding correct?
In the version of 5 oct 2007, LAMMPS allows to use fix enforce2d when dimension = 2. But in the new version, LAMMPS prevent it by the following:
/* ---------------------------------------------------------------------- */
void FixEnforce2D::init()
{
if (domain->dimension == 3)
error->all(“Should not use fix enforce2d with 3d simulation”);
}
Is there any reason for this change?
All the best!
Dongsheng