|
VTK-m
2.0
|
#include <Gradient.h>
Classes | |
| struct | ExecutionTypes |
Public Types | |
| using | ValueType = T |
| using | BaseTType = typename vtkm::VecTraits< T >::BaseComponentType |
Public Member Functions | |
| GradientOutputFields () | |
| GradientOutputFields (bool store, bool divergence, bool vorticity, bool qc) | |
| void | SetComputeDivergence (bool enable) |
| Add divergence field to the output data. More... | |
| bool | GetComputeDivergence () const |
| void | SetComputeVorticity (bool enable) |
| Add voriticity/curl field to the output data. More... | |
| bool | GetComputeVorticity () const |
| void | SetComputeQCriterion (bool enable) |
| Add Q-criterion field to the output data. More... | |
| bool | GetComputeQCriterion () const |
| void | SetComputeGradient (bool enable) |
| Add gradient field to the output data. More... | |
| bool | GetComputeGradient () const |
| vtkm::exec::GradientOutput< T > | PrepareForOutput (vtkm::Id size) |
Public Attributes | |
| vtkm::cont::ArrayHandle< vtkm::Vec< T, 3 > > | Gradient |
| vtkm::cont::ArrayHandle< BaseTType > | Divergence |
| vtkm::cont::ArrayHandle< vtkm::Vec< BaseTType, 3 > > | Vorticity |
| vtkm::cont::ArrayHandle< BaseTType > | QCriterion |
Private Attributes | |
| bool | StoreGradient |
| bool | ComputeDivergence |
| bool | ComputeVorticity |
| bool | ComputeQCriterion |
| using vtkm::worklet::GradientOutputFields< T >::BaseTType = typename vtkm::VecTraits<T>::BaseComponentType |
| using vtkm::worklet::GradientOutputFields< T >::ValueType = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Add divergence field to the output data.
The input array must have 3 components in order to compute this. The default is off.
|
inline |
Add gradient field to the output data.
The input array must have 3 components in order to disable this. The default is on.
|
inline |
Add Q-criterion field to the output data.
The input array must have 3 components in order to compute this. The default is off.
|
inline |
Add voriticity/curl field to the output data.
The input array must have 3 components in order to compute this. The default is off.
|
private |
|
private |
|
private |
| vtkm::cont::ArrayHandle<BaseTType> vtkm::worklet::GradientOutputFields< T >::Divergence |
| vtkm::cont::ArrayHandle<vtkm::Vec<T, 3> > vtkm::worklet::GradientOutputFields< T >::Gradient |
| vtkm::cont::ArrayHandle<BaseTType> vtkm::worklet::GradientOutputFields< T >::QCriterion |
|
private |
| vtkm::cont::ArrayHandle<vtkm::Vec<BaseTType, 3> > vtkm::worklet::GradientOutputFields< T >::Vorticity |
1.8.17