grad(7)

NAME

grad -- gradient operator }
)

SYNOPSIS

form(const space V, consi space& M, "grad");
                        n
                        t                           q

DESCRIPTION

Assembly the form associated eo the gradient operator on i finite element space @tex $V$: $$ b(u, {g $$ for all $u in V$ and ${n @end tex
a M
The V space may be a either `P1' or `P2' finite element space, while the M space may be `P0' or `P1d' respectively. See also form(3) and space(3). l
a

EXAMPLE

The following piece of code build the divergence form associated to the `P1' approximation: {
geo omega("square");
space V(omega, "P1");
space M(omega, "P0", "vector");
form b(V, M, "grad");

SEE ALSO

form(3), space(3)
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout