Skip to content

Support arbitrary inflow at open boundary conditions (ft. psc_shock)#396

Open
JamesMcClung wants to merge 16 commits intopsc-code:mainfrom
JamesMcClung:pr/arbitrary-inflow
Open

Support arbitrary inflow at open boundary conditions (ft. psc_shock)#396
JamesMcClung wants to merge 16 commits intopsc-code:mainfrom
JamesMcClung:pr/arbitrary-inflow

Conversation

@JamesMcClung
Copy link
Collaborator

Introduces a new public field to BndFields_, radiation, which is used as a callback to sample inflowing S and P waves. For demonstration purposes, this PR also includes changes to the psc_shock case that make use of the new field.

My personal dream is to make BndFields itself polymorphic, which would enable doing away with these public fields.

@JamesMcClung
Copy link
Collaborator Author

I can make radiation be a unique pointer if requested, but I plan to refactor boundaries soon anyways, so I didn't bother.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant