Tweak error message
This commit is contained in:
@ -324,7 +324,7 @@ void FixQEqReaxFFKokkos<DeviceType>::allocate_matrix()
|
||||
Kokkos::parallel_reduce(nn,neigh_functor,m_cap_big);
|
||||
}
|
||||
if (m_cap_big > MAXSMALLINT)
|
||||
error->one(FLERR,"Number of neighbors too large in fix qeq/reaxff");
|
||||
error->one(FLERR,"Too many neighbors in fix qeq/reaxff");
|
||||
m_cap = m_cap_big;
|
||||
|
||||
// deallocate first to reduce memory overhead
|
||||
|
||||
@ -264,7 +264,7 @@ void FixQEq::allocate_matrix()
|
||||
}
|
||||
bigint m_cap_big = MAX((int)(m * safezone), mincap * MIN_NBRS);
|
||||
if (m_cap_big > MAXSMALLINT)
|
||||
error->one(FLERR,"Number of neighbors too large in fix qeq/reaxff");
|
||||
error->one(FLERR,"Too many neighbors in fix qeq");
|
||||
m_cap = m_cap_big;
|
||||
|
||||
H.n = n_cap;
|
||||
|
||||
@ -363,7 +363,7 @@ void FixQEqReaxFF::allocate_matrix()
|
||||
}
|
||||
bigint m_cap_big = MAX((int)(m * safezone), mincap * REAX_MIN_NBRS);
|
||||
if (m_cap_big > MAXSMALLINT)
|
||||
error->one(FLERR,"Number of neighbors too large in fix qeq/reaxff");
|
||||
error->one(FLERR,"Too many neighbors in fix qeq/reaxff");
|
||||
m_cap = m_cap_big;
|
||||
|
||||
H.n = n_cap;
|
||||
|
||||
Reference in New Issue
Block a user