#include <SMDS_Downward.hxx>

Public Member Functions | |
| virtual int | getNumberOfUpCells (int cellId) |
| virtual const int * | getUpCells (int cellId) |
| virtual const unsigned char * | getUpTypes (int cellId) |
| virtual void | getNodeIds (int cellId, std::set< int > &nodeSet) |
| virtual int | getNumberOfDownCells (int cellId) |
| Get the number of downward entities associated to a cell (always the same for a given vtk type of cell) | |
| virtual const int * | getDownCells (int cellId) |
| get a pointer on the downward entities id's associated to a cell. | |
| virtual const unsigned char * | getDownTypes (int cellId) |
| get a list of vtk cell types associated to downward entities of a given cell, in the same order than the downward entities id's list ( | |
| virtual int | getNodes (int cellId, int *nodevec) |
| int | getVtkCellId (int cellId) |
| int | getMaxId () |
Static Public Member Functions | |
| static int | getCellDimension (unsigned char cellType) |
| get the dimension of a cell (1,2,3 for 1D, 2D 3D) given the vtk cell type | |
Protected Member Functions | |
| SMDS_Down2D (SMDS_UnstructuredGrid *grid, int nbDownCells) | |
| ~SMDS_Down2D () | |
| virtual void | allocate (int nbElems) |
| Resize the downward connectivity storage vector if needed. | |
| virtual void | compactStorage () |
| virtual void | addUpCell (int cellId, int upCellId, unsigned char aType) |
| Id's are downward connectivity id's. | |
| virtual void | computeEdgesWithNodes (int cellId, ListElemByNodesType &facesWithNodes)=0 |
| virtual int | getNodeSet (int cellId, int *nodeSet) |
| int | computeVolumeIds (int cellId, int *ids) |
| Find in vtkUnstructuredGrid the volumes containing a face already stored in vtkUnstructuredGrid. | |
| int | computeVolumeIds (ElemByNodesType &faceByNodes, int *ids) |
| Find in vtkUnstructuredGrid the volumes containing a face described by it's nodes Search the volumes containing a face, to store the info in SMDS_Down2D for later uses with SMDS_Down2D.getUpCells and SMDS_Down2D.getUpTypes. | |
| int | computeVolumeIdsFromNodesFace (int *nodes, int nbNodes, int *ids) |
| Find in vtkUnstructuredGrid the volumes containing a face described by it's nodes Search the volumes containing a face, to store the info in SMDS_Down2D for later uses with SMDS_Down2D.getUpCells and SMDS_Down2D.getUpTypes. | |
| void | setTempNodes (int cellId, int vtkId) |
| void | setTempNodes (int cellId, ElemByNodesType &faceByNodes) |
| bool | isInFace (int cellId, int *pts, int npts) |
| Find if all the nodes belongs to the face. | |
| int | FindEdgeByNodes (int cellId, ElemByNodesType &edgeByNodes) |
| int | addCell (int vtkId=-1) |
| Give or create an entry for downward connectivity structure relative to a cell. | |
| virtual void | initCell (int cellId) |
| generic method do nothing. | |
| virtual void | addDownCell (int cellId, int lowCellId, unsigned char aType) |
| Id's are downward connectivity id's. | |
Protected Attributes | |
| std::vector< int > | _upCellIds |
| 2 volumes max. | |
| std::vector< unsigned char > | _upCellTypes |
| 2 volume types per face | |
| std::vector< int > | _tempNodes |
| temporary storage of nodes, until downward connectivity completion | |
| int | _nbNodes |
| number of nodes in a face | |
| SMDS_UnstructuredGrid * | _grid |
| int | _maxId |
| int | _nbDownCells |
| the same number for all cells of a derived class | |
| std::vector< int > | _cellIds |
| growing size: all the down cell id's, size = _maxId * _nbDownCells | |
| std::vector< int > | _vtkCellIds |
| growing size: size = _maxId, either vtkId or -1 | |
| std::vector< unsigned char > | _cellTypes |
| fixed size: the same vector for all cells of a derived class | |
Static Protected Attributes | |
| static std::vector< int > | _cellDimension |
| conversion table: type --> dimension | |
Friends | |
| class | SMDS_UnstructuredGrid |
| class | SMDS_Down1D |
Definition at line 142 of file SMDS_Downward.hxx.
| SMDS_Down2D::SMDS_Down2D | ( | SMDS_UnstructuredGrid * | grid, |
| int | nbDownCells | ||
| ) | [protected] |
Definition at line 489 of file SMDS_Downward.cxx.
References _nbNodes, _tempNodes, _upCellIds, and _upCellTypes.
: SMDS_Downward(grid, nbDownCells) { _upCellIds.clear(); _upCellTypes.clear(); _tempNodes.clear(); _nbNodes = 0; }
| SMDS_Down2D::~SMDS_Down2D | ( | ) | [protected] |
Definition at line 498 of file SMDS_Downward.cxx.
{
}
Give or create an entry for downward connectivity structure relative to a cell.
If the entry already exists, just return its id, otherwise, create it. The internal storage memory is allocated if needed. The SMDS_UnstructuredGrid._cellIdToDownId vector is completed for vtkUnstructuredGrid cells.
| vtkId | for a vtkUnstructuredGrid cell or -1 (default) for a created downward cell. |
Definition at line 112 of file SMDS_Downward.cxx.
References SMDS_Downward._grid, SMDS_Downward._maxId, SMDS_Downward._vtkCellIds, SMDS_Downward.allocate(), SMDS_UnstructuredGrid.CellIdToDownId(), SMDS_Downward.initCell(), and SMDS_UnstructuredGrid.setCellIdToDownId().
{
int localId = -1;
if (vtkId >= 0)
localId = _grid->CellIdToDownId(vtkId);
if (localId >= 0)
return localId;
localId = this->_maxId;
this->_maxId++;
this->allocate(_maxId);
if (vtkId >= 0)
{
this->_vtkCellIds[localId] = vtkId;
_grid->setCellIdToDownId(vtkId, localId);
}
this->initCell(localId);
return localId;
}
| void SMDS_Downward::addDownCell | ( | int | cellId, |
| int | lowCellId, | ||
| unsigned char | aType | ||
| ) | [protected, virtual, inherited] |
Id's are downward connectivity id's.
add a downward entity of dimension n-1 (cell or node) to a given cell.
Actual implementation is done in derived methods.
| cellId | index of the parent cell (dimension n) in the downward structure relative to a vtk cell type. |
| lowCellId | index of the children cell to add (dimension n-1) |
| aType | vtk cell type of the cell to add (needed to find the SMDS_Downward structure containing the cell to add). |
Reimplemented in SMDS_DownTriangle, SMDS_DownQuadTriangle, SMDS_DownQuadrangle, SMDS_DownQuadQuadrangle, SMDS_DownTetra, SMDS_DownQuadTetra, SMDS_DownPyramid, SMDS_DownQuadPyramid, SMDS_DownPenta, SMDS_DownQuadPenta, SMDS_DownHexa, and SMDS_DownQuadHexa.
Definition at line 179 of file SMDS_Downward.cxx.
{
ASSERT(0); // must be re-implemented in derived class
}
Id's are downward connectivity id's.
add a downward entity of dimension n+1 to a given cell.
Actual implementation is done in derived methods.
| cellId | index of the children cell (dimension n) in the downward structure relative to a vtk cell type. |
| upCellId | index of the parent cell to add (dimension n+1) |
| aType | vtk cell type of the cell to add (needed to find the SMDS_Downward structure containing the cell to add). |
Reimplemented from SMDS_Downward.
Definition at line 708 of file SMDS_Downward.cxx.
References _upCellIds, and _upCellTypes.
{
//ASSERT((cellId >=0)&& (cellId < _maxId));
int *vols = &_upCellIds[2 * cellId];
unsigned char *types = &_upCellTypes[2 * cellId];
for (int i = 0; i < 2; i++)
{
if (vols[i] < 0)
{
vols[i] = upCellId; // use non affected volume
types[i] = aType;
return;
}
if ((vols[i] == upCellId) && (types[i] == aType)) // already done
return;
}
ASSERT(0);
}
| void SMDS_Down2D::allocate | ( | int | nbElems | ) | [protected, virtual] |
Resize the downward connectivity storage vector if needed.
| nbElems | total number of elements of the same type required |
Implements SMDS_Downward.
Definition at line 687 of file SMDS_Downward.cxx.
References SMDS_Downward._cellIds, SMDS_Downward._nbDownCells, _nbNodes, _tempNodes, _upCellIds, _upCellTypes, SMDS_Downward._vtkCellIds, and SMDS_Mesh.chunkSize.
{
if (nbElems >= _vtkCellIds.size())
{
_cellIds.resize(_nbDownCells * (nbElems + SMDS_Mesh::chunkSize), -1);
_vtkCellIds.resize(nbElems + SMDS_Mesh::chunkSize, -1);
_upCellIds.resize(2 * (nbElems + SMDS_Mesh::chunkSize), -1);
_upCellTypes.resize(2 * (nbElems + SMDS_Mesh::chunkSize), -1);
_tempNodes.resize(_nbNodes * (nbElems + SMDS_Mesh::chunkSize), -1);
}
}
| void SMDS_Down2D::compactStorage | ( | ) | [protected, virtual] |
Implements SMDS_Downward.
Definition at line 699 of file SMDS_Downward.cxx.
References SMDS_Downward._cellIds, SMDS_Downward._maxId, SMDS_Downward._nbDownCells, _tempNodes, _upCellIds, _upCellTypes, and SMDS_Downward._vtkCellIds.
{
_cellIds.resize(_nbDownCells * _maxId);
_upCellIds.resize(2 * _maxId);
_upCellTypes.resize(2 * _maxId);
_vtkCellIds.resize(_maxId);
_tempNodes.clear();
}
| virtual void SMDS_Down2D.computeEdgesWithNodes | ( | int | cellId, |
| ListElemByNodesType & | facesWithNodes | ||
| ) | [protected, pure virtual] |
Implemented in SMDS_DownTriangle, SMDS_DownQuadTriangle, SMDS_DownQuadrangle, and SMDS_DownQuadQuadrangle.
Referenced by SMDS_UnstructuredGrid.BuildDownwardConnectivity().
Find in vtkUnstructuredGrid the volumes containing a face already stored in vtkUnstructuredGrid.
Search the volumes containing a face, to store the info in SMDS_Down2D for later uses with SMDS_Down2D.getUpCells and SMDS_Down2D.getUpTypes. A face belongs to 0, 1 or 2 volumes, identified by their id in vtkUnstructuredGrid.
| cellId | the face cell id in vkUnstructuredGrid |
| ids | a couple of vtkId, initialized at -1 (no parent volume) |
Definition at line 542 of file SMDS_Downward.cxx.
References SMDS_Downward._grid, computeVolumeIdsFromNodesFace(), and SMESH_AdvancedEditor.nodes.
Referenced by SMDS_UnstructuredGrid.BuildDownwardConnectivity().
{
// --- find point id's of the face
vtkIdType npts = 0;
vtkIdType *pts; // will refer to the point id's of the face
_grid->GetCellPoints(cellId, npts, pts);
vector<int> nodes;
for (int i = 0; i < npts; i++)
nodes.push_back(pts[i]);
int nvol = this->computeVolumeIdsFromNodesFace(&nodes[0], npts, ids);
return nvol;
}
| int SMDS_Down2D::computeVolumeIds | ( | ElemByNodesType & | faceByNodes, |
| int * | ids | ||
| ) | [protected] |
Find in vtkUnstructuredGrid the volumes containing a face described by it's nodes Search the volumes containing a face, to store the info in SMDS_Down2D for later uses with SMDS_Down2D.getUpCells and SMDS_Down2D.getUpTypes.
A face belongs to 0, 1 or 2 volumes, identified by their id in vtkUnstructuredGrid.
| faceByNodes | |
| ids | a couple of vtkId, initialized at -1 (no parent volume) |
Definition at line 564 of file SMDS_Downward.cxx.
References computeVolumeIdsFromNodesFace(), ElemByNodesType.nbNodes, and ElemByNodesType.nodeIds.
{
int nvol = this->computeVolumeIdsFromNodesFace(&faceByNodes.nodeIds[0], faceByNodes.nbNodes, ids);
return nvol;
}
Find in vtkUnstructuredGrid the volumes containing a face described by it's nodes Search the volumes containing a face, to store the info in SMDS_Down2D for later uses with SMDS_Down2D.getUpCells and SMDS_Down2D.getUpTypes.
A face belongs to 0, 1 or 2 volumes, identified by their id in vtkUnstructuredGrid.
| pts | array of vtk node id's |
| npts | number of nodes |
| ids |
Definition at line 579 of file SMDS_Downward.cxx.
References SMDS_Downward._grid, SMDS_Downward.getCellDimension(), SMDS_UnstructuredGrid.GetLinks(), and SMESH_mechanic_editor.point.
Referenced by SMDS_UnstructuredGrid.BuildDownwardConnectivity(), and computeVolumeIds().
{
// --- find all the cells the points belong to, and how many of the points belong to a given cell
int cellIds[1000];
int cellCnt[1000];
int cnt = 0;
for (int i = 0; i < npts; i++)
{
vtkIdType point = pts[i];
int numCells = _grid->GetLinks()->GetNcells(point);
//MESSAGE("cells pour " << i << " " << numCells);
vtkIdType *cells = _grid->GetLinks()->GetCells(point);
for (int j = 0; j < numCells; j++)
{
int vtkCellId = cells[j];
bool found = false;
for (int k = 0; k < cnt; k++)
{
if (cellIds[k] == vtkCellId)
{
cellCnt[k] += 1;
found = true;
break;
}
}
if (!found)
{
cellIds[cnt] = vtkCellId;
cellCnt[cnt] = 1;
// TODO ASSERT(cnt<1000);
cnt++;
}
}
}
// --- find the volume cells: they contains all the points and are of type volume
int nvol = 0;
for (int i = 0; i < cnt; i++)
{
//MESSAGE("cell " << cellIds[i] << " points " << cellCnt[i]);
if (cellCnt[i] == npts)
{
int vtkElemId = cellIds[i];
int vtkType = _grid->GetCellType(vtkElemId);
if (SMDS_Downward::getCellDimension(vtkType) == 3)
{
ids[nvol] = vtkElemId; // store the volume id in given vector
nvol++;
}
}
if (nvol == 2)
break;
}
return nvol;
}
| int SMDS_Down2D::FindEdgeByNodes | ( | int | cellId, |
| ElemByNodesType & | edgeByNodes | ||
| ) | [protected] |
Definition at line 734 of file SMDS_Downward.cxx.
References SMDS_Downward._cellIds, SMDS_Downward._cellTypes, SMDS_Downward._grid, SMDS_Downward._nbDownCells, SMDS_UnstructuredGrid.getDownArray(), SMDS_Downward.getNodeSet(), ElemByNodesType.nodeIds, SMESH_mechanic_editor.point, and ElemByNodesType.vtkType.
Referenced by SMDS_UnstructuredGrid.BuildDownwardConnectivity().
{
int *edges = &_cellIds[_nbDownCells * cellId];
for (int i = 0; i < _nbDownCells; i++)
{
if ((edges[i] >= 0) && (edgeByNodes.vtkType == _cellTypes[i]))
{
int nodeSet[3];
int npts = this->_grid->getDownArray(edgeByNodes.vtkType)->getNodeSet(edges[i], nodeSet);
bool found = false;
for (int j = 0; j < npts; j++)
{
int point = edgeByNodes.nodeIds[j];
found = false;
for (int k = 0; k < npts; k++)
{
if (nodeSet[k] == point)
{
found = true;
break;
}
}
if (!found)
break;
}
if (found)
return edges[i];
}
}
return -1;
}
| int SMDS_Downward::getCellDimension | ( | unsigned char | cellType | ) | [static, inherited] |
get the dimension of a cell (1,2,3 for 1D, 2D 3D) given the vtk cell type
| cellType | vtk cell type |
Definition at line 44 of file SMDS_Downward.cxx.
References VTK_MAXTYPE.
Referenced by SMDS_UnstructuredGrid.BuildDownwardConnectivity(), SMDS_Down1D.computeFaces(), computeVolumeIdsFromNodesFace(), SMDS_Down1D.computeVtkCells(), SMDS_UnstructuredGrid.GetNeighbors(), SMDS_UnstructuredGrid.getOrderedNodesOfFace(), and SMDS_UnstructuredGrid.GetParentVolumes().
{
if (_cellDimension.empty())
{
_cellDimension.resize(VTK_MAXTYPE + 1, 0);
_cellDimension[VTK_LINE] = 1;
_cellDimension[VTK_QUADRATIC_EDGE] = 1;
_cellDimension[VTK_TRIANGLE] = 2;
_cellDimension[VTK_QUADRATIC_TRIANGLE] = 2;
_cellDimension[VTK_QUAD] = 2;
_cellDimension[VTK_QUADRATIC_QUAD] = 2;
_cellDimension[VTK_TETRA] = 3;
_cellDimension[VTK_QUADRATIC_TETRA] = 3;
_cellDimension[VTK_HEXAHEDRON] = 3;
_cellDimension[VTK_QUADRATIC_HEXAHEDRON] = 3;
_cellDimension[VTK_WEDGE] = 3;
_cellDimension[VTK_QUADRATIC_WEDGE] = 3;
_cellDimension[VTK_PYRAMID] = 3;
_cellDimension[VTK_QUADRATIC_PYRAMID] = 3;
}
return _cellDimension[cellType];
}
get a pointer on the downward entities id's associated to a cell.
| cellId | index of the cell in the downward structure relative to a given vtk cell type. |
Definition at line 156 of file SMDS_Downward.cxx.
References SMDS_Downward._cellIds, and SMDS_Downward._nbDownCells.
Referenced by SMDS_Down1D.computeFaces(), and SMESH_MeshEditor.DoubleNodesOnGroupBoundaries().
{
//ASSERT((cellId >=0) && (cellId < _maxId));
return &_cellIds[_nbDownCells * cellId];
}
| const unsigned char * SMDS_Downward::getDownTypes | ( | int | cellId | ) | [virtual, inherited] |
get a list of vtk cell types associated to downward entities of a given cell, in the same order than the downward entities id's list (
| cellId | index of the cell in the downward structure relative to a vtk cell type. |
Definition at line 168 of file SMDS_Downward.cxx.
References SMDS_Downward._cellTypes.
Referenced by SMDS_Down1D.computeFaces(), and SMESH_MeshEditor.DoubleNodesOnGroupBoundaries().
{
return &_cellTypes[0];
}
| int SMDS_Downward.getMaxId | ( | ) | [inherited] |
Definition at line 85 of file SMDS_Downward.hxx.
References SMDS_Downward._maxId.
Referenced by SMDS_UnstructuredGrid.BuildDownwardConnectivity().
{
return _maxId;
}
Implements SMDS_Downward.
Definition at line 524 of file SMDS_Downward.cxx.
References SMDS_Downward._cellIds, SMDS_Downward._cellTypes, SMDS_Downward._grid, SMDS_Downward._nbDownCells, SMDS_UnstructuredGrid.getDownArray(), and SMDS_Downward.getNodeIds().
{
for (int i = 0; i < _nbDownCells; i++)
{
int downCellId = _cellIds[_nbDownCells * cellId + i];
unsigned char cellType = _cellTypes[i];
this->_grid->getDownArray(cellType)->getNodeIds(downCellId, nodeSet);
}
}
Reimplemented in SMDS_Down1D.
Definition at line 80 of file SMDS_Downward.hxx.
Referenced by SMESH_MeshEditor.DoubleNodesOnGroupBoundaries().
{return 0; }
Reimplemented from SMDS_Downward.
Definition at line 727 of file SMDS_Downward.cxx.
References _nbNodes, and _tempNodes.
{
for (int i = 0; i < _nbNodes; i++)
nodeSet[i] = _tempNodes[_nbNodes * cellId + i];
return _nbNodes;
}
Get the number of downward entities associated to a cell (always the same for a given vtk type of cell)
| cellId | not used here. |
Definition at line 145 of file SMDS_Downward.cxx.
References SMDS_Downward._nbDownCells.
Referenced by SMDS_Down1D.computeFaces(), and SMESH_MeshEditor.DoubleNodesOnGroupBoundaries().
{
return _nbDownCells;
}
Implements SMDS_Downward.
Definition at line 502 of file SMDS_Downward.cxx.
References _upCellIds.
{
int nbup = 0;
if (_upCellIds[2 * cellId] >= 0)
nbup++;
if (_upCellIds[2 * cellId + 1] >= 0)
nbup++;
return nbup;
}
Implements SMDS_Downward.
Definition at line 512 of file SMDS_Downward.cxx.
References _upCellIds.
{
//ASSERT((cellId >=0) && (cellId < _maxId));
return &_upCellIds[2 * cellId];
}
| const unsigned char * SMDS_Down2D::getUpTypes | ( | int | cellId | ) | [virtual] |
Implements SMDS_Downward.
Definition at line 518 of file SMDS_Downward.cxx.
References _upCellTypes.
{
//ASSERT((cellId >=0) && (cellId < _maxId));
return &_upCellTypes[2 * cellId];
}
Definition at line 81 of file SMDS_Downward.hxx.
References SMDS_Downward._vtkCellIds.
{
return _vtkCellIds[cellId];
}
| void SMDS_Downward::initCell | ( | int | cellId | ) | [protected, virtual, inherited] |
generic method do nothing.
see derived methods
| cellId |
Reimplemented in SMDS_Down1D.
Definition at line 136 of file SMDS_Downward.cxx.
Referenced by SMDS_Downward.addCell().
{
}
Find if all the nodes belongs to the face.
| cellId | the face cell Id |
| nodeSet | set of node id's to be found in the face list of nodes |
Definition at line 664 of file SMDS_Downward.cxx.
References _nbNodes, _tempNodes, SMESH_AdvancedEditor.nodes, and SMESH_mechanic_editor.point.
Referenced by SMDS_Down1D.computeFaces().
{
int nbFound = 0;
int *nodes = &_tempNodes[_nbNodes * cellId];
for (int j = 0; j < npts; j++)
{
int point = pts[j];
for (int i = 0; i < _nbNodes; i++)
{
if (nodes[i] == point)
{
nbFound++;
break;
}
}
}
return (nbFound == npts);
}
| void SMDS_Down2D::setTempNodes | ( | int | cellId, |
| ElemByNodesType & | faceByNodes | ||
| ) | [protected] |
Definition at line 652 of file SMDS_Downward.cxx.
References _nbNodes, _tempNodes, ElemByNodesType.nbNodes, and ElemByNodesType.nodeIds.
{
for (int i = 0; i < faceByNodes.nbNodes; i++)
_tempNodes[_nbNodes * cellId + i] = faceByNodes.nodeIds[i];
}
Definition at line 639 of file SMDS_Downward.cxx.
References SMDS_Downward._grid, _nbNodes, and _tempNodes.
Referenced by SMDS_UnstructuredGrid.BuildDownwardConnectivity().
{
vtkIdType npts = 0;
vtkIdType *pts; // will refer to the point id's of the face
_grid->GetCellPoints(vtkId, npts, pts);
// MESSAGE(vtkId << " " << npts << " " << _nbNodes);
//ASSERT(npts == _nbNodes);
for (int i = 0; i < npts; i++)
{
_tempNodes[_nbNodes * cellId + i] = pts[i];
}
}
friend class SMDS_Down1D [friend] |
Definition at line 145 of file SMDS_Downward.hxx.
friend class SMDS_UnstructuredGrid [friend] |
Reimplemented from SMDS_Downward.
Reimplemented in SMDS_DownTriangle, SMDS_DownQuadTriangle, SMDS_DownQuadrangle, and SMDS_DownQuadQuadrangle.
Definition at line 144 of file SMDS_Downward.hxx.
vector< int > SMDS_Downward::_cellDimension [static, protected, inherited] |
conversion table: type --> dimension
Definition at line 108 of file SMDS_Downward.hxx.
Referenced by SMDS_Downward.SMDS_Downward().
std::vector<int> SMDS_Downward._cellIds [protected, inherited] |
growing size: all the down cell id's, size = _maxId * _nbDownCells
Definition at line 104 of file SMDS_Downward.hxx.
Referenced by SMDS_DownQuadHexa.addDownCell(), SMDS_DownHexa.addDownCell(), SMDS_DownQuadPenta.addDownCell(), SMDS_DownPenta.addDownCell(), SMDS_DownQuadPyramid.addDownCell(), SMDS_DownPyramid.addDownCell(), SMDS_DownQuadTetra.addDownCell(), SMDS_DownTetra.addDownCell(), SMDS_DownQuadQuadrangle.addDownCell(), SMDS_DownQuadrangle.addDownCell(), SMDS_DownQuadTriangle.addDownCell(), SMDS_DownTriangle.addDownCell(), SMDS_Down3D.allocate(), allocate(), SMDS_Down1D.allocate(), compactStorage(), SMDS_Down1D.compactStorage(), SMDS_Down1D.computeFaces(), SMDS_Down1D.computeVtkCells(), FindEdgeByNodes(), SMDS_Down3D.FindFaceByNodes(), SMDS_Downward.getDownCells(), getNodeIds(), SMDS_Down1D.getNodeIds(), SMDS_Down1D.getNodeSet(), SMDS_Down1D.setNodes(), and SMDS_Downward.SMDS_Downward().
std::vector<unsigned char> SMDS_Downward._cellTypes [protected, inherited] |
fixed size: the same vector for all cells of a derived class
Definition at line 106 of file SMDS_Downward.hxx.
Referenced by FindEdgeByNodes(), SMDS_Down3D.FindFaceByNodes(), SMDS_Downward.getDownTypes(), getNodeIds(), SMDS_DownEdge.SMDS_DownEdge(), SMDS_DownHexa.SMDS_DownHexa(), SMDS_DownPenta.SMDS_DownPenta(), SMDS_DownPyramid.SMDS_DownPyramid(), SMDS_DownQuadEdge.SMDS_DownQuadEdge(), SMDS_DownQuadHexa.SMDS_DownQuadHexa(), SMDS_DownQuadPenta.SMDS_DownQuadPenta(), SMDS_DownQuadPyramid.SMDS_DownQuadPyramid(), SMDS_DownQuadQuadrangle.SMDS_DownQuadQuadrangle(), SMDS_DownQuadrangle.SMDS_DownQuadrangle(), SMDS_DownQuadTetra.SMDS_DownQuadTetra(), SMDS_DownQuadTriangle.SMDS_DownQuadTriangle(), SMDS_DownTetra.SMDS_DownTetra(), SMDS_DownTriangle.SMDS_DownTriangle(), and SMDS_Downward.SMDS_Downward().
SMDS_UnstructuredGrid* SMDS_Downward._grid [protected, inherited] |
Definition at line 101 of file SMDS_Downward.hxx.
Referenced by SMDS_Downward.addCell(), SMDS_Down1D.computeFaces(), SMDS_DownQuadHexa.computeFacesWithNodes(), SMDS_DownHexa.computeFacesWithNodes(), SMDS_DownQuadPenta.computeFacesWithNodes(), SMDS_DownPenta.computeFacesWithNodes(), SMDS_DownQuadPyramid.computeFacesWithNodes(), SMDS_DownPyramid.computeFacesWithNodes(), SMDS_DownQuadTetra.computeFacesWithNodes(), SMDS_DownTetra.computeFacesWithNodes(), computeVolumeIds(), computeVolumeIdsFromNodesFace(), SMDS_Down1D.computeVtkCells(), FindEdgeByNodes(), SMDS_Down3D.FindFaceByNodes(), SMDS_Down3D.getNodeIds(), getNodeIds(), SMDS_DownQuadHexa.getOrderedNodesOfFace(), SMDS_DownHexa.getOrderedNodesOfFace(), SMDS_DownQuadPenta.getOrderedNodesOfFace(), SMDS_DownPenta.getOrderedNodesOfFace(), SMDS_DownQuadPyramid.getOrderedNodesOfFace(), SMDS_DownPyramid.getOrderedNodesOfFace(), SMDS_DownQuadTetra.getOrderedNodesOfFace(), SMDS_DownTetra.getOrderedNodesOfFace(), SMDS_Down1D.setNodes(), and setTempNodes().
int SMDS_Downward._maxId [protected, inherited] |
Definition at line 102 of file SMDS_Downward.hxx.
Referenced by SMDS_Downward.addCell(), compactStorage(), SMDS_Down1D.compactStorage(), SMDS_Downward.getMaxId(), and SMDS_Downward.SMDS_Downward().
int SMDS_Downward._nbDownCells [protected, inherited] |
the same number for all cells of a derived class
Definition at line 103 of file SMDS_Downward.hxx.
Referenced by SMDS_DownQuadHexa.addDownCell(), SMDS_DownHexa.addDownCell(), SMDS_DownQuadPenta.addDownCell(), SMDS_DownPenta.addDownCell(), SMDS_DownQuadPyramid.addDownCell(), SMDS_DownPyramid.addDownCell(), SMDS_DownQuadTetra.addDownCell(), SMDS_DownTetra.addDownCell(), SMDS_DownQuadQuadrangle.addDownCell(), SMDS_DownQuadrangle.addDownCell(), SMDS_DownQuadTriangle.addDownCell(), SMDS_DownTriangle.addDownCell(), SMDS_Down3D.allocate(), allocate(), SMDS_Down1D.allocate(), compactStorage(), SMDS_Down1D.compactStorage(), SMDS_Down1D.computeFaces(), SMDS_Down1D.computeVtkCells(), FindEdgeByNodes(), SMDS_Down3D.FindFaceByNodes(), SMDS_Downward.getDownCells(), getNodeIds(), SMDS_Down1D.getNodeIds(), SMDS_Down1D.getNodeSet(), SMDS_Downward.getNumberOfDownCells(), and SMDS_Down1D.setNodes().
int SMDS_Down2D._nbNodes [protected] |
number of nodes in a face
Definition at line 170 of file SMDS_Downward.hxx.
Referenced by allocate(), SMDS_DownQuadQuadrangle.computeEdgesWithNodes(), SMDS_DownQuadrangle.computeEdgesWithNodes(), SMDS_DownQuadTriangle.computeEdgesWithNodes(), SMDS_DownTriangle.computeEdgesWithNodes(), getNodeSet(), isInFace(), setTempNodes(), SMDS_Down2D(), SMDS_DownQuadQuadrangle.SMDS_DownQuadQuadrangle(), SMDS_DownQuadrangle.SMDS_DownQuadrangle(), SMDS_DownQuadTriangle.SMDS_DownQuadTriangle(), and SMDS_DownTriangle.SMDS_DownTriangle().
std::vector<int> SMDS_Down2D._tempNodes [protected] |
temporary storage of nodes, until downward connectivity completion
Definition at line 169 of file SMDS_Downward.hxx.
Referenced by allocate(), compactStorage(), SMDS_DownQuadQuadrangle.computeEdgesWithNodes(), SMDS_DownQuadrangle.computeEdgesWithNodes(), SMDS_DownQuadTriangle.computeEdgesWithNodes(), SMDS_DownTriangle.computeEdgesWithNodes(), getNodeSet(), isInFace(), setTempNodes(), and SMDS_Down2D().
std::vector<int> SMDS_Down2D._upCellIds [protected] |
2 volumes max.
per face
Definition at line 167 of file SMDS_Downward.hxx.
Referenced by addUpCell(), allocate(), compactStorage(), getNumberOfUpCells(), getUpCells(), and SMDS_Down2D().
std::vector<unsigned char> SMDS_Down2D._upCellTypes [protected] |
2 volume types per face
Definition at line 168 of file SMDS_Downward.hxx.
Referenced by addUpCell(), allocate(), compactStorage(), getUpTypes(), and SMDS_Down2D().
std::vector<int> SMDS_Downward._vtkCellIds [protected, inherited] |
growing size: size = _maxId, either vtkId or -1
Definition at line 105 of file SMDS_Downward.hxx.
Referenced by SMDS_Downward.addCell(), SMDS_Down3D.allocate(), allocate(), SMDS_Down1D.allocate(), compactStorage(), SMDS_Down1D.compactStorage(), SMDS_Down3D.getNodeIds(), SMDS_DownQuadHexa.getOrderedNodesOfFace(), SMDS_DownHexa.getOrderedNodesOfFace(), SMDS_DownQuadPenta.getOrderedNodesOfFace(), SMDS_DownPenta.getOrderedNodesOfFace(), SMDS_DownQuadPyramid.getOrderedNodesOfFace(), SMDS_DownPyramid.getOrderedNodesOfFace(), SMDS_DownQuadTetra.getOrderedNodesOfFace(), SMDS_DownTetra.getOrderedNodesOfFace(), and SMDS_Downward.getVtkCellId().