DOLFIN
DOLFIN C++ interface
|
#include <MixedLinearVariationalProblem.h>
Public Types | |
typedef std::vector< std::vector< std::shared_ptr< const Form > > > | form_list_type |
Public Member Functions | |
MixedLinearVariationalProblem (form_list_type a, form_list_type L, std::vector< std::shared_ptr< Function > > u, std::vector< std::shared_ptr< const DirichletBC > > bcs) | |
form_list_type | bilinear_form () const |
Return bilinear form. | |
std::shared_ptr< const Form > | bilinear_form (int i, int j=0) const |
form_list_type | linear_form () const |
Return linear form. | |
std::shared_ptr< const Form > | linear_form (int i, int j=0) const |
std::vector< std::shared_ptr< Function > > | solution () |
Return solution variable. | |
std::shared_ptr< Function > | solution (int i) |
std::vector< std::vector< std::shared_ptr< const DirichletBC > > > | bcs () const |
Return boundary conditions. | |
std::vector< std::shared_ptr< const DirichletBC > > | bcs (int i) const |
std::vector< std::shared_ptr< const FunctionSpace > > | trial_space () const |
Return trial space. | |
std::shared_ptr< const FunctionSpace > | trial_space (int i) const |
std::vector< std::shared_ptr< const FunctionSpace > > | test_space () const |
Return test space. | |
std::shared_ptr< const FunctionSpace > | test_space (int i) const |
![]() | |
Hierarchical (MixedLinearVariationalProblem &self) | |
Constructor. | |
virtual | ~Hierarchical () |
Destructor. | |
std::size_t | depth () const |
bool | has_parent () const |
bool | has_child () const |
MixedLinearVariationalProblem & | parent () |
const MixedLinearVariationalProblem & | parent () const |
Return parent in hierarchy (const version). | |
std::shared_ptr< MixedLinearVariationalProblem > | parent_shared_ptr () |
std::shared_ptr< const MixedLinearVariationalProblem > | parent_shared_ptr () const |
Return shared pointer to parent (const version). | |
MixedLinearVariationalProblem & | child () |
const MixedLinearVariationalProblem & | child () const |
Return child in hierarchy (const version). | |
std::shared_ptr< MixedLinearVariationalProblem > | child_shared_ptr () |
std::shared_ptr< const MixedLinearVariationalProblem > | child_shared_ptr () const |
Return shared pointer to child (const version). | |
MixedLinearVariationalProblem & | root_node () |
const MixedLinearVariationalProblem & | root_node () const |
Return root node object in hierarchy (const version). | |
std::shared_ptr< MixedLinearVariationalProblem > | root_node_shared_ptr () |
std::shared_ptr< const MixedLinearVariationalProblem > | root_node_shared_ptr () const |
Return shared pointer to root node object in hierarchy (const version). | |
MixedLinearVariationalProblem & | leaf_node () |
const MixedLinearVariationalProblem & | leaf_node () const |
Return leaf node object in hierarchy (const version). | |
std::shared_ptr< MixedLinearVariationalProblem > | leaf_node_shared_ptr () |
std::shared_ptr< const MixedLinearVariationalProblem > | leaf_node_shared_ptr () const |
Return shared pointer to leaf node object in hierarchy (const version). | |
void | set_parent (std::shared_ptr< MixedLinearVariationalProblem > parent) |
Set parent. | |
void | clear_child () |
Clear child. | |
void | set_child (std::shared_ptr< MixedLinearVariationalProblem > child) |
Set child. | |
const Hierarchical & | operator= (const Hierarchical &hierarchical) |
Assignment operator. | |
void | _debug () const |
Function useful for debugging the hierarchy. | |
This class represents a mixed linear variational problem:
Find u = (u_1, ..., u_n) in V = V1 x ... x Vn such that
a(u, v) = L(v) for all v in V^,
where V is the trial space and V^ is the test space.
std::vector<std::vector<std::shared_ptr<const Form> > > dolfin::MixedLinearVariationalProblem::form_list_type |
Create mixed linear variational problem with a list of boundary conditions