question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I understand, but I still think it could be convenient to have some general methods for reordering geometries, such as

  • ascending/descending along lattice vectors
  • along axes
  • species
  • group labeling
  • combinations (e.g. first species, then axes), this is particularly easy since Python >=3.6 uses ordered dicts for **kwargs, so sort should change interface to **kwargs
  • one of the above on a subset of atoms

These should be added to Geometry.sort

_Originally posted by @tfrederiksen in https://github.com/zerothi/sisl/pull/190#issuecomment-605926535_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tfrederiksencommented, Mar 30, 2020

You are right, a move_inside_cell-type function is different from sort as it would not changing the atom ordering in the geometry. But the result could be different if called before or after a sort.

0reactions
zerothicommented, Apr 1, 2020

I’ll close this as it is tracked in #197

Read more comments on GitHub >

github_iconTop Results From Across the Web

Geometry Sort Teaching Resources | TPT
This is a set of 8 worksheets that help students distinguish Flat / 2d shapes from Soldi / 3d shapes in a few...
Read more >
Geometry Sort
Geometry Sort. Line. Goes on and on in both directions. Line Segment. Starts and stops at a point on both ends. A piece...
Read more >
Sorting Geometric Figures - GeoGebra
Practice to sort geometric figures as well as real life objects by shape. Find all the triangles. Find all the circles. Find all...
Read more >
Real Life Geometry Sort - Pinterest
Jul 7, 2012 - Use this geometry sort to check students' understanding of shapes in real life. Uses triangles, square, rectangles, and circles....
Read more >
Grades K-6 Geometry Coherence Card Sort
Grades K-6 Geometry Coherence Card Sort. 1. Grades K-6 Geometry Standards. Grades K-6 Geometry Standards. Partition a rectangle into rows and columns of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found