Provided by: librheolef-dev_5.93-2_amd64

**NAME**

curl-- curl operator

**SYNOPSIS**

form(const space V, const space& M, "curl");

**DESCRIPTION**

Assembly the form associated to the curl operator on finite element space. In three dimensions, both V and M are vector-valued: / | b(u,q) = | curl(u).q dx | / Omega In two dimensions, only V is vector-valued. The V space may be a eitherP2finite element space, while the M space may beP1d. See also form(3) and space(3).

**EXAMPLE**

The following piece of code build the divergence form associated to theP2approximation for a three dimensional geometry: geo omega("cube"); space V(omega, "P2", "vector"); space M(omega, "P1d", "vector"); form b(V, M, "curl"); while this code becomes in two dimension: geo omega("square"); space V(omega, "P2", "vector"); space M(omega, "P1d"); form b(V, M, "curl");

**SEE** **ALSO**

form(3), space(3)