class dolfin.fem.assembling.SystemAssembler(A_form, b_form, bcs=None, form_compiler_parameters=None)

Bases: dolfin.cpp.fem.SystemAssembler

This class provides an assembler for systems of the form Ax = b. It differs from the default DOLFIN assembler in that it applies boundary conditions at the time of assembly, which preserves any symmetries in A.

Create a SystemAssembler

  • Arguments *
    a (ufl.Form, _Form_)

    Bilinear form

    L (ufl.Form, _Form_)

    Linear form

    bcs (_DirichletBC_)

    A list or a single DirichletBC (optional)