-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Enable charge layout printing (#219)
* ✨ Enable charge distribution surface printing * 🚨 Remove code using a C++20 extension * 🐛 Add missing import * 🎨 Shorten name to "print_charge_layout" * 🐛 Added missing import * 🎨 Reformatted code * ✅ Added test * ✅ Updated test s.t. it passes on different operating systems * 🐛 Round to 3 decimal places before comparing doubles * ✨ Draw lattice background and crop output to gate dimensions * 💡 Add comments and implement PR conversation suggestions * ✅ Avoided division in a for loop bound * ✅ Updated test in accord with the changes of the previous commit * 💄 Changed the color of a negatively charged SiDB to cyan (was blue) * ✅ Changed algorithmic charge state assignment into static assignments * ✅ Changed a single charge assignment * ✅ Added test for empty charge layout * 🎨 Implemented const-correctness suggestions * 🎨 Implemented suggestions from PR conversations * ✨ Made lattice background drawing optional (opt-out) * 🎨 Changed siqad::coord_t to coordinate<Lyt> * 🎨 Made crop dimension coordinates const * 🎨 Implemented suggestions from PR conversations * 🎨 Implemented suggestions from PR conversations * 📝 Added `print_charge_layout` to the RST documentation
- Loading branch information
Showing
3 changed files
with
228 additions
and
3 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