Exemple #1
0
 def __init__(self, formati, inputs=None):
     """
     Parameters
     ----------
     formati : str
         the file format (e.g., 'nastran', 'cart3d')
     inputs : None
         pass for the fake gui
     """
     self._formati = formati
     FakeGUIMethods.__init__(self, inputs=inputs)
     NastranIO.__init__(self)
     self.format_class_map = CLASS_MAP
Exemple #2
0
 def __init__(self, inputs=None):
     FakeGUIMethods.__init__(self, inputs=inputs)
     NastranIO.__init__(self)
     self.build_fmts(['nastran'], stop_on_failure=True)