Changeset 125
- Timestamp:
- Jul 19, 2007 3:33:45 PM (16 years ago)
- 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 64 64 Variable x 65 65 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 71 74 72 75 //The input variables are (and output) … … 201 204 202 205 //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 else206 ans = Smear_Model_20(CylinderForm,$sq,$qb,$sh,$gQ,w,x)207 endif206 // 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 208 211 209 212 return(ans)
Note: See TracChangeset
for help on using the changeset viewer.