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.

  1. 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)$.

  2. Finite Element Interpolants

    We'll consider four types of finite element interpolants:

  3. Discontinuity and Coincidence

🧠Python Code and Plotting

https://gist.github.com/viadean/59dd199392a8d42f3cc43ecfdea1bcc9

Figure_1.png