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 2201 - (download) (annotate)
Sun Feb 24 16:02:12 2013 UTC (7 years, 9 months ago) by lamonts
File size: 917 byte(s)
Refactored the spatail implementation slightly
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 

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

STATIC_INLINE 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