Skip to content

Commit

Permalink
add unbounded vars and latex strings to doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Nov 14, 2017
1 parent fe8807a commit 5dec13e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions gpkitmodels/GP/aircraft/wing/wing.py
Expand Up @@ -39,6 +39,24 @@ class Planform(Model):
cbave self.return_avg [-] non-dim mid section chord
deta self.return_deta [-] \\Delta (2y/b)
Upper Unbounded
---------------
S, AR, b, croot, cmac
Lower Unbounded
---------------
S, AR, b, croot, cmac
LaTex Strings
-------------
tau \\tau
CLmax C_{L_{\\mathrm{max}}}
CM C_M
croot c_{\\mathrm{root}}
cmac c_{\\mathrm{MAC}}
lam \\lambda
cbarmac \\bar{c}_{\\mathrm{MAC}}
"""
def return_c(self, c):
" return normalized chord distribution "
Expand Down Expand Up @@ -81,6 +99,21 @@ class WingAero(Model):
Re [-] reynolds number
cdp [-] wing profile drag coefficient
Upper Unbounded
---------------
Cd, Re
Lower Unbounded
---------------
CL
LaTex Strings
-------------
Cd C_d
CL C_L
CLstall C_{L_{\\mathrm{stall}}}
cdp c_{d_p}
"""
def setup(self, static, state,
fitdata=dirname(abspath(__file__)) + sep + "jho_fitdata.csv"):
Expand Down

0 comments on commit 5dec13e

Please sign in to comment.