ChasteModel¶
- class chaste_codegen.ChasteModel(model, file_name, **kwargs)[source]¶
Bases:
object
Holds information about a cellml model for which chaste code is to be generated.
It also holds relevant formatted equations and derivatives. Please Note: this calass cannot generate chaste code directly, instead use a subclass of the model type
Attributes Summary
Methods Summary
format_derivative_equation
(eq, ...)Format an individual derivative equation specified so that other model types can specify more detailed printing
Generates and stores chaste code
Attributes Documentation
- DEFAULT_EXTENSIONS = ('.hpp', '.cpp')¶
Methods Documentation
- format_derivative_equation(eq, modifiers_with_defining_eqs)[source]¶
Format an individual derivative equation specified so that other model types can specify more detailed printing