CellDuplicator< CellType > Class Template Reference

#include <CellDuplicator.hpp>

List of all members.

Public Types

typedef std::map< const Vertex
*, size_t > 
Translation

Public Member Functions

 CellDuplicator (const CellType &cell, Translation &translator, VerticesSet &newVerticesSet)
 ~CellDuplicator ()


Detailed Description

template<typename CellType>
class CellDuplicator< CellType >

Definition at line 36 of file CellDuplicator.hpp.


Member Typedef Documentation

template<typename CellType>
typedef std::map<const Vertex*, size_t> CellDuplicator< CellType >::Translation

Definition at line 40 of file CellDuplicator.hpp.


Constructor & Destructor Documentation

template<typename CellType>
CellDuplicator< CellType >::CellDuplicator ( const CellType &  cell,
Translation translator,
VerticesSet newVerticesSet 
) [inline]

The constructor

Parameters:
cell a given cell
translator the correspondance list
newVerticesSet the new set of vertices

Definition at line 50 of file CellDuplicator.hpp.

00053     : CellType(cell)
00054   {
00055     for (size_t i=0; i<CellType::NumberOfVertices; ++i) {
00056       this->__vertices[i] = &newVerticesSet[translator[&cell(i)]];
00057     }
00058   }

template<typename CellType>
CellDuplicator< CellType >::~CellDuplicator (  )  [inline]

Destructor

Definition at line 64 of file CellDuplicator.hpp.

00065   {
00066     ;
00067   }


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

Generated on Wed Nov 19 00:05:00 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6