WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
OctreeBlock< dim > Class Template Reference

#include <octree_block.h>

Public Types

typedef DoFHandler< dim-1, dim >::active_cell_iterator cell_it
 

Public Member Functions

 OctreeBlock ()
 
 OctreeBlock (unsigned int level, unsigned int parent, Point< dim > pMin, double delta)
 
 OctreeBlock (const OctreeBlock< dim > &other)
 
 ~OctreeBlock ()
 
void CopyContent (const OctreeBlock *other)
 
void AddNode (unsigned int nodeId)
 
void AddQuadPoint (cell_it elemPointer, unsigned int quadPointId)
 
std::vector< unsigned int > GetBlockNodeList () const
 
void DelNodeList ()
 
std::map< cell_it, std::vector< unsigned int > > GetBlockQuadPointsList () const
 
void DelQuadPointsList ()
 
unsigned int GetBlockNodesNum () const
 
unsigned int GetBlockChildrenNum () const
 
unsigned int GetParentId () const
 
void AddChild (unsigned int childId)
 
unsigned int GetChildId (unsigned int idInList) const
 
Point< dim > GetPMin () const
 
double GetDelta () const
 
void AddNearNeigh (unsigned int sublevel, const unsigned int nnBlockId)
 
unsigned int NumNearNeigh (unsigned int sublevel) const
 
unsigned int NumNearNeighLevels () const
 
std::set< unsigned int > GetNearNeighs (unsigned int sublevel) const
 
void AddBlockToIntList (unsigned int sublevel, const unsigned int intListBlockId)
 
unsigned int NumIntList (unsigned int sublevel) const
 
unsigned int NumIntListLevels () const
 
std::set< unsigned int > GetIntList (unsigned int sublevel) const
 
std::vector< std::set< unsigned int > > GetIntList () const
 
void AddBlockToNonIntList (unsigned int sublevel, const unsigned int intListBlockId)
 
unsigned int NumNonIntList (unsigned int sublevel) const
 
unsigned int NumNonIntListLevels () const
 
std::set< unsigned int > GetNonIntList (unsigned int sublevel) const
 
void SetNearNeighSize (unsigned int sublevels)
 
void SetIntListSize (unsigned int sublevels)
 
void SetNonIntListSize (unsigned int sublevels)
 
unsigned int GetNearNeighSize () const
 
unsigned int GetIntListSize () const
 
unsigned int GetNonIntListSize () const
 

Private Attributes

unsigned int level
 
unsigned int parentId
 
unsigned int numChildren
 
unsigned int childrenId [8]
 
std::vector< std::set< unsigned int > > nearNeigh
 
std::vector< std::set< unsigned int > > intList
 
std::vector< std::set< unsigned int > > nonIntList
 
Point< dim > pMin
 
double delta
 
std::vector< unsigned int > nodesId
 
std::map< cell_it, std::vector< unsigned int > > quadPointsId
 

Detailed Description

template<int dim>
class OctreeBlock< dim >

Definition at line 55 of file octree_block.h.

Member Typedef Documentation

template<int dim>
typedef DoFHandler<dim-1,dim>::active_cell_iterator OctreeBlock< dim >::cell_it

Definition at line 60 of file octree_block.h.

Constructor & Destructor Documentation

template<int dim>
OctreeBlock< dim >::OctreeBlock ( )

Definition at line 4 of file octree_block.cc.

template<int dim>
OctreeBlock< dim >::OctreeBlock ( unsigned int  level,
unsigned int  parent,
Point< dim >  pMin,
double  delta 
)

Definition at line 20 of file octree_block.cc.

template<int dim>
OctreeBlock< dim >::OctreeBlock ( const OctreeBlock< dim > &  other)

Definition at line 35 of file octree_block.cc.

template<int dim>
OctreeBlock< dim >::~OctreeBlock ( )

Definition at line 54 of file octree_block.cc.

Member Function Documentation

template<int dim>
void OctreeBlock< dim >::AddBlockToIntList ( unsigned int  sublevel,
const unsigned int  intListBlockId 
)
inline

Definition at line 205 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::AddBlockToNonIntList ( unsigned int  sublevel,
const unsigned int  intListBlockId 
)
inline

Definition at line 240 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::AddChild ( unsigned int  childId)
inline

Definition at line 148 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::AddNearNeigh ( unsigned int  sublevel,
const unsigned int  nnBlockId 
)
inline

Definition at line 177 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::AddNode ( unsigned int  nodeId)

Definition at line 84 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::AddQuadPoint ( cell_it  elemPointer,
unsigned int  quadPointId 
)

