21 #ifndef __LINEAR_TIME_DEPENDENT_PROBLEM_H 22 #define __LINEAR_TIME_DEPENDENT_PROBLEM_H 25 #include <dolfin/common/Hierarchical.h> 37 class BoundaryCondition;
55 std::shared_ptr<const TensorProductForm> L,
56 std::shared_ptr<Function> u,
57 std::vector<std::shared_ptr<const BoundaryCondition>>
bcs);
60 std::shared_ptr<const TensorProductForm>
bilinear_form()
const;
63 std::shared_ptr<const TensorProductForm>
linear_form()
const;
66 std::shared_ptr<Function>
solution();
69 std::shared_ptr<const Function>
solution()
const;
72 std::vector<std::shared_ptr<const BoundaryCondition>>
bcs()
const;
75 std::shared_ptr<const FunctionSpace>
trial_space()
const;
78 std::shared_ptr<const FunctionSpace>
test_space()
const;
83 void check_forms()
const;
86 std::shared_ptr<const TensorProductForm> _a;
89 std::shared_ptr<const TensorProductForm> _l;
92 std::shared_ptr<Function> _u;
95 std::vector<std::shared_ptr<const BoundaryCondition>> _bcs;
std::shared_ptr< const FunctionSpace > test_space() const
Return test space.
Definition: LinearTimeDependentProblem.cpp:72
Definition: Hierarchical.h:43
Form TensorProductForm
FIXME: Temporary fix.
Definition: LinearTimeDependentProblem.h:34
std::shared_ptr< Function > solution()
Return solution variable.
Definition: LinearTimeDependentProblem.cpp:48
std::shared_ptr< const FunctionSpace > trial_space() const
Return trial space.
Definition: LinearTimeDependentProblem.cpp:65
std::vector< std::shared_ptr< const BoundaryCondition > > bcs() const
Return boundary conditions.
Definition: LinearTimeDependentProblem.cpp:59
Definition: LinearTimeDependentProblem.h:48
std::shared_ptr< const TensorProductForm > linear_form() const
Return linear form.
Definition: LinearTimeDependentProblem.cpp:43
std::shared_ptr< const TensorProductForm > bilinear_form() const
Return bilinear form.
Definition: LinearTimeDependentProblem.cpp:37
LinearTimeDependentProblem(std::shared_ptr< const TensorProductForm > a, std::shared_ptr< const TensorProductForm > L, std::shared_ptr< Function > u, std::vector< std::shared_ptr< const BoundaryCondition >> bcs)
Definition: LinearTimeDependentProblem.cpp:24