split kspace style constructor into plain constructor and settings() method

This commit is contained in:
Axel Kohlmeyer
2018-10-18 16:30:45 -04:00
parent 4015b36a1a
commit 7deb1df2b6
5 changed files with 24 additions and 22 deletions

View File

@ -30,7 +30,7 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
KSpace::KSpace(LAMMPS *lmp, int /*narg*/, char **/*arg*/) : Pointers(lmp)
KSpace::KSpace(LAMMPS *lmp) : Pointers(lmp)
{
order_allocated = 0;
energy = 0.0;