HLIBpro  1.2
Public Member Functions | List of all members
TCardBSPPartStrat Class Reference

Partition according to cardinality of index sets.

#include <TBSPPartStrat.hh>

Inheritance diagram for TCardBSPPartStrat:
TBSPPartStrat

Public Member Functions

 TCardBSPPartStrat (const bool choose_reg=true)
 TCardBSPPartStrat (const TCoordinate *coord, const bool choose_reg=true)
virtual void set_coord (const TCoordinate *coord)
 set coordinate set for indices
virtual void partition (const TNodeSet &dofs, std::vector< uint > &partition, const TBBox &bbox, std::vector< TBBox > &son_bbox, const uint depth) const

Constructor & Destructor Documentation

TCardBSPPartStrat ( const bool  choose_reg = true)

ctor with undefined coordinate set (needs to be set by TBSPCTBuilder)

TCardBSPPartStrat ( const TCoordinate coord,
const bool  choose_reg = true 
)

ctor with predefined coordinate set

Member Function Documentation

virtual void partition ( const TNodeSet dofs,
std::vector< uint > &  partition,
const TBBox &  bbox,
std::vector< TBBox > &  son_bbox,
const uint  depth 
) const
virtual

partition dofs into sub sets

Implements TBSPPartStrat.