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

#include <hit_tile.h>

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

Public Member Functions

#define hit_mbTileDomainShape(newVarP, baseType, shape)   hit_mbTileDomainShapeInternal(newVarP, sizeof(baseType), shape)
 
void hit_mbTileDomainShapeInternal (void *newVarP, size_t baseExtent, HitShape shape)
 
#define hit_mbTileAlloc(var)   hit_mbTileAllocInternal(var, #var, __FILE__, __LINE__)
 
void hit_mbTileAllocInternal (void *newVarP, const char *name, const char *file, int numLine)
 
#define hit_mbTileDomainShapeAlloc(var, baseType, shape)
 
int hit_mbTileElemAtIndex (void *varP, int local1, int local2)
 
int hit_mbTileGraphElemAtIndex (void *varP, int pos1, int pos2)
 
#define hit_mbTileElemAt(var, pos1, pos2)   ((var).data[hit_bTileElemAtIndex(&(var),(pos1),(pos2))])
 
#define hit_mbTileGraphElemAt(var, pos1, pos2)   ((var).data[hit_mbTileGraphElemAtIndex(&(var),(pos1),(pos2))])
 

Detailed Description

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

Member Function Documentation

void hit_mbTileAllocInternal ( void *  newVarP,
const char *  name,
const char *  file,
int  numLine 
)

Allocate a previously declared mbTile.

Definition at line 61 of file hit_mbtile.c.

void hit_mbTileDomainShapeInternal ( void *  newVarP,
size_t  baseExtent,
HitShape  shape 
)

Declares the shape and base type of a new sparse domain.

Definition at line 38 of file hit_mbtile.c.

int hit_mbTileElemAtIndex ( 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.
int hit_mbTileGraphElemAtIndex ( void *  varP,
int  pos1,
int  pos2 
)

Gets the index of a sparse element in global coordinates.

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

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