Commit 42643260 authored by T.J. Corona's avatar T.J. Corona Committed by Robert Maynard
Browse files

Add missing methods to CellSetPermutation.

parent 665b3489
......@@ -151,6 +151,38 @@ public:
this->PermutedCellSet = permutedCellSet;
}
template<typename FromTopology, typename ToTopology>
VTKM_CONT_EXPORT
const ShapeArrayType&
GetShapesArray(FromTopology,ToTopology) const
{
return this->PermutedCellSet.GetShapesArray(FromTopology(), ToTopology());
}
template<typename FromTopology, typename ToTopology>
VTKM_CONT_EXPORT
const NumIndicesArrayType&
GetNumIndicesArray(FromTopology,ToTopology) const
{
return this->PermutedCellSet.GetNumIndicesArray(FromTopology(),ToTopology());
}
template<typename FromTopology, typename ToTopology>
VTKM_CONT_EXPORT
const ConnectivityArrayType&
GetConnectivityArray(FromTopology,ToTopology) const
{
return this->PermutedCellSet.GetConnectivityArray(FromTopology(),ToTopology());
}
template<typename FromTopology, typename ToTopology>
VTKM_CONT_EXPORT
const IndexOffsetArrayType&
GetIndexOffsetArray(FromTopology,ToTopology) const
{
return this->PermutedCellSet.GetIndexOffsetArray(FromTopology(),ToTopology());
}
VTKM_CONT_EXPORT
vtkm::Id GetNumberOfCells() const
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment