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

Make ConstructOptical() virtual in RMGPhysics to allow customization through inheritance #130

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

EricMEsch
Copy link
Contributor

Making the ConstructOptical() function virtual would allow to derive from RMGPhysics in User applications, changing some optical processes while keeping the rest "normal". Without this, the ConstructProcess() function would have to be overwritten to call a user created version of the ConstructOptical() function.

@ManuelHu ManuelHu merged commit 6054276 into legend-exp:main Oct 8, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants