VTK-m
2.0
|
An analytical, time-varying uniform dataset with a point based array. More...
#include <Oscillator.h>
Public Member Functions | |
VTKM_CONT | Oscillator () |
VTKM_CONT void | SetPointDimensions (vtkm::Id3 pointDimensions) |
VTKM_CONT vtkm::Id3 | GetPointDimensions () const |
VTKM_CONT void | SetCellDimensions (vtkm::Id3 pointDimensions) |
VTKM_CONT vtkm::Id3 | GetCellDimensions () const |
VTKM_CONT void | SetTime (vtkm::FloatDefault time) |
VTKM_CONT void | AddPeriodic (vtkm::FloatDefault x, vtkm::FloatDefault y, vtkm::FloatDefault z, vtkm::FloatDefault radius, vtkm::FloatDefault omega, vtkm::FloatDefault zeta) |
VTKM_CONT void | AddDamped (vtkm::FloatDefault x, vtkm::FloatDefault y, vtkm::FloatDefault z, vtkm::FloatDefault radius, vtkm::FloatDefault omega, vtkm::FloatDefault zeta) |
VTKM_CONT void | AddDecaying (vtkm::FloatDefault x, vtkm::FloatDefault y, vtkm::FloatDefault z, vtkm::FloatDefault radius, vtkm::FloatDefault omega, vtkm::FloatDefault zeta) |
Public Member Functions inherited from vtkm::source::Source | |
virtual VTKM_CONT | ~Source ()=default |
vtkm::cont::DataSet | Execute () const |
Private Member Functions | |
VTKM_CONT vtkm::cont::DataSet | DoExecute () const override |
Private Attributes | |
std::unique_ptr< InternalStruct > | Internals |
Additional Inherited Members | |
Protected Attributes inherited from vtkm::source::Source | |
vtkm::cont::Invoker | Invoke |
An analytical, time-varying uniform dataset with a point based array.
The Execute method creates a complete structured dataset that have a point field names 'oscillating'
This array is based on the coordinates and evaluates to a sum of time-varying Gaussian exponentials specified in its configuration.
VTKM_CONT vtkm::source::Oscillator::Oscillator | ( | ) |
VTKM_CONT void vtkm::source::Oscillator::AddDamped | ( | vtkm::FloatDefault | x, |
vtkm::FloatDefault | y, | ||
vtkm::FloatDefault | z, | ||
vtkm::FloatDefault | radius, | ||
vtkm::FloatDefault | omega, | ||
vtkm::FloatDefault | zeta | ||
) |
VTKM_CONT void vtkm::source::Oscillator::AddDecaying | ( | vtkm::FloatDefault | x, |
vtkm::FloatDefault | y, | ||
vtkm::FloatDefault | z, | ||
vtkm::FloatDefault | radius, | ||
vtkm::FloatDefault | omega, | ||
vtkm::FloatDefault | zeta | ||
) |
VTKM_CONT void vtkm::source::Oscillator::AddPeriodic | ( | vtkm::FloatDefault | x, |
vtkm::FloatDefault | y, | ||
vtkm::FloatDefault | z, | ||
vtkm::FloatDefault | radius, | ||
vtkm::FloatDefault | omega, | ||
vtkm::FloatDefault | zeta | ||
) |
|
overrideprivatevirtual |
Implements vtkm::source::Source.
VTKM_CONT void vtkm::source::Oscillator::SetTime | ( | vtkm::FloatDefault | time | ) |
|
private |