|
sys | examples.uc.read_mesh2d.plot_mesh = sys.argv[1] |
|
int | examples.uc.read_mesh2d.sorder = int(sys.argv[2]) |
|
h5py | examples.uc.read_mesh2d.f = h5py.File(plot_mesh) |
|
np | examples.uc.read_mesh2d.coordinates = np.asarray(f["domain/coordinates"]) |
|
np | examples.uc.read_mesh2d.subelement_connectivity = np.asarray(f["domain/connectivity"]) |
|
np | examples.uc.read_mesh2d.element_connectivity = np.asarray(f["domain/element_connectivity"]) |
|
h5py | examples.uc.read_mesh2d.patchNames = f["domain"].attrs["patchNames"] |
|
h5py | examples.uc.read_mesh2d.patchIndexes = f["domain"].attrs["patchIndexes"] |
|
h5py | examples.uc.read_mesh2d.startingElementIndexes = f["domain"].attrs["startingElementIndexes"] |
|
np | examples.uc.read_mesh2d.numcoords = coordinates.shape[0] |
|
np | examples.uc.read_mesh2d.numsubelems = subelement_connectivity.shape[0] |
|
np | examples.uc.read_mesh2d.numelems = element_connectivity.shape[0] |
|
len | examples.uc.read_mesh2d.numpatches = len(patchIndexes) |
|
np | examples.uc.read_mesh2d.x = coordinates[:,0] |
|
np | examples.uc.read_mesh2d.y = coordinates[:,1] |
|
tri | examples.uc.read_mesh2d.triang_subelements = tri.Triangulation(x,y,subelement_connectivity) |
|
list | examples.uc.read_mesh2d.tri_corners = [0, 0, 0] |
|
tri | examples.uc.read_mesh2d.triang_elements = tri.Triangulation(x, y, np.vstack((element_connectivity[:,tri_corners[0]], element_connectivity[:,tri_corners[1]], element_connectivity[:,tri_corners[2]])).T) |
|
np | examples.uc.read_mesh2d.patchMarkers = np.zeros(x.shape) |
|
tuple | examples.uc.read_mesh2d.centroids_subelements = (coordinates[subelement_connectivity[:,0]]+coordinates[subelement_connectivity[:,1]]+coordinates[subelement_connectivity[:,2]])/3.0 |
|
tuple | examples.uc.read_mesh2d.centroids_elements = (coordinates[element_connectivity[:,tri_corners[0]]]+coordinates[element_connectivity[:,tri_corners[1]]]+coordinates[element_connectivity[:,tri_corners[2]]])/3.0 |
|
| examples.uc.read_mesh2d.color |
|
| examples.uc.read_mesh2d.linewidth |
|
| examples.uc.read_mesh2d.linestyle |
|
| examples.uc.read_mesh2d.cmap |
|
| examples.uc.read_mesh2d.ticks |
|
| examples.uc.read_mesh2d.s |
|