-
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
Solve DGL with non-constant (discrete) variable? #86
Comments
If q is defined on underlying grid, then there is nothing special to it. You can get it in spectral space simply by a forward transform. However, you do have something that needs to be computed like a nonlinear term. So I think you should compute it with something like
The scale functionality can only be used for a constant scaling of the entire expression. The scale can not be a function of x. |
Hi Dealiasing and pseudospectral techniques are usually the preferred way around this. Multiply u and q in real space (usually with 3/2N quadrature points) and then forward the outcome. There is no way I am aware of that can compute this easily in a bilinear form. In fact, it would take a trilinear form. |
Hi Mikael,
i would like to solve a DGL of this form:
.
is only defined by discrete values, so it cannot be incorparated as a expression. This is maybe a stupid question, but in the documentation I couldn't find a proper solution for such a problem. Is it possible to solve this kind of equation in shenfun with non-constant coefficients?
Best regards,
Steffen
The text was updated successfully, but these errors were encountered: