Changeset 125


Ignore:
Timestamp:
Jul 19, 2007 3:33:45 PM (15 years ago)
Author:
srkline
Message:

no real changes - some typos in documentation and comments in CylinderForm?

Location:
sans/Analysis/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/trunk/Put in User Procedures/SANS_Models_v3.00/CylinderForm.ipf

    r49 r125  
    6464        Variable x 
    6565 
    66         String funcStr = SelectString(exists("CylinderFormX")==3,"", "CylinderFormX") 
    67         if(strlen(funcStr) > 0) 
    68                 FUNCREF SANSModel_proto func=$funcStr 
    69                 return func(w,x) 
    70         endif 
     66//#if exists("CylinderFormX") 
     67//      return CylinderFormX(w,x) 
     68//#endif 
     69 
     70//      if(exists("CylinderFormX")==3) 
     71//              FUNCREF SANSModel_proto func=$"CylinderFormX" 
     72//              return func(w,x)                        //defined this way to hide the functionX name from the compiler 
     73//      endif 
    7174         
    7275//The input variables are (and output) 
     
    201204         
    202205        //the name of your unsmeared model is the first argument 
    203         if(exists("CylinderFormX") == 3) 
    204                 ans = Smear_Model_20($"CylinderFormX",$sq,$qb,$sh,$gQ,w,x) 
    205         else 
    206         ans = Smear_Model_20(CylinderForm,$sq,$qb,$sh,$gQ,w,x) 
    207         endif 
     206//      if(exists("CylinderFormX") == 3) 
     207//              ans = Smear_Model_20($"CylinderFormX",$sq,$qb,$sh,$gQ,w,x) 
     208//      else 
     209                ans = Smear_Model_20(CylinderForm,$sq,$qb,$sh,$gQ,w,x) 
     210//      endif 
    208211 
    209212        return(ans) 
Note: See TracChangeset for help on using the changeset viewer.