WARPXM v1.10.0
Loading...
Searching...
No Matches
examples.dg.advection.advection_first_order_plotter Namespace Reference

Variables

int maxslide = 100
 
h5py f = h5py.File("meshes/restartMesh_0.h5")
 
np coordinates = np.asarray(f["coordinates"])
 
np connectivity = np.asarray(f["connectivity"])
 
np elems = connectivity.shape[0]
 
np xmid = np.zeros((elems,3))
 
np umid = np.zeros((elems))
 
np u = np.asarray(f["variables/fluid/rho/domain"])
 

Variable Documentation

◆ connectivity

np examples.dg.advection.advection_first_order_plotter.connectivity = np.asarray(f["connectivity"])

◆ coordinates

np examples.dg.advection.advection_first_order_plotter.coordinates = np.asarray(f["coordinates"])

◆ elems

np examples.dg.advection.advection_first_order_plotter.elems = connectivity.shape[0]

◆ f

h5py examples.dg.advection.advection_first_order_plotter.f = h5py.File("meshes/restartMesh_0.h5")

◆ maxslide

int examples.dg.advection.advection_first_order_plotter.maxslide = 100

◆ u

np examples.dg.advection.advection_first_order_plotter.u = np.asarray(f["variables/fluid/rho/domain"])

◆ umid

np examples.dg.advection.advection_first_order_plotter.umid = np.zeros((elems))

◆ xmid

np examples.dg.advection.advection_first_order_plotter.xmid = np.zeros((elems,3))