Definition at line 91 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::CopyContent ( const OctreeBlock< dim > *  other)

Definition at line 65 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::DelNodeList ( )
inline

Definition at line 105 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::DelQuadPointsList ( )
inline

Definition at line 120 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::GetBlockChildrenNum ( ) const
inline

Definition at line 134 of file octree_block.cc.

template<int dim>
std::vector< unsigned int > OctreeBlock< dim >::GetBlockNodeList ( ) const
inline

Definition at line 98 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::GetBlockNodesNum ( ) const
inline

Definition at line 127 of file octree_block.cc.

template<int dim>
std::map< typename DoFHandler< dim-1, dim >::active_cell_iterator, std::vector< unsigned int > > OctreeBlock< dim >::GetBlockQuadPointsList ( ) const
inline

Definition at line 113 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::GetChildId ( unsigned int  idInList) const
inline

Definition at line 156 of file octree_block.cc.

template<int dim>
double OctreeBlock< dim >::GetDelta ( ) const
inline

Definition at line 170 of file octree_block.cc.

template<int dim>
std::set< unsigned int > OctreeBlock< dim >::GetIntList ( unsigned int  sublevel) const
inline

Definition at line 226 of file octree_block.cc.

template<int dim>
std::vector< std::set< unsigned int > > OctreeBlock< dim >::GetIntList ( ) const
inline

Definition at line 233 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::GetIntListSize ( ) const
inline

Definition at line 296 of file octree_block.cc.

template<int dim>
std::set< unsigned int > OctreeBlock< dim >::GetNearNeighs ( unsigned int  sublevel) const
inline

Definition at line 198 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::GetNearNeighSize ( ) const
inline

Definition at line 289 of file octree_block.cc.

template<int dim>
std::set< unsigned int > OctreeBlock< dim >::GetNonIntList ( unsigned int  sublevel) const
inline

Definition at line 261 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::GetNonIntListSize ( ) const
inline

Definition at line 303 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::GetParentId ( ) const
inline

Definition at line 141 of file octree_block.cc.

template<int dim>
Point< dim > OctreeBlock< dim >::GetPMin ( ) const
inline

Definition at line 163 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::NumIntList ( unsigned int  sublevel) const
inline

Definition at line 212 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::NumIntListLevels ( ) const
inline

Definition at line 219 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::NumNearNeigh ( unsigned int  sublevel) const
inline

Definition at line 184 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::NumNearNeighLevels ( ) const
inline

Definition at line 191 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::NumNonIntList ( unsigned int  sublevel) const
inline

Definition at line 247 of file octree_block.cc.

template<int dim>
unsigned int OctreeBlock< dim >::NumNonIntListLevels ( ) const
inline

Definition at line 254 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::SetIntListSize ( unsigned int  sublevels)
inline

Definition at line 275 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::SetNearNeighSize ( unsigned int  sublevels)
inline

Definition at line 268 of file octree_block.cc.

template<int dim>
void OctreeBlock< dim >::SetNonIntListSize ( unsigned int  sublevels)
inline

Definition at line 282 of file octree_block.cc.

Member Data Documentation

template<int dim>
unsigned int OctreeBlock< dim >::childrenId[8]
private

Definition at line 71 of file octree_block.h.

template<int dim>
double OctreeBlock< dim >::delta
private

Definition at line 81 of file octree_block.h.

template<int dim>
std::vector<std::set <unsigned int> > OctreeBlock< dim >::intList
private

Definition at line 75 of file octree_block.h.

template<int dim>
unsigned int OctreeBlock< dim >::level
private

Definition at line 65 of file octree_block.h.

template<int dim>
std::vector<std::set <unsigned int> > OctreeBlock< dim >::nearNeigh
private

Definition at line 73 of file octree_block.h.

template<int dim>
std::vector<unsigned int> OctreeBlock< dim >::nodesId
private

Definition at line 83 of file octree_block.h.

template<int dim>
std::vector<std::set <unsigned int> > OctreeBlock< dim >::nonIntList
private

Definition at line 77 of file octree_block.h.

template<int dim>
unsigned int OctreeBlock< dim >::numChildren
private

Definition at line 69 of file octree_block.h.

template<int dim>
unsigned int OctreeBlock< dim >::parentId
private

Definition at line 67 of file octree_block.h.

template<int dim>
Point<dim> OctreeBlock< dim >::pMin
private

Definition at line 79 of file octree_block.h.

template<int dim>
std::map<cell_it, std::vector<unsigned int> > OctreeBlock< dim >::quadPointsId
private

Definition at line 85 of file octree_block.h.


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