INTERP_KERNEL::NormalizedCellType getTypeOfElement(int eltId) const;
unsigned char getNumberOfNodesOfElement(int eltId) const;
unsigned long getNumberOfElements() const;
+ unsigned long getNumberOfNodes() const;
const int *getConnectivityPtr() const;
const double *getCoordinatesPtr() const;
const int *getConnectivityIndexPtr() const;
{
return _meshInMedMode->getNumberOfElementsWithPoly(MED_EN::MED_CELL, MED_EN::MED_ALL_ELEMENTS);
}
+template<int SPACEDIM,int MESHDIM>
+unsigned long MEDNormalizedUnstructuredMesh<SPACEDIM,MESHDIM>::getNumberOfNodes() const
+{
+ return _meshInMedMode->getNumberOfNodes();
+}
template<int SPACEDIM,int MESHDIM>
const int *MEDNormalizedUnstructuredMesh<SPACEDIM,MESHDIM>::getConnectivityPtr() const
void getBoundingBox(double *boundingBox) const;
NormalizedCellType getTypeOfElement(vtkIdType eltId) const;
unsigned long getNumberOfElements() const;
+ unsigned long getNumberOfNodes() const;
const vtkIdType *getConnectivityPtr() const;
const double *getCoordinatesPtr() const;
const vtkIdType *getConnectivityIndexPtr() const;
return _meshInVtkMode->GetNumberOfCells();
}
+template<int MESHDIM>
+unsigned long VTKNormalizedUnstructuredMesh<MESHDIM>::getNumberOfNodes() const
+{
+ return _meshInVtkMode->GetNumberOfPoints ();
+}
+
template<int MESHDIM>
const vtkIdType *VTKNormalizedUnstructuredMesh<MESHDIM>::getConnectivityPtr() const
{