Skip to content

Geometry/Domain refactor #291

Description

@briandrawert

Notes from our meeting:

  • Lattice class (Cartesian, cylindrical, spherical)

  • Transform class (translate, rotate).

    • Need to be able to transform Geometries (as a wrapper)
    • and Lattice classes
  • Domain will have a list domain actions, to apply in order on the domain.

    • domain actions: fill, set, remove
  • Need to be able to combine geometries using boolean logic
    geometry = [ geo1, 'or', geo2, 'and', 'not', 'geo3] or

    • use eval and namespaces
      eval("geo1 or geo2 and not geo3", namespace={'geo1': Geometry1.inside,...})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions