24 #ifndef SMDS_DOWNWARD_HXX_
25 #define SMDS_DOWNWARD_HXX_
49 cellId(a), cellType(b)
78 virtual const unsigned char*
getUpTypes(
int cellId) = 0;
79 virtual void getNodeIds(
int cellId, std::set<int>& nodeSet) = 0;
80 virtual int getNodes(
int cellId,
int* nodevec) {
return 0; }
96 virtual void allocate(
int nbElems) = 0;
98 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
99 virtual void addUpCell(
int cellId,
int upCellId,
unsigned char aType);
100 virtual int getNodeSet(
int cellId,
int* nodeSet);
118 virtual const unsigned char*
getUpTypes(
int cellId);
119 virtual void getNodeIds(
int cellId, std::set<int>& nodeSet);
127 virtual void addUpCell(
int cellId,
int upCellId,
unsigned char aType);
128 virtual int getNodeSet(
int cellId,
int* nodeSet);
129 void setNodes(
int cellId,
int vtkId);
130 void setNodes(
int cellId,
const int* nodeIds);
131 int computeVtkCells(
int cellId, std::vector<int>& vtkIds);
132 int computeVtkCells(
int* pts, std::vector<int>& vtkIds);
133 int computeFaces(
int cellId,
int* vtkIds,
int nbcells,
int* downFaces,
unsigned char* downTypes);
134 int computeFaces(
int* pts,
int* vtkIds,
int nbcells,
int* downFaces,
unsigned char* downTypes);
150 virtual const unsigned char*
getUpTypes(
int cellId);
151 virtual void getNodeIds(
int cellId, std::set<int>& nodeSet);
157 virtual void addUpCell(
int cellId,
int upCellId,
unsigned char aType);
159 virtual int getNodeSet(
int cellId,
int* nodeSet);
160 int computeVolumeIds(
int cellId,
int* ids);
162 int computeVolumeIdsFromNodesFace(
int* nodes,
int nbNodes,
int* ids);
163 void setTempNodes(
int cellId,
int vtkId);
165 bool isInFace(
int cellId,
int *pts,
int npts);
180 virtual const unsigned char*
getUpTypes(
int cellId);
181 virtual void getNodeIds(
int cellId, std::set<int>& nodeSet);
217 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
228 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
239 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
250 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
277 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
289 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
301 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
313 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
325 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
337 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
349 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);
361 virtual void addDownCell(
int cellId,
int lowCellId,
unsigned char aType);