#include <SMDS_Downward.hxx>
|
virtual void | addUpCell (int cellId, int upCellId, unsigned char aType) |
| Id's are downward connectivity id's. More...
|
|
virtual void | allocate (int nbElems) |
|
virtual void | compactStorage () |
|
virtual void | computeEdgesWithNodes (int cellId, ListElemByNodesType &facesWithNodes)=0 |
|
int | computeVolumeIds (ElemByNodesType &faceByNodes, int *ids) |
|
int | computeVolumeIds (int cellId, int *ids) |
|
int | computeVolumeIdsFromNodesFace (int *nodes, int nbNodes, int *ids) |
|
int | FindEdgeByNodes (int cellId, ElemByNodesType &edgeByNodes) |
|
virtual int | getNodeSet (int cellId, int *nodeSet) |
|
bool | isInFace (int cellId, int *pts, int npts) |
|
void | setTempNodes (int cellId, ElemByNodesType &faceByNodes) |
|
void | setTempNodes (int cellId, int vtkId) |
|
| SMDS_Down2D (SMDS_UnstructuredGrid *grid, int nbDownCells) |
|
| ~SMDS_Down2D () |
|
int | addCell (int vtkId=-1) |
|
virtual void | addDownCell (int cellId, int lowCellId, unsigned char aType) |
| Id's are downward connectivity id's. More...
|
|
virtual void | addUpCell (int cellId, int upCellId, unsigned char aType) |
| Id's are downward connectivity id's. More...
|
|
virtual void | allocate (int nbElems)=0 |
|
virtual void | compactStorage ()=0 |
|
virtual int | getNodeSet (int cellId, int *nodeSet) |
|
virtual void | initCell (int cellId) |
|
| SMDS_Downward (SMDS_UnstructuredGrid *grid, int nbDownCells) |
|
virtual | ~SMDS_Downward () |
|
◆ SMDS_Down2D()
◆ ~SMDS_Down2D()
SMDS_Down2D::~SMDS_Down2D |
( |
| ) |
|
|
protected |
◆ addUpCell()
void SMDS_Down2D::addUpCell |
( |
int |
cellId, |
|
|
int |
upCellId, |
|
|
unsigned char |
aType |
|
) |
| |
|
protectedvirtual |
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.
- Parameters
-
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.
◆ allocate()
void SMDS_Down2D::allocate |
( |
int |
nbElems | ) |
|
|
protectedvirtual |
Resize the downward connectivity storage vector if needed.
- Parameters
-
nbElems | total number of elements of the same type required |
Implements SMDS_Downward.
References SMDS_Mesh::chunkSize.
◆ compactStorage()
void SMDS_Down2D::compactStorage |
( |
| ) |
|
|
protectedvirtual |
◆ computeEdgesWithNodes()
◆ computeVolumeIds() [1/2]
◆ computeVolumeIds() [2/2]
int SMDS_Down2D::computeVolumeIds |
( |
int |
cellId, |
|
|
int * |
ids |
|
) |
| |
|
protected |
◆ computeVolumeIdsFromNodesFace()
int SMDS_Down2D::computeVolumeIdsFromNodesFace |
( |
int * |
pts, |
|
|
int |
npts, |
|
|
int * |
ids |
|
) |
| |
|
protected |
◆ FindEdgeByNodes()
◆ getNodeIds()
void SMDS_Down2D::getNodeIds |
( |
int |
cellId, |
|
|
std::set< int > & |
nodeSet |
|
) |
| |
|
virtual |
◆ getNodeSet()
int SMDS_Down2D::getNodeSet |
( |
int |
cellId, |
|
|
int * |
nodeSet |
|
) |
| |
|
protectedvirtual |
◆ getNumberOfUpCells()
int SMDS_Down2D::getNumberOfUpCells |
( |
int |
cellId | ) |
|
|
virtual |
◆ getUpCells()
const int * SMDS_Down2D::getUpCells |
( |
int |
cellId | ) |
|
|
virtual |
◆ getUpTypes()
const unsigned char * SMDS_Down2D::getUpTypes |
( |
int |
cellId | ) |
|
|
virtual |
◆ isInFace()
Find if all the nodes belongs to the face.
- Parameters
-
cellId | the face cell Id |
nodeSet | set of node id's to be found in the face list of nodes |
- Returns
Referenced by SMDS_Down1D::computeFaces().
◆ setTempNodes() [1/2]
◆ setTempNodes() [2/2]
void SMDS_Down2D::setTempNodes |
( |
int |
cellId, |
|
|
int |
vtkId |
|
) |
| |
|
protected |
◆ SMDS_Down1D
◆ SMDS_UnstructuredGrid
The documentation for this class was generated from the following files:
- FreeCAD/src/3rdParty/salomesmesh/inc/SMDS_Downward.hxx
- FreeCAD/src/3rdParty/salomesmesh/src/SMDS/SMDS_Downward.cpp