DOLFIN-X
DOLFIN-X C++ interface
|
Discrete gradient operators providing derivatives of functions. More...
#include <DiscreteOperators.h>
Static Public Member Functions | |
static la::PETScMatrix | build_gradient (const function::FunctionSpace &V0, const function::FunctionSpace &V1) |
Build the discrete gradient operator A that takes a \(w \in H^1\) (P1, nodal Lagrange) to \(v \in H(curl)\) (lowest order Nedelec), i.e. v = Aw. V0 is the H(curl) space, and V1 is the P1 Lagrange space. More... | |
Discrete gradient operators providing derivatives of functions.
This class computes discrete gradient operators (matrices) that map derivatives of finite element functions into other finite element spaces. An example of where discrete gradient operators are required is the creation of algebraic multigrid solvers for H(curl) and H(div) problems.
|
static |
Build the discrete gradient operator A that takes a \(w \in H^1\) (P1, nodal Lagrange) to \(v \in H(curl)\) (lowest order Nedelec), i.e. v = Aw. V0 is the H(curl) space, and V1 is the P1 Lagrange space.
[in] | V0 | H(curl) space |
[in] | V1 | P1 Lagrange space |