Skip to content

outputing to VTK issue with interal grid structure #70

@jstjep00

Description

@jstjep00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions