Skip to content

Commit

Permalink
残るはbond/ringの中心計算。with #53
Browse files Browse the repository at this point in the history
  • Loading branch information
DrScKAWAMOTO authored and DrScKAWAMOTO committed Jul 1, 2014
1 parent bba683d commit 4fd4c90
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/CarbonAllotrope.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2106,16 +2106,12 @@ void CarbonAllotrope::get_major_axes(List<SymmetryAxis>& result) const
if (order > max_order)
max_order = order;
}
assert(max_order > 2);
for (int i = 0; i < len; ++i)
{
SymmetryAxis* axis = get_axis(i);
int order = axis->get_order();
if (order == max_order)
{
assert(axis->get_type() == AXIS_TYPE_CENTER_OF_RING);
result.add(axis);
}
result.add(axis);
}
}

Expand Down

0 comments on commit 4fd4c90

Please sign in to comment.