Nektar++
|
Public Member Functions | |
def | __init__ |
def | evaluate |
def | get_units |
Public Member Functions inherited from CellMLToNektar.pycml.mathml | |
def | __init__ |
def | __repr__ |
def | __deepcopy__ |
def | clone_self |
def | get_original_of_clone |
def | get_component |
def | model |
def | eval |
Public Member Functions inherited from CellMLToNektar.pycml.element_base | |
def | __init__ |
def | __delattr__ |
def | __setattr__ |
def | rootNode |
def | cmeta_id |
def | xml_remove_child_at |
def | xml_doc |
def | xml_properties |
Static Public Member Functions | |
def | create_new |
Static Public Member Functions inherited from CellMLToNektar.pycml.mathml | |
def | clone |
Public Attributes | |
type | |
Public Attributes inherited from CellMLToNektar.pycml.element_base | |
xml_attributes | |
Private Member Functions | |
def | _get_binding_time |
def | _reduce |
Private Attributes | |
_cml_units | |
Additional Inherited Members | |
Properties inherited from CellMLToNektar.pycml.mathml | |
component = property(get_component) | |
|
private |
Return the binding time of this expression. The binding time of a <cn> element is always static, unless the CellML is annotated otherwise.
Definition at line 4184 of file pycml.py.
Referenced by CellMLToNektar.pycml.mathml_ci._reduce(), CellMLToNektar.pycml.mathml_apply._reduce(), and CellMLToNektar.pycml.mathml_piecewise._reduce().
|
private |
|
static |
def CellMLToNektar.pycml.mathml_cn.evaluate | ( | self | ) |
Convert the text content of this element to a floating point value and return it. Will handle the type attribute and, if relevant to the type, the sep child element, but does not yet handle the base attribute.
Definition at line 4151 of file pycml.py.
Referenced by CellMLToNektar.pycml.mathml_constructor._eval_self(), and CellMLToNektar.pycml.mathml_ci._reduce().
def CellMLToNektar.pycml.mathml_cn.get_units | ( | self, | |
return_set = True |
|||
) |
Return the units this number is expressed in.
Definition at line 4200 of file pycml.py.
Referenced by CellMLToNektar.pycml.mathml._ensure_units_exist(), CellMLToNektar.pycml.mathml_units_mixin_tokens._set_in_units(), and CellMLToNektar.pycml.mathml_apply._set_in_units().
|
private |
Definition at line 4148 of file pycml.py.
Referenced by CellMLToNektar.pycml.mathml_apply._set_in_units(), CellMLToNektar.pycml.mathml_piecewise._set_in_units(), CellMLToNektar.pycml.mathml_apply.get_units(), and CellMLToNektar.pycml.mathml_piecewise.get_units().