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

#include <LinearTimeDependentProblem.h>

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

Public Member Functions

 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)
 
std::shared_ptr< const TensorProductFormbilinear_form () const
 Return bilinear form.
 
std::shared_ptr< const TensorProductFormlinear_form () const
 Return linear form.
 
std::shared_ptr< Functionsolution ()
 Return solution variable.
 
std::shared_ptr< const Functionsolution () const
 Return solution variable (const version)
 
std::vector< std::shared_ptr< const BoundaryCondition > > bcs () const
 Return boundary conditions.
 
std::shared_ptr< const FunctionSpacetrial_space () const
 Return trial space.
 
std::shared_ptr< const FunctionSpacetest_space () const
 Return test space.
 
- Public Member Functions inherited from dolfin::Hierarchical< LinearTimeDependentProblem >
 Hierarchical (LinearTimeDependentProblem &self)
 Constructor.
 
virtual ~Hierarchical ()
 Destructor.
 
std::size_t depth () const
 
bool has_parent () const
 
bool has_child () const
 
LinearTimeDependentProblemparent ()
 
const LinearTimeDependentProblemparent () const
 Return parent in hierarchy (const version).
 
std::shared_ptr< LinearTimeDependentProblemparent_shared_ptr ()
 
std::shared_ptr< const LinearTimeDependentProblemparent_shared_ptr () const
 Return shared pointer to parent (const version).
 
LinearTimeDependentProblemchild ()
 
const LinearTimeDependentProblemchild () const
 Return child in hierarchy (const version).
 
std::shared_ptr< LinearTimeDependentProblemchild_shared_ptr ()
 
std::shared_ptr< const LinearTimeDependentProblemchild_shared_ptr () const
 Return shared pointer to child (const version).
 
LinearTimeDependentProblemroot_node ()
 
const LinearTimeDependentProblemroot_node () const
 Return root node object in hierarchy (const version).
 
std::shared_ptr< LinearTimeDependentProblemroot_node_shared_ptr ()
 
std::shared_ptr< const LinearTimeDependentProblemroot_node_shared_ptr () const
 Return shared pointer to root node object in hierarchy (const version).
 
LinearTimeDependentProblemleaf_node ()
 
const LinearTimeDependentProblemleaf_node () const
 Return leaf node object in hierarchy (const version).
 
std::shared_ptr< LinearTimeDependentProblemleaf_node_shared_ptr ()
 
std::shared_ptr< const LinearTimeDependentProblemleaf_node_shared_ptr () const
 Return shared pointer to leaf node object in hierarchy (const version).
 
void set_parent (std::shared_ptr< LinearTimeDependentProblem > parent)
 Set parent.
 
void clear_child ()
 Clear child.
 
void set_child (std::shared_ptr< LinearTimeDependentProblem > 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 linear time-dependent variational problem:

Find u in U = U_h (x) U_k such that

a(u, v) = L(v)  for all v in V = V_h (x) V_k,

where U is a tensor-product trial space and V is a tensor-product test space.

Constructor & Destructor Documentation

◆ LinearTimeDependentProblem()

LinearTimeDependentProblem::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 
)

Create linear variational problem with a list of boundary conditions (shared pointer version)


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