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

dolfin::Partition Class Reference

#include <Partition.h>

Collaboration diagram for dolfin::Partition:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Partition (unsigned int N)
 Constructor.

 ~Partition ()
 Destructor.

int size () const
 Return size of partition.

int index (unsigned int pos) const
 Return component index at given position.

void update (int offset, int &end, real &K, Adaptivity &adaptivity)
 Update partition (reorder components starting at offset).


Detailed Description

Partition is used in the recursive construction of time slabs and contains a list of component indices. The order of these indices determine which components should be in which time slab.


Constructor & Destructor Documentation

Partition::Partition unsigned int  N  ) 
 

Constructor.

Partition::~Partition  ) 
 

Destructor.


Member Function Documentation

int Partition::index unsigned int  pos  )  const
 

Return component index at given position.

int Partition::size  )  const
 

Return size of partition.

void Partition::update int  offset,
int &  end,
real K,
Adaptivity adaptivity
 

Update partition (reorder components starting at offset).


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


Documentation automatically generated with Doxygen on 10 Sep 2004.