Changeset e44432d in sasmodels for sasmodels/kernelcl.py


Ignore:
Timestamp:
Oct 19, 2018 5:46:26 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
be43e39
Parents:
2586ab72
Message:

support hollow models in structure factor calculations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernelcl.py

    r5399809 re44432d  
    539539        # leave room for f1/f2 results in case we need to compute beta for 1d models 
    540540        nout = 2 if self.info.have_Fq and self.dim == '1d' else 1 
    541         # plus 3 weight, volume, radius 
    542         self.result = np.empty(q_input.nq*nout + 3, self.dtype) 
     541        # +4 for total weight, shell volume, effective radius, form volume 
     542        self.result = np.empty(q_input.nq*nout + 4, self.dtype) 
    543543 
    544544        # Inputs and outputs for each kernel call 
Note: See TracChangeset for help on using the changeset viewer.