Ignore:
Timestamp:
Dec 8, 2011 4:50:20 PM (12 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
01de557
Parents:
0438933
Message:

Re #7 Enable openmp for all models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/ReflAdvModel.py

    rd760c0a r0b082f3  
    22 
    33############################################################################## 
    4 #    This software was developed by the University of Tennessee as part of the 
    5 #    Distributed Data Analysis of Neutron Scattering Experiments (DANSE) 
    6 #    project funded by the US National Science Foundation. 
     4#       This software was developed by the University of Tennessee as part of the 
     5#       Distributed Data Analysis of Neutron Scattering Experiments (DANSE) 
     6#       project funded by the US National Science Foundation. 
    77# 
    8 #    If you use DANSE applications to do scientific research that leads to 
    9 #    publication, we ask that you acknowledge the use of the software with the 
    10 #    following sentence: 
     8#       If you use DANSE applications to do scientific research that leads to 
     9#       publication, we ask that you acknowledge the use of the software with the 
     10#       following sentence: 
    1111# 
    12 #    "This work benefited from DANSE software developed under NSF award DMR-0520547." 
     12#       "This work benefited from DANSE software developed under NSF award DMR-0520547." 
    1313# 
    14 #    copyright 2008, University of Tennessee 
     14#       copyright 2008, University of Tennessee 
    1515############################################################################## 
    1616 
     
    127127        ## Model description 
    128128        self.description ="""Calculate neutron reflectivity using the Parratt iterative formula 
    129         Parameters: 
    130         background:background 
    131         scale: scale factor 
    132         sld_bottom0: the SLD of the substrate 
    133         sld_medium: the SLD of the incident medium 
    134         or superstrate 
    135         sld_flatN: the SLD of the flat region of 
    136         the N'th layer 
    137         thick_flatN: the thickness of the flat 
    138         region of the N'th layer 
    139         func_interN: the function used to describe 
    140         the interface of the N'th layer 
    141         nu_interN: the coefficient for the func_interN 
    142         thick_interN: the thickness of the interface 
    143         of the N'th layer 
    144         Note: the layer number starts to increase 
    145         from the bottom (substrate) to the top.""" 
     129                Parameters: 
     130                background:background 
     131                scale: scale factor 
     132                sld_bottom0: the SLD of the substrate 
     133                sld_medium: the SLD of the incident medium 
     134                or superstrate 
     135                sld_flatN: the SLD of the flat region of 
     136                the N'th layer 
     137                thick_flatN: the thickness of the flat 
     138                region of the N'th layer 
     139                func_interN: the function used to describe 
     140                the interface of the N'th layer 
     141                nu_interN: the coefficient for the func_interN 
     142                thick_interN: the thickness of the interface 
     143                of the N'th layer 
     144                Note: the layer number starts to increase 
     145                from the bottom (substrate) to the top.""" 
    146146        
    147147        ## Parameter details [units, min, max] 
     
    245245        """ Return a identical copy of self """ 
    246246        return self._clone(ReflAdvModel())    
    247             
     247         
    248248    
    249249    def run(self, x=0.0): 
Note: See TracChangeset for help on using the changeset viewer.