LinearVariationalProblem¶
-
class
dolfin.cpp.fem.
LinearVariationalProblem
¶ Bases:
dolfin.cpp.fem.HierarchicalLinearVariationalProblem
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 with a list of boundary conditions
Parameters: - const Form > a (std::shared_ptr<) –
- const Form > L (std::shared_ptr<) –
- Function > u (std::shared_ptr<) –
- std::shared_ptr< const DirichletBC >> bcs (std::vector<) –
-
bcs
()¶ Return boundary conditions.
Return type: std::vector< std::shared_ptr< const DirichletBC > >
-
bilinear_form
()¶ Return bilinear form.
Return type: std::shared_ptr< const Form >
-
linear_form
()¶ Return linear form.
Return type: std::shared_ptr< const Form >
-
solution
()¶ Return the solution
-
test_space
()¶ Return the test space
-
thisown
¶ The membership flag
-
trial_space
()¶ Return the trial space