Created
June 26, 2012 16:54
-
-
Save dykeag/2997100 to your computer and use it in GitHub Desktop.
Test for OpenMDAO cookbook gist implemetation. Long title long title long title long title long title long title long title long title long title long title long title long title long title long title long title
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
from openmdao.main.api import Component | |
from openmdao.lib.datatypes.api import Float | |
class Test(Component): | |
x = Float(10, iotype='in') | |
x2 = Float(20, iotype='in') | |
y = Float(30, iotype='out') | |
def execute(self): | |
self.y = self.x + self.x2 | |
HEY THERE WE JUST UPDATED! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment