#include <vtkExtentRCBPartitioner.h>
Inherits vtkObject.
This method partitions a global extent to N partitions where N is a user supplied parameter.
Definition at line 30 of file vtkExtentRCBPartitioner.h.
vtkExtentRCBPartitioner::vtkExtentRCBPartitioner |
( |
| ) |
|
|
protected |
vtkExtentRCBPartitioner::~vtkExtentRCBPartitioner |
( |
| ) |
|
|
protected |
static int vtkExtentRCBPartitioner::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkExtentRCBPartitioner::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkExtentRCBPartitioner::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkExtentRCBPartitioner::PrintSelf |
( |
ostream & |
oss, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkExtentRCBPartitioner::SetNumberOfPartitions |
( |
const int |
N | ) |
|
|
inline |
void vtkExtentRCBPartitioner::SetGlobalExtent |
( |
int |
imin, |
|
|
int |
imax, |
|
|
int |
jmin, |
|
|
int |
jmax, |
|
|
int |
kmin, |
|
|
int |
kmax |
|
) |
| |
|
inline |
Set/Get the global extent array to be partitioned. The global extent is packed as follows: [imin,imax,jmin,jmax,kmin,kmax]
Definition at line 50 of file vtkExtentRCBPartitioner.h.
void vtkExtentRCBPartitioner::SetGlobalExtent |
( |
int |
ext[6] | ) |
|
|
inline |
Set/Get the global extent array to be partitioned. The global extent is packed as follows: [imin,imax,jmin,jmax,kmin,kmax]
Definition at line 60 of file vtkExtentRCBPartitioner.h.
virtual void vtkExtentRCBPartitioner::SetNumberOfGhostLayers |
( |
int |
| ) |
|
|
virtual |
Set/Get macro for the number of ghost layers.
virtual int vtkExtentRCBPartitioner::GetNumberOfGhostLayers |
( |
| ) |
|
|
virtual |
Set/Get macro for the number of ghost layers.
virtual int vtkExtentRCBPartitioner::GetNumExtents |
( |
| ) |
|
|
virtual |
Returns the number of extents.
void vtkExtentRCBPartitioner::Partition |
( |
| ) |
|
void vtkExtentRCBPartitioner::GetPartitionExtent |
( |
const int |
idx, |
|
|
int |
ext[6] |
|
) |
| |
Returns the extent of the partition corresponding to the given ID.
void vtkExtentRCBPartitioner::Reset |
( |
| ) |
|
|
inlineprotected |
Resets the partitioner to the initial state, all previous partition extents are cleared.
Definition at line 90 of file vtkExtentRCBPartitioner.h.
void vtkExtentRCBPartitioner::ExtendGhostLayers |
( |
int |
ext[6] | ) |
|
|
protected |
Given an extent, this method will create ghost layers on each side of the boundary in each dimension. The ghost layers however will be restricted to the given global extent.
void vtkExtentRCBPartitioner::GetGhostedExtent |
( |
int |
ext[6], |
|
|
const int |
minIdx, |
|
|
const int |
maxIdx |
|
) |
| |
|
inlineprotected |
Givent an extent and the min/max of the dimension we are looking at, this method will produce a ghosted extent which is clamped within the given global extent
Definition at line 107 of file vtkExtentRCBPartitioner.h.
void vtkExtentRCBPartitioner::AcquireDataDescription |
( |
| ) |
|
|
protected |
Gets the structured data-description based on the givenn global extent
void vtkExtentRCBPartitioner::GetExtent |
( |
const int |
idx, |
|
|
int |
ext[6] |
|
) |
| |
|
protected |
Returns the extent at the position corresponding to idx.
void vtkExtentRCBPartitioner::AddExtent |
( |
int |
ext[6] | ) |
|
|
protected |
Adds the extent to the end of the list of partitioned extents
void vtkExtentRCBPartitioner::ReplaceExtent |
( |
const int |
idx, |
|
|
int |
ext[6] |
|
) |
| |
|
protected |
Replaces the extent at the position indicated by idx with the provided extent.
void vtkExtentRCBPartitioner::SplitExtent |
( |
int |
parent[6], |
|
|
int |
s1[6], |
|
|
int |
s2[6], |
|
|
int |
splitDimension |
|
) |
| |
|
protected |
Splits the extent along the given dimension.
int vtkExtentRCBPartitioner::GetNumberOfTotalExtents |
( |
| ) |
|
|
protected |
Returns the total number of extents. It's always the 2^N where N is the number of subdivisions.
int vtkExtentRCBPartitioner::GetNumberOfNodes |
( |
int |
ext[6] | ) |
|
|
protected |
Computes the total number of nodes for the given structured grid extent
int vtkExtentRCBPartitioner::GetNumberOfCells |
( |
int |
ext[6] | ) |
|
|
protected |
Computes the total number of cells for the given structured grid extent
int vtkExtentRCBPartitioner::GetLongestDimensionLength |
( |
int |
ext[6] | ) |
|
|
protected |
Returns the length of the longest dimension
int vtkExtentRCBPartitioner::GetLongestDimension |
( |
int |
ext[6] | ) |
|
|
protected |
void vtkExtentRCBPartitioner::PrintExtent |
( |
std::string |
name, |
|
|
int |
ext[6] |
|
) |
| |
|
protected |
A convenience method for debugging purposes.
int vtkExtentRCBPartitioner::NumberOfGhostLayers |
|
protected |
int vtkExtentRCBPartitioner::DataDescription |
|
protected |
int vtkExtentRCBPartitioner::GlobalExtent[6] |
|
protected |
int vtkExtentRCBPartitioner::NumberOfPartitions |
|
protected |
int vtkExtentRCBPartitioner::NumExtents |
|
protected |
bool vtkExtentRCBPartitioner::ExtentIsPartitioned |
|
protected |
std::vector<int> vtkExtentRCBPartitioner::PartitionExtents |
|
protected |
The documentation for this class was generated from the following file: