VTK-m
2.2
|
An analytical, time-varying uniform dataset with a point based array. More...
#include <Oscillator.h>
Public Member Functions | |
Oscillator () | |
Oscillator (vtkm::Id3 dims) | |
Construct a Oscillator with Cell Dimensions. More... | |
~Oscillator () override | |
void | SetPointDimensions (vtkm::Id3 pointDimensions) |
vtkm::Id3 | GetPointDimensions () const |
void | SetCellDimensions (vtkm::Id3 pointDimensions) |
vtkm::Id3 | GetCellDimensions () const |
void | SetTime (vtkm::FloatDefault time) |
void | AddPeriodic (vtkm::FloatDefault x, vtkm::FloatDefault y, vtkm::FloatDefault z, vtkm::FloatDefault radius, vtkm::FloatDefault omega, vtkm::FloatDefault zeta) |
void | AddDamped (vtkm::FloatDefault x, vtkm::FloatDefault y, vtkm::FloatDefault z, vtkm::FloatDefault radius, vtkm::FloatDefault omega, vtkm::FloatDefault zeta) |
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 | ~Source ()=default |
vtkm::cont::DataSet | Execute () const |
Private Member Functions | |
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::source::Oscillator::Oscillator | ( | ) |
|
explicit |
Construct a Oscillator with Cell Dimensions.
|
override |
void vtkm::source::Oscillator::AddDamped | ( | vtkm::FloatDefault | x, |
vtkm::FloatDefault | y, | ||
vtkm::FloatDefault | z, | ||
vtkm::FloatDefault | radius, | ||
vtkm::FloatDefault | omega, | ||
vtkm::FloatDefault | zeta | ||
) |
void vtkm::source::Oscillator::AddDecaying | ( | vtkm::FloatDefault | x, |
vtkm::FloatDefault | y, | ||
vtkm::FloatDefault | z, | ||
vtkm::FloatDefault | radius, | ||
vtkm::FloatDefault | omega, | ||
vtkm::FloatDefault | zeta | ||
) |
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::Id3 vtkm::source::Oscillator::GetCellDimensions | ( | ) | const |
vtkm::Id3 vtkm::source::Oscillator::GetPointDimensions | ( | ) | const |
void vtkm::source::Oscillator::SetCellDimensions | ( | vtkm::Id3 | pointDimensions | ) |
void vtkm::source::Oscillator::SetPointDimensions | ( | vtkm::Id3 | pointDimensions | ) |
void vtkm::source::Oscillator::SetTime | ( | vtkm::FloatDefault | time | ) |
|
private |