Changeset a953943 in sasmodels for Kernel/Kernel-Cylinder_f.cpp


Ignore:
Timestamp:
Aug 8, 2014 4:29:10 PM (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:
4001d6e
Parents:
ae7d639
Message:

The Core-Shell isn't working :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Kernel/Kernel-Cylinder_f.cpp

    r1726b21 ra953943  
    8585                const real lv = loops[2*(li+Nradius)]; 
    8686                const real lw = loops[2*(li+Nradius)+1]; 
    87                 vol += rw*lw*rv*rv*lv*Ntheta*Nphi; 
    88                norm_vol += rw*lw*Ntheta*Nphi; 
    8987                for (int thi=0; thi < Ntheta; thi++) { 
    9088                    const real thv = loops[2*(thi+Nradius+Nlength)]; 
     
    10098                            ret += f(qxi, qyi, sub, rv, lv, weight, thv, phv); 
    10199                            norm += weight; 
     100                            vol += rw*lw*rv*rv*lv; 
     101                            norm_vol += rw*lw; 
    102102                        } 
    103103                    } 
     
    105105            } 
    106106        } 
    107         if (Ntheta>1) norm = norm/(M_PI/2); 
     107        //if (Ntheta>1) norm = norm/(M_PI/2); 
    108108        if (vol != REAL(0.0) && norm_vol != REAL(0.0)) { 
    109109            ret *= norm_vol/vol; 
Note: See TracChangeset for help on using the changeset viewer.