Skip to content

Commit

Permalink
Reordering atoms now employs bond type info in created NETA structures.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs committed Feb 16, 2018
1 parent 8081323 commit 36ab29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ void Model::reorderSelectedAtoms()

// Create a basic NETA description for this atom, with a 10 degree tolerance on the torsions
neta = rj->data.add();
neta->createBasic(rj->item, false, 10.0);
neta->createBasic(rj->item, true, 10.0);
}

// Test the atom types...
Expand Down Expand Up @@ -395,7 +395,7 @@ void Model::reorderSelectedAtoms()
else
{
neta = rj->data.add();
neta->createBasic(rj->item, false, rj->data.nItems() * 10.0);
neta->createBasic(rj->item, true, rj->data.nItems() * 10.0);
Messenger::print("Created neta for reference atom %i with torsion tolerance of %f", referenceId, rj->data.nItems()*10.0);
}
}
Expand Down

0 comments on commit 36ab29e

Please sign in to comment.