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

outputing to VTK issue with interal grid structure #70

Open
jstjep00 opened this issue Apr 17, 2024 · 0 comments
Open

outputing to VTK issue with interal grid structure #70

jstjep00 opened this issue Apr 17, 2024 · 0 comments

Comments

@jstjep00
Copy link

Hey Floris,
First off love the repo, thank you for writing it.

I wanted to jump on implementing imageToVTK function from library pyevtk that is part of the visualization and then potentially creating a PR. I jumped on few issues regarding difference between points/cells within the VTK class references and the grid that is implemented within the code. As I understood both the flux and electric field are represented as cells within the grid, but imageToVTK function requires electric field to be in terms of points which there are the actual points of the grid cells (which there are nx + 1, ny + 1, nz + 1)

My question is whether or not this means the discretization algorithm needs to be changed or could this be sidestepped by expanding the shape that permittivity is expecting for.

King regards,
Josip

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