Changeset 0496031 in sasmodels
- Timestamp:
- Sep 4, 2014 8:31:40 AM (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:
- 6ce1a29
- Parents:
- abb22f4
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/conf.py
r19dcb933 r0496031 109 109 # The theme to use for HTML and HTML Help pages. Major themes that come with 110 110 # Sphinx are currently 'default' and 'sphinxdoc'. 111 html_theme = 'default' 112 html_theme_options = { 113 "rightsidebar":"False", 114 "relbarbgcolor": "Gainsboro", 115 #"codebgcolor": "Beige", 116 "footertextcolor": "orange", 117 "relbartextcolor": "Blue", 118 "sidebarbgcolor": "white", 119 "sidebarlinkcolor": "OrangeRed", 120 "sidebartextcolor": "Navy", 121 "linkcolor": "Blue", 122 "relbarlinkcolor": "Blue" 123 #"headtextcolor": "Teal" 124 #"headbgcolor": "Oldlace", 125 } 126 127 html_style = 'site.css' 111 html_theme = 'haiku' 112 html_theme_options = {} 113 114 html_style = 'haiku-site.css' 128 115 129 116 # Theme options are theme-specific and customize the look and feel of a theme -
sasmodels/models/cylinder.c
r5d4777d r0496031 61 61 // Compute angle alpha between q and the cylinder axis 62 62 SINCOS(theta*M_PI_180, sn, cn); 63 // # The following correction factor exists in sasview, but it can't be64 // # right, so we are leaving it out for now.65 // const real correction = fabs(cn)*M_PI_2;66 63 const real q = sqrt(qx*qx+qy*qy); 67 64 const real cos_val = cn*cos(phi*M_PI_180)*(qx/q) + sn*(qy/q); … … 71 68 SINCOS(alpha, sn, cn); 72 69 const real fq = _cyl(twovd, q*radius*sn, q*REAL(0.5)*length*cn); 73 return REAL(1.0e-4) * fq * fq; // * correction;70 return REAL(1.0e-4) * fq * fq; 74 71 }
Note: See TracChangeset
for help on using the changeset viewer.