#include <vecdoubleghost.h>
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 |
VecDouble * | m_vRealData |
Definition at line 47 of file vecdoubleghost.h.
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 }
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 | ( | ) |
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 }
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.
VecDouble* VecDoubleGhost::m_vRealData [protected] |
Definition at line 52 of file vecdoubleghost.h.