Skip to content

Geometry in egs_glib can't be accessed by ausgab objects #1275

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

Open
rtownson opened this issue Mar 31, 2025 · 0 comments
Open

Geometry in egs_glib can't be accessed by ausgab objects #1275

rtownson opened this issue Mar 31, 2025 · 0 comments
Assignees
Labels

Comments

@rtownson
Copy link
Collaborator

Describe the bug
External geometries in egs_glib can't be accessed by ausgab objects. Tested just for writing 3ddose files. I'm wondering if labels work - I haven't checked.

To Reproduce
Using egs_glib:

    :start geometry:
        library = egs_glib
        name = my-glib
        include file = test-glib.geom
    :stop geometry:

Inside test-glib.geom place an XYZ geometry:

:start geometry definition:
    :start geometry:
        name = myxyz_tiny2
        library = egs_ndgeometry
        type = EGS_XYZGeometry
        x-planes = -7, -6 # in cm
        y-planes = -7, -6
        z-planes = -1, 1
        :start media input:
            media = water
        :stop media input:
    :stop geometry:

    simulation geometry = myxyz_tiny2

:stop geometry definition:

This will visualize in egs_view fine, and the simulation will run. But not if you try to score dose into the XYZ geometry using. In this case it will crash during initialization.

    :start ausgab object:
        name    = dose
        library = egs_dose_scoring
        medium dose = no
        region dose = no
        :start output dose file:
            geometry name = myxyz_tiny2
            file type = 3ddose
        :stop output dose file:
    :stop ausgab object:

EGSnrc version
v2025

@rtownson rtownson added the bug label Mar 31, 2025
@rtownson rtownson self-assigned this Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant