WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.dataset.subdomain Class Reference

Represents a single subdomain geometry. More...

Inheritance diagram for warpy.dataset.subdomain:

Detailed Description

Represents a single subdomain geometry.

Public Member Functions

def __init__ (self, mesh_file, m_id, name, sd_idx, primitive_id, conn_dtype, conn_slab, conn_shape, coord_dtype, coord_shape)
 
def read_geometry (self, ndims=None)
 Reads the coordinates and connectivities of this subdomain.
 

Public Attributes

 mesh_file
 
 m_id
 
 name
 
 sd_idx
 
 primitive_id
 
 sd_elems
 
 conn_dtype
 
 conn_slab
 
 conn_shape
 
 coord_dtype
 
 coord_shape
 

Constructor & Destructor Documentation

◆ __init__()

def warpy.dataset.subdomain.__init__ (   self,
  mesh_file,
  m_id,
  name,
  sd_idx,
  primitive_id,
  conn_dtype,
  conn_slab,
  conn_shape,
  coord_dtype,
  coord_shape 
)
Parameters
mesh_file
m_id
namesubdomain name
sd_idxsubdomain index, or None if this is a dg mesh
primitive_id
conn_dtype
conn_slab
conn_shape
coord_dtype
coord_shape

Member Function Documentation

◆ read_geometry()

def warpy.dataset.subdomain.read_geometry (   self,
  ndims = None 
)

Reads the coordinates and connectivities of this subdomain.

Parameters
ndimsnumber of dimensions of coordinates to read in, or None to read all.
Returns
(coordinates, connectivities)

Member Data Documentation

◆ conn_dtype

warpy.dataset.subdomain.conn_dtype

◆ conn_shape

warpy.dataset.subdomain.conn_shape

◆ conn_slab

warpy.dataset.subdomain.conn_slab

◆ coord_dtype

warpy.dataset.subdomain.coord_dtype

◆ coord_shape

warpy.dataset.subdomain.coord_shape

◆ m_id

warpy.dataset.subdomain.m_id

◆ mesh_file

warpy.dataset.subdomain.mesh_file

◆ name

warpy.dataset.subdomain.name

◆ primitive_id

warpy.dataset.subdomain.primitive_id

◆ sd_elems

warpy.dataset.subdomain.sd_elems

◆ sd_idx

warpy.dataset.subdomain.sd_idx

The documentation for this class was generated from the following file: