Version: 9.14.0
INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix > Class Template Referenceabstract
Inheritance diagram for INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >:

Public Types

typedef MyMeshType::MyConnType ConnType
 

Public Member Functions

void adjustBoundingBoxes (double *bbox, std::size_t sz, double adjustmentEps, double adjustmentEpsAbs)
 
void adjustBoundingBoxes (std::vector< double > &bbox, double adjustmentEps, double adjustmentEpsAbs)
 
virtual ConnType getNumberOfColsOfResMatrix () const =0
 
virtual ConnType getNumberOfRowsOfResMatrix () const =0
 
virtual void intersectCells (ConnType targetCell, const std::vector< ConnType > &srcCells, MyMatrix &res)=0
 
virtual ~TargetIntersector ()
 

Static Public Attributes

static const int SPACEDIM = MyMeshType::MY_SPACEDIM
 

Detailed Description

template<class MyMeshType, class MyMatrix>
class INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >

Abstract base class of Intersector classes. These classes represent a target element and calculate its intersection with the source elements.

Member Typedef Documentation

◆ ConnType

template<class MyMeshType , class MyMatrix >
typedef MyMeshType::MyConnType INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::ConnType

Constructor & Destructor Documentation

◆ ~TargetIntersector()

template<class MyMeshType , class MyMatrix >
virtual INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::~TargetIntersector ( )
virtual

Member Function Documentation

◆ intersectCells()

template<class MyMeshType , class MyMatrix >
virtual void INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::intersectCells ( ConnType  targetCell,
const std::vector< ConnType > &  srcCells,
MyMatrix &  res 
)
pure virtual

Tool for cell intersection, result is always positive.

Parameters
targetCellid of cell in target mesh in C mode.
srcCellsids of cells in source mesh in C mode.
resis an IN/OUT parameter that represents the icellTth row in final matrix, fed with at most icellsS elements.

◆ getNumberOfRowsOfResMatrix()

template<class MyMeshType , class MyMatrix >
virtual ConnType INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::getNumberOfRowsOfResMatrix ( ) const
pure virtual

◆ getNumberOfColsOfResMatrix()

template<class MyMeshType , class MyMatrix >
virtual ConnType INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::getNumberOfColsOfResMatrix ( ) const
pure virtual

◆ adjustBoundingBoxes() [1/2]

template<class MyMeshType , class MyMatrix >
void INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::adjustBoundingBoxes ( std::vector< double > &  bbox,
double  adjustmentEps,
double  adjustmentEpsAbs 
)

◆ adjustBoundingBoxes() [2/2]

template<class MyMeshType , class MyMatrix >
void INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::adjustBoundingBoxes ( double *  bbox,
std::size_t  sz,
double  adjustmentEps,
double  adjustmentEpsAbs 
)

Readjusts a set of bounding boxes so that they are extended in all dimensions for avoiding missing interesting intersections

Parameters
bboxvector containing the bounding boxes
adjustmentEpsrelative adjustment value (a percentage of the maximal BBox dimension)
adjustmentEpsAbsabsolute adjustment value (added on each side of the BBox in each dimension)

Member Data Documentation

◆ SPACEDIM

template<class MyMeshType , class MyMatrix >
const int INTERP_KERNEL::TargetIntersector< MyMeshType, MyMatrix >::SPACEDIM = MyMeshType::MY_SPACEDIM
static