Changeset ca6c007 in sasmodels for Models/code_cylinder.py


Ignore:
Timestamp:
Jul 24, 2014 10:10:18 AM (10 years ago)
Author:
HMP1 <helen.park@…>
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:
099e053
Parents:
473183c
Message:

further organizing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Models/code_cylinder.py

    r473183c rca6c007  
    66 
    77from weights import GaussianDispersion 
    8 from Models.sasmodel import card 
     8from sasmodel import card 
    99 
    1010 
     
    4747        #create context, queue, and build program 
    4848        ctx,_queue = card() 
    49         src, qx, qy = set_precision(open('NR_BessJ1.cpp').read()+"\n"+open('Kernel-Cylinder.cpp').read(), qx, qy, dtype=dtype) 
     49        src, qx, qy = set_precision(open('Kernel/NR_BessJ1.cpp').read()+"\n"+open('Kernel/Kernel-Cylinder.cpp').read(), qx, qy, dtype=dtype) 
    5050        self.prg = cl.Program(ctx, src).build() 
    5151        self.qx, self.qy = qx, qy 
     
    111111        #create context, queue, and build program 
    112112        ctx,_queue = card() 
    113         trala = open('NR_BessJ1.cpp').read()+"\n"+open('OneDCyl_Kfun.cpp').read()+"\n"+open('Kernel-OneDCylinder.cpp').read() 
     113        trala = open('Kernel/NR_BessJ1.cpp').read()+"\n"+open('Kernel/OneDCyl_Kfun.cpp').read()+"\n"+open('Kernel/Kernel-OneDCylinder.cpp').read() 
    114114        src, self.q = set_precision_1d(trala, q, dtype=dtype) 
    115115        self.prg = cl.Program(ctx, src).build() 
Note: See TracChangeset for help on using the changeset viewer.