10 #ifndef vtk_m_cont_internal_ConnectivityExplicitInternals_h
11 #define vtk_m_cont_internal_ConnectivityExplicitInternals_h
26 template <
typename ShapesStorageTag = VTKM_DEFAULT_STORAGE_TAG,
27 typename ConnectivityStorageTag = VTKM_DEFAULT_STORAGE_TAG,
28 typename OffsetsStorageTag = VTKM_DEFAULT_STORAGE_TAG>
29 struct ConnectivityExplicitInternals
35 ShapesArrayType Shapes;
36 ConnectivityArrayType Connectivity;
37 OffsetsArrayType Offsets;
42 ConnectivityExplicitInternals()
43 : ElementsValid(false)
52 return this->Shapes.GetNumberOfValues();
56 void ReleaseResourcesExecution()
58 this->Shapes.ReleaseResourcesExecution();
59 this->Connectivity.ReleaseResourcesExecution();
60 this->Offsets.ReleaseResourcesExecution();
64 void PrintSummary(std::ostream& out)
const
66 if (this->ElementsValid)
70 out <<
" Connectivity: ";
77 out <<
" Not Allocated" << std::endl;
85 #endif //vtk_m_cont_internal_ConnectivityExplicitInternals_h