as the title suggests I'm trying to compute the integral of a compactly supported function (Wendland's quintic polynomial) on a triangle. Notice, that the center of the function is somewhere in 3-D space. I integrate this function on an arbitrary, but small triangle ($area < \frac{(radius/4)^2}{2}$). I am currently using the integration described by Dunavant, 1985 (p=19).
It seems however, that these quadrature rules are not suited towards compactly supported problems. This is supported by the fact that when I integrate $f(r) = [r\leq1]$ (so a function that is 1 inside the circle of radius 1) on a plane which is discretized using triangles, my (normalized) results are between 1.001 and 0.897.
So my question is, does a specialized quadrature rule exist for this kind of problem? Would a lower order composite integration rule work better?
Unfortunately this routine is really critical in my code so precision is crucial. On the other hand I need to do this integration "a couple of times" for a single time-step so computational expense should not be too high. Parallelization is not an issue as I will execute the integration itself in serial.
Thanks in advance for your answers.
EDIT: Wendland's quintic polynomial is given by $W(q) = [q\leq2]\frac{\alpha}{h^3}(1-\frac{q}{2})^4(2q+1)$ with $\alpha = \frac{21}{16\pi}$ and $q=\frac{\|r-r_0\|}{h}$ with $r_0$ being an arbitrary vector in $\mathbb{R}^3$
EDIT2: If $\Delta$ is the two-dimensional triangle then I want to calculate $\int_\Delta \omega(r) dr$ with $\omega(r) = W(\frac{\|r-r_0\|}{h})$. So $q$ in $W$ will never be smaller than 0. Note that the integral is a surface integral over a 2-D surface in $\mathbb{R}^3$
EDIT3: I have an analytical solution for the 1-D (line) problem. Calculating one for 2-D (triangle) might be possible as well.