WARPXM v1.10.0
|
Some sort of attribute/variable on a grid. More...
Some sort of attribute/variable on a grid.
Public Member Functions | |
def | __init__ (self, name, attr_type='Scalar', center='Node', 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 | attr_types = set(['Scalar', 'Vector', 'Tensor', 'Tensor6', 'Matrix', 'GlobalID']) |
set | centers = set(['Node', 'Cell', 'Grid', 'Face', 'Edge']) |
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. | |
def warpy.xdmf.generator.attribute.__init__ | ( | self, | |
name, | |||
attr_type = 'Scalar' , |
|||
center = 'Node' , |
|||
data = None |
|||
) |
name | |
attr_type | |
center | |
data |
Reimplemented from warpy.xdmf.generator.block.
|
static |
|
static |