#include <vtkAMRGaussianPulseSource.h>
Inherits vtkOverlappingAMRAlgorithm.
A source that generates sample AMR data with gaussian pulse field. The user can control the refinement ratio as well as the pulse attributes such as the pulse origin, length and amplitude.
- See Also
- vtkOverlappingAMR
- Tests:
- vtkAMRGaussianPulseSource (Tests)
Definition at line 42 of file vtkAMRGaussianPulseSource.h.
vtkAMRGaussianPulseSource::vtkAMRGaussianPulseSource |
( |
| ) |
|
|
protected |
virtual vtkAMRGaussianPulseSource::~vtkAMRGaussianPulseSource |
( |
| ) |
|
|
protectedvirtual |
static int vtkAMRGaussianPulseSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkAMRGaussianPulseSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkAMRGaussianPulseSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkAMRGaussianPulseSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkAMRGaussianPulseSource::SetDimension |
( |
int |
| ) |
|
|
virtual |
Sets the dimension of the AMR dataset to generate
virtual void vtkAMRGaussianPulseSource::SetNumberOfLevels |
( |
int |
| ) |
|
|
virtual |
Sets the number of levels to generate
void vtkAMRGaussianPulseSource::SetRefinementRatio |
( |
int |
r | ) |
|
|
inline |
void vtkAMRGaussianPulseSource::SetRootSpacing |
( |
double |
h0 | ) |
|
|
inline |
virtual void vtkAMRGaussianPulseSource::SetPulseOrigin |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set & Get macro for the pulse origin
virtual void vtkAMRGaussianPulseSource::SetPulseOrigin |
( |
double |
[3] | ) |
|
|
virtual |
Set & Get macro for the pulse origin
virtual double* vtkAMRGaussianPulseSource::GetPulseOrigin |
( |
| ) |
|
|
virtual |
Set & Get macro for the pulse origin
virtual void vtkAMRGaussianPulseSource::GetPulseOrigin |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Set & Get macro for the pulse origin
virtual void vtkAMRGaussianPulseSource::GetPulseOrigin |
( |
double |
[3] | ) |
|
|
virtual |
Set & Get macro for the pulse origin
void vtkAMRGaussianPulseSource::SetXPulseOrigin |
( |
double |
f | ) |
|
|
inline |
void vtkAMRGaussianPulseSource::SetYPulseOrigin |
( |
double |
f | ) |
|
|
inline |
void vtkAMRGaussianPulseSource::SetZPulseOrigin |
( |
double |
f | ) |
|
|
inline |
virtual void vtkAMRGaussianPulseSource::SetPulseWidth |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set & Get macro for the pulse width
virtual void vtkAMRGaussianPulseSource::SetPulseWidth |
( |
double |
[3] | ) |
|
|
virtual |
Set & Get macro for the pulse width
virtual double* vtkAMRGaussianPulseSource::GetPulseWidth |
( |
| ) |
|
|
virtual |
Set & Get macro for the pulse width
virtual void vtkAMRGaussianPulseSource::GetPulseWidth |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Set & Get macro for the pulse width
virtual void vtkAMRGaussianPulseSource::GetPulseWidth |
( |
double |
[3] | ) |
|
|
virtual |
Set & Get macro for the pulse width
void vtkAMRGaussianPulseSource::SetXPulseWidth |
( |
double |
f | ) |
|
|
inline |
void vtkAMRGaussianPulseSource::SetYPulseWidth |
( |
double |
f | ) |
|
|
inline |
void vtkAMRGaussianPulseSource::SetZPulseWidth |
( |
double |
f | ) |
|
|
inline |
virtual void vtkAMRGaussianPulseSource::SetPulseAmplitude |
( |
double |
| ) |
|
|
virtual |
Set & Get macro for the pulse amplitude
virtual double vtkAMRGaussianPulseSource::GetPulseAmplitude |
( |
| ) |
|
|
virtual |
Set & Get macro for the pulse amplitude
virtual int vtkAMRGaussianPulseSource::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
This is called by the superclass. This is the method you should override.
double vtkAMRGaussianPulseSource::ComputePulseAt |
( |
const double |
x, |
|
|
const double |
y, |
|
|
const double |
z |
|
) |
| |
|
inlineprotected |
Computes the gaussian pulse at the given location based on the user supplied parameters for pulse width and origin.
Definition at line 120 of file vtkAMRGaussianPulseSource.h.
double vtkAMRGaussianPulseSource::ComputePulseAt |
( |
double |
pt[3] | ) |
|
|
inlineprotected |
Computes the gaussian pulse at the given location based on the user supplied parameters for pulse width and origin.
Definition at line 125 of file vtkAMRGaussianPulseSource.h.
void vtkAMRGaussianPulseSource::ComputeCellCenter |
( |
vtkUniformGrid * |
grid, |
|
|
vtkIdType |
cellIdx, |
|
|
double |
centroid[3] |
|
) |
| |
|
protected |
Given the cell index w.r.t. to a uniform grid, this method computes the cartesian coordinates of the centroid of the cell.
void vtkAMRGaussianPulseSource::GeneratePulseField |
( |
vtkUniformGrid * |
grid | ) |
|
|
protected |
Generates a pulse field for the given uniform grid
vtkUniformGrid* vtkAMRGaussianPulseSource::GetGrid |
( |
double |
origin[3], |
|
|
double |
h[3], |
|
|
int |
ndim[3] |
|
) |
| |
|
protected |
Constructs a uniform grid path with the given origin/spacing and node dimensions. The return grid serves as the root grid for the domain.
vtkUniformGrid* vtkAMRGaussianPulseSource::RefinePatch |
( |
vtkUniformGrid * |
parent, |
|
|
int |
patchExtent[6] |
|
) |
| |
|
protected |
Constructs a refined patch from the given parent grid.
void vtkAMRGaussianPulseSource::Generate2DDataSet |
( |
vtkOverlappingAMR * |
amr | ) |
|
|
protected |
Generate 2-D or 3-D DataSet
void vtkAMRGaussianPulseSource::Generate3DDataSet |
( |
vtkOverlappingAMR * |
amr | ) |
|
|
protected |
Generate 2-D or 3-D DataSet
double vtkAMRGaussianPulseSource::RootSpacing[3] |
|
protected |
double vtkAMRGaussianPulseSource::PulseOrigin[3] |
|
protected |
double vtkAMRGaussianPulseSource::PulseWidth[3] |
|
protected |
double vtkAMRGaussianPulseSource::PulseAmplitude |
|
protected |
int vtkAMRGaussianPulseSource::RefinmentRatio |
|
protected |
int vtkAMRGaussianPulseSource::Dimension |
|
protected |
int vtkAMRGaussianPulseSource::NumberOfLevels |
|
protected |
The documentation for this class was generated from the following file: