| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 10 | ||
| Bugs | 1 | Features | 0 |
| 1 | """ |
||
| 10 | class IVP(TwoPointBVP): |
||
| 11 | r""" |
||
| 12 | Class for modeling Initial Value Problems (IVPs). |
||
| 13 | |||
| 14 | Attributes |
||
| 15 | ---------- |
||
| 16 | bcs_lower : function |
||
| 17 | Function that calculates the difference between the lower boundary |
||
| 18 | conditions and the current values of the model dependent variables. |
||
| 19 | number_bcs_lower : int |
||
| 20 | The number of lower boundary conditions (BCS). |
||
| 21 | number_odes : int |
||
| 22 | The number of Ordinary Differential Equations (ODEs) in the system. |
||
| 23 | params : dict(str: float) |
||
| 24 | A dictionary of model parameters. |
||
| 25 | rhs : function |
||
| 26 | Function which calculates the value of the right-hand side of a |
||
| 27 | system of Ordinary Differential Equations (ODEs). |
||
| 28 | |||
| 29 | """ |
||
| 30 | |||
| 31 | def __init__(self, bcs_lower, number_bcs_lower, number_odes, params, rhs): |
||
| 32 | super(IVP, self).__init__(bcs_lower, None, number_bcs_lower, |
||
| 33 | number_odes, params, rhs) |
||
| 34 |