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

Specify initial conditions for the wave equation #126

Open
pausz opened this issue Sep 18, 2017 · 0 comments
Open

Specify initial conditions for the wave equation #126

pausz opened this issue Sep 18, 2017 · 0 comments
Labels
enhancement new-feature sci Identifies features that are of scientific interest.

Comments

@pausz
Copy link
Contributor

pausz commented Sep 18, 2017

The discretized approximation of the continuum damped wave equation is a Initial Value Boundary Problem. As such, it requires specification of the initial conditions for the internal grid points and the points at the boundaries. The latter condition is relevant for boundaries other than Periodic Boundary Conditions (eg, absorbing boundary conditions).

Furthermore, user defined initial conditions for phi and dphi are essential to validate the code with exact solutions of the wave equation. The current version of wave.cpp sets spatially uniform initial conditions, so it is not possible to set phi(x,y,0) = I(x,y), where I(x,y) is a spatial profile for which we know the exact solution phi(x,y,t) without a source term (eg, without a stimulus). This case could be solved if we had the restarting mechanism (#24).

@stuart-knock stuart-knock modified the milestones: Paper Publication, TBD 1 Feb 9, 2018
@stuart-knock stuart-knock added the sci Identifies features that are of scientific interest. label Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new-feature sci Identifies features that are of scientific interest.
Projects
None yet
Development

No branches or pull requests

2 participants