Changeset ca6c007 in sasmodels for Models/code_cylinder.py
- Timestamp:
- Jul 24, 2014 10:10:18 AM (10 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Models/code_cylinder.py
r473183c rca6c007 6 6 7 7 from weights import GaussianDispersion 8 from Models.sasmodel import card8 from sasmodel import card 9 9 10 10 … … 47 47 #create context, queue, and build program 48 48 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) 50 50 self.prg = cl.Program(ctx, src).build() 51 51 self.qx, self.qy = qx, qy … … 111 111 #create context, queue, and build program 112 112 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() 114 114 src, self.q = set_precision_1d(trala, q, dtype=dtype) 115 115 self.prg = cl.Program(ctx, src).build()
Note: See TracChangeset
for help on using the changeset viewer.