Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle non uniform definition? #1

Closed
twhughes opened this issue Sep 13, 2021 · 0 comments
Closed

How to handle non uniform definition? #1

twhughes opened this issue Sep 13, 2021 · 0 comments

Comments

@twhughes
Copy link
Contributor

twhughes commented Sep 13, 2021

right now user can supply array-like object for one of the dl in the grid_size tuples. This specifies the grid sizes of each of the cells. There are a few subtleties:

  • need to check whether supplied array covers entire simulation size in that dimension.
  • need to check whether ratio of adjacent dl criteria is satisfied
  • where is dl array centered? not straightforward.
  • Need to convert this to coords specifying bounds of each yee cell

Eventually need to come up with better way to define non uniform mesh, or routine for generating it. Perhaps by introducing dl_in_material or similar parameter, or making plugin that can generate a Grid object that we introduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant