-
Notifications
You must be signed in to change notification settings - Fork 15
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
Potential cooperation and integration between DiffEqOperators and SummationByPartsOperators #127
Comments
Hi @xtalax! I would be happy to see my package being used in DiffEqOperators.jl etc. and would be happy to help. Right now, this package does not provide multidimensional operators (you would need to convert them, e.g., via mul!(du, D, u, -one(eltype(D))) computes an approximation of the (negative) first derivative everywhere without using boundary data. Then, du[begin] += (uL_func(t) - u[begin]) / left_boundary_weight(D) adds an additional term to impose the inflow boundary condition weakly. |
As long as we can derive an expression I'd like to convert to our derivative operator directly, then it should just work with all the multidimensional stuff, take a look at our derivative operator, you'll probably find it quite familiar. I had a question about how the weights are stored, how would I get the weights for the interior, and for |
What do you mean by weights? The coefficients of the derivative operator? |
Not necessarily in a stable way. A homogeneous Neumann boundary condition for the wave equation can be written like SummationByPartsOperators.jl/src/second_order_eqs/wave_eq.jl Lines 48 to 49 in 21d463f
The expression for the heat equation would basically be similar. However, this way of setting a homogeneous Neumann boundary condition does not result in a stable method for the BBM-BBM system, see Theorem 4.7 of https://dx.doi.org/10.4208/cicp.OA-2020-0119. |
Hi,
I'm working on DiffEqOperators.jl and am noticing that we have a lot of common functionality between these packages. Of note, we have general multidimensional handling, and more general boundary conditions. We don't however have Sumnation by parts derivative operators, or diffusion operators, but we would like to.
I was wondering if you could support with developing conversion routines between your DerivativeOperator and our DerivativeOperator, to allow for use of these operators with the rest of the growing ecosystem that uses DiffEqOperators, and to enable people to use them with multidimensional PDEs?
Also, I note that your operators are size (N, N), are they valid at
[i, end]
and[i, 1]
without contributions from boundary conditions for example? This could help improve the stability of our neumann and robin boundary conditions.The text was updated successfully, but these errors were encountered: