Changeset fec69dd in sasmodels


Ignore:
Timestamp:
Mar 21, 2016 7:24:43 PM (9 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:
6fd8de0
Parents:
ea1f14d
Message:

debugging mess

Location:
sasmodels
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    rea1f14d rfec69dd  
    237237    weights = weights.astype(dtype=kernel.dtype) 
    238238    values = values.astype(dtype=kernel.dtype) 
    239     print("kernel poly",values) 
    240239    return kernel(details, weights, values, cutoff) 
    241240 
  • sasmodels/kernel_iq.c

    rea1f14d rfec69dd  
    165165      if (problem->pd_isvol[0]) vol_weight *= wi; 
    166166      for (int k=0; k < problem->fast_coord_count; k++) { 
     167         printf("fast loop %d coord %d idx %d ?%d offset %d %g\n", 
     168         k,problem->fast_coord_pars[k],pd_index[0], 
     169        problem->fast_coord_pars[k], 
     170            offset[problem->fast_coord_pars[k]], 
     171            values[offset[problem->fast_coord_pars[k]]] 
     172          ); 
    167173        pvec[problem->fast_coord_pars[k]] 
    168174            = values[offset[problem->fast_coord_pars[k]]++]; 
     175 
    169176      } 
    170177      if (problem->theta_par ==problem->pd_par[0]) { 
  • sasmodels/kernelcl.py

    r25b30fd rfec69dd  
    242242        key = "%s-%s-%s"%(name, dtype, fast) 
    243243        if key not in self.compiled: 
    244             #print("compiling",name) 
     244            print("compiling",name) 
    245245            dtype = np.dtype(dtype) 
    246             program = compile_model(self.get_context(dtype), str(source), dtype, fast) 
     246            program = compile_model(self.get_context(dtype), 
     247                                    str(source), dtype, fast) 
    247248            self.compiled[key] = program 
    248249        return self.compiled[key] 
  • sasmodels/kerneldll.py

    r48fbd50 rfec69dd  
    267267        max_pd = self.info['max_pd'] 
    268268        start, stop = 0, details[4*max_pd-1] 
     269        print(details) 
    269270        args = [ 
    270271            self.q_input.nq, # nq 
Note: See TracChangeset for help on using the changeset viewer.