Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/lamont/src/compiler/c-target/fragments/c-hdr-grid-extra.in
ViewVC logotype

View of /branches/lamont/src/compiler/c-target/fragments/c-hdr-grid-extra.in

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2191 - (download) (annotate)
Sun Feb 24 06:12:43 2013 UTC (7 years, 9 months ago) by lamonts
File size: 948 byte(s)
Major update to spatial data structure. Fully working now
typedef struct GridCtx@GRID_D@D GridContext;

#define QUERY_POOL_SIZE 300 

typedef struct {
    uint32_t handle; 
    uint32_t size;       //the unique identification number for a strand  
    @STRANDTY@ ** pool;  //the next strand item in the list 

void buildGrid@GRID_D@D(@STRANDTY@ ** strands, GridContext * ctx); 

Diderot_DynSeq_t  * spherical_query@GRID_D@D(Strand_@STRAND@_t ** strands,
                                        Strand_@STRAND@_t * q_strandId, 
                                        GridContext * ctx,
                                        QueryPool_t * queryPool, 
                                         float radius); 

Diderot_DynSeq_t * spherical_query(@STRANDTY@ ** strands,
                                 @STRANDTY@ * qStrand,
                                 GridContext * ctx,
                                 QueryPool_t * queryPool, 
                                 Diderot_real_t radius); 

ViewVC Help
Powered by ViewVC 1.0.0