Nektar++
Classes | Namespaces | Functions | Variables
pycml.py File Reference

Go to the source code of this file.

Classes

class  CellMLToNektar.pycml.element_base
 
class  CellMLToNektar.pycml.comment_base
 
class  CellMLToNektar.pycml.cellml_model
 
class  CellMLToNektar.pycml.cellml_component
 
class  CellMLToNektar.pycml.cellml_variable
 
class  CellMLToNektar.pycml.UnitsSet
 
class  CellMLToNektar.pycml.cellml_units
 
class  CellMLToNektar.pycml.cellml_unit
 
class  CellMLToNektar.pycml.EvaluationError
 
class  CellMLToNektar.pycml.MathsError
 
class  CellMLToNektar.pycml.UnitsError
 
class  CellMLToNektar.pycml.mathml_units_mixin
 MathML elements #. More...
 
class  CellMLToNektar.pycml.mathml_units_mixin_tokens
 
class  CellMLToNektar.pycml.mathml_units_mixin_set_operands
 
class  CellMLToNektar.pycml.mathml_units_mixin_equalise_operands
 
class  CellMLToNektar.pycml.mathml_units_mixin_choose_nearest
 
class  CellMLToNektar.pycml.mathml_units_mixin_container
 
class  CellMLToNektar.pycml.mathml
 
class  CellMLToNektar.pycml.mathml_math
 
class  CellMLToNektar.pycml.mathml_constructor
 
class  CellMLToNektar.pycml.mathml_cn
 
class  CellMLToNektar.pycml.mathml_ci
 
class  CellMLToNektar.pycml.mathml_apply
 
class  CellMLToNektar.pycml.mathml_apply.OPS
 
class  CellMLToNektar.pycml.mathml_piecewise
 
class  CellMLToNektar.pycml.mathml_lambda
 
class  CellMLToNektar.pycml.mathml_operator
 
class  CellMLToNektar.pycml.mathml_diff
 
class  CellMLToNektar.pycml.reduce_commutative_nary
 
class  CellMLToNektar.pycml.mathml_plus
 
class  CellMLToNektar.pycml.mathml_minus
 
class  CellMLToNektar.pycml.mathml_times
 
class  CellMLToNektar.pycml.mathml_divide
 
class  CellMLToNektar.pycml.mathml_exp
 
class  CellMLToNektar.pycml.mathml_ln
 
class  CellMLToNektar.pycml.mathml_log
 
class  CellMLToNektar.pycml.mathml_abs
 
class  CellMLToNektar.pycml.mathml_power
 
class  CellMLToNektar.pycml.mathml_root
 
class  CellMLToNektar.pycml.mathml_and
 
class  CellMLToNektar.pycml.mathml_or
 
class  CellMLToNektar.pycml.mathml_leq
 
class  CellMLToNektar.pycml.mathml_lt
 
class  CellMLToNektar.pycml.mathml_geq
 
class  CellMLToNektar.pycml.mathml_gt
 
class  CellMLToNektar.pycml.mathml_neq
 
class  CellMLToNektar.pycml.mathml_eq
 
class  CellMLToNektar.pycml.mathml_rem
 
class  CellMLToNektar.pycml.mathml_logbase
 
class  CellMLToNektar.pycml.mathml_degree
 
class  CellMLToNektar.pycml.mathml_otherwise
 
class  CellMLToNektar.pycml.mathml_piece
 
class  CellMLToNektar.pycml.mathml_sin
 
class  CellMLToNektar.pycml.mathml_cos
 
class  CellMLToNektar.pycml.mathml_tan
 
class  CellMLToNektar.pycml.mathml_arcsin
 
class  CellMLToNektar.pycml.mathml_arccos
 
class  CellMLToNektar.pycml.mathml_arctan
 

Namespaces

namespace  CellMLToNektar
 
namespace  CellMLToNektar.pycml
 

Functions

def CellMLToNektar.pycml.import_processors ()
 
def CellMLToNektar.pycml.make_xml_binder ()
 Helpful utility functions #. More...
 
