Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BlockPart.C File Reference

A Specialized Octree Partitioning Algorithm. More...

#include "TreeNode.h"
#include "parUtils.h"

Go to the source code of this file.

Namespaces

namespace  ot

Functions

int blockPartStage1 (std::vector< TreeNode > &nodes, std::vector< TreeNode > &blocks, unsigned int dim, unsigned int maxDepth, MPI_Comm comm)
int blockPartStage1_p2o (std::vector< TreeNode > &nodes, std::vector< TreeNode > &blocks, unsigned int dim, unsigned int maxDepth, MPI_Comm comm)
int blockPartStage2 (std::vector< TreeNode > &nodes, std::vector< TreeNode > &globalCoarse, std::vector< ot::TreeNode > &minsAllBlocks, unsigned int dim, unsigned int maxDepth, MPI_Comm comm)
int blockPartStage2_p2o (std::vector< TreeNode > &nodes, std::vector< TreeNode > &globalCoarse, std::vector< ot::TreeNode > &minsAllBlocks, unsigned int dim, unsigned int maxDepth, MPI_Comm comm)


Detailed Description

A Specialized Octree Partitioning Algorithm.

Author:
Rahul S. Sampath, rahul.sampath@gmail.com

Hari Sundar, hsundar@gmail.com

Definition in file BlockPart.C.


Function Documentation

int ot::blockPartStage1 std::vector< TreeNode > &  nodes,
std::vector< TreeNode > &  blocks,
unsigned int  dim,
unsigned int  maxDepth,
MPI_Comm  comm
 

Definition at line 507 of file BlockPart.C.

References ot::TreeNode::addWeight(), ot::appendCompleteRegion(), ot::areComparable(), ot::completeOctree(), PROF_BLKPART1_BEGIN, PROF_BLKPART1_END, ot::TreeNode::setWeight(), and sort().

Referenced by ot::balanceOctree(), and ot::DA::DA_FactoryPart3().

int ot::blockPartStage1_p2o std::vector< TreeNode > &  nodes,
std::vector< TreeNode > &  blocks,
unsigned int  dim,
unsigned int  maxDepth,
MPI_Comm  comm
 

Definition at line 28 of file BlockPart.C.

References ot::appendCompleteRegion(), ot::completeOctree(), PROF_BLKPART1_BEGIN, and PROF_BLKPART1_END.

Referenced by ot::points2Octree().

int ot::blockPartStage2 std::vector< TreeNode > &  nodes,
std::vector< TreeNode > &  blocks,
std::vector< ot::TreeNode > &  minsAllBlocks,
unsigned int  dim,
unsigned int  maxDepth,
MPI_Comm  comm
 

Definition at line 608 of file BlockPart.C.

References ot::TreeNode::addWeight(), ot::areComparable(), PROF_BLKPART2_BEGIN, PROF_BLKPART2_END, and ot::TreeNode::setWeight().

Referenced by ot::balanceOctree().

int ot::blockPartStage2_p2o std::vector< TreeNode > &  nodes,
std::vector< TreeNode > &  blocks,
std::vector< ot::TreeNode > &  minsAllBlocks,
unsigned int  dim,
unsigned int  maxDepth,
MPI_Comm  comm
 

Definition at line 88 of file BlockPart.C.

References ot::TreeNode::addWeight(), ot::areComparable(), PROF_BLKPART2_BEGIN, PROF_BLKPART2_END, and ot::TreeNode::setWeight().

Referenced by ot::points2Octree().


Generated on Tue Mar 24 16:14:14 2009 for DENDRO by  doxygen 1.3.9.1