Changeset 9947865 in sasmodels
- Timestamp:
- Mar 28, 2019 5:27:10 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 708bc7a, fa8e6dc
- Parents:
- 5f3c534
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hayter_msa.py
r5f3c534 r9947865 11 11 This routine only works for charged particles! If the charge is set 12 12 to zero the routine may self-destruct! For uncharged particles use 13 the :ref:`hardsphere` $S(q)$ instead. 13 the :ref:`hardsphere` $S(q)$ instead. The upper limit for the charge 14 is limited to 200e to avoid numerical instabilities. 14 15 15 16 .. note:: … … 74 75 * **Author:** 75 76 * **Last Modified by:** 76 * **Last Reviewed by:** Steve King **Date:** March 2 7, 201977 * **Last Reviewed by:** Steve King **Date:** March 28, 2019 77 78 * **Source added by :** Steve King **Date:** March 25, 2019 78 79 """ … … 108 109 # pylint: disable=bad-whitespace, line-too-long 109 110 # [ "name", "units", default, [lower, upper], "type", "description" ], 111 # 112 # NOTE: SMK, 28Mar19 The upper limit for charge is set to 200 to avoid instabilities noted by PK in 113 # Ticket #1152. Also see the thread in Ticket 859. The docs above also note that charge=0 will 114 # cause problems, yet the default parameters allowed it! After discussions with PK I have 115 # changed it to (an arbitarily) small but non-zero value. But I haven't changed the low limit 116 # in function random() below. 117 # 110 118 parameters = [ 111 119 ["radius_effective", "Ang", 20.75, [0, inf], "volume", "effective radius of charged sphere"], 112 120 ["volfraction", "None", 0.0192, [0, 0.74], "", "volume fraction of spheres"], 113 ["charge", "e", 19.0, [0 , 200], "", "charge on sphere (in electrons)"],121 ["charge", "e", 19.0, [0.000001, 200], "", "charge on sphere (in electrons)"], 114 122 ["temperature", "K", 318.16, [0, 450], "", "temperature, in Kelvin, for Debye length calculation"], 115 123 ["concentration_salt", "M", 0.0, [0, inf], "", "conc of salt, moles/litre, 1:1 electolyte, for Debye length"],
Note: See TracChangeset
for help on using the changeset viewer.