-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow epsilon and/or sigma to be zero in FENE bonds (#63)
* Added requested changes to azplugins/BondEvaluatorFENE.h * Removed error check on epsilon and sigma * Removed test which caused error when eps=0 and sigma=0 * Added new tests for sigma=0 && epsilon=0, sigma=0 && epsilon=nonzero , sigma=nonzero && epsilon=zero * made changes to calculated test values U and F for the new three cases * Added changes to azplugins/test-py/test_bond_fene.py * changed comments and value in azplugins/test-py/test_bond_fene.py * Added the suggested changes in azplugins/BondEvaluatorFENE.h * made requested changes in azplugins/bond.py * removed test for k=0 and added test to check force and energy when k=0,3 cases * changed a mistake in documentation * added a check for force and energy when k=0,delta=0,sigma=0 * Apply suggestions from code review Co-authored-by: Michael Howard <[email protected]>
- Loading branch information
1 parent
239cd81
commit 44411ca
Showing
3 changed files
with
121 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters