GEOS
|
Convenience wrapper around the raw vtk information. More...
#include <CollocatedNodes.hpp>
Public Member Functions | |
CollocatedNodes (string const &faceBlockName, vtkSmartPointer< vtkDataSet > faceMesh, bool isParallel=true) | |
Build a convenience wrapper around the raw vtk collocated nodes information. More... | |
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. More... | |
std::size_t | size () const |
Number of duplicated nodes buckets. Multiple nodes that are considered to be duplicated one of each other make one bucket. More... | |
Convenience wrapper around the raw vtk information.
Definition at line 31 of file CollocatedNodes.hpp.
geos::vtk::CollocatedNodes::CollocatedNodes | ( | string const & | faceBlockName, |
vtkSmartPointer< vtkDataSet > | faceMesh, | ||
bool | isParallel = true |
||
) |
Build a convenience wrapper around the raw vtk collocated nodes information.
faceBlockName | The face block name. |
faceMesh | The face mesh for which the collocated nodes structure will be fed. |
isParallel | Even if the global simulation is parallel, this structure can be built on one unique rank or on multiple ranks. When built on multiple ranks for the same face mesh, some additional extra checks are performed. Those checks are useless when the data is manipulated on one unique rank. |
|
inline |
For node i
of the face block, returns all the duplicated global node indices in the main 3d mesh.
i | the node in the face block (numbering is local to the face block). |
Definition at line 52 of file CollocatedNodes.hpp.
|
inline |
Number of duplicated nodes buckets. Multiple nodes that are considered to be duplicated one of each other make one bucket.
Definition at line 62 of file CollocatedNodes.hpp.