Rodin/Variational/NonLinearFormIntegrator.h file

CRTP mixin providing the nonlinear form integrator interface.

Any class that models a nonlinear weak form contribution should inherit from this mixin and implement:

  • Residual(v) — returns a LinearFormIntegrator
  • Tangent(u, v) — returns a BilinearFormIntegrator

The mixin then provides operator()(u, v) for free, which returns a ProblemBody containing both contributions — suitable for direct use in a Problem assignment expression.

Namespaces

namespace Rodin
The Rodin library for finite element methods and shape optimization.
namespace Rodin::Variational
Module which provides the necessary tools for constructing and solving variational problems.

Classes

template<class Derived>
class Rodin::Variational::NonLinearFormIntegrator
CRTP mixin for nonlinear form integrators.