Hitmap 1.3
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Public Member Functions
HitMCTile Struct Reference

#include <hit_tile.h>

Inheritance diagram for HitMCTile:
Inheritance graph
[legend]
Collaboration diagram for HitMCTile:
Collaboration graph
[legend]

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)
 

Detailed Description

Class of HitTile to implement Sparse Matrices using CSR sparse data format.

Member Function Documentation

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.

Parameters
varThe tile.
vertexThe vertex.
edge_indexThe index provided by the iterator.
Returns
The edge element in the tile.
int hit_mcTileElemAtIndex ( void *  varP,
int  local1,
int  local2 
)

Gets the index of a sparse element in local coordinates.

Parameters
varThe tile pointer.
local1The first coordinate.
local2The second coordinate.
Returns
The index element.

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.

Parameters
varThe tile pointer.
local1The first coordinate.
local2The second coordinate.
Returns
The index element.

Definition at line 99 of file hit_mbtile.c.


The documentation for this struct was generated from the following files: