18 #ifndef __LINEAR_VARIATIONAL_PROBLEM_H
19 #define __LINEAR_VARIATIONAL_PROBLEM_H
23 #include <dolfin/common/Hierarchical.h>
49 std::shared_ptr<const Form> L,
50 std::shared_ptr<Function> u,
51 std::vector<std::shared_ptr<const DirichletBC>>
bcs);
60 std::shared_ptr<Function>
solution();
63 std::shared_ptr<const Function>
solution()
const;
66 std::vector<std::shared_ptr<const DirichletBC>>
bcs()
const;
69 std::shared_ptr<const FunctionSpace>
trial_space()
const;
72 std::shared_ptr<const FunctionSpace>
test_space()
const;
77 void check_forms()
const;
80 std::shared_ptr<const Form> _a;
83 std::shared_ptr<const Form> _l;
86 std::shared_ptr<Function> _u;
89 std::vector<std::shared_ptr<const DirichletBC>> _bcs;