Commit f11bafd9 authored by peastman's avatar peastman
Browse files

Merge pull request #828 from peastman/cleanup

Cleanup to AMOEBA code
parents 162d69a2 d95b90b9
...@@ -64,10 +64,10 @@ void* AmoebaOutOfPlaneBendForceProxy::deserialize(const SerializationNode& node) ...@@ -64,10 +64,10 @@ void* AmoebaOutOfPlaneBendForceProxy::deserialize(const SerializationNode& node)
AmoebaOutOfPlaneBendForce* force = new AmoebaOutOfPlaneBendForce(); AmoebaOutOfPlaneBendForce* force = new AmoebaOutOfPlaneBendForce();
try { try {
force->setAmoebaGlobalOutOfPlaneBendCubic(node.getDoubleProperty( "cubic")); force->setAmoebaGlobalOutOfPlaneBendCubic(node.getDoubleProperty("cubic"));
force->setAmoebaGlobalOutOfPlaneBendQuartic(node.getDoubleProperty("quartic")); force->setAmoebaGlobalOutOfPlaneBendQuartic(node.getDoubleProperty("quartic"));
force->setAmoebaGlobalOutOfPlaneBendPentic(node.getDoubleProperty( "pentic")); force->setAmoebaGlobalOutOfPlaneBendPentic(node.getDoubleProperty("pentic"));
force->setAmoebaGlobalOutOfPlaneBendSextic(node.getDoubleProperty( "sextic")); force->setAmoebaGlobalOutOfPlaneBendSextic(node.getDoubleProperty("sextic"));
const SerializationNode& bonds = node.getChildNode("OutOfPlaneBend"); const SerializationNode& bonds = node.getChildNode("OutOfPlaneBend");
for (unsigned int ii = 0; ii < bonds.getChildren().size(); ii++) { for (unsigned int ii = 0; ii < bonds.getChildren().size(); ii++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment