Skip to content

Seg fault while setting BoundaryType.PERIODIC_BOUNDARY to read a GDS file #217

@chemcharlie

Description

@chemcharlie

Installed ViennaPS with the python install script.

When I run GDSReader.py in the example, a segmentation fault occurs when setting periodic boundary condition:

import viennaps as ps

ps.setDimension(3)
ps.Logger.setLogLevel(ps.LogLevel.DEBUG)

gridDelta = 0.01
exposureDelta = 0.005
forwardSigma = 5.0
backSigma = 50.0

boundaryConds = [
// ps.BoundaryType.REFLECTIVE_BOUNDARY,
// ps.BoundaryType.REFLECTIVE_BOUNDARY,
ps.BoundaryType.PERIODIC_BOUNDARY,
ps.BoundaryType.PERIODIC_BOUNDARY,
ps.BoundaryType.INFINITE_BOUNDARY,
]
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions