MethodOfLines.jl icon indicating copy to clipboard operation
MethodOfLines.jl copied to clipboard

Feature request: support for integral terms

Open sdwfrost opened this issue 3 years ago • 1 comments

Help! All the PDE models I'm interested in integrate over one of the dimensions, and NeuralPDE.jl is too slow for many of them. As MOL is the standard way to discretize these models in the literature, would it be possible to add in support for integrals?

sdwfrost avatar May 05 '22 17:05 sdwfrost

This library could evolve to solve integro-differential equations, but it does not at this time and it's probably not going to for at least a bit.

ChrisRackauckas avatar May 07 '22 08:05 ChrisRackauckas

Support for integrals from say 0..x are now merged, was this the type of limits you needed?

xtalax avatar Dec 13 '22 17:12 xtalax

The limits I need are integrals over the entire domain - here's a snippet:

@parameters t a
Dt = Differential(t)
Da = Differential(a)
Ia = Integral(a in DomainSets.ClosedInterval(0,52*75.0))
domains = [t ∈ (0,40.0), a ∈ (0,75*52)]

sdwfrost avatar Dec 13 '22 19:12 sdwfrost

alright, see you in MOL v0.7.6 :)

xtalax avatar Dec 13 '22 22:12 xtalax