Hitmap 1.3
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Functions
hit_blockTile.c File Reference
#include "hit_blockTile.h"
Include dependency graph for hit_blockTile.c:

Go to the source code of this file.

Functions

void hit_blockTileNew (HitBlockTile *container, void *originalVar, int blockSizes[HIT_MAXDIMS])
 
void hit_blockTileAllocInternal (HitBlockTile *container, size_t baseSizeExtent, void *fillValue)
 
void hit_blockTileFree (HitBlockTile container)
 

Detailed Description

Hierarchical tiling of multi-dimensional dense array. Definitions and functions to manipulate HitTile types. This type defines a handler for dense arrays and sparse structures with meta-information to create and manipulate hierarchical tiles.

Version
1.1
Author
Arturo Gonzalez-Escribano
Date
Feb 2012

Definition in file hit_blockTile.c.

Function Documentation

void hit_blockTileAllocInternal ( HitBlockTile container,
size_t  baseSizeExtent,
void *  fillValue 
)

Definition at line 75 of file hit_blockTile.c.

void hit_blockTileFree ( HitBlockTile  container)

/** Free the allocated memory of an array of blocks.

It frees the allocated memory for the array and the blocks.

Version
1.1
Author
Arturo Gonzalez-Escribano
Parameters
[in,out]containerArray of blocks tile.

Definition at line 205 of file hit_blockTile.c.

Here is the caller graph for this function:

void hit_blockTileNew ( HitBlockTile container,
void *  originalVar,
int  blockSizes[HIT_MAXDIMS] 
)

Initializer.

It uses a HitTile as reference (originalVar), to get a plain domain and a base type for the elements. It initilizes the domain of an array of blocks of the given sizes, that covers the domain of the originalVar.

Version
1.1
Author
Arturo Gonzalez-Escribano
Parameters
[out]containerPointer to the new array of blocks tile.
[in]originalVarReference tile to get a domain and a base type for the elements.
[in]blockSizesArray of integers with the block sizes. As many elements as the dimensions of the originalVar should exist and should be initialized.

Definition at line 47 of file hit_blockTile.c.

Here is the caller graph for this function: