Create group owner collections: e.g., Cells #61
Labels
code improvement
A feature request that will improve the software and its maintainability, but be invisible to users.
Milestone
The idea is that many convenience functions are needed when handling problems objects (e.g., a Cell). See: #11, #10, #19, #9, and expected failures in !11.
I propose that the be a
Cells
object that owns and manages the collection of cells. Proposed features:Implements__getitem__
to allow accessing the list like a dictionary by cell number.Implementing append to enforce object types, avoiding number collisions, etc.Providing acell_numbers
generator that allows users to quickly check if a cell number is in use without the possibility of stale data.Surfaces
should provide a lot of convenience functions to get allCZ
surfaces, and find the smallest radius, etc.This really is the central component to release-0.0.5
The text was updated successfully, but these errors were encountered: