diff --git a/doc/src/compute_efield_atom.rst b/doc/src/compute_efield_atom.rst index 51e61b83b1..04f3e4dc37 100644 --- a/doc/src/compute_efield_atom.rst +++ b/doc/src/compute_efield_atom.rst @@ -25,8 +25,8 @@ Used in input scripts: .. parsed-literal:: - examples/USER/dielectric/in.confined - examples/USER/dielectric/in.nopbc + examples/PACKAGES/dielectric/in.confined + examples/PACKAGES/dielectric/in.nopbc Description """"""""""" diff --git a/doc/src/fix_polarize.rst b/doc/src/fix_polarize.rst index 323e00b34d..bebed3aba0 100644 --- a/doc/src/fix_polarize.rst +++ b/doc/src/fix_polarize.rst @@ -38,9 +38,8 @@ Used in input scripts: .. parsed-literal:: - examples/USER/dielectric/in.confined - examples/USER/dielectric/in.nopbc - + examples/PACKAGES/dielectric/in.confined + examples/PACKAGES/dielectric/in.nopbc Description """"""""""" diff --git a/doc/src/pair_dielectric.rst b/doc/src/pair_dielectric.rst index a130a86b5e..96c2031317 100644 --- a/doc/src/pair_dielectric.rst +++ b/doc/src/pair_dielectric.rst @@ -36,11 +36,6 @@ pair_style lj/long/coul/long/dielectric command Syntax """""" -TODO FIX the rest of the file - -Syntax -"""""" - .. code-block:: LAMMPS pair_style style args @@ -71,8 +66,8 @@ Used in input scripts: .. parsed-literal:: - examples/USER/dielectric/in.confined - examples/USER/dielectric/in.nopbc + examples/PACKAGES/dielectric/in.confined + examples/PACKAGES/dielectric/in.nopbc Description """"""""""" @@ -115,7 +110,7 @@ This pair style can only be used via the *pair* keyword of the Restrictions """""""""""" -These styles are part of the USER-DIELECTRIC package. They are only enabled if +These styles are part of the DIELECTRIC package. They are only enabled if LAMMPS was built with that package. See the :doc:`Build package ` doc page for more info. Related commands diff --git a/src/DIELECTRIC/pppm_disp_dielectric.cpp b/src/DIELECTRIC/pppm_disp_dielectric.cpp index 4351dc2687..6f1ea9df39 100644 --- a/src/DIELECTRIC/pppm_disp_dielectric.cpp +++ b/src/DIELECTRIC/pppm_disp_dielectric.cpp @@ -1,3 +1,4 @@ +// clang-format off /* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://www.lammps.org/ Sandia National Laboratories diff --git a/src/DIELECTRIC/pppm_disp_dielectric.h b/src/DIELECTRIC/pppm_disp_dielectric.h index ac7ced5379..8f0476ab40 100644 --- a/src/DIELECTRIC/pppm_disp_dielectric.h +++ b/src/DIELECTRIC/pppm_disp_dielectric.h @@ -12,9 +12,9 @@ ------------------------------------------------------------------------- */ #ifdef KSPACE_CLASS - -KSpaceStyle(pppm/disp/dielectric,PPPMDispDielectric) - +// clang-format off +KSpaceStyle(pppm/disp/dielectric,PPPMDispDielectric); +// clang-format on #else #ifndef LMP_PPPM_DISP_DIELECTRIC_H @@ -33,20 +33,20 @@ class PPPMDispDielectric : public PPPMDisp { void qsum_qsq(); void slabcorr(int); - double** efield; - double* phi; - int potflag; // 1/0 if per-atom electrostatic potential phi is needed + double **efield; + double *phi; + int potflag; // 1/0 if per-atom electrostatic potential phi is needed protected: virtual void fieldforce_c_ik(); virtual void fieldforce_c_ad(); virtual void fieldforce_c_peratom(); - class AtomVecDielectric* avec; + class AtomVecDielectric *avec; int mu_flag; }; -} +} // namespace LAMMPS_NS #endif #endif