# LinearVariationalProblem¶

class dolfin.cpp.fem.LinearVariationalProblem(*args)

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.

• LinearVariationalProblem(a, L, u)

Create linear variational problem without boundary conditions

• LinearVariationalProblem(a, L, u, bc)

Create linear variational problem with a single boundary condition

• LinearVariationalProblem(a, L, u, bcs)

Create linear variational problem with a list of boundary conditions

• LinearVariationalProblem(a, L, u, bcs)

Create linear variational problem with a list of boundary conditions (shared pointer version)

bcs()

Return boundary conditions

bilinear_form()

Return bilinear form

linear_form()

Return linear form

solution()

Return the solution

test_space()

Return the test space

thisown

The membership flag

trial_space()

Return the trial space