VTK-m  2.0
Private Member Functions | Private Attributes | List of all members
vtkm::filter::multi_block::AmrArrays Class Reference

#include <AmrArrays.h>

Inheritance diagram for vtkm::filter::multi_block::AmrArrays:
vtkm::filter::Filter

Private Member Functions

vtkm::cont::DataSet DoExecute (const vtkm::cont::DataSet &) override
 
vtkm::cont::PartitionedDataSet DoExecutePartitions (const vtkm::cont::PartitionedDataSet &input) override
 
VTKM_CONT void GenerateParentChildInformation ()
 the list of ids contains all amrIds of the level above/below that have an overlap More...
 
template<vtkm::IdComponent Dim>
VTKM_CONT void ComputeGenerateParentChildInformation ()
 the corresponding template function based on the dimension of this dataset More...
 
VTKM_CONT void GenerateGhostType ()
 generate the vtkGhostType array based on the overlap analogously to vtk blanked cells: 8 normal cells: 0 More...
 
template<vtkm::IdComponent Dim>
VTKM_CONT void ComputeGenerateGhostType ()
 the corresponding template function based on the dimension of this dataset More...
 
VTKM_CONT void GenerateIndexArrays ()
 Add helper arrays like in ParaView. More...
 

Private Attributes

vtkm::cont::PartitionedDataSet AmrDataSet
 the input partitioned dataset More...
 
std::vector< std::vector< vtkm::Id > > PartitionIds
 per level contains the partitionIds of each level and blockId More...
 
std::vector< std::vector< vtkm::Id > > ParentsIdsVector
 per partitionId contains all PartitonIds of the level above that have an overlap More...
 
std::vector< std::vector< vtkm::Id > > ChildrenIdsVector
 per partitionId contains all PartitonIds of the level below that have an overlap More...
 

Additional Inherited Members

- Public Member Functions inherited from vtkm::filter::Filter
virtual VTKM_CONT ~Filter ()
 
virtual VTKM_CONT bool CanThread () const
 
VTKM_CONT void SetThreadsPerCPU (vtkm::Id numThreads)
 
VTKM_CONT void SetThreadsPerGPU (vtkm::Id numThreads)
 
VTKM_CONT vtkm::Id GetThreadsPerCPU () const
 
VTKM_CONT vtkm::Id GetThreadsPerGPU () const
 
VTKM_CONT bool GetRunMultiThreadedFilter () const
 
VTKM_CONT void SetRunMultiThreadedFilter (bool val)
 
void SetInvoker (vtkm::cont::Invoker inv)
 Specify the vtkm::cont::Invoker to be used to execute worklets by this filter instance. More...
 
VTKM_CONT void SetFieldsToPass (const vtkm::filter::FieldSelection &fieldsToPass)
 Specify which fields get passed from input to output. More...
 
VTKM_CONT void SetFieldsToPass (vtkm::filter::FieldSelection &&fieldsToPass)
 Specify which fields get passed from input to output. More...
 
VTKM_CONT void SetFieldsToPass (const vtkm::filter::FieldSelection &fieldsToPass, vtkm::filter::FieldSelection::Mode mode)
 Specify which fields get passed from input to output. More...
 
VTKM_CONT void SetFieldsToPass (std::initializer_list< std::string > fields, vtkm::filter::FieldSelection::Mode mode=vtkm::filter::FieldSelection::Mode::Select)
 Specify which fields get passed from input to output. More...
 
VTKM_CONT void SetFieldsToPass (std::initializer_list< std::pair< std::string, vtkm::cont::Field::Association >> fields, vtkm::filter::FieldSelection::Mode mode=vtkm::filter::FieldSelection::Mode::Select)
 Specify which fields get passed from input to output. More...
 
VTKM_CONT void SetFieldsToPass (const std::string &fieldname, vtkm::cont::Field::Association association, vtkm::filter::FieldSelection::Mode mode=vtkm::filter::FieldSelection::Mode::Select)
 Specify which fields get passed from input to output. More...
 
VTKM_CONT void SetFieldsToPass (const std::string &fieldname, vtkm::filter::FieldSelection::Mode mode)
 Specify which fields get passed from input to output. More...
 
const VTKM_CONT vtkm::filter::FieldSelectionGetFieldsToPass () const
 Specify which fields get passed from input to output. More...
 
VTKM_CONT vtkm::filter::FieldSelectionGetFieldsToPass ()
 Specify which fields get passed from input to output. More...
 
VTKM_CONT void SetPassCoordinateSystems (bool flag)
 Specify whether to always pass coordinate systems. More...
 
VTKM_CONT bool GetPassCoordinateSystems () const
 Specify whether to always pass coordinate systems. More...
 
VTKM_CONT vtkm::cont::DataSet Execute (const vtkm::cont::DataSet &input)
 
VTKM_CONT vtkm::cont::PartitionedDataSet Execute (const vtkm::cont::PartitionedDataSet &input)
 
- Protected Member Functions inherited from vtkm::filter::Filter
VTKM_CONT vtkm::cont::DataSet CreateResult (const vtkm::cont::DataSet &inDataSet) const
 Create the output data set for DoExecute. More...
 
VTKM_CONT vtkm::cont::PartitionedDataSet CreateResult (const vtkm::cont::PartitionedDataSet &input, const vtkm::cont::PartitionedDataSet &resultPartitions) const
 Create the output data set for DoExecute. More...
 
template<typename FieldMapper >
VTKM_CONT vtkm::cont::PartitionedDataSet CreateResult (const vtkm::cont::PartitionedDataSet &input, const vtkm::cont::PartitionedDataSet &resultPartitions, FieldMapper &&fieldMapper) const
 Create the output data set for DoExecute. More...
 
template<typename FieldMapper >
VTKM_CONT vtkm::cont::DataSet CreateResult (const vtkm::cont::DataSet &inDataSet, const vtkm::cont::UnknownCellSet &resultCellSet, FieldMapper &&fieldMapper) const
 Create the output data set for DoExecute. More...
 
template<typename FieldMapper >
VTKM_CONT vtkm::cont::DataSet CreateResultCoordinateSystem (const vtkm::cont::DataSet &inDataSet, const vtkm::cont::UnknownCellSet &resultCellSet, const vtkm::cont::CoordinateSystem &resultCoordSystem, FieldMapper &&fieldMapper) const
 Create the output data set for DoExecute. More...
 
template<typename FieldMapper >
VTKM_CONT vtkm::cont::DataSet CreateResultCoordinateSystem (const vtkm::cont::DataSet &inDataSet, const vtkm::cont::UnknownCellSet &resultCellSet, const std::string &coordsName, const vtkm::cont::UnknownArrayHandle &coordsData, FieldMapper &&fieldMapper) const
 Create the output data set for DoExecute. More...
 
- Protected Attributes inherited from vtkm::filter::Filter
vtkm::cont::Invoker Invoke
 

Member Function Documentation

◆ ComputeGenerateGhostType()

template<vtkm::IdComponent Dim>
VTKM_CONT void vtkm::filter::multi_block::AmrArrays::ComputeGenerateGhostType ( )
private

the corresponding template function based on the dimension of this dataset

◆ ComputeGenerateParentChildInformation()

template<vtkm::IdComponent Dim>
VTKM_CONT void vtkm::filter::multi_block::AmrArrays::ComputeGenerateParentChildInformation ( )
private

the corresponding template function based on the dimension of this dataset

◆ DoExecute()

vtkm::cont::DataSet vtkm::filter::multi_block::AmrArrays::DoExecute ( const vtkm::cont::DataSet )
inlineoverrideprivatevirtual

Implements vtkm::filter::Filter.

◆ DoExecutePartitions()

vtkm::cont::PartitionedDataSet vtkm::filter::multi_block::AmrArrays::DoExecutePartitions ( const vtkm::cont::PartitionedDataSet input)
overrideprivatevirtual

Reimplemented from vtkm::filter::Filter.

◆ GenerateGhostType()

VTKM_CONT void vtkm::filter::multi_block::AmrArrays::GenerateGhostType ( )
private

generate the vtkGhostType array based on the overlap analogously to vtk blanked cells: 8 normal cells: 0

◆ GenerateIndexArrays()

VTKM_CONT void vtkm::filter::multi_block::AmrArrays::GenerateIndexArrays ( )
private

Add helper arrays like in ParaView.

◆ GenerateParentChildInformation()

VTKM_CONT void vtkm::filter::multi_block::AmrArrays::GenerateParentChildInformation ( )
private

the list of ids contains all amrIds of the level above/below that have an overlap

Member Data Documentation

◆ AmrDataSet

vtkm::cont::PartitionedDataSet vtkm::filter::multi_block::AmrArrays::AmrDataSet
private

the input partitioned dataset

◆ ChildrenIdsVector

std::vector<std::vector<vtkm::Id> > vtkm::filter::multi_block::AmrArrays::ChildrenIdsVector
private

per partitionId contains all PartitonIds of the level below that have an overlap

◆ ParentsIdsVector

std::vector<std::vector<vtkm::Id> > vtkm::filter::multi_block::AmrArrays::ParentsIdsVector
private

per partitionId contains all PartitonIds of the level above that have an overlap

◆ PartitionIds

std::vector<std::vector<vtkm::Id> > vtkm::filter::multi_block::AmrArrays::PartitionIds
private

per level contains the partitionIds of each level and blockId


The documentation for this class was generated from the following file: