LinearVariationalProblem

class dolfin.fem.solving.LinearVariationalProblem(a, L, u, bcs=None, form_compiler_parameters=None)

Bases: dolfin.cpp.fem.LinearVariationalProblem

This class represents a linear variational problem:

Find u in V such that

a(u, v) = L(v) for all v in V^,

where V is the trial space and V^ is the test space.

Create linear variational problem a(u, v) = L(v).

An optional argument bcs may be passed to specify boundary conditions.

Another optional argument form_compiler_parameters may be specified to pass parameters to the form compiler.