DOLFIN
DOLFIN C++ interface
Public Types | Public Member Functions | List of all members
dolfin::MixedLinearVariationalProblem Class Reference

#include <MixedLinearVariationalProblem.h>

Inheritance diagram for dolfin::MixedLinearVariationalProblem:
Inheritance graph
[legend]
Collaboration diagram for dolfin::MixedLinearVariationalProblem:
Collaboration graph
[legend]

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 Formbilinear_form (int i, int j=0) const
 
form_list_type linear_form () const
 Return linear form.
 
std::shared_ptr< const Formlinear_form (int i, int j=0) const
 
std::vector< std::shared_ptr< Function > > solution ()
 Return solution variable.
 
std::shared_ptr< Functionsolution (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 FunctionSpacetrial_space (int i) const
 
std::vector< std::shared_ptr< const FunctionSpace > > test_space () const
 Return test space.
 
std::shared_ptr< const FunctionSpacetest_space (int i) const
 
- Public Member Functions inherited from dolfin::Hierarchical< MixedLinearVariationalProblem >
 Hierarchical (MixedLinearVariationalProblem &self)
 Constructor.
 
virtual ~Hierarchical ()
 Destructor.
 
std::size_t depth () const
 
bool has_parent () const
 
bool has_child () const
 
MixedLinearVariationalProblemparent ()
 
const MixedLinearVariationalProblemparent () const
 Return parent in hierarchy (const version).
 
std::shared_ptr< MixedLinearVariationalProblemparent_shared_ptr ()
 
std::shared_ptr< const MixedLinearVariationalProblemparent_shared_ptr () const
 Return shared pointer to parent (const version).
 
MixedLinearVariationalProblemchild ()
 
const MixedLinearVariationalProblemchild () const
 Return child in hierarchy (const version).
 
std::shared_ptr< MixedLinearVariationalProblemchild_shared_ptr ()
 
std::shared_ptr< const MixedLinearVariationalProblemchild_shared_ptr () const
 Return shared pointer to child (const version).
 
MixedLinearVariationalProblemroot_node ()
 
const MixedLinearVariationalProblemroot_node () const
 Return root node object in hierarchy (const version).
 
std::shared_ptr< MixedLinearVariationalProblemroot_node_shared_ptr ()
 
std::shared_ptr< const MixedLinearVariationalProblemroot_node_shared_ptr () const
 Return shared pointer to root node object in hierarchy (const version).
 
MixedLinearVariationalProblemleaf_node ()
 
const MixedLinearVariationalProblemleaf_node () const
 Return leaf node object in hierarchy (const version).
 
std::shared_ptr< MixedLinearVariationalProblemleaf_node_shared_ptr ()
 
std::shared_ptr< const MixedLinearVariationalProblemleaf_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 Hierarchicaloperator= (const Hierarchical &hierarchical)
 Assignment operator.
 
void _debug () const
 Function useful for debugging the hierarchy.
 

Detailed Description

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.

Member Typedef Documentation

◆ form_list_type

typedef 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


The documentation for this class was generated from the following files: