Form language

Published configurations

Typed expressions for constructing variational forms.

auto stiffness = Integral(Grad(u), Grad(v));
auto load = Integral(f, v);
Problem problem(u, v);
problem = stiffness - load + DirichletBC(u, Zero());

An expression's C++ type records its operands and algebraic role. Function expressions represent known fields; shape-function expressions carry a trial or test slot; bilinear integrators pair those slots. Traits propagate scalar type, range and finite element space through composition.

No benchmarks have been registered for this module yet.