H2Lib  3.0
dclusteroperator.h
Go to the documentation of this file.
1 /* ------------------------------------------------------------
2  * This is the file "dclusteroperator.h" of the H2Lib package.
3  * All rights reserved, Christina Boerst 2015/16
4  * ------------------------------------------------------------ */
5 
10  #ifndef DCLUSTEROPERATOR_H
11  #define DCLUSTEROPERATOR_H
12 
21 
24 
27 
28  #include "dcluster.h"
29  #include "dclusterbasis.h"
30  #include "amatrix.h"
31 
34  {
37 
40 
43 
46 
49 
52 
55 
58 
59  };
60 
61 
62 
79 
80 
97 
98 
108  HEADER_PREFIX void
110 
111 
125 
136  HEADER_PREFIX void
138 
150  HEADER_PREFIX void
152 
166 
175  HEADER_PREFIX void
177 
186 
187 
198  HEADER_PREFIX void
200 
201 
216 
217 
234 
253  HEADER_PREFIX void
255 
262  HEADER_PREFIX void
264 
265  /* --------------------------------------- */
266  /* Enumeration */
267  /* --------------------------------------- */
268 
279 
282 #endif
Directional cluster tree.
Definition: dcluster.h:40
const dclusteroperator* pcdclusteroperator
Pointer to constant dclusteroperator object.
Definition: dclusteroperator.h:26
void merge_dclusteropertator(pcdclusteroperator co, pdclusteroperator co2)
Multiplies the matrices from one directional cluster operator with the corresponding matrices from an...
uint getactives_dclusteroperator()
Get the number of active dclusteroperator objects.
pdclusteroperator init_leaf_dclusteroperator(pdclusteroperator co, pcdcluster t)
Initialize a dclusteroperator object for a leaf.
void resize_dclusteroperator(pdclusteroperator co, uint krow, uint kcol, uint i)
Change the number of rows and columns of a directional cluster operator and resize cb->C[i] according...
void ref_dclusteroperator(pdclusteroperator*ptr, pdclusteroperator co)
Set a pointer to a dclusterbasis object, increase its reference counter, and decrease reference count...
unsigned uint
Unsigned integer type.
Definition: settings.h:70
void print_tree_dclusteroperator(pcdclusteroperator co)
Print the tree sturcture of a given dclusteroperator object.
pdclusteroperator init_dclusteroperator(pdclusteroperator co, pcdcluster t)
Initialize a dclusteroperator object.
Representation of a directional cluster operator.
Definition: dclusteroperator.h:33
dclusteroperator* pdclusteroperator
Pointer to dclusteroperator object.
Definition: dclusteroperator.h:23
void uninit_dclusteroperator(pdclusteroperator co)
Uninitializes a dclusteroperator object.
uint * kcol
Number of columns for each direction.
Definition: dclusteroperator.h:42
void unref_dclusteroperator(pdclusteroperator co)
Reduce the reference counter of a dclusteroperator object.
pamatrix C
Coefficient matrix for each direction.
Definition: dclusteroperator.h:48
pdclusteroperator* son
Pointers to sons.
Definition: dclusteroperator.h:54
pdclusteroperator new_dclusteroperator(pcdcluster t)
Create a new dclusteroperator object.
#define HEADER_PREFIX
Prefix for function declarations.
Definition: settings.h:43
pdclusteroperator* enumerate_dclusteroperator(pcdcluster t, pdclusteroperator co)
Enumerates all directional cluster operators according to a directional cluster tree.
uint * krow
Number of rows for each direction.
Definition: dclusteroperator.h:39
uint sons
Number of sons, either t->sons or zero.
Definition: dclusteroperator.h:51
uint dir
Number of directions.
Definition: dclusteroperator.h:45
void del_dclusteroperator(pdclusteroperator co)
Delete a dclusteroperator object.
uint refs
References to this directional cluster operator.
Definition: dclusteroperator.h:57
pdclusteroperator build_from_dclusterbasis_dclusteroperator(pcdclusterbasis cb)
Builds a dclusteroperator object matching a dclusterbasis object.
pdclusteroperator new_leaf_dclusteroperator(pcdcluster t)
Creates a new dclusteroperator object for a leaf.
Representation of a matrix as an array in column-major order.
Definition: amatrix.h:43
pdclusteroperator build_from_dcluster_dclusteroperator(pcdcluster t)
Builds a dclusteroperator object matching a dcluster tree.
Representation of a directional cluster basis.
Definition: dclusterbasis.h:45
pcdcluster t
Corresponding directional cluster.
Definition: dclusteroperator.h:36