16 #ifndef GEOS_COLLOCATEDNODES_HPP
17 #define GEOS_COLLOCATEDNODES_HPP
21 #include <vtkDataSet.h>
22 #include <vtkIdTypeArray.h>
23 #include <vtkSmartPointer.h>
44 vtkSmartPointer< vtkDataSet > faceMesh,
45 bool isParallel =
true );
54 return m_collocatedNodes[i];
64 return m_collocatedNodes.size();
74 void init( vtkIdTypeArray
const * collocatedNodes );
77 std::vector< std::vector< vtkIdType > > m_collocatedNodes;
Convenience wrapper around the raw vtk information.
std::vector< vtkIdType > const & operator[](std::size_t i) const
For node i of the face block, returns all the duplicated global node indices in the main 3d mesh.
CollocatedNodes(string const &faceBlockName, vtkSmartPointer< vtkDataSet > faceMesh, bool isParallel=true)
Build a convenience wrapper around the raw vtk collocated nodes information.
std::size_t size() const
Number of duplicated nodes buckets. Multiple nodes that are considered to be duplicated one of each o...
std::size_t size_t
Unsigned size type.