cohesion calculation

Submitted by zamir on Tue, 05/22/2012 - 20:37

Hello,

I'm looking around in pair_gran_hertz_history.cpp and I don't see a cohesion energy calculation like I see in pair_gran_hook_history.cpp. Where is cohesion calculated when using pair_style /gran/hertz/history???

Any help would be greatly appreciated.

Thanks!

ckloss's picture

ckloss | Tue, 05/22/2012 - 20:46

The calculation is inherited from the hooke/history class. If desired for whatever reason, you could override it in hertz/history

Cheers, Christoph