ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since fb071900 was
8809e48,
checked in by Mathieu Doucet <doucetm@…>, 16 years ago
|
Updated cloning
|
-
Property mode set to
100644
|
File size:
968 bytes
|
Line | |
---|
1 | NOTE ABOUT THE SANS MODELS REFACTOR [Oct 14, 2008] |
---|
2 | |
---|
3 | This is the new code to implement python extensions for our models. |
---|
4 | |
---|
5 | - The major change here was to create model classes. Parameters |
---|
6 | are now class objects too, and polydispersity is now part of the |
---|
7 | parameter definition to speed up computations. See parameters.hh |
---|
8 | for more details, in particular the definitions of DispersionModel |
---|
9 | and Parameter. |
---|
10 | |
---|
11 | - Some of the C code that was used to port the IGOR code is still used. |
---|
12 | For instance, the functions defined in cylinder.c is used in c_models/cylinder.cpp. |
---|
13 | |
---|
14 | - The C++ class are intended to be easily compatible with McVine. |
---|
15 | |
---|
16 | - The script c_models/WrapperGenerator.py is the script |
---|
17 | that was used to generate the python C++ extensions for our models. |
---|
18 | For instance, CCylinderModel.cpp was created with WrapperGenerator.py run |
---|
19 | on c_extensions/cylinder.h. |
---|
20 | |
---|
21 | - See c_extensions/README.txt for more details about the old c_models. |
---|
22 | |
---|
23 | |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.