[lammps-users] fix rigid for granular material


I would like to use the fix rigid command with granular materials. However, when I try to do this, I get a memory-fault type error (on a Mac running OS X v.10.5.4), which makes me suspect that some array is being accessed that hasn't been allocated. Should the fix rigid command work with granular materials? If not, might there be an easy way to modify the fix_rigid.cpp source file to solve this problem?


Jonathan Fleischmann
Ph.D. student, U.W. Madison

Fix rigid assumes atom mass is defined per type, not per atom like
atom style granular uses. In the next month I'll release a new fix
rigid which has that extension plus several others.