Hello,
I would like to define a function that includes an integral of an unknown in a single direction of a 3D mesh, like this:
$$ U(x,y,z) = \int_{z_b}^z u(x,y,z') dz' $$
I would like an expression for the continuous definite integral of $u(x,y,z)$. For example, using rectangular quadrature,
$$ U(x,y,z) = \int_{z_b}^z u(x,y,z') dz' \approx (z-z_b) u\left(x,y,\frac{z_b+z}{2}\right).$$
I keep seeing "quadrature" elements -- can they be used to solve this problem? I'd rather use built-in tools if I can, but otherwise I'll have to use numpy or something.