From dcd6bea172e9de285e2ba20bf08900eec0a3b4a4 Mon Sep 17 00:00:00 2001 From: Sam Cameron Date: Tue, 29 Mar 2022 11:22:21 +0100 Subject: [PATCH] one final fix in constructor of asphere. --- src/BROWNIAN/fix_brownian_asphere.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/BROWNIAN/fix_brownian_asphere.cpp b/src/BROWNIAN/fix_brownian_asphere.cpp index 68199a22c1..9512dffd95 100644 --- a/src/BROWNIAN/fix_brownian_asphere.cpp +++ b/src/BROWNIAN/fix_brownian_asphere.cpp @@ -45,6 +45,11 @@ FixBrownianAsphere::FixBrownianAsphere(LAMMPS *lmp, int narg, char **arg) : if(!atom->ellipsoid_flag) error->all(FLERR, "Fix brownian/asphere requires atom style ellipsoid"); + + if (planar_rot_flag) { + error->warning(FLERR,"Ignoring first two entries of gamma_r_eigen since rotation is planar."); + } + } /* ---------------------------------------------------------------------- */