[deal.II] Re: Integral over different lines

2022-03-12 Thread Marco Feder
Hi Giuseppe, if your goal is to compute the integral of an arbitrary function f(x,y) over a random segment inside your rectangle (you can assume the segment is not parallel to x-axis or y-axis), you could just consider its parametrisation \phi(t), t \in [0,1] so that you have a 1D integral that

[deal.II] Re: Integral over different lines

2022-03-12 Thread Marco Feder
Hi Giuseppe, if your goal is to compute the integral an arbitrary function f(x,y) over a random segment inside your rectangle (you can assume the segment is not parallel to x-axis or y-axis), you could just consider its parametrisation \phi(t), t \in [0,1] so that you have a 1D integral that yo