Changeset 303d8d6 in sasmodels for sasmodels/kernel_iq.c


Ignore:
Timestamp:
Mar 21, 2016 2:49:21 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
4a72d1a, 3a45c2c
Parents:
03cac08
Message:

new calculator says hello before crashing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_iq.c

    r03cac08 r303d8d6  
    4040void KERNEL_NAME( 
    4141    int nq,                 // number of q values 
     42    const int pd_start,     // where we are in the polydispersity loop 
     43    const int pd_stop,      // where we are stopping in the polydispersity loop 
    4244    global const ProblemDetails *problem, 
    4345    global const double *weights, 
     
    4547    global const double *q, // nq q values, with padding to boundary 
    4648    global double *result,  // nq+3 return values, again with padding 
    47     const double cutoff,    // cutoff in the polydispersity weight product 
    48     const int pd_start,     // where we are in the polydispersity loop 
    49     const int pd_stop       // where we are stopping in the polydispersity loop 
     49    const double cutoff     // cutoff in the polydispersity weight product 
    5050    ) 
    5151{ 
    52  
     52printf("hello\n"); 
    5353  // Storage for the current parameter values.  These will be updated as we 
    5454  // walk the polydispersity cube. 
     
    177177    #endif 
    178178 
     179    // Accumulate I(q) 
     180    // Note: weight==0 must always be excluded 
    179181    if (weight > cutoff) { 
    180182      norm += weight; 
Note: See TracChangeset for help on using the changeset viewer.