Changeset 0496031 in sasmodels


Ignore:
Timestamp:
Sep 4, 2014 10:31:40 AM (10 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

add theme to doc

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • doc/conf.py

    r19dcb933 r0496031  
    109109# The theme to use for HTML and HTML Help pages.  Major themes that come with 
    110110# 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' 
     111html_theme = 'haiku' 
     112html_theme_options = {} 
     113 
     114html_style = 'haiku-site.css' 
    128115 
    129116# Theme options are theme-specific and customize the look and feel of a theme 
  • sasmodels/models/cylinder.c

    r5d4777d r0496031  
    6161    // Compute angle alpha between q and the cylinder axis 
    6262    SINCOS(theta*M_PI_180, sn, cn); 
    63     // # The following correction factor exists in sasview, but it can't be 
    64     // # right, so we are leaving it out for now. 
    65     // const real correction = fabs(cn)*M_PI_2; 
    6663    const real q = sqrt(qx*qx+qy*qy); 
    6764    const real cos_val = cn*cos(phi*M_PI_180)*(qx/q) + sn*(qy/q); 
     
    7168    SINCOS(alpha, sn, cn); 
    7269    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; 
    7471} 
Note: See TracChangeset for help on using the changeset viewer.