Per-atom virial is not yet supported with pppm/dipole
This commit is contained in:
@ -12,8 +12,7 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
Contributing authors: Julien Tranchida (SNL)
|
||||
Stan Moore (SNL)
|
||||
Contributing authors: Julien Tranchida (SNL), Stan Moore (SNL)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include <mpi.h>
|
||||
|
||||
@ -13,7 +13,6 @@
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
Contributing authors: Julien Tranchida (SNL)
|
||||
Stan Moore (SNL)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include <mpi.h>
|
||||
|
||||
@ -12,8 +12,7 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
Contributing author: Stan Moore (SNL)
|
||||
Julien Tranchida (SNL)
|
||||
Contributing authors: Stan Moore (SNL), Julien Tranchida (SNL)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include <mpi.h>
|
||||
@ -441,6 +440,10 @@ void PPPMDipole::compute(int eflag, int vflag)
|
||||
else evflag = evflag_atom = eflag_global = vflag_global =
|
||||
eflag_atom = vflag_atom = 0;
|
||||
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"Cannot (yet) compute per-atom virial "
|
||||
"with kspace style pppm/dipole"
|
||||
|
||||
if (evflag_atom && !peratom_allocate_flag) {
|
||||
allocate_peratom();
|
||||
cg_peratom_dipole->ghost_notify();
|
||||
|
||||
@ -160,6 +160,10 @@ E: PPPM grid stencil extends beyond nearest neighbor processor
|
||||
|
||||
This is not allowed if the kspace_modify overlap setting is no.
|
||||
|
||||
E: Cannot (yet) compute per-atom virial with kspace style pppm/dipole
|
||||
|
||||
This feature is not yet supported.
|
||||
|
||||
E: KSpace accuracy must be > 0
|
||||
|
||||
The kspace accuracy designated in the input must be greater than zero.
|
||||
|
||||
@ -12,8 +12,7 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
Contributing author: Stan Moore (SNL)
|
||||
Julien Tranchida (SNL)
|
||||
Contributing author: Julien Tranchida (SNL)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include <mpi.h>
|
||||
@ -300,6 +299,10 @@ void PPPMDipoleSpin::compute(int eflag, int vflag)
|
||||
else evflag = evflag_atom = eflag_global = vflag_global =
|
||||
eflag_atom = vflag_atom = 0;
|
||||
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"Cannot (yet) compute per-atom virial "
|
||||
"with kspace style pppm/dipole/spin"
|
||||
|
||||
if (evflag_atom && !peratom_allocate_flag) {
|
||||
allocate_peratom();
|
||||
cg_peratom_dipole->ghost_notify();
|
||||
|
||||
@ -119,6 +119,10 @@ E: PPPM grid stencil extends beyond nearest neighbor processor
|
||||
|
||||
This is not allowed if the kspace_modify overlap setting is no.
|
||||
|
||||
E: Cannot (yet) compute per-atom virial with kspace style pppm/dipole/spin
|
||||
|
||||
This feature is not yet supported.
|
||||
|
||||
E: KSpace accuracy must be > 0
|
||||
|
||||
The kspace accuracy designated in the input must be greater than zero.
|
||||
|
||||
Reference in New Issue
Block a user