A triangle mesh is a type of polygon mesh. It comprises a set of triangles (typically in three dimensions) that are connected by their common edges or vertices. Let's break down this problem step-by-step.
Plotting the Vector Field $p(x, y)$
First, we need to plot the vector field $p(x, y)=\left(x^2+2 x y, x+y^2\right)$ on the unit square $\Omega$. This means we'll draw arrows at various points $( x , y )$ within $\Omega$, where the arrow's direction and magnitude represent the vector $p(x, y)$.
Finite Element Interpolants
We'll consider four types of finite element interpolants:
Discontinuity and Coincidence
https://gist.github.com/viadean/59dd199392a8d42f3cc43ecfdea1bcc9