def setup_reader(self): """"Setup the reader in here. This is called after the engine has been created and started. The engine is available as self.e. This method is called by setUp(). """ # Read a Exodus data file. r = UnstructuredGridReader() r.initialize(get_example_data('edgeFaceElem.exii')) self.e.add_source(r) self.bounds =(-3.0, 3.0, -3.0, 3.0, -3.0, 3.0)
def setup_reader(self): """"Setup the reader in here. This is called after the engine has been created and started. The engine is available as self.e. This method is called by setUp(). """ # Read a Gambit data file. r = UnstructuredGridReader() r.initialize(get_example_data('prism.neu')) self.e.add_source(r) self.bounds = (-1.0, 1.0, -1.0, 1.0, 0.0, 1.0)
def setup_reader(self): """"Setup the reader in here. This is called after the engine has been created and started. The engine is available as self.e. This method is called by setUp(). """ # Read a AVSUCD data file. r = UnstructuredGridReader() r.initialize(get_example_data('cellsnd.ascii.inp')) self.e.add_source(r) self.bounds =(-2.0, 2.0, -2.0, 2.0, 0.0, 0.0)