def test_grid_map_cats(self, dump_folder): """ Test a grid map - read and write out """ # triangle grid gcm3 = CyGridMap() grid_map_file = testdata['GridMap']['BigCombinedwMap'] gcm3.text_read(grid_map_file) topology_file = os.path.join(dump_folder, 'BigCombinedTop.dat') gcm3.export_topology(topology_file)
def test_grid_map_cats(self, dump): """ Test a grid map - read and write out """ # triangle grid gcm3 = CyGridMap() grid_map_file = testdata['GridMap']['BigCombinedwMap'] gcm3.text_read(grid_map_file) topology_file = os.path.join(dump, 'BigCombinedTop.dat') gcm3.export_topology(topology_file)
def test_grid_map_cats(self): """ Test a grid map - read and write out """ # triangle grid gcm3 = CyGridMap() grid_map_file = get_datafile(os.path.join(cur_dir, "BigCombinedwMap.cur")) gcm3.text_read(grid_map_file) topology_file = os.path.join(cur_dir, "BigCombinedTop.dat") gcm3.export_topology(topology_file)