|
ParaView
|
Tools for processing AMR as a dual grid. More...
#include <vtkAMRDualGridHelper.h>


Tools for processing AMR as a dual grid.
This helper object was developed to help the AMR dual grid connectivity and integration filter but I also want a dual grid iso surface filter so I mad it a separate class. The API needs to be improved to make it more generally useful.
Definition at line 42 of file vtkAMRDualGridHelper.h.
| static vtkAMRDualGridHelper* vtkAMRDualGridHelper::New | ( | ) | [static] |
Reimplemented from vtkObject.
| virtual const char* vtkAMRDualGridHelper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
| static int vtkAMRDualGridHelper::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkObject.
| static vtkAMRDualGridHelper* vtkAMRDualGridHelper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
| void vtkAMRDualGridHelper::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkObject.
| virtual int vtkAMRDualGridHelper::GetSkipGhostCopy | ( | ) | [virtual] |
An option to turn off copying ghost values across process boundaries. If the ghost values are already correct, then the extra communication is not necessary. If this assumption is wrong, this option will produce cracks / seams. This is off by default.
| virtual void vtkAMRDualGridHelper::SetSkipGhostCopy | ( | int | ) | [virtual] |
An option to turn off copying ghost values across process boundaries. If the ghost values are already correct, then the extra communication is not necessary. If this assumption is wrong, this option will produce cracks / seams. This is off by default.
| virtual void vtkAMRDualGridHelper::SkipGhostCopyOn | ( | ) | [virtual] |
An option to turn off copying ghost values across process boundaries. If the ghost values are already correct, then the extra communication is not necessary. If this assumption is wrong, this option will produce cracks / seams. This is off by default.
| virtual void vtkAMRDualGridHelper::SkipGhostCopyOff | ( | ) | [virtual] |
An option to turn off copying ghost values across process boundaries. If the ghost values are already correct, then the extra communication is not necessary. If this assumption is wrong, this option will produce cracks / seams. This is off by default.
| virtual int vtkAMRDualGridHelper::GetEnableDegenerateCells | ( | ) | [virtual] |
Turn on/off the ability to create meshing between levels in the grid. This is on by default. Set this before you call initialize.
| virtual void vtkAMRDualGridHelper::SetEnableDegenerateCells | ( | int | ) | [virtual] |
Turn on/off the ability to create meshing between levels in the grid. This is on by default. Set this before you call initialize.
| virtual void vtkAMRDualGridHelper::EnableDegenerateCellsOn | ( | ) | [virtual] |
Turn on/off the ability to create meshing between levels in the grid. This is on by default. Set this before you call initialize.
| virtual void vtkAMRDualGridHelper::EnableDegenerateCellsOff | ( | ) | [virtual] |
Turn on/off the ability to create meshing between levels in the grid. This is on by default. Set this before you call initialize.
| virtual int vtkAMRDualGridHelper::GetEnableAsynchronousCommunication | ( | ) | [virtual] |
When this option is on (the default) and a controller that supports asynchronous communication (like MPI) is detected, use asynchronous communication where appropriate. This can prevent processes from blocking while waiting for communication in other processes to finish.
| virtual void vtkAMRDualGridHelper::SetEnableAsynchronousCommunication | ( | int | ) | [virtual] |
When this option is on (the default) and a controller that supports asynchronous communication (like MPI) is detected, use asynchronous communication where appropriate. This can prevent processes from blocking while waiting for communication in other processes to finish.
| virtual void vtkAMRDualGridHelper::EnableAsynchronousCommunicationOn | ( | ) | [virtual] |
When this option is on (the default) and a controller that supports asynchronous communication (like MPI) is detected, use asynchronous communication where appropriate. This can prevent processes from blocking while waiting for communication in other processes to finish.
| virtual void vtkAMRDualGridHelper::EnableAsynchronousCommunicationOff | ( | ) | [virtual] |
When this option is on (the default) and a controller that supports asynchronous communication (like MPI) is detected, use asynchronous communication where appropriate. This can prevent processes from blocking while waiting for communication in other processes to finish.
| virtual vtkMultiProcessController* vtkAMRDualGridHelper::GetController | ( | ) | [virtual] |
The controller to use for communication.
| virtual void vtkAMRDualGridHelper::SetController | ( | vtkMultiProcessController * | ) | [virtual] |
The controller to use for communication.
| int vtkAMRDualGridHelper::Initialize | ( | vtkNonOverlappingAMR * | input, |
| const char * | arrayName | ||
| ) |
| const double* vtkAMRDualGridHelper::GetGlobalOrigin | ( | ) | [inline] |
Definition at line 86 of file vtkAMRDualGridHelper.h.
| const double* vtkAMRDualGridHelper::GetRootSpacing | ( | ) | [inline] |
Definition at line 87 of file vtkAMRDualGridHelper.h.
| int vtkAMRDualGridHelper::GetNumberOfBlocks | ( | ) | [inline] |
Definition at line 88 of file vtkAMRDualGridHelper.h.
| int vtkAMRDualGridHelper::GetNumberOfLevels | ( | ) | [inline] |
Definition at line 89 of file vtkAMRDualGridHelper.h.
| vtkAMRDualGridHelperBlock* vtkAMRDualGridHelper::GetBlock | ( | int | level, |
| int | blockIdx | ||
| ) |
| vtkAMRDualGridHelperBlock* vtkAMRDualGridHelper::GetBlock | ( | int | level, |
| int | xGrid, | ||
| int | yGrid, | ||
| int | zGrid | ||
| ) |
| void vtkAMRDualGridHelper::CopyDegenerateRegionBlockToBlock | ( | int | regionX, |
| int | regionY, | ||
| int | regionZ, | ||
| vtkAMRDualGridHelperBlock * | lowResBlock, | ||
| vtkDataArray * | lowResArray, | ||
| vtkAMRDualGridHelperBlock * | highResBlock, | ||
| vtkDataArray * | highResArray | ||
| ) |
I am generalizing the code that copies lowres blocks to highres ghost regions. I need to do this for the clip filter (level mask). For transitions between levels, degeneracy works well to create and contour wedges and pyramids, but the volume fraction values in the high-level blocks ghost cells need to be the same as the closest cell in the low resolution block. These methods copy low values to high.
| void vtkAMRDualGridHelper::QueueRegionRemoteCopy | ( | int | regionX, |
| int | regionY, | ||
| int | regionZ, | ||
| vtkAMRDualGridHelperBlock * | lowResBlock, | ||
| vtkDataArray * | lowResArray, | ||
| vtkAMRDualGridHelperBlock * | highResBlock, | ||
| vtkDataArray * | highResArray | ||
| ) |
This queues up either a copy from a remote process to this process or a copy from this process to a remote process. Only the local block needs an array. LowRes block is the source.
| void vtkAMRDualGridHelper::ProcessRegionRemoteCopyQueue | ( | bool | hackLevelFlag | ) |
This should be called on every process. It processes the queue of region copies. It sends and copies the regions into blocks.
| void vtkAMRDualGridHelper::ClearRegionRemoteCopyQueue | ( | ) |
Call this before adding regions to the queue. It clears the queue.
| virtual char* vtkAMRDualGridHelper::GetArrayName | ( | ) | [virtual] |
It is convenient to get this here.
1.7.5.1