-
Notifications
You must be signed in to change notification settings - Fork 42
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
1. Solver for multidimensional problem 2. Product with variable coefficients #93
Comments
There are numerous demo programs for high-dimensional problems. Just survey the demo folder. If you mean problems with non-periodic boundary conditions in more than one direction, then look at poisson2ND.py.
Variable coefficients are straight-forward. See, for example, OrrSommerfeld_eigs.py. |
Great! I've successfully written the code for 2d Helmholtz equation -\Delta u + lam(x,y) u =f(x,y) by following your suggestions. Thanks a lot! |
You can do the inner products with adaptive quadrature, or exact integration.
Exact may take too long time, depends on whether sympy can easily do the integration or not. |
Thank you so much. |
For the second question, if it's not possible to find a symbolic variable to represent the coefficient, in other words, if c(x) can only be represented by some discrete points, is there still a solution
|
The one dimensional problem is easy to solve the matrix system Au=f by A.solve(f), however, the high dimensional problems quite different. Does it exist an easy method to solve the high dimensional problem? Do you have a tutorial?
Do we have an operator to compute the inner product (cu,v) with variable coefficient c(x)?
The text was updated successfully, but these errors were encountered: