VTK-m  2.0
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
vtkm::worklet::flow::ExecutionGridEvaluator< FieldType > Class Template Reference

#include <GridEvaluators.h>

Public Member Functions

VTKM_CONT ExecutionGridEvaluator ()=default
 
VTKM_CONT ExecutionGridEvaluator (const vtkm::cont::CellLocatorGeneral &locator, const vtkm::cont::CellInterpolationHelper interpolationHelper, const vtkm::Bounds &bounds, const FieldType &field, const GhostCellArrayType &ghostCells, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
template<typename Point >
VTKM_EXEC bool IsWithinSpatialBoundary (const Point &point) const
 
VTKM_EXEC bool IsWithinTemporalBoundary (const vtkm::FloatDefault &vtkmNotUsed(time)) const
 
VTKM_EXEC vtkm::Bounds GetSpatialBoundary () const
 
VTKM_EXEC_CONT vtkm::FloatDefault GetTemporalBoundary (vtkm::Id direction) const
 
template<typename Point >
VTKM_EXEC GridEvaluatorStatus Evaluate (const Point &point, const vtkm::FloatDefault &time, vtkm::VecVariable< Point, 2 > &out) const
 

Private Types

using GhostCellArrayType = vtkm::cont::ArrayHandle< vtkm::UInt8 >
 
using GhostCellPortal = typename vtkm::cont::ArrayHandle< vtkm::UInt8 >::ReadPortalType
 

Private Member Functions

VTKM_EXEC bool InGhostCell (const vtkm::Id &cellId) const
 

Private Attributes

vtkm::Bounds Bounds
 
FieldType::ExecutionType Field
 
GhostCellPortal GhostCells
 
bool HaveGhostCells
 
vtkm::exec::CellInterpolationHelper InterpolationHelper
 
vtkm::cont::CellLocatorGeneral::ExecObjType Locator
 

Member Typedef Documentation

◆ GhostCellArrayType

template<typename FieldType >
using vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::GhostCellArrayType = vtkm::cont::ArrayHandle<vtkm::UInt8>
private

◆ GhostCellPortal

template<typename FieldType >
using vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::GhostCellPortal = typename vtkm::cont::ArrayHandle<vtkm::UInt8>::ReadPortalType
private

Constructor & Destructor Documentation

◆ ExecutionGridEvaluator() [1/2]

template<typename FieldType >
VTKM_CONT vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::ExecutionGridEvaluator ( )
default

◆ ExecutionGridEvaluator() [2/2]

template<typename FieldType >
VTKM_CONT vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::ExecutionGridEvaluator ( const vtkm::cont::CellLocatorGeneral locator,
const vtkm::cont::CellInterpolationHelper  interpolationHelper,
const vtkm::Bounds bounds,
const FieldType &  field,
const GhostCellArrayType ghostCells,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ Evaluate()

template<typename FieldType >
template<typename Point >
VTKM_EXEC GridEvaluatorStatus vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::Evaluate ( const Point &  point,
const vtkm::FloatDefault time,
vtkm::VecVariable< Point, 2 > &  out 
) const
inline

◆ GetSpatialBoundary()

template<typename FieldType >
VTKM_EXEC vtkm::Bounds vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::GetSpatialBoundary ( ) const
inline

◆ GetTemporalBoundary()

template<typename FieldType >
VTKM_EXEC_CONT vtkm::FloatDefault vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::GetTemporalBoundary ( vtkm::Id  direction) const
inline

◆ InGhostCell()

template<typename FieldType >
VTKM_EXEC bool vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::InGhostCell ( const vtkm::Id cellId) const
inlineprivate

◆ IsWithinSpatialBoundary()

template<typename FieldType >
template<typename Point >
VTKM_EXEC bool vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::IsWithinSpatialBoundary ( const Point &  point) const
inline

◆ IsWithinTemporalBoundary()

template<typename FieldType >
VTKM_EXEC bool vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::IsWithinTemporalBoundary ( const vtkm::FloatDefault vtkmNotUsedtime) const
inline

Member Data Documentation

◆ Bounds

template<typename FieldType >
vtkm::Bounds vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::Bounds
private

◆ Field

template<typename FieldType >
FieldType::ExecutionType vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::Field
private

◆ GhostCells

template<typename FieldType >
GhostCellPortal vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::GhostCells
private

◆ HaveGhostCells

template<typename FieldType >
bool vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::HaveGhostCells
private

◆ InterpolationHelper

template<typename FieldType >
vtkm::exec::CellInterpolationHelper vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::InterpolationHelper
private

◆ Locator

template<typename FieldType >
vtkm::cont::CellLocatorGeneral::ExecObjType vtkm::worklet::flow::ExecutionGridEvaluator< FieldType >::Locator
private

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