Nektar++
|
Public Member Functions | |
def | independent_variable |
def | dependent_variable |
Public Member Functions inherited from CellMLToNektar.pycml.mathml_operator | |
def | wrong_number_of_operands |
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 |
Private Member Functions | |
def | _set_var_types |
def | _get_binding_time |
def | _reduce |
Additional Inherited Members | |
Public Attributes inherited from CellMLToNektar.pycml.element_base | |
xml_attributes | |
Properties inherited from CellMLToNektar.pycml.mathml | |
component = property(get_component) | |
Class representing the diff element, containing some useful methods.
|
private |
Return the binding time of the enclosing <apply> element. This is the binding time of the expression defining this ODE.
Definition at line 5483 of file pycml.py.
References CellMLToNektar.pycml.mathml_diff.independent_variable().
|
private |
Reduce this expression by evaluating its static parts. If the whole expression is static, proceed as normal for an <apply>. Otherwise just rename the variable references. We can't instantiate the definition, because there will always be another user - external code. This operator is special cased because we need to alter its qualifier, but mathml_apply only considers operands. MathML data binding can be annoying at times!
Definition at line 5492 of file pycml.py.
|
private |
Set the types of the dependent & independent variables: State for the dependent variable and Free for the independent variable. Gives a validation warning if they already have 'incompatible' types.
Definition at line 5441 of file pycml.py.
References CellMLToNektar.pycml.mathml_diff.dependent_variable(), and CellMLToNektar.pycml.mathml_diff.independent_variable().
|
static |
def CellMLToNektar.pycml.mathml_diff.dependent_variable | ( | self | ) |
Return the variable object being differentiated.
Definition at line 5431 of file pycml.py.
Referenced by CellMLToNektar.pycml.mathml_diff._set_var_types().
def CellMLToNektar.pycml.mathml_diff.independent_variable | ( | self | ) |
Return the variable object w.r.t which we are differentiating.
Definition at line 5419 of file pycml.py.
Referenced by CellMLToNektar.pycml.mathml_diff._get_binding_time(), and CellMLToNektar.pycml.mathml_diff._set_var_types().