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;
Definition: Hierarchical.h:44
Definition: LinearTimeDependentProblem.h:49
std::shared_ptr< Function > solution()
Return solution variable.
Definition: LinearTimeDependentProblem.cpp:48
std::shared_ptr< const FunctionSpace > test_space() const
Return test space.
Definition: LinearTimeDependentProblem.cpp:72
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
std::shared_ptr< const TensorProductForm > bilinear_form() const
Return bilinear form.
Definition: LinearTimeDependentProblem.cpp:37
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
std::shared_ptr< const TensorProductForm > linear_form() const
Return linear form.
Definition: LinearTimeDependentProblem.cpp:43
Form TensorProductForm
FIXME: Temporary fix.
Definition: LinearTimeDependentProblem.h:34