BackwardEulerModel

class chaste_codegen.BackwardEulerModel(model, file_name, **kwargs)[source]

Bases: ChasteModel

Holds template and information specific for the Backwards Euler model type

Methods Summary

format_derivative_equation(eq, ...)

Format an individual derivative equation specified so that other model types can specify more detailed printing

format_jacobian()

Format the jacobian to allow opt model to update what belongs were

format_linear_deriv_eqs(linear_deriv_eqs)

Format linear derivative equations beloning, to update what belongs were

format_nonlinear_state_vars()

format_residual_equations()

Update the state vars, savings residual and jacobian info for outputing

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

format_jacobian()[source]

Format the jacobian to allow opt model to update what belongs were

format_linear_deriv_eqs(linear_deriv_eqs)[source]

Format linear derivative equations beloning, to update what belongs were

format_nonlinear_state_vars()[source]
format_residual_equations()[source]

Update the state vars, savings residual and jacobian info for outputing

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

format_linear_deriv_eqs(linear_deriv_eqs)[source]

Format linear derivative equations beloning, to update what belongs were

format_residual_equations()[source]

Update the state vars, savings residual and jacobian info for outputing

format_jacobian()[source]

Format the jacobian to allow opt model to update what belongs were