VecDoubleGhost Class Reference

#include <vecdoubleghost.h>

Collaboration diagram for VecDoubleGhost:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VecDoubleGhost (OrthoMesh &mesh)
 VecDoubleGhost (VecDouble &v, OrthoMesh &mesh)
void setGhostCellAsMirror (unsigned ghostIndex, unsigned cellIndex)
void setGhostCells (Function3D &f)
 ~VecDoubleGhost ()

Protected Attributes

std::vector< int > m_vIndices
std::vector< double > m_vFBC
VecDoublem_vRealData

Detailed Description

VecDoubleGhost

Definition at line 47 of file vecdoubleghost.h.


Constructor & Destructor Documentation

VecDoubleGhost::VecDoubleGhost ( OrthoMesh mesh  )  [inline]

Definition at line 54 of file vecdoubleghost.h.

00055     :m_mesh(mesh)
00056   {
00057     m_vRealData=new VecDouble(mesh.numCells());
00058   }

VecDoubleGhost::VecDoubleGhost ( VecDouble v,
OrthoMesh mesh 
) [inline]

Definition at line 60 of file vecdoubleghost.h.

00061     :m_mesh(mesh)
00062   {
00063     assert(v.size() == mesh.numRawCells());
00064     m_vRealData=&v;
00065   }

VecDoubleGhost::~VecDoubleGhost (  ) 

Member Function Documentation

void VecDoubleGhost::setGhostCellAsMirror ( unsigned  ghostIndex,
unsigned  cellIndex 
) [inline]

Definition at line 67 of file vecdoubleghost.h.

00068   {
00069     assert(ghostIndex >= m_mesh.numCells());
00070     assert(cellIndex <  m_mesh.numCells());
00071     unsigned index = ghostIndex-m_mesh.numCells();
00072     assert(index < m_vIndices.size());
00073     m_vIndices[index]=cellIndex;
00074   }

void VecDoubleGhost::setGhostCells ( Function3D f  )  [inline]

Definition at line 78 of file vecdoubleghost.h.

00079   {
00080     OrthoMesh::Raw_Face_It face = m_mesh.begin_raw_face();
00081       
00082   }


Member Data Documentation

std::vector<double> VecDoubleGhost::m_vFBC [protected]

Definition at line 51 of file vecdoubleghost.h.

std::vector<int> VecDoubleGhost::m_vIndices [protected]

Definition at line 50 of file vecdoubleghost.h.

Definition at line 52 of file vecdoubleghost.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:13:33 2012 for CO2INJECTION by  doxygen 1.6.3