Viskores
1.0
|
An analytical, time-varying uniform dataset with a point based array. More...
#include <Oscillator.h>
Private Member Functions | |
viskores::cont::DataSet | DoExecute () const override |
Private Attributes | |
std::unique_ptr< InternalStruct > | Internals |
Additional Inherited Members | |
![]() | |
viskores::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.
viskores::source::Oscillator::Oscillator | ( | ) |
|
explicit |
Construct a Oscillator with Cell Dimensions.
|
override |
void viskores::source::Oscillator::AddDamped | ( | viskores::FloatDefault | x, |
viskores::FloatDefault | y, | ||
viskores::FloatDefault | z, | ||
viskores::FloatDefault | radius, | ||
viskores::FloatDefault | omega, | ||
viskores::FloatDefault | zeta | ||
) |
void viskores::source::Oscillator::AddDecaying | ( | viskores::FloatDefault | x, |
viskores::FloatDefault | y, | ||
viskores::FloatDefault | z, | ||
viskores::FloatDefault | radius, | ||
viskores::FloatDefault | omega, | ||
viskores::FloatDefault | zeta | ||
) |
void viskores::source::Oscillator::AddPeriodic | ( | viskores::FloatDefault | x, |
viskores::FloatDefault | y, | ||
viskores::FloatDefault | z, | ||
viskores::FloatDefault | radius, | ||
viskores::FloatDefault | omega, | ||
viskores::FloatDefault | zeta | ||
) |
|
overrideprivatevirtual |
Implements viskores::source::Source.
viskores::Id3 viskores::source::Oscillator::GetCellDimensions | ( | ) | const |
viskores::Id3 viskores::source::Oscillator::GetPointDimensions | ( | ) | const |
void viskores::source::Oscillator::SetCellDimensions | ( | viskores::Id3 | pointDimensions | ) |
void viskores::source::Oscillator::SetPointDimensions | ( | viskores::Id3 | pointDimensions | ) |
void viskores::source::Oscillator::SetTime | ( | viskores::FloatDefault | time | ) |
|
private |