VTK-m
2.3
|
Defines a 3-dimensional extruded mesh representation. More...
#include <CellSetExtrude.h>
Public Types | |
template<typename VisitTopology , typename IncidentTopology > | |
using | ExecConnectivityType = typename detail::CellSetExtrudeConnectivityChooser< VisitTopology, IncidentTopology >::ExecConnectivityType |
Private Member Functions | |
void | BuildReverseConnectivity () |
Defines a 3-dimensional extruded mesh representation.
CellSetExtrude
takes takes a mesh defined in the XZ-plane and extrudes it along the Y-axis. This plane is repeated in a series of steps and forms wedge cells between them.
The extrusion can be linear or rotational (e.g., to form a torus).
using vtkm::cont::CellSetExtrude::ExecConnectivityType = typename detail::CellSetExtrudeConnectivityChooser<VisitTopology, IncidentTopology>::ExecConnectivityType |
vtkm::cont::CellSetExtrude::CellSetExtrude | ( | ) |
vtkm::cont::CellSetExtrude::CellSetExtrude | ( | const vtkm::cont::ArrayHandle< vtkm::Int32 > & | conn, |
vtkm::Int32 | numberOfPointsPerPlane, | ||
vtkm::Int32 | numberOfPlanes, | ||
const vtkm::cont::ArrayHandle< vtkm::Int32 > & | nextNode, | ||
bool | periodic | ||
) |
vtkm::cont::CellSetExtrude::CellSetExtrude | ( | const CellSetExtrude & | src | ) |
|
noexcept |
|
override |
|
private |
|
overridevirtual |
Copy the provided CellSet
into this object.
The provided CellSet
must be the same type as this one.
Implements vtkm::cont::CellSet.
|
overridevirtual |
Get a list of points incident to a particular cell.
Implements vtkm::cont::CellSet.
|
overridevirtual |
Get the shell shape of a particular cell.
Implements vtkm::cont::CellSet.
|
inline |
void vtkm::cont::CellSetExtrude::GetIndices | ( | vtkm::Id | index, |
vtkm::cont::ArrayHandle< vtkm::Id > & | ids | ||
) | const |
void vtkm::cont::CellSetExtrude::GetIndices | ( | vtkm::Id | index, |
vtkm::Vec< vtkm::Id, NumIndices > & | ids | ||
) | const |
|
inline |
|
inline |
|
overridevirtual |
Get the number of cells in the topology.
Implements vtkm::cont::CellSet.
|
overridevirtual |
Implements vtkm::cont::CellSet.
|
overridevirtual |
Implements vtkm::cont::CellSet.
vtkm::Int32 vtkm::cont::CellSetExtrude::GetNumberOfPlanes | ( | ) | const |
|
overridevirtual |
Get the number of points in the topology.
Implements vtkm::cont::CellSet.
|
overridevirtual |
Get the number of points incident to a particular cell.
Implements vtkm::cont::CellSet.
|
inline |
vtkm::Id2 vtkm::cont::CellSetExtrude::GetSchedulingRange | ( | vtkm::TopologyElementTagCell | ) | const |
vtkm::Id2 vtkm::cont::CellSetExtrude::GetSchedulingRange | ( | vtkm::TopologyElementTagPoint | ) | const |
|
overridevirtual |
Return a new CellSet
that is the same derived class.
Implements vtkm::cont::CellSet.
|
noexcept |
CellSetExtrude& vtkm::cont::CellSetExtrude::operator= | ( | const CellSetExtrude & | src | ) |
vtkm::exec::ConnectivityExtrude vtkm::cont::CellSetExtrude::PrepareForInput | ( | vtkm::cont::DeviceAdapterId | , |
vtkm::TopologyElementTagCell | , | ||
vtkm::TopologyElementTagPoint | , | ||
vtkm::cont::Token & | |||
) | const |
vtkm::exec::ReverseConnectivityExtrude vtkm::cont::CellSetExtrude::PrepareForInput | ( | vtkm::cont::DeviceAdapterId | , |
vtkm::TopologyElementTagPoint | , | ||
vtkm::TopologyElementTagCell | , | ||
vtkm::cont::Token & | |||
) | const |
|
overridevirtual |
Print a summary of this cell set.
Implements vtkm::cont::CellSet.
|
overridevirtual |
Remove the CellSet
from any devices.
Any memory used on a device to store this object will be deleted. However, the data will still remain on the host.
Implements vtkm::cont::CellSet.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |