Hitmap 1.3
|
#include <hit_tile.h>
Public Member Functions | |
#define | hit_mcTileDomainShape(newVarP, baseType, shape) hit_mcTileDomainShapeInternal(newVarP, sizeof(baseType), shape) |
void | hit_mcTileDomainShapeInternal (void *newVarP, size_t baseExtent, HitShape shape) |
#define | hit_mcTileAlloc(var) hit_mcTileAllocInternal(var, #var, __FILE__, __LINE__) |
void | hit_mcTileAllocInternal (void *newVarP, const char *name, const char *file, int numLine) |
#define | hit_mcTileDomainShapeAlloc(var, baseType, shape) |
int | hit_mcTileElemAtIndex (void *varP, int local1, int local2) |
int | hit_mcTileGraphElemAtIndex (void *varP, int pos1, int pos2) |
#define | hit_mcTileElemAt(var, pos1, pos2) ((var).data[hit_mcTileElemAtIndex(&(var),(pos1),(pos2))]) |
#define | hit_mcTileGraphElemAt(var, pos1, pos2) ((var).data[hit_mcTileGraphElemAtIndex(&(var),(pos1),(pos2))]) |
hit_mcTileEdgeIteratorAt (HitGBTile var, int vertex, int edge_index) | |
Class of HitTile to implement Sparse Matrices using CSR sparse data format.
void hit_mcTileAllocInternal | ( | void * | newVarP, |
const char * | name, | ||
const char * | file, | ||
int | numLine | ||
) |
Allocate a previously declared gcTile.
Definition at line 64 of file hit_mctile.c.
void hit_mcTileDomainShapeInternal | ( | void * | newVarP, |
size_t | baseExtent, | ||
HitShape | shape | ||
) |
Declares the shape and base type of a new sparse domain.
Definition at line 39 of file hit_mctile.c.
hit_mcTileEdgeIteratorAt | ( | HitGBTile | var, |
int | vertex, | ||
int | edge_index | ||
) |
Access function to an edge element using a shape iterator.
var | The tile. |
vertex | The vertex. |
edge_index | The index provided by the iterator. |
int hit_mcTileElemAtIndex | ( | void * | varP, |
int | local1, | ||
int | local2 | ||
) |
Gets the index of a sparse element in local coordinates.
var | The tile pointer. |
local1 | The first coordinate. |
local2 | The second coordinate. |
Definition at line 86 of file hit_mbtile.c.
int hit_mcTileGraphElemAtIndex | ( | void * | varP, |
int | pos1, | ||
int | pos2 | ||
) |
Gets the index of a sparse element in graph (global) coordinates.
var | The tile pointer. |
local1 | The first coordinate. |
local2 | The second coordinate. |
Definition at line 99 of file hit_mbtile.c.