amroc/hds/DAGHCluster.h File Reference

The Cluster Routines. More...

#include "DAGH.h"
#include "DAGHParams.h"
#include "DAGHDefaults.h"
#include "GridHierarchy.h"
#include "GridHierarchyCalls.h"
#include "GridHierarchyIndex.h"
#include "GridFunction.h"
#include "GridFunctionCalls.h"
#include "GridFunctionIndex.h"
#include "GridData1.h"
#include "GridData2.h"
#include "GridData3.h"
#include "CommServer.h"
#include "Coords.h"
#include "DCoords.h"
#include "BBox.h"
#include "BBoxList.h"
#include "AllocError.h"

Go to the source code of this file.

Functions

template<int dim>
void Cluster (GridData< short, dim > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result)
template<>
void Cluster (GridData< short, 1 > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result)
 Clusters a grid function flag into a list of bounding boxes result.
template<>
void Cluster (GridData< short, 2 > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result)
template<>
void Cluster (GridData< short, 3 > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result)
template<class Type , int dim>
void DAGHCluster (GridFunction< Type, dim > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &bbl, BBoxList &bblexclude)
template<class Type , int dim>
void DAGHCluster (GridFunction< Type, dim > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &nest_bbl, BBoxList &bbl, BBoxList &bblexclude)
template<class Type >
void DAGHCluster (GridFunction< Type, 3 > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &bbl, BBoxList &bblexclude)
template<class Type >
void DAGHCluster (GridFunction< Type, 3 > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &nest_bbl, BBoxList &bbl, BBoxList &bblexclude)
template<class Type >
void DAGHCluster (GridFunction< Type, 2 > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &bbl, BBoxList &bblexclude)
template<class Type >
void DAGHCluster (GridFunction< Type, 2 > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &nest_bbl, BBoxList &bbl, BBoxList &bblexclude)
template<class Type >
void DAGHCluster (GridFunction< Type, 1 > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &bbl, BBoxList &bblexclude)
template<class Type >
void DAGHCluster (GridFunction< Type, 1 > &gf, const int time, const int level, const int min_blk_width, const int max_blk_width, const int buf_width, const double min_eff, const Type thresh, BBoxList &nest_bbl, BBoxList &bbl, BBoxList &bblexclude)

Detailed Description

The Cluster Routines.


Function Documentation

template<>
void Cluster ( GridData< short, 3 > &  flag,
BBoxList bblexclude,
double  Efficiency,
int  MinWidth,
int  MaxWidth,
int  BufferWidth,
BBoxList Result 
) [inline]
template<>
void Cluster ( GridData< short, 2 > &  flag,
BBoxList bblexclude,
double  Efficiency,
int  MinWidth,
int  MaxWidth,
int  BufferWidth,
BBoxList Result 
) [inline]

A 3D interface to the recursive clustering algorithm Cluster3R().

Parameters:
flag GridData<short,3>. Flag array for clustering.
bblexclude BBoxList. Flags not considered in this region.
Efficiency double.
MinWidth int.
MaxWidth int.
BufferWidth int.
Result BBoxList. Result is returned in here
Date:
Mar-1996
Author:
Paul Walker

template<>
void Cluster ( GridData< short, 1 > &  flag,
BBoxList bblexclude,
double  Efficiency,
int  MinWidth,
int  MaxWidth,
int  BufferWidth,
BBoxList result 
) [inline]

Clusters a grid function flag into a list of bounding boxes result.

Assume flag is a 1D real array with values of 0.0 or 1.0 for flag or no flag.

Parameters:
flag GridData<short,1>. Array of points to cluster
bblexclude BBoxList. Flags not considered in this region.
Efficiency double.
MinWidth int.
MaxWidth int.
BufferWidth int.
result BBoxList. The resulting BBoxList of the clustering algorithm
Date:
Apr-1996
Author:
Paul Walker

References Bucket< Type >::add(), add(), Bucket< Type >::first(), for_1, Bucket< Type >::next(), and BBox::upper().

template<int dim>
void Cluster ( GridData< short, dim > &  flag,
BBoxList bblexclude,
double  Efficiency,
int  MinWidth,
int  MaxWidth,
int  BufferWidth,
BBoxList Result 
) [inline]

Referenced by DAGHCluster().

template<class Type >
void DAGHCluster ( GridFunction< Type, 1 > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList nest_bbl,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
template<class Type >
void DAGHCluster ( GridFunction< Type, 1 > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
template<class Type >
void DAGHCluster ( GridFunction< Type, 2 > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList nest_bbl,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
template<class Type >
void DAGHCluster ( GridFunction< Type, 2 > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
template<class Type >
void DAGHCluster ( GridFunction< Type, 3 > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList nest_bbl,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
template<class Type >
void DAGHCluster ( GridFunction< Type, 3 > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
template<class Type , int dim>
void DAGHCluster ( GridFunction< Type, dim > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList nest_bbl,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
template<class Type , int dim>
void DAGHCluster ( GridFunction< Type, dim > &  gf,
const int  time,
const int  level,
const int  min_blk_width,
const int  max_blk_width,
const int  buf_width,
const double  min_eff,
const Type  thresh,
BBoxList bbl,
BBoxList bblexclude 
) [inline]
Generated on Thu Jun 30 02:19:00 2016 for AMROC's Hierachical Data Structures by  doxygen 1.6.3