mirror of https://github.com/lammps/lammps.git
error out when per-atom stress is requested for bonded interactions with USER-INTEL
This commit is contained in:
parent
61483da58b
commit
16f66dc561
|
@ -79,6 +79,8 @@ void AngleCharmmIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -79,6 +79,8 @@ void AngleHarmonicIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -75,6 +75,8 @@ void BondFENEIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -75,6 +75,8 @@ void BondHarmonicIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -85,6 +85,8 @@ void DihedralCharmmIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
|
|
|
@ -74,6 +74,8 @@ void DihedralFourierIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -74,6 +74,8 @@ void DihedralHarmonicIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -78,6 +78,8 @@ void DihedralOPLSIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -84,6 +84,8 @@ void ImproperCvffIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
|
@ -85,6 +85,8 @@ void ImproperHarmonicIntel::compute(int eflag, int vflag,
|
|||
const ForceConst<flt_t> &fc)
|
||||
{
|
||||
ev_init(eflag,vflag);
|
||||
if (vflag_atom)
|
||||
error->all(FLERR,"USER-INTEL package does not support per-atom stress");
|
||||
|
||||
if (evflag) {
|
||||
if (vflag && !eflag) {
|
||||
|
|
Loading…
Reference in New Issue