Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::FunctionPair Class Reference

#include <FunctionPair.h>

Collaboration diagram for dolfin::FunctionPair:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FunctionPair ()
 Create empty function pair.

 FunctionPair (NewArray< real > &w, Function &f)
 Create function pair of given functions.

 ~FunctionPair ()
 Destructor.

void update (const Cell &cell, const NewPDE &pde)
 Update local values on given cell at given time t.


Detailed Description

FunctionPair represents a pair of functions (w,f), with the local function w being the restriction of the global function f to a cell.

The local function w is represented by a list of degrees of freedom, while the global function f is represented by an object of the class Function.


Constructor & Destructor Documentation

FunctionPair::FunctionPair  ) 
 

Create empty function pair.

FunctionPair::FunctionPair NewArray< real > &  w,
Function f
 

Create function pair of given functions.

FunctionPair::~FunctionPair  ) 
 

Destructor.


Member Function Documentation

void FunctionPair::update const Cell cell,
const NewPDE pde
 

Update local values on given cell at given time t.


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


Documentation automatically generated with Doxygen on 10 Sep 2004.