Skip to content
New issue

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

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

Already on GitHub? # to your account

Restructure medium.py #2131

Open
3 tasks
daquinteroflex opened this issue Dec 18, 2024 · 0 comments
Open
3 tasks

Restructure medium.py #2131

daquinteroflex opened this issue Dec 18, 2024 · 0 comments
Assignees

Comments

@daquinteroflex
Copy link
Collaborator

daquinteroflex commented Dec 18, 2024

In order to account for the new multiphysics structure.

SiO2 = td.MultiPhysicsMedium(
    optical=SiO2_optic,
    charge=td.ChargeInsulatorMedium(permittivity=SiO2_optic.eps_model(frequency=0)), 
    name="SiO2",
)


scene = td.Scene(
    #medium=td.Medium(permittivity=3.9),
    medium=SiO2.optical, # currently td.Simulation cannot accpet a MultiphysicsMedium
    structures=new_structs,
)
@daquinteroflex daquinteroflex self-assigned this Dec 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant