some sort of xdmf item
More...
|
def | __init__ (self, item_type='Uniform', attrs=None, data=None) |
|
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
|
|
|
| name |
|
| attrs |
|
| data |
|
| children |
|
def | _dfs (self, pred, idx=0) |
| depth first search from self, returns path to first child matching pred.
|
|
◆ __init__()
def warpy.xdmf.generator.item.__init__ |
( |
|
self, |
|
|
|
item_type = 'Uniform' , |
|
|
|
attrs = None , |
|
|
|
data = None |
|
) |
| |
- Parameters
-
item_type | one of:
- Uniform
- Collection
- Tree
- HyperSlab
- Coordinates
- Function
|
attrs | |
data | |
Reimplemented from warpy.xdmf.generator.block.
◆ item_types
set warpy.xdmf.generator.item.item_types |
|
static |
Initial value:= set(
['Uniform', 'Collection', 'Tree', 'HyperSlab', 'Coordinates', 'Function'])
The documentation for this class was generated from the following file: