KASKADE 7 development version
Public Types | Public Member Functions | Static Public Attributes | List of all members
BisectionPolicy< Cell, BoundingBox > Struct Template Reference

The default splitting policy. More...

#include <gridtreepolicy.hh>

Detailed Description

template<class Cell, class BoundingBox>
struct BisectionPolicy< Cell, BoundingBox >

The default splitting policy.

Definition at line 109 of file gridtreepolicy.hh.

Public Types

typedef Cell::Geometry::ctype Scalar
 
typedef GetProtectedConstructor< Cell > GPC
 
typedef std::pair< std::vector< GPC const * >, std::vector< GPC const * > > Partition
 

Public Member Functions

template<class TreeNode >
void createChildren (BoundingBox const &boundingBox, std::vector< GPC const * > const &cells_, Direction dir, std::pair< TreeNode *, TreeNode * > &children, Scalar const reltol, Scalar const height, Scalar const maxHeight)
 
void splitCells (SearchDetail< Scalar, dim > const &searchDetail, std::vector< GPC const * > const &cells_, Partition &partition) const
 

Static Public Attributes

static int const dim = Cell::dimension
 

Member Typedef Documentation

◆ GPC

template<class Cell , class BoundingBox >
typedef GetProtectedConstructor<Cell> BisectionPolicy< Cell, BoundingBox >::GPC

Definition at line 112 of file gridtreepolicy.hh.

◆ Partition

template<class Cell , class BoundingBox >
typedef std::pair<std::vector<GPC const*>, std::vector<GPC const*> > BisectionPolicy< Cell, BoundingBox >::Partition

Definition at line 113 of file gridtreepolicy.hh.

◆ Scalar

template<class Cell , class BoundingBox >
typedef Cell::Geometry::ctype BisectionPolicy< Cell, BoundingBox >::Scalar

Definition at line 111 of file gridtreepolicy.hh.

Member Function Documentation

◆ createChildren()

template<class Cell , class BoundingBox >
template<class TreeNode >
void BisectionPolicy< Cell, BoundingBox >::createChildren ( BoundingBox const &  boundingBox,
std::vector< GPC const * > const &  cells_,
Direction  dir,
std::pair< TreeNode *, TreeNode * > &  children,
Scalar const  reltol,
Scalar const  height,
Scalar const  maxHeight 
)
inline

Definition at line 117 of file gridtreepolicy.hh.

◆ splitCells()

template<class Cell , class BoundingBox >
void BisectionPolicy< Cell, BoundingBox >::splitCells ( SearchDetail< Scalar, dim > const &  searchDetail,
std::vector< GPC const * > const &  cells_,
Partition partition 
) const
inline

Member Data Documentation

◆ dim

template<class Cell , class BoundingBox >
int const BisectionPolicy< Cell, BoundingBox >::dim = Cell::dimension
static

Definition at line 110 of file gridtreepolicy.hh.


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