Hitmap 1.3
|
#include "hit_blockTile.h"
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) |
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.
Definition in file hit_blockTile.c.
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.
[in,out] | container | Array of blocks tile. |
Definition at line 205 of file hit_blockTile.c.
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.
[out] | container | Pointer to the new array of blocks tile. |
[in] | originalVar | Reference tile to get a domain and a base type for the elements. |
[in] | blockSizes | Array 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.