Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mjburton
committed
Nov 30, 2017
1 parent
a4e0466
commit 9203eb4
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from gpkit import Model, parse_variables | ||
|
||
class Foam(Model): | ||
""" Foam material properties | ||
Variables | ||
--------- | ||
rho 0.036 [g/cm^3] foam density | ||
LaTex Strings | ||
------------- | ||
rho \\rho_{\\mathrm{foam}} | ||
""" | ||
def setup(self): | ||
exec parse_variables(Foam.__doc__) |