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

odaPartition.C File Reference

Partition related functions for octree meshing. More...

#include "oda.h"
#include "parUtils.h"
#include "seqUtils.h"
#include "testUtils.h"

Go to the source code of this file.

Namespaces

namespace  ot

Functions

int addSecondRing (const std::vector< ot::TreeNode > &nodes, const std::vector< unsigned int > &firstLayer, const std::vector< ot::TreeNode > &blocks, std::vector< unsigned int > &secondRing)
int DA_blockPartStage2 (std::vector< TreeNode > &nodes, std::vector< TreeNode > &globalCoarse, unsigned int dim, unsigned int maxDepth, MPI_Comm commActive)
int DA_blockPartStage3 (std::vector< TreeNode > &nodes, std::vector< TreeNode > &globalCoarse, std::vector< ot::TreeNode > &minsAllBlocks, unsigned int dim, unsigned int maxDepth, MPI_Comm commActive)
void pickGhostCandidates (const std::vector< ot::TreeNode > &blocks, const std::vector< ot::TreeNode > &nodes, std::vector< ot::TreeNode > &res, unsigned int dim, unsigned int maxDepth)


Detailed Description

Partition related functions for octree meshing.

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

Hari Sundar, hsundar@gmail.com

Definition in file odaPartition.C.


Function Documentation

int ot::addSecondRing const std::vector< ot::TreeNode > &  nodes,
const std::vector< unsigned int > &  firstLayer,
const std::vector< ot::TreeNode > &  blocks,
std::vector< unsigned int > &  secondRing
 

Definition at line 748 of file odaPartition.C.

References ot::TreeNode::isBoundaryOctant().

Referenced by ot::pickGhostCandidates().

int ot::DA_blockPartStage2 std::vector< TreeNode > &  nodes,
std::vector< TreeNode > &  globalCoarse,
unsigned int  dim,
unsigned int  maxDepth,
MPI_Comm  commActive
 

Definition at line 158 of file odaPartition.C.

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

Referenced by ot::DA::DA_FactoryPart3().

int ot::DA_blockPartStage3 std::vector< TreeNode > &  nodes,
std::vector< TreeNode > &  globalCoarse,
std::vector< ot::TreeNode > &  minsAllBlocks,
unsigned int  dim,
unsigned int  maxDepth,
MPI_Comm  commActive
 

Definition at line 500 of file odaPartition.C.

References PROF_BLKPART3_BEGIN, and PROF_BLKPART3_END.

Referenced by ot::DA::DA_FactoryPart3().

void ot::pickGhostCandidates const std::vector< ot::TreeNode > &  blocks,
const std::vector< ot::TreeNode > &  nodes,
std::vector< ot::TreeNode > &  res,
unsigned int  dim,
unsigned int  maxDepth
 

Definition at line 672 of file odaPartition.C.

References ot::addSecondRing(), ot::TreeNode::getAllNeighbours(), ot::pickInterProcessorBoundaryNodes(), PROF_PICK_GHOSTS_BEGIN, and PROF_PICK_GHOSTS_END.


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