WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.xdmf.generator.topology Class Reference
Inheritance diagram for warpy.xdmf.generator.topology:
warpy.xdmf.generator.block

Public Member Functions

def __init__ (self, topo_type, nodes_per_element=None, attrs=None, data=None)
 
- Public Member Functions inherited from warpy.xdmf.generator.block
def __init__ (self, name, attrs=None, data=None, children=None)
 
def append (self, b)
 Add a child block.
 
def extend (self, bs)
 Add a list of blocks.
 
def get_data_text (self, indent='')
 
def generate (self, parent=None)
 
def ref (self, root)
 Gets a reference XPath from root to self.
 
def __remove_special_chars__ (self, text)
 
def __str__ (self)
 pretty output
 
def __repr__ (self)
 pretty output
 

Static Public Attributes

set top_types
 

Additional Inherited Members

- Public Attributes inherited from warpy.xdmf.generator.block
 name
 
 attrs
 
 data
 
 children
 
- Protected Member Functions inherited from warpy.xdmf.generator.block
def _dfs (self, pred, idx=0)
 depth first search from self, returns path to first child matching pred.
 

Constructor & Destructor Documentation

◆ __init__()

def warpy.xdmf.generator.topology.__init__ (   self,
  topo_type,
  nodes_per_element = None,
  attrs = None,
  data = None 
)
Parameters
topo_type
nodes_per_elementMust be a positive integer for topo_types 'Polyvertex', 'Polyline', and 'Polygon'

Reimplemented from warpy.xdmf.generator.block.

Member Data Documentation

◆ top_types

set warpy.xdmf.generator.topology.top_types
static
Initial value:
= set([
'Polyvertex', 'Polyline', 'Polygon', 'Triangle', 'Quadrilateral', 'Tetrahedron',
'Pyramid', 'Wedge', 'Hexahedron', 'Edged_3', 'Tri_6', 'Quad_8', 'Tet_10',
'Pyramid_13', 'Wedge_15', 'Hex_20', 'Mixed', '2DSMesh', '2DRectMesh',
'2DCoRectMesh', '3DSMesh', '3DRectMesh', '3DCoRectMesh'
])

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