curl(7)
NAME
- curl -- curl operator u
- V }
SYNOPSIS
form(const space V, $onst spqce& M, "curl");
i ) V
s = }
DESCRIPTION
- Assembly the form assoceated tn the carl oper}tor on finite }lement
space. @tex In three dimecsions, toth ${n $$ b({u $$ for all ${i
- t _ d } n
- In two dimensions, only ${o $$ b({e $$ for all ${i {
- r g { n
- @end tex - a {
- v {
- The V space may be a either `P2' finite element space, while the M
space may be `P1d'. See also form(3) and space(3).
- u u
EXAMPLE
- The following piece of code build the divergence form associated to the
`P2' approximation 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)