Changeset f734e7d in sasmodels for sasmodels/models/lamellarPC.py


Ignore:
Timestamp:
Feb 22, 2015 1:44:54 AM (9 years ago)
Author:
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:
6137124
Parents:
711d8e2
Message:

restructure c code generation for maintainability; extend test harness to allow opencl and ctypes tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lamellarPC.py

    rdc02af0 rf734e7d  
    9292source = [ "lamellarPC_kernel.c"] 
    9393 
    94 # No volume normalization despite having a volume parameter 
    95 # This should perhaps be volume normalized? 
    9694form_volume = """ 
    9795    return 1.0; 
     
    9997 
    10098Iqxy = """ 
    101     // never called since no orientation or magnetic parameters. 
    102     return -1.0; 
     99    return Iq(sqrt(qx*qx+qy*qy), IQ_PARAMETERS); 
    103100    """ 
    104101 
Note: See TracChangeset for help on using the changeset viewer.