SpatialOps
SpatialOps::NeboMaskShiftBuilder< OperatorT, SrcFieldT, DestFieldT > Struct Template Reference

Supports definition of new Nebo mask shift stencils, which converts a mask of one field type into another field type. More...

#include <NeboStencilBuilder.h>

Public Types

typedef OperatorT OperatorType
 operator type
 
typedef SrcFieldT SrcFieldType
 source field type
 
typedef DestFieldT DestFieldType
 destination field type
 
typedef SpatialMask< SrcFieldTypeSrcMask
 source mask type
 
typedef SpatialMask< DestFieldTypeDestMask
 destination mask type
 
typedef MaskShiftPoints< OperatorType, SrcFieldType, DestFieldType >::MinusPoint MinusPoint
 negative face shift for mask
 
typedef MaskShiftPoints< OperatorType, SrcFieldType, DestFieldType >::PlusPoint PlusPoint
 positive face shift for mask
 
typedef NeboMask< Initial, SrcFieldTypeMask
 Nebo mask type.
 
typedef NeboMaskShift< Initial, MinusPoint, Mask, DestFieldTypeMinusShift
 shift type for negative shift
 
typedef NeboMaskShift< Initial, PlusPoint, Mask, DestFieldTypePlusShift
 shift type for positive shift
 
typedef NeboBooleanExpression< MinusShift, DestFieldTypeMinusResult
 result type for negative shift
 
typedef NeboBooleanExpression< PlusShift, DestFieldTypePlusResult
 result type for positive shift
 

Public Member Functions

 NeboMaskShiftBuilder ()
 construct a stencil
 
MinusResult minus (const SrcMask &src) const
 Compute the minus side shift. More...
 
PlusResult plus (const SrcMask &src) const
 Compute the plus side shift. More...
 

Detailed Description

template<typename OperatorT, typename SrcFieldT, typename DestFieldT>
struct SpatialOps::NeboMaskShiftBuilder< OperatorT, SrcFieldT, DestFieldT >

Supports definition of new Nebo mask shift stencils, which converts a mask of one field type into another field type.

Template Parameters
OperatorTthe type of the operator
SrcFieldTthe type of field that this operator acts on
DestFieldTthe type of field that this operator produces

Definition at line 537 of file NeboStencilBuilder.h.

Member Function Documentation

◆ minus()

template<typename OperatorT , typename SrcFieldT , typename DestFieldT >
MinusResult SpatialOps::NeboMaskShiftBuilder< OperatorT, SrcFieldT, DestFieldT >::minus ( const SrcMask src) const
inline

Compute the minus side shift.

Parameters
srcthe mask to which the operator is applied

Definition at line 569 of file NeboStencilBuilder.h.

◆ plus()

template<typename OperatorT , typename SrcFieldT , typename DestFieldT >
PlusResult SpatialOps::NeboMaskShiftBuilder< OperatorT, SrcFieldT, DestFieldT >::plus ( const SrcMask src) const
inline

Compute the plus side shift.

Parameters
srcthe mask to which the operator is applied

Definition at line 577 of file NeboStencilBuilder.h.


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