H2Lib  3.0
clustergeometry.h
Go to the documentation of this file.
1 
2 /* ------------------------------------------------------------
3  * This is the file "clustergeometry.h" of the H2Lib package.
4  * All rights reserved, Knut Reimer 2009
5  * ------------------------------------------------------------ */
6 
12 #ifndef CLUSTERGEOMETRY_H
13 #define CLUSTERGEOMETRY_H
14 
27 
30 
31 #include "settings.h"
32 #include "cluster.h"
33 #include "amatrix.h"
34 #include "eigensolvers.h"
35 
48 
51 
53  real **x;
54 
57 
60 
62  real *w;
63 
67 
71 
75 };
76 
77 /* ------------------------------------------------------------
78  Constructors and destructors
79  ------------------------------------------------------------ */
80 
94 
101 HEADER_PREFIX void
103 
104 /* ------------------------------------------------------------
105  Auxiliary routines
106  ------------------------------------------------------------ */
107 
119 HEADER_PREFIX void
121 
132 HEADER_PREFIX void
134 
144 HEADER_PREFIX void
146 
147 #endif
148 
clustergeometry * pclustergeometry
Pointer to clustergeometry object.
Definition: clustergeometry.h:29
real ** smax
Maximal coordinates for the support bounding boxes for the indices.
Definition: clustergeometry.h:59
pclustergeometry new_clustergeometry(uint dim, uint nidx)
Create a new clustergeometry object.
real * w
Weights for the indices.
Definition: clustergeometry.h:62
void del_clustergeometry(pclustergeometry cf)
Delete a clustergeometry object.
void update_point_bbox_clustergeometry(pclustergeometry cf, uint size, uint *idx)
Update an adaptive bounding box for an index set.
real ** smin
Minimal coordinates for the support bounding boxes for the indices.
Definition: clustergeometry.h:56
unsigned uint
Unsigned integer type.
Definition: settings.h:70
real * hmax
internal fields used to build the cluster tree from the clustergeometry object.
Definition: clustergeometry.h:70
Representation of a clustergeometry object.
Definition: clustergeometry.h:45
uint dim
Spatial dimension.
Definition: clustergeometry.h:47
#define HEADER_PREFIX
Prefix for function declarations.
Definition: settings.h:43
double real
real floating point type.
Definition: settings.h:97
void update_support_bbox_cluster(pclustergeometry cf, pcluster t)
Update a bounding box for the support of a cluster.
real * buf
internal fields used to build the cluster tree from the clustergeometry object.
Definition: clustergeometry.h:74
void update_bbox_cluster(pcluster t)
Updates the bounding boxes in a cluster tree object using only its sons.
real * hmin
internal fields used to build the cluster tree from the clustergeometry object.
Definition: clustergeometry.h:66
uint nidx
Number of indices.
Definition: clustergeometry.h:50
Representation of cluster trees.
Definition: cluster.h:40
real ** x
Characteristic points for the indices.
Definition: clustergeometry.h:53