def CellMLToNektar.pycml.amara_parse_cellml (source, uri=None, prefixes=None)
 
def CellMLToNektar.pycml.check_append_safety (elt)
 
def CellMLToNektar.pycml.add_methods_to_amara ()
 
def CellMLToNektar.pycml._rel_error_ok (self, value1, value2, tol)
 def eq(self, other): """Compare 2 units elements for equality. More...
 
def CellMLToNektar.pycml.equals (self, other)
 
def CellMLToNektar.pycml.model (self)
 
def CellMLToNektar.pycml.extract (self, check_equality=False)
 
def CellMLToNektar.pycml.copy (self)
 
def CellMLToNektar.pycml.description (self, force=False, cellml=False)
 
def CellMLToNektar.pycml.get_units_by_name (self, uname)
 
def CellMLToNektar.pycml.expand (self)
 
def CellMLToNektar.pycml.is_base_unit (self)
 
def CellMLToNektar.pycml.is_simple (self)
 
def CellMLToNektar.pycml.get_multiplicative_factor (self)
 
def CellMLToNektar.pycml.get_multiplier (self)
 
def CellMLToNektar.pycml.get_offset (self)
 
def CellMLToNektar.pycml.create_new (parent, name, bases, add_to_parent=False, standard=False)
 
def CellMLToNektar.pycml._based_on (self, units=None, prefix=None, exponent=None, multiplier=None, offset=None)
 
def CellMLToNektar.pycml.simplify (self, other_units=None, other_exponent=1)
 
def CellMLToNektar.pycml._best_parent (self, other_units)
 
def CellMLToNektar.pycml.quotient (self, other_units)
 
def CellMLToNektar.pycml.dimensionally_equivalent (self, other_units)
 
def CellMLToNektar.pycml.child_i (elt, i)
 
def CellMLToNektar.pycml._child1 (elt)
 
def CellMLToNektar.pycml.varobj (self, ci_elt)
 
def CellMLToNektar.pycml.vars_in (self, expr)
 
def CellMLToNektar.pycml.same_tree (self, other, this=None)
 
def CellMLToNektar.pycml._xfer_complexity (self, new_elt)
 
def CellMLToNektar.pycml._adjust_complexity (self, old_elt, new_elt)
 
def CellMLToNektar.pycml.classify_child_variables (self, elt, **kwargs)
 

Variables

 CellMLToNektar.pycml.processors = None
 
list CellMLToNektar.pycml.__version__ = "$Revision: 25949 $"[11:-2]
 
 CellMLToNektar.pycml.level
 
 CellMLToNektar.pycml.format
 
 CellMLToNektar.pycml.stream
 
 CellMLToNektar.pycml.WARNING_TRANSLATE_ERROR
 
dictionary CellMLToNektar.pycml.NSS
 
 CellMLToNektar.pycml.VarTypes
 
 CellMLToNektar.pycml.CELLML_SUBSET_ELTS
 
 CellMLToNektar.pycml.BINDING_TIMES = Enum('static', 'dynamic')
 
list CellMLToNektar.pycml.units_name_counter = [0]
 
 CellMLToNektar.pycml.new_units = dimensionless
 print "Keeping d'less ref with m =",m,"from", print self.description(), if other_units: print "and",other_units.description() else: print More...
 
 CellMLToNektar.pycml.unit_elements = set(d.values())
 
string CellMLToNektar.pycml.uname = u'___units_' + str(self.units_name_counter[0])
 
 CellMLToNektar.pycml._cml_generated
 
 CellMLToNektar.pycml.xml_parent
 
def CellMLToNektar.pycml.units = self.model._get_units_obj(units)
 _u = units More...
 
string CellMLToNektar.pycml.msg = "Adding units " + units.name + " as "
 
 CellMLToNektar.pycml.name
 
 CellMLToNektar.pycml.cellml
 
dictionary CellMLToNektar.pycml.attrs = {(u'cml:units', NSS[u'cml']): units.name}
 
 CellMLToNektar.pycml._cml_expanded
 
 CellMLToNektar.pycml.base_units