Changeset 6137124 in sasmodels
- Timestamp:
- Feb 22, 2015 6:00:46 PM (10 years ago)
- 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:
- 664c8e7, 3a45c2c
- Parents:
- f734e7d
- Location:
- sasmodels
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
rf734e7d r6137124 433 433 # Generate form_volume function from body only 434 434 if info['form_volume'] is not None: 435 if volume_parameters: 436 vol_par_decl = ', '.join('double '+p for p in volume_parameters) 437 else: 438 vol_par_decl = 'void' 435 439 defines.append(('VOLUME_PARAMETER_DECLARATIONS', 436 ', '.join('double '+p for p in volume_parameters)))440 vol_par_decl)) 437 441 fn = """\ 438 442 double form_volume(VOLUME_PARAMETER_DECLARATIONS); -
sasmodels/model_test.py
rf734e7d r6137124 72 72 test = ModelTestCase(test_name, model_definition, 73 73 load_model_cl, tests) 74 print "defining", test_name74 #print "defining", test_name 75 75 suite.addTest(test) 76 76 … … 80 80 test = ModelTestCase(test_name, model_definition, 81 81 load_model_dll, tests) 82 print "defining", test_name82 #print "defining", test_name 83 83 suite.addTest(test) 84 84 … … 96 96 97 97 def runTest(self): 98 print "running", self.test_name98 #print "running", self.test_name 99 99 try: 100 100 model = self.loader(self.definition) -
sasmodels/models/bcc.c
rc95dc908 r6137124 112 112 113 113 const double Da = d_factor*dnn; 114 const double qDa_2 = q*q*Da*Da;115 114 const double s1 = dnn/sqrt(0.75); 116 115 -
sasmodels/models/fcc.c
re7b3d7b r6137124 112 112 113 113 const double Da = d_factor*dnn; 114 const double qDa_2 = q*q*Da*Da;115 114 const double s1 = dnn/sqrt(0.75); 116 115
Note: See TracChangeset
for help on using the changeset viewer.