16 #ifndef GEOS_COLLOCATEDNODES_HPP
17 #define GEOS_COLLOCATEDNODES_HPP
21 #include <vtkDataSet.h>
22 #include <vtkIdTypeArray.h>
23 #include <vtkSmartPointer.h>
40 vtkSmartPointer< vtkDataSet > faceMesh );
49 return m_collocatedNodes[i];
59 return m_collocatedNodes.size();
69 void init( vtkIdTypeArray
const * collocatedNodes );
Convenience wrapper around the raw vtk information.
stdVector< 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)
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.
std::vector< T, Allocator > stdVector